/* ==========================================================================
   ENGLISH CAMP 2026 - OFFICIAL DESIGN SYSTEM (style.css)
   Politeknik Pariwisata Makassar • Global Village Portal
   ========================================================================== */

/* 1. RESET & OFFICIAL COLOR PALETTE DEFINITIONS */
:root {
    /* --- Official Event Palette (From Brand Guide) --- */
    --primary-orange: #FF7A00;          /* Primary Orange: Campfire vitality */
    --primary-orange-hover: #E56E00;    /* Darker orange for hover/active */
    --primary-orange-light: #FF9433;    /* Soft glowing orange */
    --primary-orange-subtle: rgba(255, 122, 0, 0.12);

    --primary-green: #2E4A2E;           /* Primary Green: Deep lush camp forest */
    --primary-green-light: #3D623D;     /* Lighter forest green */
    --primary-green-dark: #1A301A;      /* Night pine dark green */
    --primary-green-subtle: rgba(46, 74, 46, 0.08);

    --bg-cream: #FFFBEA;                /* Background Cream: Warm canvas tone */
    --bg-cream-warm: #F8F3DC;           /* Warm accent cream */
    --bg-card: #FFFFFF;                 /* Crisp card background */

    --accent-green: #A7B38B;            /* Accent Green: Natural sage */
    --accent-green-light: #C5CEAE;      /* Light sage tint */
    --accent-green-subtle: rgba(167, 179, 139, 0.22);

    --text-dark: #1F1F1F;               /* Text Dark: Deep charcoal readability */
    --text-muted: #5A6652;              /* Muted camp pine slate */
    --text-subtle: #8A9682;

    /* --- Backwards Compatibility System Aliases --- */
    --primary-blue: #2E4A2E;            /* Aliased to Primary Camp Green */
    --primary-blue-light: #3D623D;
    --secondary-orange: #FF7A00;         /* Aliased to Primary Camp Orange */
    --secondary-orange-hover: #E56E00;
    --accent-sky: #A7B38B;              /* Aliased to Accent Sage Green */
    --bg-light: #FFFBEA;                /* Aliased to Background Cream */
    --text-main: #1F1F1F;               /* Aliased to Text Dark */
    --border-color: rgba(46, 74, 46, 0.12);
    --shadow-soft: 0 8px 24px rgba(46, 74, 46, 0.06);
    --shadow-hover: 0 14px 34px rgba(46, 74, 46, 0.13);
    --border-radius-lg: 20px;
    --border-radius-md: 14px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: radial-gradient(circle at 50% 15%, #253D25 0%, #172817 50%, #0D170D 100%); /* Lush starry camp night backdrop */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* 2. APP CONTAINER SHELL (MOBILE-FIRST DESKTOP BOUNDS) */
.app-container {
    width: 100%;
    max-width: 460px; /* Standard premium mobile view width */
    height: 100vh;
    background-color: var(--bg-cream);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(13, 23, 13, 0.45);
}

/* 3. DECORATIONS (WARM CAMPFIRE GLOW & FOREST SAGE SPARKLES) */
.bg-decor {
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.bubble-1 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.14) 0%, rgba(255, 122, 0, 0) 70%);
    top: -50px;
    left: -50px;
    border-radius: 50%;
}

.bubble-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(167, 179, 139, 0.18) 0%, rgba(167, 179, 139, 0) 70%);
    bottom: 50px;
    right: -100px;
    border-radius: 50%;
}

.bubble-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.1) 0%, rgba(255, 122, 0, 0) 70%);
    top: 40%;
    left: 70%;
    border-radius: 50%;
}

.confetti-1 {
    top: 15%;
    left: 10%;
    font-size: 1.8rem;
    opacity: 0.25;
    animation: rotate 6s infinite linear;
}

.confetti-2 {
    bottom: 25%;
    right: 15%;
    font-size: 1.5rem;
    opacity: 0.25;
    animation: bounce 4s infinite ease-in-out;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* 4. SPLASH SCREEN (HALAMAN SAMPUL ENGLISH CAMP) */
.splash-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, #2E4A2E 0%, #1B301B 65%, #0F1D0F 100%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 60px 30px 40px;
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    color: #FFFFFF;
    text-align: center;
}

/* Class to trigger splash screen slide up */
.splash-screen.slide-up {
    transform: translateY(-100%);
}

/* Animated underwater bubble texture */
.splash-bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.bg-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.01) 70%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.2), 
                0 2px 4px rgba(0, 0, 0, 0.05);
    pointer-events: none;
    animation: underwaterBob 7s infinite ease-in-out;
}

@keyframes underwaterBob {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.2;
    }
    33% {
        transform: translateY(-12px) translateX(5px) scale(1.08);
        opacity: 0.55;
    }
    66% {
        transform: translateY(6px) translateX(-5px) scale(0.92);
        opacity: 0.3;
    }
}

/* Swimming Manta Mascot Background Animation */
.manta-mascot-bg {
    position: absolute;
    width: 120px;
    height: auto;
    opacity: 0.35; /* Increased for clear visibility while remaining a background element */
    pointer-events: none;
    z-index: 1; /* Behind text/logo, in front of bubbles */
    animation: mantaSwim 32s infinite ease-in-out;
}

.manta-mascot-bg img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

@keyframes mantaSwim {
    /* Swim from Left to Right */
    0% {
        left: -140px;
        top: 65%;
        transform: scaleX(1) rotate(6deg);
    }
    25% {
        left: calc(50% - 60px);
        top: 40%;
        transform: scaleX(1) rotate(-6deg);
    }
    48% {
        left: calc(100% + 140px);
        top: 55%;
        transform: scaleX(1) rotate(6deg);
    }
    
    /* Flip and swim from Right to Left */
    50% {
        left: calc(100% + 140px);
        top: 55%;
        transform: scaleX(-1) rotate(6deg);
    }
    75% {
        left: calc(50% - 60px);
        top: 70%;
        transform: scaleX(-1) rotate(-6deg);
    }
    98% {
        left: -140px;
        top: 65%;
        transform: scaleX(-1) rotate(6deg);
    }
    100% {
        left: -140px;
        top: 65%;
        transform: scaleX(1) rotate(6deg);
    }
}

.splash-content {
    margin-top: auto;
    margin-bottom: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper-clean {
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 10px;
    animation: pulseLogoClean 3s infinite ease-in-out;
}

@keyframes pulseLogoClean {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 5px 15px rgba(255, 81, 0, 0.15)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 15px 30px rgba(255, 81, 0, 0.4)); }
}

.splash-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.splash-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
    background: linear-gradient(
        to right, 
        #FFFFFF 20%, 
        #FFD1B3 40%, 
        #FFFFFF 50%, 
        #FF5100 60%, 
        #FFFFFF 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 4s linear infinite;
}

@keyframes shineText {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: -200% center;
    }
}

.splash-subtitle {
    font-size: 1.1rem;
    color: #E2E8F0;
    font-weight: 500;
    margin-bottom: 25px;
}

.university-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #CBD5E1;
}

.university-tag i {
    color: var(--secondary-orange);
}

