/** Shopify CDN: Minification failed

Line 358:15 Expected identifier but found whitespace
Line 358:16 Unexpected "0"
Line 358:26 Unexpected "{"
Line 358:35 Expected ":"

**/
/* --- HERO CARD --- */
.wikid-hero { background-color: var(--wikid-hero-bg); color: var(--wikid-hero-text); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.wikid-hero-top { display: flex; justify-content: space-between; align-items: flex-start; }
.wikid-tier-label { font-size: 14px; font-weight: bold; text-transform: uppercase; color: var(--wikid-accent); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.wikid-points-main { font-size: 48px; font-weight: bold; line-height: 1; margin: 0; }
.wikid-points-sub { font-size: 14px; opacity: 0.8; }

/* --- PROGRESS BAR --- */
.wikid-progress-container { width: 100%; margin-top: 10px; }
.wikid-progress-labels { display: flex; justify-content: space-between; font-size: 12px; opacity: 0.7; margin-bottom: 5px; }
.wikid-progress-track { background: rgba(255,255,255,0.1); border-radius: 10px; height: 8px; width: 100%; overflow: hidden; }
.wikid-progress-fill { background-color: var(--wikid-accent); height: 100%; width: 0%; border-radius: 10px; transition: width 1s ease-in-out; }

/* --- ACTION CARDS --- */
.wikid-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 30px; }
.wikid-action-card { background-color: var(--wikid-card-bg); color: var(--wikid-card-text); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; text-align: center; cursor: pointer; transition: transform 0.2s; }
.wikid-action-card:hover { transform: translateY(-2px); border-color: var(--wikid-accent); }

/* --- TABS --- */
.wikid-tabs-nav { 
    display: flex; 
    gap: 10px; 
    overflow-x: auto; 
    margin-bottom: 20px; 
    padding: 10px 5px 5px 5px; /* Added 10px top padding */
    border-bottom: 1px solid rgba(150,150,150,0.2); 
}
.wikid-tab-btn { background: transparent; border: none; color: inherit; opacity: 0.7; padding: 8px 16px; border-radius: 20px; cursor: pointer; font-weight: 600; white-space: nowrap; transition: all 0.2s; }
.wikid-tab-btn.active { background-color: var(--wikid-accent); color: #000; opacity: 1; }
.wikid-tab-content { display: none; background-color: var(--wikid-card-bg); color: var(--wikid-card-text); border-radius: 12px; padding: 30px; text-align: center; min-height: 200px; }
.wikid-tab-content.active { display: block; }

/* --- REWARDS GRID --- */
.wikid-reward-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; text-align: left; margin-top: 20px; }
.wikid-reward-card { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.wikid-reward-img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; margin-bottom: 5px; background: rgba(255,255,255,0.05); }
.wikid-reward-title { font-size: 18px; font-weight: bold; margin: 0; }
.wikid-reward-cost { color: var(--wikid-accent); font-weight: bold; font-size: 14px; margin: 0; }
.reward-msg { display: none; font-size: 13px; font-weight: bold; margin-top: 10px; text-align: center; padding: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); }

/* --- HISTORY & BUTTONS --- */
.history-table { 
    width: 100%; 
    border-collapse: collapse; 
    table-layout: fixed !important; /* Forces columns to stay exactly where we put them */
}

.history-table th { 
    padding: 12px 0; 
    border-bottom: 2px solid rgba(255,255,255,0.1); 
    font-weight: bold; 
    color: #ffffff; 
}

/* Base alignment helper classes */
.wikid-text-left { text-align: left !important; }
.wikid-text-center { text-align: center !important; }

.history-table td { 
    padding: 20px 0; 
    vertical-align: middle; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}

/* Ensure the redemption rows match header alignment */
#redemption-rows td:nth-child(2),
#redemption-rows td:nth-child(3) {
  text-align: center;
}

.pos-pts { color: #27ae60; font-weight: bold;}
.neg-pts { color: #e74c3c; font-weight: bold;}

.wikid-btn { display: inline-block; padding: 12px 24px; border-radius: 4px; font-weight: bold; cursor: pointer; text-transform: uppercase; border: none; transition: opacity 0.2s; }
.wikid-btn:hover { opacity: 0.9; }
.wikid-btn:disabled { opacity: 0.5; cursor: not-allowed; }

#redemption-rows code {
  font-family: monospace;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--wikid-accent);
}

/* --- NOTIFICATION BADGE --- */
.wikid-tab-btn {
    position: relative; /* Required to anchor the badge */
}

