/* ========================================
   PROGRESS MAP SYSTEM - Weekly Journey
   ======================================== */

.progress-map-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    margin-top: 0; /* Zero top margin - map sits close to contracts */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* TEENS theme - dark brutalist background */
[data-theme="neon"] .progress-map-section {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
    border: 3px solid #00FF88;
    border-radius: 8px;
    box-shadow:
        0 0 40px rgba(0, 255, 136, 0.4),
        0 15px 60px rgba(0, 0, 0, 0.9),
        inset 0 0 60px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 255, 136, 0.1);
}

/* ADULTS theme - no outer border, only white inner container */
[data-theme="minimal"] .progress-map-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.map-header {
    text-align: center;
    margin-bottom: 20px;
}

.map-header h3 {
    color: white;
    font-size: 24px;
    margin: 0 0 8px 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ADULTS theme - explicit white text on blue background */
[data-theme="minimal"] .map-header h3 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.map-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ADULTS theme - explicit white subtitle */
[data-theme="minimal"] .map-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

/* ADULTS theme - gradient background for header (white text needs colored background) */
[data-theme="minimal"] .map-header {
    background: linear-gradient(135deg, #42a5f5 0%, #00bcd4 100%);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 600px; /* Increased for iPad Pro and large tablets */
    margin: 0 auto;
    aspect-ratio: 0.916031; /* Reduced height by 40px (600px width → 655px height, was 695px) */
    border-radius: 15px;
    overflow: hidden; /* Changed from visible to show rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* TEENS theme - vertical wall (853x1024) */
[data-theme="neon"] .map-container {
    aspect-ratio: 0.882353; /* Reduced height by 40px (600px width → 680px height, was 720px) */
    border-radius: 4px;
    overflow: hidden; /* Show rounded corners */
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2), inset 0 0 40px rgba(0, 0, 0, 0.5);
}

/* NEON theme - overlay with rounded corners to mask sharp corners of wall image */
[data-theme="neon"] .map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    pointer-events: none;
    z-index: 100;
    box-shadow: inset 0 0 0 4px #0A0A0A; /* Dark overlay masking corners */
}

/* MINIMAL theme - center white box inside blue container */
[data-theme="minimal"] .map-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
    aspect-ratio: 0.916031; /* Same height as rainbow theme */
}

.map-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-character {
    position: absolute;
    width: 240px;
    height: 240px;
    object-fit: contain;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    z-index: 10;
}

/* ========================================
   CONTRACT TIMELINE INFO BOX
   ======================================== */

/* Character positions along the vertical road (7 checkpoints + start)
   Pozycje dopasowane do schodow na mapie KIDS theme
   Mobile-first design - pozycje % ekranu mobile */
.map-character[data-position="0"] {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.map-character[data-position="1"] {
    bottom: 18%;
    left: 50%; /* OK - bez zmian */
    transform: translateX(-50%);
}

.map-character[data-position="2"] {
    bottom: 30%;
    left: 50%; /* Przesuniety na srodek mobile */
    transform: translateX(-50%);
}

.map-character[data-position="3"] {
    bottom: 43%;
    left: 38%; /* Lekko w lewo od srodka (bylo 45%) */
    transform: translateX(-50%);
}

.map-character[data-position="4"] {
    bottom: 56%;
    left: 51%; /* W prawo o 1% (bylo 50%) */
    transform: translateX(-50%);
}

.map-character[data-position="5"] {
    bottom: 68%;
    left: 32%; /* W prawo o 2% (bylo 30%) */
    transform: translateX(-50%);
}

.map-character[data-position="6"] {
    bottom: 80%;
    left: 55%; /* W lewo o 5% (bylo 60%) */
    transform: translateX(-50%);
}

.map-character[data-position="7"] {
    top: 5%;
    left: 50%; /* Na srodku + trzyma prezent */
    transform: translateX(-50%) scale(1.2);
}

/* Gift/Present overlay when character reaches position 7 */
.map-character[data-position="7"]::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: url('/static/themes/rainbow/icons/habit_hobby.png'); /* Temporary - use gift icon */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    bottom: 30%;
    right: -20px;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.5));
    animation: giftFloat 2s ease-in-out infinite;
    z-index: 15;
}