.swipe-indicator {
    z-index: 2;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    animation: bounceIndicator 2s infinite;
}

.chevron-bounce {
    font-size: 1.5rem;
    color: var(--secondary-orange);
}

.swipe-indicator span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #94A3B8;
}

.swipe-indicator .swipe-hint {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
}

@keyframes bounceIndicator {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 5. MAIN APP VIEW & LAYOUT */
.main-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.main-app.active {
    opacity: 1;
    transform: translateY(0);
}

/* APP HEADER & ALL SUBPAGE HEADERS (iOS Safe Area Notch Support) */
.app-header,
.team-header,
.profile-header,
.dosen-header,
.admin-header,
.mahasiswa-header {
    background-color: var(--bg-card);
    padding-top: max(16px, calc(12px + env(safe-area-inset-top))) !important;
    padding-bottom: 14px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(11, 44, 106, 0.04);
    z-index: 1000 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    top: 0;
    left: 0;
    width: 100%;
    min-height: max(68px, calc(56px + env(safe-area-inset-top))) !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: visible !important;
    gap: 8px !important;
}

/* SUBPAGE HEADER FLEX FIX & TEXT WRAP PROTECTION */
.back-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.team-header-title-container {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-width: 0 !important;
    padding: 0 4px !important;
}

.team-header-title,
.profile-header-title,
.dosen-header-title,
.admin-header-title,
.mahasiswa-header-title {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo-container {
    width: 38px;
    height: 38px;
}

.header-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-text h2 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 0.2px;
}

.header-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    border: none;
    background: var(--bg-light);
    color: var(--primary-blue);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.action-btn:active {
    transform: scale(0.9);
    background: #E2E8F0;
}

/* SCROLLABLE INNER BODY */
.scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-behavior: smooth;
}

/* Hide default scrollbars for mobile appearance */
.scrollable-content::-webkit-scrollbar {
    width: 5px;
}
.scrollable-content::-webkit-scrollbar-thumb {
    background: rgba(11, 44, 106, 0.1);
    border-radius: 10px;
}

/* 6. GENERAL CARD COMPONENT */
.card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 44, 106, 0.03);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

/* 7. 1. THEME & TAGLINE CARD (Equal, Clean Minimalist Look) */
.theme-card {
    background: #2E4A2E;
    color: #FFFFFF;
    border: 1px solid #243D24;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(46, 74, 46, 0.12);
    padding: 16px 18px;
}

.theme-card .card-decor {
    display: none !important;
}

.theme-badge {
    display: inline-block;
    background: #FF7A00;
    color: #FFFFFF;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.theme-text {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    color: #FFFFFF;
    text-shadow: none;
}

.theme-card .divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    margin: 12px 0;
}

.tagline-block {
    display: flex;
    flex-direction: column;
}

.tagline-text {
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    color: #FFFFFF;
    text-shadow: none;
}