.wikid-notification-badge {
    position: absolute;
    top: -5px; /* Lowered slightly from -8px */
    right: -3px;
    background-color: #e83f2cff;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    min-width: 20px; /* Slightly smaller */
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--wikid-card-bg);
    z-index: 10;
}


/* --- MOTIVATIONAL STATUS BADGE --- */
.wikid-tier-status-container {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.wikid-tier-badge {
    background: rgba(0, 0, 0, 0.3); /* Darkens the green behind it for contrast */
    padding: 8px 16px;
    border-radius: 8px;
    border-left: 4px solid var(--wikid-accent); /* A bold accent "pop" */
    display: inline-block;
}

.wikid-tier-message {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff; /* Pure white for maximum visibility */
    letter-spacing: 0.5px;
    margin: 0;
}

.wikid-tier-message span {
    color: var(--wikid-accent); /* Only the numbers/tier get the green accent */
}

/* Update labels to match new terminology */
.wikid-points-sub {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Modal Overlay - Darker Blur */
.wikid-modal {
  position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}

/* Modal Box - Deep Black / White Text */
.wikid-modal-content {
  background: #000000; 
  color: #ffffff;
  padding: 40px; 
  border-radius: 12px;
  width: 95%; 
  max-width: 480px; 
  position: relative; 
  border: 1px solid #333;
  box-shadow: 0 10px 50px rgba(0,0,0,1);
}

.wikid-modal-content h3 { color: #ffffff; font-size: 24px; margin-bottom: 10px; }
.wikid-modal-content p { color: #999999; font-size: 14px; margin-bottom: 20px; }

/* Labels - Crisp White */
.wikid-form-group label { 
  font-size: 11px; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  color: #ffffff; 
  margin-bottom: 8px; 
  display: block;
}

/* Inputs - Clean Dark UI */
.wikid-form-group input {
  width: 100%; 
  padding: 14px; 
  margin-bottom: 20px; 
  border-radius: 4px;
  background: #111111; 
  border: 1px solid #444; 
  color: #ffffff;
  font-size: 16px;
  outline: none;
}

.wikid-form-group input:focus { border-color: var(--wikid-accent); }

.wikid-modal-close { 
  position: absolute; right: 25px; top: 20px; 
  font-size: 30px; cursor: pointer; color: #666;
}
.wikid-modal-close:hover { color: #fff; }

/* Force the date picker icon to be white */
#form-birthday::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Also tells the browser the input is in 'dark mode' for native pickers */
#form-birthday {
    color-scheme: dark;
}

/* Container for the grid */
#ui-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

/* Individual Activity Card */
.wikid-activity-card {
    background: var(--wikid-card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wikid-activity-card:hover:not(.is-completed) {
    transform: translateY(-5px);
    border-color: var(--wikid-accent);
}

/* Icon Styling */
.wikid-activity-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.wikid-activity-icon-wrapper img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* Points Badge */
.wikid-activity-points {
    background: rgba(161, 193, 129, 0.1); /* Subtle version of your green */
    color: var(--wikid-accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Typography */
.wikid-activity-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.wikid-activity-desc {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.5;
    margin-bottom: 25px;
    min-height: 42px; /* Keeps buttons aligned */
}

/* Completed State */
.wikid-activity-card.is-completed {
    opacity: 0.6;
    filter: grayscale(0.5);
}

/* Tier Color Definitions */
.tier-bronze { color: #cd7f32 !important; }
.tier-silver { color: #c0c0c0 !important; }
.tier-gold   { color: #ffd700 !important; }
.tier-platinum { color: #e5e4e2 !important; }

/* Shine Animation */
.tier-shine {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.tier-shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50px;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: wikid-sweep 3s infinite;
}

@keyframes wikid-sweep {
    0% { left: -150%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

/* Bring the Google search results to the front of the modal */
.pac-container {
    z-index: 99999 !important;
    background-color: #222; /* Match your dark theme */
    border: 1px solid rgba(255,255,255,0.1);
    font-family: inherit;
}

.pac-item {
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.pac-item:hover {
    background-color: rgba(255,255,255,0.1);
}

.pac-item-query {
    color: var(--wikid-accent); /* Highlight matches in your green */
    font-size: 14px;
}

.wikid-reward-progress-fill {
    box-shadow: 0 0 10px {{ section.settings.accent_color | color_modify: 'alpha', 0.3 }};
}

/* Make the Locked button look distinct */
.wikid-btn:disabled {
    filter: grayscale(1);
    opacity: 0.5 !important;
}