/* Gift floating animation */
@keyframes giftFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Checkpoints - invisible clickable areas (optional for future interactions) */
.map-checkpoint {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

/* Reward checkpoint at position 7 - show gift icon */
.checkpoint-reward {
    opacity: 1;
    pointer-events: auto;
}

.checkpoint-reward .reward-icon {
    font-size: 32px;
    display: block;
    text-align: center;
    line-height: 40px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Position reward checkpoint at the top */
.checkpoint-7 {
    top: -8%;
    left: 50%;
    transform: translateX(-50%);
}

/* Progress info below map */
.map-progress-info {
    text-align: center;
    margin-top: 20px;
}

/* RAINBOW theme - hide progress info (temporarily) */
[data-theme="rainbow"] .map-progress-info {
    display: none;
}

.progress-days {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    color: white;
}

.days-completed {
    font-size: 32px; /* Reduced from 48px */
    font-weight: 900;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.days-separator {
    font-size: 24px; /* Reduced from 36px */
    font-weight: 700;
    opacity: 0.7;
}

.days-total {
    font-size: 24px; /* Reduced from 36px */
    font-weight: 700;
    opacity: 0.9;
}

.days-label {
    font-size: 13px; /* Reduced from 16px */
    margin-left: 8px;
    opacity: 0.9;
}

/* Pin button for active contract selection */
.pin-to-map-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pin-to-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pin-to-map-btn.pinned {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

.pin-to-map-btn.pinned:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 87, 108, 0.5);
}

/* Responsive adjustments */
/* WARNING: These margins OVERRIDE everything else due to specificity */
@media (max-width: 868px) {
    .progress-map-section {
        padding: 15px !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important; /* No gap - map directly below contracts (spacing handled by contracts-list gap: 12px) */
    }
}

@media (max-width: 768px) {
    .progress-map-section {
        padding: 15px !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important; /* No gap - map directly below contracts (spacing handled by contracts-list gap: 12px) */
    }

    .map-header h3 {
        font-size: 18px;
    }

    .map-container {
        max-width: 400px;
    }

    .map-character {
        width: 120px;
        height: 120px;
    }

    .days-completed {
        font-size: 32px;
    }

    .days-separator,
    .days-total {
        font-size: 24px;
    }

    .days-label {
        font-size: 12px;
    }

    .map-progress-info {
        margin-top: 12px;
    }

    /* RAINBOW theme - Move gift icon lower on tablet to prevent hiding under contract list */
    .checkpoint-7 {
        top: 3%; /* Was -8% - moved down significantly for tablet */
    }

    .checkpoint-reward .reward-icon {
        font-size: 28px; /* Slightly smaller gift on tablet */
    }
}

/* CRITICAL: This media query has highest specificity and OVERRIDES all above! */
/* Previously had margin: -42px which caused map to overlap cards */
@media (max-width: 480px) {
    .progress-map-section {
        padding: 0 5px !important;
        margin: 0 0 0 0 !important; /* IMPORTANT: Changed from -42px to 0 - NO negative margin! Map sits directly below contracts. DO NOT use negative values! */
        border-radius: 0 !important;
    }

    .map-header h3 {
        font-size: 16px;
        margin-bottom: 2px; /* Reduced from 6px - tighter spacing */
    }

    .map-subtitle {
        font-size: 12px;
    }

    .map-container {
        max-width: 350px;
    }

    .map-character {
        width: 80px;
        height: 80px;
    }

    .days-completed {
        font-size: 28px;
    }

    .days-separator,
    .days-total {
        font-size: 20px;
    }

    .days-label {
        font-size: 11px;
    }

    .map-progress-info {
        margin-top: 10px;
    }

    /* RAINBOW theme - Move gift icon even lower on small mobile */
    .checkpoint-7 {
        top: 8%; /* Was -8% - moved down even more for small screens */
    }

    .checkpoint-reward .reward-icon {
        font-size: 24px; /* Even smaller gift on mobile */
    }
}

/* ========================================
   WEEKLY REWARD CELEBRATION OVERLAY
   Full-screen celebration with confetti
   ======================================== */

.weekly-reward-celebration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 20px;
    border-radius: 15px;
    animation: fadeIn 0.5s ease-out;
}

/* TEENS Theme - Dark brutalist celebration */
[data-theme="neon"] .weekly-reward-celebration {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
    border: 3px solid #00FF88;
    box-shadow:
        0 0 40px rgba(0, 255, 136, 0.6),
        inset 0 0 60px rgba(0, 0, 0, 0.9);
}

[data-theme="neon"] .celebration-title {
    background: linear-gradient(135deg, #00FF88 0%, #00DD77 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    font-family: 'Space Grotesk', monospace;
    font-weight: 800;
    letter-spacing: 4px;
}

[data-theme="neon"] .celebration-message {
    color: #FFFFFF;
    font-family: 'Space Grotesk', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

[data-theme="neon"] .celebration-button {
    background: linear-gradient(135deg, #00FF88 0%, #00DD77 100%);
    color: #0A0A0A;
    border: none;
    font-family: 'Space Grotesk', monospace;
    font-weight: 800;
    letter-spacing: 3px;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
    border-radius: 0;
    padding: 15px 40px;
}

[data-theme="neon"] .celebration-button:hover {
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.9);
    transform: translateY(-2px);
}

[data-theme="neon"] .celebration-image {
    border: 3px solid #00FF88;
    border-radius: 0;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.4);
}

/* ADULTS Theme - Professional minimal celebration */
[data-theme="minimal"] .weekly-reward-celebration {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

[data-theme="minimal"] .celebration-title {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

[data-theme="minimal"] .celebration-message {
    color: #64748B;
    font-family: 'Inter', sans-serif;
}

[data-theme="minimal"] .celebration-button {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

[data-theme="minimal"] .celebration-button:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.celebration-content {
    text-align: center;
    max-width: 600px;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.celebration-image {
    max-width: 70%;
    max-height: 40%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
    object-fit: contain;
}

.celebration-title {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 8px 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.celebration-message {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.9;
}

.celebration-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.celebration-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.celebration-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Responsive mobile adjustments */
@media (max-width: 768px) {
    .celebration-image {
        max-width: 90%;
        max-height: 50vh;
        margin-bottom: 20px;
    }

    .celebration-title {
        font-size: 36px;
    }

    .celebration-message {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .celebration-button {
        padding: 15px 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .weekly-reward-celebration {
        padding: 15px;
    }

    .celebration-image {
        max-width: 95%;
        max-height: 45vh;
        margin-bottom: 15px;
    }

    .celebration-title {
        font-size: 28px;
        margin: 15px 0;
    }
}

/* ========================================
   TEENS THEME: Graffiti Wall System
   ======================================== */

/* Graffiti elements - overlayed on wall */
.graffiti-element {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    /* width and height set dynamically in JS based on element size */
    pointer-events: none;
    z-index: 5;

    /* Visual indicator - neon circle/glow */
    background: radial-gradient(circle, rgba(0,255,136,0) 0%, rgba(0,255,136,0) 100%);
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

/* Active state - neonowe podswietlenie (static, no animation) */
.graffiti-element.active {
    opacity: 1;
    background: radial-gradient(circle, rgba(0,255,136,0.9) 0%, rgba(0,255,136,0.5) 40%, rgba(0,255,136,0.2) 70%, transparent 90%);
    box-shadow:
        0 0 25px rgba(0,255,136,1),
        0 0 50px rgba(0,255,136,0.9),
        0 0 75px rgba(0,255,136,0.6),
        inset 0 0 25px rgba(0,255,136,0.7);
}

/* Animacja odblokowania */
.graffiti-element.unlocking {
    animation: spray-reveal 1.5s ease-out forwards;
}

/* Neon pulsowanie - zielony i rozowy glow */
@keyframes neon-pulse {
    0% {
        box-shadow:
            0 0 20px rgba(0,255,136,0.5),
            0 0 40px rgba(255,0,110,0.3),
            inset 0 0 20px rgba(0,255,136,0.2);
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
    100% {
        box-shadow:
            0 0 40px rgba(0,255,136,0.8),
            0 0 80px rgba(255,0,110,0.6),
            0 0 120px rgba(255,190,11,0.4),
            inset 0 0 40px rgba(0,255,136,0.4);
        transform: translateX(-50%) translateY(-50%) scale(1.05);
    }
}

/* Spray reveal animation */
@keyframes spray-reveal {
    0% {
        transform: translateX(-50%) translateY(-50%) scale(0.5);
        opacity: 0;
        box-shadow: 0 0 0 rgba(0,255,136,0);
    }
    50% {
        transform: translateX(-50%) translateY(-50%) scale(1.3);
        opacity: 0.8;
        box-shadow: 0 0 60px rgba(0,255,136,1), 0 0 100px rgba(0,255,136,0.8);
    }
    100% {
        transform: translateX(-50%) translateY(-50%) scale(1);
        opacity: 1;
        box-shadow:
            0 0 30px rgba(0,255,136,0.7),
            0 0 60px rgba(0,255,136,0.5);
    }
}

/* Specjalny efekt dla blyskawicy (final - day 7) - red glow */
[data-theme="neon"] #graffiti-lightning.active {
    background: radial-gradient(circle, rgba(255,0,110,0.9) 0%, rgba(255,0,110,0.5) 40%, rgba(255,0,110,0.2) 70%, transparent 90%) !important;
    box-shadow:
        0 0 25px rgba(255,0,110,1),
        0 0 50px rgba(255,0,110,0.9),
        0 0 75px rgba(255,0,110,0.8),
        0 0 100px rgba(255,0,110,0.6),
        0 0 150px rgba(255,0,110,0.4),
        inset 0 0 25px rgba(255,0,110,0.7) !important;
}

/* Celebracja finałowa - pulsowanie całej ściany */
[data-theme="neon"] .map-container.celebration {
    animation: wall-celebration 2s ease-out;
}

@keyframes wall-celebration {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.02);
        filter: brightness(1.2) saturate(1.3);
    }
    50% {
        transform: scale(0.98);
        filter: brightness(1.4) saturate(1.5);
    }
    75% {
        transform: scale(1.01);
        filter: brightness(1.1);
    }
}

/* TEENS theme - hide character (wall doesn't need character) */
[data-theme="neon"] .map-character {
    display: none;
}

/* TEENS theme - hide progress info (percentage display) */
[data-theme="neon"] .map-progress-info {
    display: none;
}

/* TEENS theme - hide gift/reward icon */
[data-theme="neon"] .checkpoint-reward,
[data-theme="neon"] .reward-icon {
    display: none;
}

/* ========================================
   ADULTS THEME - Progress Bars System
   Clean, professional progress visualization
   ======================================== */

/* Hide map elements for ADULTS theme */
[data-theme="minimal"] .map-background,
[data-theme="minimal"] .map-character,
[data-theme="minimal"] .map-progress-info,
[data-theme="minimal"] .map-checkpoint,
[data-theme="minimal"] .checkpoint-reward,
[data-theme="minimal"] .reward-icon {
    display: none;
}

/* Progress list container - Gradient background wrapper */
[data-theme="minimal"] .adults-checkbox-list {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(135deg, rgba(66, 165, 245, 0.08) 0%, rgba(0, 188, 212, 0.08) 100%);
    border-radius: 16px;
    padding: 12px;
    margin: 0;
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.15);
    border: 1px solid rgba(66, 165, 245, 0.2);
}

/* Individual progress item - White card style */
[data-theme="minimal"] .progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.12);  /* More visible border */
    transition: all 0.2s ease;
    box-sizing: border-box;
}

[data-theme="minimal"] .progress-item:last-child {
    margin-bottom: 0;
}

/* Current day highlight */
[data-theme="minimal"] .progress-item.current {
    background: linear-gradient(135deg, rgba(66, 165, 245, 0.1) 0%, rgba(0, 188, 212, 0.08) 100%);
    box-shadow: 0 4px 16px rgba(66, 165, 245, 0.3);
    border: 2px solid rgba(66, 165, 245, 0.6);  /* Stronger blue border */
    padding: 15px; /* Compensate for thicker border (16px - 1px) */
    box-sizing: border-box;
}

[data-theme="minimal"] .progress-item.current:last-child {
    margin-bottom: 0;
}

/* Day label */
[data-theme="minimal"] .progress-item .day-label {
    flex: 0 0 120px;
    font-family: 'Inter', sans-serif;
    font-size: 18px !important;
    font-weight: 500;
    color: #475569;
    padding-left: 8px;
}

[data-theme="minimal"] .progress-item.current .day-label {
    color: #2563EB;
    font-weight: 600;
}

/* Progress bar container */
[data-theme="minimal"] .progress-bar-container {
    flex: 1 1 auto;
    height: 22px;
    background: #F1F5F9;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Progress bar fill */
[data-theme="minimal"] .progress-bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 2%;
}

/* Color tiers */
[data-theme="minimal"] .progress-bar-fill.tier-none {
    background: #E2E8F0;
}

[data-theme="minimal"] .progress-bar-fill.tier-low {
    background: linear-gradient(90deg, #EF4444 0%, #DC2626 100%);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

[data-theme="minimal"] .progress-bar-fill.tier-ok {
    background: linear-gradient(90deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

[data-theme="minimal"] .progress-bar-fill.tier-good {
    background: linear-gradient(90deg, #2563EB 0%, #1D4ED8 100%);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

[data-theme="minimal"] .progress-bar-fill.tier-great {
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

[data-theme="minimal"] .progress-bar-fill.tier-master {
    background: linear-gradient(90deg, #F59E0B 0%, #D97706 50%, #F59E0B 100%);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
    animation: shimmer 2s infinite;
}

/* Shimmer animation for master tier (60+ min gold) */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

[data-theme="minimal"] .progress-bar-fill.tier-master::after {
    content: '⭐';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    animation: sparkle 1.5s infinite;
}

/* Sparkle animation for star icon */
@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.2);
    }
}

/* Gentle glow removed - static design for minimal theme */
[data-theme="minimal"] .progress-item.current .progress-bar-fill {
    /* No animation - keep it minimal and professional */
}

/* Time display */
[data-theme="minimal"] .time-display {
    flex: 0 0 55px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
    text-align: right;
    padding-right: 8px;
}

[data-theme="minimal"] .progress-item.current .time-display {
    color: #2563EB;
}

/* Hover effect */
[data-theme="minimal"] .progress-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

[data-theme="minimal"] .progress-item.current:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: scale(1.02) translateY(-2px);
}

/* Responsiveness - mobile */
@media (max-width: 600px) {
    .graffiti-element {
        max-width: 150px;
        height: 45px;
    }

    [data-theme="minimal"] .adults-checkbox-list {
        width: 100%;
        padding: 10px;  /* Sides padding */
        padding-top: 14px;  /* Reduced from 18px to save 4px more */
        padding-bottom: 10px;  /* Explicit bottom padding */
        margin-top: 0;  /* Flexbox centers it */
        max-width: none;  /* No limit - fill available space */
    }

    [data-theme="minimal"] .progress-item {
        gap: 10px;  /* Tighter gap on mobile */
        padding: 8px 0;  /* Even more compact on mobile */
    }

    [data-theme="minimal"] .progress-item.current {
        padding: 7px 0;  /* Match normal item horizontal padding, compensate border */
    }

    [data-theme="minimal"] .progress-item .day-label {
        flex: 0 0 100px;
        font-size: 16px !important;
    }

    [data-theme="minimal"] .time-display {
        flex: 0 0 50px;
        font-size: 12px;
        padding-right: 8px;
    }
}