.tagline-words {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tagline-words .word {
    font-size: 0.78rem;
    font-weight: 700;
    color: #FFFBEA;
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tagline-words {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tagline-words .word {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
}

.tagline-words .word i {
    font-size: 0.78rem;
}

.tagline-words .word.adv i { color: #10B981; }
.tagline-words .word.expl i { color: #0EA5E9; }
.tagline-words .word.comm i { color: #FFD43B; }
.tagline-words .word.glob i { color: #FF7A00; }

.tagline-words .word:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

/* 8. 2. COUNTDOWN CARD */
.card-title-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.card-title-container h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.text-orange {
    color: var(--secondary-orange);
}

.target-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 18px;
}


/* Timeline vertical styling */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    padding-left: 16px;
    padding-right: 6px;
    margin-top: 10px;
    max-height: 115px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.timeline-container::-webkit-scrollbar {
    width: 4px;
}
.timeline-container::-webkit-scrollbar-track {
    background: transparent;
}
.timeline-container::-webkit-scrollbar-thumb {
    background: rgba(11, 44, 106, 0.15);
    border-radius: 4px;
}
.timeline-container::-webkit-scrollbar-thumb:hover {
    background: rgba(11, 44, 106, 0.3);
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 1px #CBD5E1;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.timeline-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.timeline-title {
    font-size: 0.82rem;
    font-weight: 750;
    color: var(--text-main);
}

.timeline-date {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Completed Phase styling */
.timeline-item.completed .timeline-dot {
    background: #10B981;
    box-shadow: 0 0 0 1px #10B981;
}

.timeline-item.completed .timeline-content {
    opacity: 0.55;
    background: rgba(16, 185, 129, 0.01);
}

.timeline-item.completed .timeline-title {
    text-decoration: line-through;
    color: var(--text-muted);
}

/* Active Phase styling */
.timeline-item.active .timeline-dot {
    background: var(--secondary-orange);
    box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.25);
    transform: scale(1.15);
}

.timeline-item.active .timeline-content {
    border-color: rgba(255, 81, 0, 0.35);
    background: rgba(255, 81, 0, 0.04);
    box-shadow: var(--shadow-soft);
}

.timeline-item.active .timeline-title {
    color: var(--secondary-orange);
    font-weight: 800;
}

.timeline-item.active .timeline-date {
    color: var(--secondary-orange);
}

/* Incoming Phase styling */
.timeline-item.incoming .timeline-dot {
    background: #CBD5E1;
}

/* 9. 3. INFO PANEL (TABS) */
.info-tabs {
    display: flex;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 16px;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 5px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background: var(--bg-card);
    color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(11, 44, 106, 0.05);
}

.tab-content {
    display: none;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-main);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-content p {
    margin-bottom: 12px;
}

.highlight-box {
    background: rgba(255, 81, 0, 0.05);
    border-left: 4px solid var(--secondary-orange);
    border-radius: 4px 12px 12px 4px;
    padding: 12px 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 15px;
}

.highlight-box span {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Goal checklist inside tab */
.goal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.goal-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.goal-icon {
    width: 24px;
    height: 24px;
    background: rgba(11, 44, 106, 0.08);
    border-radius: 50%;
    color: var(--primary-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.goal-text {
    font-size: 0.85rem;
    color: var(--text-main);
}

/* 10. 4. GALLERY DOSEN BUTTON WITH THUMBNAIL */
.gallery-btn-section {
    padding: 18px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-header h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.badge {
    background: rgba(11, 44, 106, 0.08);
    color: var(--primary-blue);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* The Tactile Thumbnail Button */
.thumbnail-button {
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.thumbnail-button:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(11, 44, 106, 0.08);
    transform: translateY(-2px);
}

.thumbnail-button:active {
    transform: scale(0.98);
}

.thumb-img-container {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.thumb-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thumbnail-button:hover .thumb-img-container img {
    transform: scale(1.1);
}

.thumb-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: var(--secondary-orange);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.65rem;
    border: 1px solid #FFFFFF;
}

.thumb-button-text {
    flex: 1;
}

.thumb-button-text h5 {
    font-size: 0.95rem;
    font-weight: 850;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.thumb-button-text p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-bottom: 6px;
}

.action-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-orange);
}

.action-hint i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.thumbnail-button:hover .action-hint i {
    transform: translateX(4px);
}

/* 11. 5. STUDENT CAROUSEL GALLERY SECTION */
.student-gallery-section {
    padding: 20px 0 20px 20px; /* Cut off margin to allow edge-to-edge swiping */
    overflow: visible;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
    margin-bottom: 12px;
}

.student-section-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-header-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.student-section-header-content h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1px;
}

.section-subtitle-small {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Carousel Buttons */
.carousel-nav-btns {
    display: flex;
    gap: 6px;
}

.nav-arrow-btn {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--primary-blue);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.75rem;
}

.nav-arrow-btn:hover {
    background: var(--primary-blue);
    color: #FFFFFF;
    border-color: var(--primary-blue);
}

.nav-arrow-btn:active {
    transform: scale(0.9);
}

/* SWIPEABLE OUTER TRACK */
.carousel-container-outer {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    padding-right: 20px;
}

.carousel-container-outer::-webkit-scrollbar {
    height: 4px;
}

.carousel-container-outer::-webkit-scrollbar-thumb {
    background: rgba(11, 44, 106, 0.1);
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

/* Polaroid-like division cards */
.carousel-card {
    width: 280px;
    background: #FFFFFF;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    padding: 16px;
    scroll-snap-align: start;
    box-shadow: 0 4px 15px rgba(11, 44, 106, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(11, 44, 106, 0.08);
}

.div-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.div-number {
    font-size: 1.3rem;
    font-weight: 800;
    opacity: 0.15;
}

.div-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.div-body h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.div-tagline {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    font-style: italic;
    color: var(--secondary-orange);
    margin-bottom: 8px;
}

.div-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-main);
    margin-bottom: 12px;
}

.member-list-box {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 8px 12px;
    border-left: 3px solid var(--primary-blue);
}

.member-list-box strong {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.member-list-box p {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.3;
}

/* Photo Container & Placeholder for Division Cards */
.div-photo-container {
    width: 100%;
    height: 110px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
    background: var(--bg-light);
    border: 1.5px dashed rgba(11, 44, 106, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.div-photo-container:hover {
    border-color: var(--secondary-orange);
    background: rgba(255, 81, 0, 0.02);
}

.div-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.div-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    z-index: 1;
}

.div-photo-placeholder i {
    font-size: 1.35rem;
    color: rgba(11, 44, 106, 0.22);
    transition: var(--transition-smooth);
}

.div-photo-container:hover .div-photo-placeholder i {
    color: var(--secondary-orange);
    transform: scale(1.1);
}

.div-photo-placeholder span {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Division Card Colors (Vibrant themes matching student context) */
.color-1 .div-icon-circle { background: #EEF2FF; color: #4F46E5; }
.color-1 .div-number { color: #4F46E5; }
.color-1 .member-list-box { border-left-color: #4F46E5; }

.color-2 .div-icon-circle { background: #FFF7ED; color: #EA580C; }
.color-2 .div-number { color: #EA580C; }
.color-2 .member-list-box { border-left-color: #EA580C; }

.color-3 .div-icon-circle { background: #ECFDF5; color: #059669; }
.color-3 .div-number { color: #059669; }
.color-3 .member-list-box { border-left-color: #059669; }

.color-4 .div-icon-circle { background: #FFF1F2; color: #E11D48; }
.color-4 .div-number { color: #E11D48; }
.color-4 .member-list-box { border-left-color: #E11D48; }

.color-5 .div-icon-circle { background: #F0FDF4; color: #16A34A; }
.color-5 .div-number { color: #16A34A; }
.color-5 .member-list-box { border-left-color: #16A34A; }

.color-6 .div-icon-circle { background: #FDF2F8; color: #DB2777; }
.color-6 .div-number { color: #DB2777; }
.color-6 .member-list-box { border-left-color: #DB2777; }

.color-7 .div-icon-circle { background: #FFF5F5; color: #E53E3E; }
.color-7 .div-number { color: #E53E3E; }
.color-7 .member-list-box { border-left-color: #E53E3E; }

.color-8 .div-icon-circle { background: #F3F4F6; color: #374151; }
.color-8 .div-number { color: #374151; }
.color-8 .member-list-box { border-left-color: #374151; }

.color-9 .div-icon-circle { background: #F5F3FF; color: #7C3AED; }
.color-9 .div-number { color: #7C3AED; }
.color-9 .member-list-box { border-left-color: #7C3AED; }

.color-10 .div-icon-circle { background: #ECFDF5; color: #10B981; }
.color-10 .div-number { color: #10B981; }
.color-10 .member-list-box { border-left-color: #10B981; }

/* 12. FOOTER SECTION */
.app-footer {
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.copyright {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.sub-copyright {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.creator-watermark {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 5px;
    letter-spacing: 0.3px;
}

.creator-watermark span {
    color: var(--secondary-orange);
    font-weight: 800;
}

/* 13. MODALS SYSTEM (Lecturer Gallery & Info Details) */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 20, 43, 0.6);
    backdrop-filter: blur(5px);
    z-index: 200;
    display: flex;
    align-items: flex-end; /* Binds window to bottom on mobile, like sheet */
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    width: 100%;
    max-height: 85%;
    background: var(--bg-card);
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.85, 0, 0.15, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-window {
    transform: translateY(0);
}

/* Center modal for tablet/desktop views */
@media (min-width: 768px) {
    .modal-overlay {
        align-items: center;
        padding: 20px;
    }
    .modal-window {
        border-radius: 20px;
        max-height: 80%;
        width: 90%;
        max-width: 400px;
        transform: scale(0.9) translateY(30px);
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .modal-overlay.active .modal-window {
        transform: scale(1) translateY(0);
    }
}

.min-modal {
    max-height: 60%;
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title-group i {
    font-size: 1.1rem;
}

.modal-title-group h3 {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.modal-close-btn {
    border: none;
    background: transparent;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background: var(--bg-light);
    color: var(--text-main);
}

.modal-body-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Search Box inside Modal */
.search-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-box input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.search-box input::placeholder {
    color: #94A3B8;
}

/* Lecturers list grid */
.lecturers-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lecturer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.lecturer-card:hover {
    border-color: rgba(11, 44, 106, 0.15);
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(11, 44, 106, 0.04);
}

.lecturer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.lecturer-avatar.bg-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
}

.lecturer-avatar.bg-orange {
    background: linear-gradient(135deg, var(--secondary-orange) 0%, #FF783E 100%);
}

.lecturer-info {
    flex: 1;
}

.lecturer-info h4 {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.role-badge {
    display: inline-block;
    background: rgba(11, 44, 106, 0.06);
    color: var(--primary-blue);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.role-badge.leader {
    background: rgba(255, 81, 0, 0.1);
    color: var(--secondary-orange);
}

.role-badge.advisor {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.lecturer-info .dept {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Big full width button */
.primary-btn-full {
    width: 100%;
    background: var(--primary-blue);
    color: #FFFFFF;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(11, 44, 106, 0.15);
}

.primary-btn-full:hover {
    background: var(--primary-blue-light);
}

.primary-btn-full:active {
    transform: scale(0.98);
}

.info-logo-big {
    font-size: 3.5rem;
    animation: bounce 3s infinite ease-in-out;
}

/* 14. ANIMATION HELPERS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 15. TEAM PORTALS COMPONENT */
.team-ports-card {
    background-color: var(--bg-card);
}

.team-ports-card .centered-title {
    justify-content: center;
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 10px;
    margin-top: 14px;
}

/* ==========================================================================
   ENGLISH CAMP 2026 - COUNTRY TEAM CARDS (23 DELEGASI NEGARA)
   Clean, modern rounded card boxes with flags and country names
   ========================================================================== */
.team-btn {
    position: relative;
    background: #FFFFFF;
    border: 1.5px solid rgba(11, 44, 106, 0.08);
    border-radius: 16px;
    padding: 16px 10px 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    text-decoration: none !important;
    color: #1F1F1F !important;
    cursor: pointer;
    box-sizing: border-box;
    min-height: 116px;
    box-shadow: 0 2px 8px rgba(11, 44, 106, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.country-card-hidden {
    display: none !important;
}

.team-btn:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-orange);
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.15);
}

.team-btn .team-flag-img {
    width: 76px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin: 0;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-btn:hover .team-flag-img {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.team-btn .team-name {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--text-dark, #1E293B);
    letter-spacing: 0.5px;
    line-height: 1.15;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.team-btn:hover .team-name {
    color: var(--secondary-orange);
}

/* ==========================================================================
   COUNTRY DELEGATION SPOTLIGHT CARD (pages/team.html & pages/team.php)
   ========================================================================== */
.country-delegation-card {
    padding: 14px 16px 4px 16px;
    width: 100%;
    box-sizing: border-box;
}

.country-delegation-inner {
    background: #FFFFFF;
    border: 1.5px solid rgba(46, 74, 46, 0.09);
    border-radius: 20px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(46, 74, 46, 0.05);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.country-delegation-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #FF7A00 0%, #2E4A2E 100%);
}

.country-flag-large-wrapper {
    width: 86px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-flag-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.country-details-box {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.country-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--secondary-orange, #FF7A00);
    background: rgba(255, 122, 0, 0.1);
    padding: 2.5px 8px;
    border-radius: 20px;
    width: fit-content;
    text-transform: uppercase;
}

.country-badge i {
    font-size: 0.68rem;
}

.country-name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1F1F1F;
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 2px;
}

.country-stats-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.country-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #334155;
    background: #F8FAFC;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 3px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

.country-stat-item strong {
    color: #0F172A;
    font-weight: 800;
}

.country-stat-item i.fa-users {
    color: #0284C7;
}

.country-stat-item i.fa-star {
    color: #F59E0B;
}

/* Rotate icon micro-animation on hover */
.team-btn:hover .team-icon {
    transform: scale(1.15) rotate(6deg);
}

/* Custom individual bounce animations for icons on hover to feel extremely modern and interactive */
.team-btn[data-team="sumatra"]:hover .team-icon {
    animation: leaf-sway 0.8s ease-in-out infinite alternate;
}
.team-btn[data-team="jawa"]:hover .team-icon {
    animation: volcano-shake 0.5s ease-in-out infinite alternate;
}
.team-btn[data-team="nusa-tenggara"]:hover .team-icon {
    animation: beach-sway 0.8s ease-in-out infinite alternate;
}
.team-btn[data-team="bali"]:hover .team-icon {
    animation: lotus-float 1.2s ease-in-out infinite alternate;
}
.team-btn[data-team="kalimantan"]:hover .team-icon {
    animation: leaf-sway 0.8s ease-in-out infinite alternate;
}
.team-btn[data-team="sulawesi"]:hover .team-icon {
    animation: ship-bob 1s ease-in-out infinite alternate;
}
.team-btn[data-team="maluku"]:hover .team-icon {
    animation: compass-spin 1.5s ease-in-out infinite;
}
.team-btn[data-team="papua"]:hover .team-icon {
    animation: feather-float 1s ease-in-out infinite alternate;
}

/* Micro-animations keyframes */
@keyframes border-light-glow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
@keyframes inner-shimmer {
    0% { left: -150%; }
    25% { left: 150%; }
    100% { left: 150%; }
}
@keyframes leaf-sway {
    0% { transform: scale(1.15) rotate(-5deg); }
    100% { transform: scale(1.15) rotate(10deg); }
}
@keyframes volcano-shake {
    0% { transform: scale(1.15) translateY(0); }
    100% { transform: scale(1.15) translateY(-3px); }
}
@keyframes beach-sway {
    0% { transform: scale(1.15) rotate(-6deg); }
    100% { transform: scale(1.15) rotate(6deg); }
}
@keyframes lotus-float {
    0% { transform: scale(1.15) translateY(0); }
    100% { transform: scale(1.15) translateY(-4px); }
}
@keyframes ship-bob {
    0% { transform: scale(1.15) translateY(0) rotate(-3deg); }
    100% { transform: scale(1.15) translateY(-3px) rotate(3deg); }
}
@keyframes compass-spin {
    0% { transform: scale(1.15) rotate(0deg); }
    100% { transform: scale(1.15) rotate(360deg); }
}
@keyframes feather-float {
    0% { transform: scale(1.15) translateY(0) rotate(-5deg); }
    100% { transform: scale(1.15) translateY(-4px) rotate(5deg); }
}

/* Active click state */
.team-btn:active {
    transform: scale(0.96) translateY(-2px);
    background-color: rgba(255, 81, 0, 0.02);
}

/* 16. TEAM GALLERY MODAL OVERLAY (SLIDE UP SHEET) */
.team-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 44, 106, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.team-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.team-modal-window {
    background: var(--bg-light);
    width: 100%;
    height: 80%;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-modal-overlay.active .team-modal-window {
    transform: translateY(0);
}

.team-modal-header {
    background: #FFFFFF;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.team-modal-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-modal-title-group h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0;
    text-transform: uppercase;
}

.team-count-badge {
    font-size: 0.7rem;
    background: rgba(11, 44, 106, 0.08);
    color: var(--primary-blue);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}

.team-modal-close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.team-modal-close-btn:hover {
    color: var(--secondary-orange);
}

/* Search bar */
.team-search-container {
    padding: 12px 16px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
}

.team-search-box {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid rgba(11, 44, 106, 0.08);
    border-radius: var(--border-radius-md);
    padding: 8px 12px;
    gap: 10px;
}

.team-search-box input {
    background: none;
    border: none;
    width: 100%;
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: inherit;
}

.team-search-box input:focus {
    outline: none;
}

.team-search-box i {
    color: var(--text-muted);
}

/* Members scroll grid */
.team-members-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Member item card styling */
.member-card {
    background: #FFFFFF;
    border: 1px solid rgba(11, 44, 106, 0.04);
    border-radius: var(--border-radius-md);
    padding: 8px 12px 8px 8px; /* Shifted slightly to the left to maximize space */
    display: flex;
    align-items: center;
    gap: 10px; /* Reduced gap */
    box-shadow: 0 2px 8px rgba(11, 44, 106, 0.01);
    transition: var(--transition-smooth);
}

.member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 44, 106, 0.04);
    border-color: rgba(255, 81, 0, 0.1);
}

.member-photo-container {
    width: 68px; /* Enhanced size for better visibility */
    height: 68px; /* 1:1 ratio */
    border-radius: 10px; /* Rounded rectangle (tidak runcing) */
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
    border: 1.5px solid rgba(11, 44, 106, 0.08);
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-animal-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    overflow: hidden;
    z-index: 1;
}

.camper-animal-avatar {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: inherit;
    box-sizing: border-box;
    text-align: center;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-photo-placeholder {
    font-size: 1.15rem; /* Proportionally larger font size */
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-prodi {
    font-size: 0.65rem;
    color: var(--secondary-orange);
    background: rgba(255, 81, 0, 0.08);
    border: 1px solid rgba(255, 81, 0, 0.2);
    font-weight: 750;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

/* ==========================================================================
   17. QUICK MENU COMPONENT (2x3 Grid Layout)
   ========================================================================== */
.quick-menu-card {
    background-color: var(--bg-card);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    border: 1px solid rgba(46, 74, 46, 0.12);
    border-radius: var(--border-radius-md);
    padding: 16px 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
    gap: 8px;
    box-shadow: 0 4px 10px rgba(46, 74, 46, 0.04);
    box-sizing: border-box;
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(255, 122, 0, 0.12);
    border-color: #FF7A00;
    background-color: #FFFBEA;
}

.quick-btn:active {
    transform: scale(0.95);
}

.quick-icon {
    font-size: 1.4rem;
    color: var(--primary-blue);
    transition: var(--transition-smooth);
}

.quick-btn:hover .quick-icon {
    color: var(--secondary-orange);
    transform: scale(1.1);
}

.quick-name {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

/* Card point progress bar */
.member-health-box {
    margin-top: 6px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.member-health-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.member-health-label {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 0.3px;
}

.member-health-percent-text {
    font-size: 0.65rem;
    font-weight: 800;
}

.member-health-bar-bg {
    width: 100%;
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(11, 44, 106, 0.04);
}

.member-health-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
    background: linear-gradient(90deg, 
        #EF4444 0%, #EF4444 20%, 
        #F97316 20%, #F97316 50%, 
        #FBBF24 50%, #FBBF24 70%, 
        #10B981 70%, #10B981 80%, 
        #3B82F6 80%, #3B82F6 90%, 
        #A855F7 90%, #A855F7 100%
    ) !important;
    background-size: calc(100% * (100 / var(--fill-percent, 100))) 100% !important;
    background-repeat: no-repeat !important;
}

/* Colors for status bar */
.member-hp-red {
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.2);
}

.member-hp-orange {
    box-shadow: 0 0 6px rgba(249, 115, 22, 0.2);
}

.member-hp-yellow {
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.2);
}

.member-hp-green {
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.2);
}

.member-hp-blue {
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.2);
}

.member-hp-violet {
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.2);
}

/* ==========================================================================
   40. NEWS BOARD CARD CUSTOM STYLES
   ========================================================================== */
.news-card {
    position: relative;
    padding: 18px !important;
    background: #FFFFFF;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1.5px solid rgba(11, 44, 106, 0.04);
    overflow: hidden;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 81, 0, 0.15);
}

.megaphone-decor {
    position: absolute;
    right: -15px;
    top: -15px;
    font-size: 4rem;
    opacity: 0.04;
    transform: rotate(-25deg);
    pointer-events: none;
    user-select: none;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.news-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 81, 0, 0.08);
    color: var(--secondary-orange);
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.news-live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary-orange);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 1.2s infinite ease-in-out;
}

@keyframes pulse-dot {
    0% { transform: scale(0.85); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.85); opacity: 0.5; }
}

.news-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(11, 44, 106, 0.08) 0%, rgba(11, 44, 106, 0.02) 100%);
    margin-bottom: 16px;
}

.news-content-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-poster-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: #F1F5F9;
    border: 1px solid rgba(11, 44, 106, 0.06);
    position: relative;
    box-shadow: 0 4px 12px rgba(11, 44, 106, 0.03);
}

.news-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-poster-frame:hover .news-poster-img {
    transform: scale(1.03);
}

.news-text-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-item-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.1px;
}

.news-item-desc {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   ACCESSIBILITY & USABILITY FIXES
   ========================================================================== */

/* Custom focus ring for WCAG compliance */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--secondary-orange) !important;
    outline-offset: 2px !important;
}

/* Typography override for readable metadata sizes on mobile */
.sub-copyright,
.target-date,
.timeline-date,
.quick-name,
.news-live-badge,
.stat-lbl,
.form-label,
span.timeline-date,
.file-selected-name {
    font-size: 0.72rem !important; /* Ensure readable ~12px size */
}

/* ==========================================================================
   UNIFORM CROSS-DEVICE CONTAINER SYSTEM (IDENTICAL ON LAPTOP, MAC, PC & MOBILE)
   ========================================================================== */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    background: #172617 !important;
    background-color: #172617 !important; /* Clean flat dark camp pine forest backdrop */
    display: flex !important;
    justify-content: center !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
}

.app-container,
.team-page-container,
.profile-page-container,
.mahasiswa-page-container,
.dosen-page-container,
.admin-container {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    background-color: var(--bg-light) !important;
    position: relative;
    box-sizing: border-box !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4) !important;
}

/* Smooth modal scaling for mobile devices */
.quick-modal-content,
.mentor-select-content {
    max-width: 92% !important;
    width: 440px !important;
    max-height: 85vh !important;
    max-height: 85dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* ==========================================================================
   PSDP 2026 - MODERN SCROLLABLE MENFESS FEED STYLES
   ========================================================================== */
.menfess-feed-container {
    position: relative;
    width: 100%;
    height: 340px;
    background: rgba(11, 44, 106, 0.02);
    border: 1px solid rgba(11, 44, 106, 0.08);
    border-radius: 16px;
    overflow-y: auto;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: inset 0 2px 8px rgba(11, 44, 106, 0.03);
    scroll-behavior: smooth;
}

/* Custom Sleek Scrollbar for Menfess Feed */
.menfess-feed-container::-webkit-scrollbar {
    width: 6px;
}
.menfess-feed-container::-webkit-scrollbar-track {
    background: transparent;
}
.menfess-feed-container::-webkit-scrollbar-thumb {
    background: rgba(11, 44, 106, 0.15);
    border-radius: 10px;
}
.menfess-feed-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-orange);
}

.menfess-item-card {
    background: #FFFFFF;
    border: 1px solid rgba(11, 44, 106, 0.08);
    border-left: 4px solid var(--secondary-orange);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 4px 12px rgba(11, 44, 106, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fadeInSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.menfess-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 44, 106, 0.06);
}

.menfess-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.menfess-item-labels {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.menfess-badge-to {
    background: rgba(11, 44, 106, 0.06);
    color: var(--primary-blue);
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.6rem;
}

.menfess-badge-from {
    background: rgba(255, 81, 0, 0.06);
    color: var(--secondary-orange);
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.6rem;
}

.menfess-item-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.45;
    word-break: break-word;
    white-space: pre-line;
}

.menfess-item-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
}

.menfess-item-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

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

/* Mobile & iOS Touch Scrolling Optimizations for Menfess Feed */
@media (max-width: 768px) {
    .menfess-feed-container {
        height: auto;
        max-height: 380px;
        min-height: 240px;
        -webkit-overflow-scrolling: touch;
        padding: 10px;
        gap: 10px;
    }
    .menfess-item-card {
        padding: 10px 12px;
    }
    .menfess-item-text {
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   2.5 LIVE POINT STANDINGS & TOP 10 MEMBERS (ENGLISH CAMP 2026)
   ========================================================================== */
.live-standings-card {
    border-radius: var(--border-radius-lg);
    background: #FFFFFF;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.live-leaderboard-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--secondary-orange);
    text-decoration: none;
    background: rgba(255, 122, 0, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.live-leaderboard-link:hover {
    background: var(--secondary-orange);
    color: #FFFFFF;
    transform: translateX(2px);
}

.live-tabs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(46, 74, 46, 0.07);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.live-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 8px 10px;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.live-tab-btn.active {
    background: var(--primary-green);
    color: #FFFFFF;
    box-shadow: 0 3px 12px rgba(46, 74, 46, 0.25);
}

.live-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 2px 10px 2px;
}

.live-list-subtitle {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-badge-count {
    background: rgba(46, 74, 46, 0.1);
    color: var(--primary-green);
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
}

.live-badge-count.top-10-pill {
    background: rgba(255, 122, 0, 0.15);
    color: var(--secondary-orange);
}

.live-badge-count.top-10-pill.male-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #2563EB;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.live-badge-count.top-10-pill.female-badge {
    background: rgba(236, 72, 153, 0.15);
    color: #DB2777;
    border: 1px solid rgba(236, 72, 153, 0.25);
}

/* Gender Filter Bar for Best Student Leaderboard */
.member-gender-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 10px 0;
    padding: 3px;
    background: rgba(46, 74, 46, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(46, 74, 46, 0.08);
}

.member-gender-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    user-select: none;
}

.member-gender-pill:hover {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.7);
}

.member-gender-pill.active {
    background: #FFFFFF;
    color: var(--text-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border-color: rgba(46, 74, 46, 0.15);
    font-weight: 800;
}

.member-gender-pill.pill-male.active {
    background: #EFF6FF;
    color: #1D4ED8;
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.member-gender-pill.pill-female.active {
    background: #FDF2F8;
    color: #BE185D;
    border-color: rgba(236, 72, 153, 0.35);
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.15);
}

.badge-gender-tag {
    font-size: 0.58rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0.02em;
}

.badge-gender-tag.male {
    background: rgba(59, 130, 246, 0.12);
    color: #2563EB;
}

.badge-gender-tag.female {
    background: rgba(236, 72, 153, 0.12);
    color: #DB2777;
}

.live-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.country-rank-card, .member-rank-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid rgba(46, 74, 46, 0.09);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.025);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
}

.country-rank-card:hover, .member-rank-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 74, 46, 0.08);
    border-color: rgba(46, 74, 46, 0.25);
}

.rank-badge {
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    flex-shrink: 0;
}

.rank-badge.rank-1 {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #94A3B8, #64748B);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.35);
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #D97706, #B45309);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.rank-badge.rank-neutral {
    background: rgba(46, 74, 46, 0.08);
    color: var(--text-muted);
}

.country-flag-icon {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.member-avatar-box {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(46, 74, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid rgba(46, 74, 46, 0.15);
}

.member-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rank-card-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-card-meta {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-card-points {
    font-size: 0.82rem;
    font-weight: 900;
    color: var(--secondary-orange);
    background: rgba(255, 122, 0, 0.08);
    border: 1px solid rgba(255, 122, 0, 0.2);
    padding: 3px 8px;
    border-radius: 8px;
    white-space: nowrap;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.rank-card-points.pts-member {
    color: var(--primary-green);
    background: rgba(46, 74, 46, 0.09);
    border-color: rgba(46, 74, 46, 0.2);
}

.toggle-countries-btn {
    width: 100%;
    margin-top: 10px;
    padding: 8px;
    background: rgba(46, 74, 46, 0.06);
    border: 1px dashed rgba(46, 74, 46, 0.2);
    border-radius: 10px;
    color: var(--primary-green);
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.toggle-countries-btn:hover {
    background: rgba(46, 74, 46, 0.12);
}



/* ==========================================================================
   TENT DIRECTORY - CAMP TENT ALLOCATION ACCORDION
   ========================================================================== */
.tent-directory-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 72vh;
    overflow-y: auto;
    padding: 2px;
}

.tent-search-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 4px;
}

.tent-search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border-radius: 12px;
    border: 2px solid rgba(16, 185, 129, 0.2);
    background: #F8FAFC;
    color: #0F172A;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.tent-search-input:focus {
    border-color: #10B981;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.tent-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #10B981;
    font-size: 0.85rem;
}

.tent-grid-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tent-accordion-item {
    background: #FFFFFF;
    border: 1.5px solid rgba(11, 44, 106, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tent-accordion-item:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
}

.tent-accordion-header {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    background: #FFFFFF;
    transition: background 0.15s;
}

.tent-accordion-header:hover {
    background: rgba(16, 185, 129, 0.04);
}

.tent-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tent-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.tent-number-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0F172A;
}

.tent-gender-badge {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 6px;
    margin-left: 6px;
}

.tent-gender-badge.male {
    background: rgba(59, 130, 246, 0.1);
    color: #2563EB;
}

.tent-gender-badge.female {
    background: rgba(236, 72, 153, 0.1);
    color: #DB2777;
}

.tent-gender-badge.general {
    background: rgba(100, 116, 139, 0.1);
    color: #475569;
}

.tent-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tent-count-pill {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    background: #F1F5F9;
    color: #64748B;
}

.tent-chevron {
    font-size: 0.75rem;
    color: #94A3B8;
    transition: transform 0.25s ease;
}

.tent-accordion-item.active .tent-chevron {
    transform: rotate(180deg);
    color: #10B981;
}

.tent-accordion-body {
    padding: 0 14px 14px 14px;
    border-top: 1px solid rgba(11, 44, 106, 0.05);
    background: #FAFAFA;
}

.tent-member-list {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tent-member-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: #FFFFFF;
    border: 1px solid rgba(11, 44, 106, 0.06);
    border-radius: 8px;
    font-size: 0.78rem;
}

.tent-member-num {
    font-weight: 800;
    color: #10B981;
    font-size: 0.75rem;
    min-width: 18px;
}

.tent-member-name {
    font-weight: 700;
    color: #1E293B;
}

.tent-empty-notice {
    padding: 12px;
    text-align: center;
    color: #94A3B8;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px dashed rgba(11, 44, 106, 0.12);
    border-radius: 8px;
    margin-top: 8px;
}

/* ==========================================================================
   CAMP MAP - GOOGLE MAPS INTERACTIVE CAMPGROUND ENGINE (MALE / FEMALE WINGS)
   ========================================================================== */
.modal-window.is-camp-map {
    max-width: 1100px !important;
    max-height: 94vh !important;
    width: 96% !important;
    padding: 16px !important;
}

.camp-map-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

/* Map Header Controls Bar */
.camp-map-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(11, 44, 106, 0.08);
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.map-search-wrapper {
    position: relative;
    width: 100%;
}

.map-search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border-radius: 12px;
    border: 2px solid rgba(46, 74, 46, 0.15);
    background: #F8FAFC;
    color: #0F172A;
    font-size: 0.82rem;
    font-weight: 700;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.map-search-input:focus {
    border-color: var(--secondary-orange);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.15);
}

.map-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    font-size: 0.85rem;
    pointer-events: none;
}

.map-filters-row {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.map-filters-row::-webkit-scrollbar {
    display: none;
}

.map-filter-pill {
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(11, 44, 106, 0.1);
    background: #F1F5F9;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.map-filter-pill.active {
    background: var(--primary-green);
    color: #FFFFFF;
    border-color: var(--primary-green);
    box-shadow: 0 2px 8px rgba(46, 74, 46, 0.25);
}

.map-filter-pill.male-pill.active {
    background: #0284C7;
    border-color: #0284C7;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.map-filter-pill.female-pill.active {
    background: #EC4899;
    border-color: #EC4899;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.35);
}

/* Interactive Google Maps Viewport Container */
.camp-google-viewport {
    position: relative;
    width: 100%;
    height: 560px;
    max-height: 68vh;
    background: #739B64;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(46, 74, 46, 0.4);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.25);
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.camp-google-viewport.is-grabbing {
    cursor: grabbing;
}

/* Transformed Map Surface (Pan & Zoom Layer) */
.camp-map-surface {
    position: absolute;
    top: 0;
    left: 0;
    width: 1800px;
    height: 928px;
    background: url('../assets/camp_map_layout.png') no-repeat center center;
    background-size: 100% 100%;
    transform-origin: 0 0;
    will-change: transform;
}

/* Wing Labels Floating on Surface */
.wing-area-banner {
    position: absolute;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: 15;
    pointer-events: none;
    text-transform: uppercase;
}

.wing-area-banner.male-banner {
    left: 21.7%;
    top: 6.5%;
    transform: translateX(-50%);
    background: rgba(2, 132, 199, 0.9);
    color: #FFFFFF;
    border: 2px solid #BAE6FD;
}

.wing-area-banner.female-banner {
    left: 78.4%;
    top: 6.5%;
    transform: translateX(-50%);
    background: rgba(236, 72, 153, 0.9);
    color: #FFFFFF;
    border: 2px solid #FBCFE8;
}

.wing-area-banner.stage-banner {
    left: 50%;
    top: 2.5%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.88);
    color: #F8FAFC;
    border: 2px solid #94A3B8;
}

.wing-area-banner.bonfire-banner {
    left: 50%;
    top: 45%;
    transform: translateX(-50%);
    background: rgba(245, 158, 11, 0.9);
    color: #000000;
    border: 2px solid #FEF08A;
}

/* Floating Compass & Navigation Controls (Google Maps Style) */
.gmap-controls-group {
    position: absolute;
    right: 14px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 40;
}

.gmap-ctrl-btn {
    width: 40px;
    height: 40px;
    background: rgba(16, 28, 16, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gmap-ctrl-btn:hover {
    background: #10B981;
    transform: scale(1.08);
}

/* Floating Status / Instructions Tag */
.gmap-status-pill {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(10, 20, 10, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 6px 14px;
    color: #E2E8F0;
    font-size: 0.65rem;
    font-weight: 800;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

/* Tent Location Markers (Pinned to exact coordinates on surface) */
.tent-map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.15s ease, z-index 0.1s ease;
}

.tent-map-marker:hover,
.tent-map-marker.selected {
    z-index: 35 !important;
}

/* Interactive Teardrop Pin / Compact Badge */
.marker-pin {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
    border: 2px solid #10B981;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.marker-pin.female {
    border-color: #EC4899;
    background: #FFF1F2;
    color: #BE185D;
}

.marker-pin.male {
    border-color: #0284C7;
    background: #F0F9FF;
    color: #0369A1;
}

.marker-icon {
    font-size: 13px;
    line-height: 1;
}

/* Code Label Below Pin */
.marker-code-pill {
    background: rgba(15, 23, 42, 0.88);
    color: #FFFFFF;
    font-size: 0.55rem;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 4px;
    margin-top: 2px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    letter-spacing: 0.3px;
}

/* Highlighted & Selected Marker Animation */
.tent-map-marker.selected .marker-pin {
    transform: scale(1.4);
    border-color: #FF5100;
    background: #FFF7ED;
    box-shadow: 0 0 16px #FF5100, 0 4px 12px rgba(0,0,0,0.5);
}

.tent-map-marker.selected .marker-code-pill {
    background: #FF5100;
    border-color: #FFA87D;
}

.tent-map-marker.highlight-beacon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #FF5100;
    transform: translate(-50%, -50%);
    animation: markerBeacon 1.2s ease-out infinite;
    pointer-events: none;
}

@keyframes markerBeacon {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

/* Google Maps Floating Inspector Card / Popup */
.gmap-inspector-card {
    position: absolute;
    left: 14px;
    top: 14px;
    max-width: 360px;
    width: calc(100% - 28px);
    background: rgba(14, 28, 14, 0.95);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 20px;
    padding: 16px;
    color: #FFFFFF;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65);
    z-index: 50;
    animation: inspectorSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes inspectorSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.gmap-inspector-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.gmap-inspector-close:hover {
    background: rgba(239, 68, 68, 0.6);
}

.gmap-inspector-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 12px;
    padding-right: 28px;
}

.gmap-tent-badge {
    padding: 6px 10px;
    background: var(--secondary-orange);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 900;
    border-radius: 10px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 81, 0, 0.3);
}

.gmap-tent-badge.male {
    background: #0284C7;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.gmap-tent-badge.female {
    background: #EC4899;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

.gmap-inspector-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: #FFFFFF;
    margin: 0 0 3px 0;
    line-height: 1.2;
}

.gmap-inspector-sub {
    font-size: 0.68rem;
    color: #A7B38B;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gmap-roommates-title {
    font-size: 0.65rem;
    color: #94A3B8;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gmap-roommates-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
}

.gmap-camper-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.gmap-camper-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(16, 185, 129, 0.5);
}

.gmap-camper-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1B351B;
    border: 2px solid #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    color: #FFFFFF;
    flex-shrink: 0;
    overflow: hidden;
}

.gmap-camper-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.gmap-camper-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.gmap-prodi-tag {
    font-size: 0.6rem;
    font-weight: 800;
    color: #FFA87D;
    background: rgba(255, 81, 0, 0.15);
    padding: 1px 6px;
    border-radius: 4px;
}

.gmap-view-passport-btn {
    font-size: 0.62rem;
    color: #34D399;
    text-decoration: none;
    font-weight: 800;
    margin-left: auto;
    padding: 4px 8px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 6px;
    transition: all 0.2s;
}

.gmap-view-passport-btn:hover {
    background: #10B981;
    color: #FFFFFF;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .camp-google-viewport {
        height: 480px;
    }
    .gmap-inspector-card {
        top: auto;
        bottom: 12px;
        left: 10px;
        width: calc(100% - 20px);
        max-height: 52vh;
        overflow-y: auto;
    }
    .gmap-controls-group {
        bottom: auto;
        top: 12px;
        right: 12px;
    }
}

.tent-node-btn.selected {
    background: rgba(16, 185, 129, 0.3);
    border-color: #10B981;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
    transform: scale(1.05);
}

.tent-node-btn.matched {
    background: rgba(245, 158, 11, 0.35);
    border-color: #F59E0B;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.8);
    animation: matchBounce 1s infinite alternate;
}

@keyframes matchBounce {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.tent-icon-symbol {
    font-size: 1.1rem;
    line-height: 1;
}

.tent-code-text {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.tent-team-pill {
    font-size: 0.52rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #94A3B8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

/* ========================================================
   LIVE BROADCAST TICKER & ENGLISH IMMERSION BOOSTER
======================================================== */
@keyframes marqueeScroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.camp-ticker-card {
    transition: all 0.25s ease;
}

.camp-ticker-card:hover .ticker-text {
    animation-play-state: paused;
}

.english-booster-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ========================================================
   CAMP LOCKET PHOTO DUMP (SQUARE WIDGET & SOCIAL FEED)
======================================================== */
/* ==========================================================================
   CAMP LOCKET PHOTO DUMP (CLEAN & COHESIVE SYSTEM - NO GLOW)
   ========================================================================== */

.locket-widget-card {
    transition: var(--transition-smooth);
}
.locket-widget-card:hover {
    box-shadow: var(--shadow-hover);
}

.locket-badge-live {
    background: #EF4444;
    color: #FFFFFF;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.locket-gallery-btn {
    background: var(--bg-cream-warm);
    border: 1px solid var(--border-color);
    color: var(--primary-green);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    text-decoration: none;
}
.locket-gallery-btn:hover {
    background: rgba(46, 74, 46, 0.1);
    color: var(--primary-green-dark);
}

/* Big Focal Point + Post Button (Matching Reference Screenshot, Clean, Strictly NO GLOW) */
.btn-locket-big-post {
    width: 100%;
    background: #10B981;
    color: #FFFFFF;
    border: none;
    padding: 13px 20px;
    border-radius: 9999px; /* Smooth rounded pill */
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: none; /* Strictly NO GLOW */
    transition: background-color 0.2s ease, transform 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.btn-locket-big-post:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: none;
}
.btn-locket-big-post:active {
    transform: scale(0.98);
}
.btn-locket-big-post i {
    font-size: 1.1rem;
    font-weight: 900;
}

/* Dropdown Toggle Button */
.locket-dropdown-toggle-btn {
    background: var(--bg-cream-warm);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    box-shadow: none;
}
.locket-dropdown-toggle-btn:hover {
    background: rgba(46, 74, 46, 0.08);
    color: var(--primary-green);
}

/* Frame for photo feed preview */
.locket-frame-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.locket-scrim-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 2;
}

.locket-scrim-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 2;
}

.locket-badge-user {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(15, 23, 42, 0.75);
    padding: 4px 10px;
    border-radius: 12px;
    color: #FFF;
    font-size: 0.68rem;
    font-weight: 700;
}

.locket-time-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    padding: 3px 8px;
    border-radius: 6px;
    color: #E2E8F0;
    font-size: 0.6rem;
    font-weight: 600;
}

.locket-caption-wrap {
    position: absolute;
    bottom: 46px;
    left: 12px;
    right: 12px;
    z-index: 3;
}

.locket-caption-text {
    font-size: 0.78rem;
    color: #FFFFFF;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.locket-reactions-bar {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.locket-reactions-bar::-webkit-scrollbar {
    display: none;
}

.locket-react-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 3px 8px;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.15s ease;
    user-select: none;
}
.locket-react-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}
.locket-react-btn:active {
    transform: scale(0.95);
}

/* Locket Gallery Modal Grid & Cards */
.locket-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.locket-card-feed {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}
.locket-card-feed:hover {
    box-shadow: var(--shadow-hover);
}

.locket-feed-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #0F172A;
    cursor: pointer;
    overflow: hidden;
}

.locket-feed-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.locket-feed-img-wrap:hover .locket-feed-img {
    transform: scale(1.04);
}

.locket-feed-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.locket-feed-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.locket-feed-author-name {
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.locket-feed-time {
    font-size: 0.6rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.locket-feed-caption {
    font-size: 0.72rem;
    color: var(--text-dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.locket-feed-reactions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid var(--border-color);
}

.locket-feed-reactions .locket-react-btn {
    background: var(--bg-cream-warm);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}
.locket-feed-reactions .locket-react-btn:hover {
    background: rgba(46, 74, 46, 0.1);
}

/* Lightbox Modal */
.locket-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.locket-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.locket-modal-post-btn {
    background: #10B981;
    color: #FFFFFF;
    border: none;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.2s ease;
}
.locket-modal-post-btn:hover {
    background: #059669;
}


/* Secret Committee Station Choice Modal (High Priority Overlay) */
#secretStationChoiceModal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease !important;
}

#secretStationChoiceModal.show,
#secretStationChoiceModal.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Gateway Choice Grid (Icon-Focused Large Buttons) */
.gateway-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 6px;
}

.gateway-choice-btn {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 14px;
    border-radius: 20px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gateway-choice-btn.scan-btn {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
    border: 2px solid rgba(245, 158, 11, 0.35);
}

.gateway-choice-btn.scan-btn:hover,
.gateway-choice-btn.scan-btn:active {
    transform: translateY(-4px) scale(1.02);
    border-color: #F59E0B;
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.08));
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.25);
}

.gateway-choice-btn.att-btn {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04));
    border: 2px solid rgba(16, 185, 129, 0.35);
}

.gateway-choice-btn.att-btn:hover,
.gateway-choice-btn.att-btn:active {
    transform: translateY(-4px) scale(1.02);
    border-color: #10B981;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.08));
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.25);
}

.gateway-icon-box {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    margin-bottom: 12px;
    transition: transform 0.25s ease;
}

.gateway-choice-btn.scan-btn .gateway-icon-box {
    background: rgba(245, 158, 11, 0.18);
    color: #F59E0B;
    border: 1.5px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.2);
}

.gateway-choice-btn.att-btn .gateway-icon-box {
    background: rgba(16, 185, 129, 0.18);
    color: #10B981;
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.2);
}

.gateway-choice-btn:hover .gateway-icon-box {
    transform: scale(1.1);
}

.gateway-choice-label {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.gateway-choice-btn.scan-btn .gateway-choice-label {
    color: #FCD34D;
}

.gateway-choice-btn.att-btn .gateway-choice-label {
    color: #34D399;
}

.tent-filter-pill {
    padding: 5px 12px;
    border-radius: 20px;
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: inherit;
}
.tent-filter-pill:hover {
    background: #E2E8F0;
    color: #1E293B;
}
.tent-filter-pill.active {
    background: #2E4A2E;
    color: #FFFFFF;
    border-color: #2E4A2E;
}
.tent-gender-badge.committee {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}
