/* ==========================================================================
   ALPHARAMOS WEEK 2026 - MOBILE DESIGN SYSTEM (VIBRANT & ULTRA-POLISHED)
   ========================================================================== */

:root {
    /* Color Tokens */
    --bg-dark: #030a16;
    --cyan-primary: #00e5ff;
    --cyan-glow: rgba(0, 229, 255, 0.5);
    --lime-accent: #39ff14;
    --lime-glow: rgba(57, 255, 20, 0.4);
    --blue-accent: #2979ff;
    --gold-accent: #ffb703;
    --gold-glow: rgba(255, 183, 3, 0.45);
    
    /* Surfaces */
    --glass-bg: rgba(10, 25, 48, 0.75);
    --glass-border: rgba(0, 229, 255, 0.35);
    --glass-hover-bg: rgba(16, 40, 76, 0.9);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Layout */
    --max-mobile-width: 480px;
    --radius-lg: 22px;
    --radius-md: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100%;
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Background Setup - Bright & Vibrant */
body {
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Subtle overlay so the bright background globe/particles pop */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 25%, rgba(3, 10, 22, 0.1) 0%, rgba(3, 10, 22, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Mobile Container */
.mobile-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-mobile-width);
    min-height: 100dvh;
    padding: 20px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */

.app-header {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 290px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.22) 0%, rgba(0, 0, 0, 0) 72%);
}

.app-logo {
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.75)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.app-logo:hover {
    transform: scale(1.03);
}

.tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--cyan-primary);
    margin-top: 8px;
    text-shadow: 0 0 14px var(--cyan-glow), 0 2px 4px rgba(0,0,0,0.8);
}

/* ==========================================================================
   MAIN BUTTONS SECTION (2 PROMINENT BUTTONS)
   ========================================================================== */

.buttons-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* Main Action Button Base */
.action-btn {
    position: relative;
    width: 100%;
    min-height: 96px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.8px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.action-btn:nth-child(1) { animation-delay: 0.12s; }
.action-btn:nth-child(2) { animation-delay: 0.24s; }

/* Interactive Hover & Active states */
.action-btn:active {
    transform: scale(0.97);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

@media (hover: hover) {
    .action-btn:hover {
        transform: translateY(-4px);
    }
}

/* Specific Style: Botón Equipos */
.teams-main-btn {
    border-color: rgba(0, 229, 255, 0.5);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.18) 0%, rgba(10, 25, 48, 0.85) 100%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 229, 255, 0.18);
}

.teams-main-btn:hover {
    border-color: var(--cyan-primary);
    box-shadow: 0 14px 40px rgba(0, 229, 255, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.teams-icon {
    background: rgba(0, 229, 255, 0.2) !important;
    color: var(--cyan-primary) !important;
    border-color: rgba(0, 229, 255, 0.6) !important;
    box-shadow: inset 0 0 14px rgba(0, 229, 255, 0.35) !important;
}

/* Specific Style: Botón Agenda */
.agenda-main-btn {
    border-color: rgba(255, 183, 3, 0.5);
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.2) 0%, rgba(10, 25, 48, 0.85) 100%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 183, 3, 0.18);
}

.agenda-main-btn:hover {
    border-color: var(--gold-accent);
    box-shadow: 0 14px 40px rgba(255, 183, 3, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.agenda-icon {
    background: rgba(255, 183, 3, 0.22) !important;
    color: var(--gold-accent) !important;
    border-color: rgba(255, 183, 3, 0.6) !important;
    box-shadow: inset 0 0 14px rgba(255, 183, 3, 0.35) !important;
}

/* Inner Button Content */
.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.btn-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    border: 1.5px solid;
    transition: all 0.3s ease;
}

.btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.btn-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 4px;
}

.btn-arrow {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease, color 0.3s ease;
}

.action-btn:hover .btn-arrow,
.action-btn:active .btn-arrow {
    transform: translateX(6px);
    color: var(--text-primary);
}

/* Glow animation element */
.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.action-btn:hover .btn-glow {
    opacity: 1;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.app-footer {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.survey-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.35);
    padding: 10px 18px;
    border-radius: 20px;
    color: var(--cyan-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.survey-link-btn:active {
    transform: scale(0.96);
    background: rgba(0, 229, 255, 0.25);
}

/* ==========================================================================
   MODAL DIALOGS - FULL SCROLL & NO CLIPPING
   ========================================================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 10, 22, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-mobile-width);
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    background: #091a34;
    border: 1.5px solid rgba(0, 229, 255, 0.45);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 229, 255, 0.2);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal.active .modal-card {
    transform: translateY(0) scale(1);
}

/* Sticky Header inside Modal */
.modal-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #0d2345;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-icon {
    font-size: 1.7rem;
}

.text-cyan { color: var(--cyan-primary); }
.text-gold { color: var(--gold-accent); }

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.close-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-size: 1.5rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.25);
}

/* Scrollable Body Container */
.modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
}

/* Modal Content Details */
.team-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.cyan-badge { 
    background: rgba(0, 229, 255, 0.18); 
    color: var(--cyan-primary); 
    border: 1px solid rgba(0, 229, 255, 0.4); 
}

.gold-badge { 
    background: rgba(255, 183, 3, 0.18); 
    color: var(--gold-accent); 
    border: 1px solid rgba(255, 183, 3, 0.4); 
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 18px;
}

/* ==========================================================================
   TEAMS LIST (16 TEAMS & EXPANDABLE MEMBERS + UNIVERSITIES)
   ========================================================================== */

.teams-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.teams-count-badge {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cyan-primary);
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Team Search Box */
.team-search-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

.team-search-wrapper .search-icon {
    position: absolute;
    left: 14px;
    font-size: 1.15rem;
    color: var(--cyan-primary);
    pointer-events: none;
}

.team-search-input {
    width: 100%;
    background: rgba(6, 18, 38, 0.85);
    border: 1.5px solid rgba(0, 229, 255, 0.25);
    border-radius: 14px;
    padding: 12px 42px 12px 42px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: all 0.25s ease;
}

.team-search-input:focus {
    border-color: var(--cyan-primary);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.3), inset 0 1px 3px rgba(0,0,0,0.5);
    background: rgba(8, 24, 48, 0.95);
}

.team-search-input::placeholder {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.teams-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 10px;
}

.team-card-collapsible {
    display: flex;
    flex-direction: column;
    background: rgba(10, 25, 48, 0.7);
    border: 1.2px solid rgba(0, 229, 255, 0.2);
    border-radius: var(--radius-md);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.team-card-collapsible:hover {
    border-color: rgba(0, 229, 255, 0.45);
    background: rgba(14, 34, 64, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(0, 229, 255, 0.12);
}

.team-card-collapsible.expanded {
    border-color: var(--cyan-primary);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.12) 0%, rgba(10, 25, 48, 0.95) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 229, 255, 0.18);
}

.team-header-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    user-select: none;
}

.team-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--cyan-primary);
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.14);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
    transition: transform 0.2s ease;
}

.team-card-collapsible.expanded .team-number {
    transform: scale(1.08);
    background: var(--cyan-primary);
    color: #030a16;
    font-weight: 900;
}

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

.team-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}

.team-name-row h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

.team-meaning {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* University Badges */
.team-uni-badge {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

.uni-ucsd { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.45); }
.uni-itla { background: rgba(0, 229, 255, 0.18); color: #00e5ff; border: 1px solid rgba(0, 229, 255, 0.45); }
.uni-barna { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.45); }
.uni-unphu { background: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.45); }
.uni-isa { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.45); }
.uni-unapec { background: rgba(236, 72, 153, 0.2); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.45); }
.uni-unibe { background: rgba(249, 115, 22, 0.2); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.45); }
.uni-unicaribe { background: rgba(20, 184, 166, 0.2); color: #2dd4bf; border: 1px solid rgba(20, 184, 166, 0.45); }

.team-toggle-icon {
    font-size: 1.45rem;
    color: var(--cyan-primary);
    opacity: 0.8;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-collapsible.expanded .team-toggle-icon {
    transform: rotate(180deg);
    color: var(--text-primary);
}

/* Expandable Members Container */
.team-members-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    opacity: 0;
}

.team-card-collapsible.expanded .team-members-collapse {
    max-height: 350px;
    opacity: 1;
}

.team-members-inner {
    padding: 0 16px 16px 16px;
    border-top: 1px solid rgba(0, 229, 255, 0.15);
    margin-top: 2px;
    padding-top: 12px;
}

.members-header-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cyan-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.members-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.member-chip {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 7px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.member-chip:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
}

.member-num {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--cyan-primary);
    background: rgba(0, 229, 255, 0.15);
    padding: 2px 6px;
    border-radius: 6px;
}

.member-empty-note {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-style: italic;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   AGENDA COMPONENT STYLING (TABS, SEARCH, 5-DAY TIMELINE & CARDS)
   ========================================================================== */

.agenda-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.agenda-total-badge {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cyan-primary);
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Agenda Search Box */
.agenda-search-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

.agenda-search-wrapper .search-icon {
    position: absolute;
    left: 14px;
    font-size: 1.15rem;
    color: var(--cyan-primary);
    pointer-events: none;
}

.agenda-search-input {
    width: 100%;
    background: rgba(6, 18, 38, 0.85);
    border: 1.5px solid rgba(0, 229, 255, 0.25);
    border-radius: 14px;
    padding: 12px 42px 12px 42px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: all 0.25s ease;
}

.agenda-search-input:focus {
    border-color: var(--cyan-primary);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.3), inset 0 1px 3px rgba(0,0,0,0.5);
    background: rgba(8, 24, 48, 0.95);
}

.agenda-search-input::placeholder {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.clear-search-btn:hover {
    color: var(--cyan-primary);
}

/* Day Selector Navigation Tabs (Horizontal Scrollable) */
.agenda-days-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px 2px;
    margin-bottom: 14px;
    scrollbar-width: none;
}

.agenda-days-nav::-webkit-scrollbar {
    display: none;
}

.day-tab-btn {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    outline: none;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: var(--text-secondary);
}

.day-tab-btn:active {
    transform: scale(0.94);
}

.day-tab-num {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.day-tab-name {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2px 0 3px 0;
}

.day-tab-count {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

/* Active Day Tab */
.day-tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.22) 0%, rgba(10, 25, 48, 0.95) 100%);
    border-color: var(--gold-accent);
    box-shadow: 0 4px 16px rgba(255, 183, 3, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.day-tab-btn.active .day-tab-num {
    color: var(--gold-accent);
}

.day-tab-btn.active .day-tab-count {
    background: var(--gold-accent);
    color: #000000;
    font-weight: 800;
}

.day-tab-all.active {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.22) 0%, rgba(10, 25, 48, 0.95) 100%);
    border-color: var(--cyan-primary);
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
}

.day-tab-all.active .day-tab-num {
    color: var(--cyan-primary);
}

.day-tab-all.active .day-tab-count {
    background: var(--cyan-primary);
    color: #000;
}

/* Day Schedule Panels */
.day-schedule-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.day-schedule-panel.active {
    display: block;
}

/* Day Header Card */
.day-header-card {
    background: linear-gradient(135deg, rgba(16, 38, 72, 0.8) 0%, rgba(6, 18, 38, 0.9) 100%);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.day-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.day-pill {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 8px;
    color: #030a16;
    background: var(--cyan-primary);
}

.day-pill-d1 { background: #00e5ff; }
.day-pill-d2 { background: #60a5fa; color: #030a16; }
.day-pill-d3 { background: #34d399; color: #030a16; }
.day-pill-d4 { background: #fbbf24; color: #030a16; }
.day-pill-d5 { background: #f472b6; color: #030a16; }

.day-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.day-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.day-loc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.day-loc-badge i {
    color: var(--cyan-primary);
}

.day-block-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--gold-accent);
}

/* Timeline Cards */
.agenda-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 12px;
}

.timeline-item {
    display: flex;
    gap: 12px;
    background: rgba(10, 25, 48, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.timeline-item:hover {
    border-color: rgba(0, 229, 255, 0.35);
    background: rgba(14, 34, 64, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 229, 255, 0.1);
}

.timeline-time-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 76px;
    gap: 6px;
}

.timeline-time {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.84rem;
    color: var(--gold-accent);
    text-align: center;
    background: rgba(255, 183, 3, 0.14);
    border: 1px solid rgba(255, 183, 3, 0.35);
    padding: 6px 6px;
    border-radius: 10px;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(255, 183, 3, 0.2);
}

.timeline-time.time-pending {
    font-size: 0.72rem;
    color: #fb923c;
    background: rgba(251, 146, 60, 0.15);
    border-color: rgba(251, 146, 60, 0.4);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
}

.timeline-duration {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

.timeline-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.block-badge {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--cyan-primary);
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 2px 8px;
    border-radius: 6px;
}

.category-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cat-networking { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.cat-ceremony { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.cat-keynote { background: rgba(250, 204, 21, 0.15); color: #fde047; border: 1px solid rgba(250, 204, 21, 0.35); }
.cat-tech { background: rgba(34, 211, 238, 0.15); color: #67e8f9; border: 1px solid rgba(34, 211, 238, 0.3); }
.cat-teams { background: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.cat-break { background: rgba(251, 146, 60, 0.15); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.3); }
.cat-workshop { background: rgba(129, 140, 248, 0.15); color: #818cf8; border: 1px solid rgba(129, 140, 248, 0.3); }
.cat-business { background: rgba(45, 212, 191, 0.15); color: #2dd4bf; border: 1px solid rgba(45, 212, 191, 0.3); }
.cat-mentoring { background: rgba(244, 114, 182, 0.15); color: #f472b6; border: 1px solid rgba(244, 114, 182, 0.3); }
.cat-special { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.cat-pending { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.cat-eval { background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.35); }
.cat-awards { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #000; font-weight: 800; }
.cat-party { background: linear-gradient(135deg, #ec4899, #8b5cf6); color: #fff; font-weight: 800; }

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
}

.timeline-subtitle {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--cyan-primary);
    margin-bottom: 6px;
    line-height: 1.35;
}

.timeline-desc {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 8px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 6px;
}

.meta-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 6px;
}

.meta-item i {
    color: var(--cyan-primary);
}

.detail-box {
    margin-top: 8px;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.25);
    border-left: 2.5px solid var(--cyan-primary);
    padding: 8px 10px;
    border-radius: 0 8px 8px 0;
}

.detail-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cyan-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sub-tag {
    font-size: 0.73rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sub-tag.highlight {
    background: rgba(0, 229, 255, 0.15);
    color: var(--cyan-primary);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-list li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

.detail-list li strong {
    color: var(--text-primary);
}

.speakers-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 8px 0;
}

.speaker-pill {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 4px 10px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.35;
}

.speaker-pill i {
    color: var(--gold-accent);
    margin-top: 2px;
}

.extra-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.info-pill {
    font-size: 0.74rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
}

.info-pill i {
    color: var(--cyan-primary);
}

/* Highlight Cards */
.highlight-card {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.09) 0%, rgba(10, 25, 48, 0.85) 100%);
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.12);
}

.awards-card {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.16) 0%, rgba(10, 25, 48, 0.85) 100%);
    border-color: rgba(255, 183, 3, 0.45);
    box-shadow: 0 4px 25px rgba(255, 183, 3, 0.18);
}

.party-card {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.16) 0%, rgba(10, 25, 48, 0.85) 100%);
    border-color: rgba(236, 72, 153, 0.45);
    box-shadow: 0 4px 25px rgba(236, 72, 153, 0.18);
}

.pending-item {
    border-style: dashed;
    border-color: rgba(251, 146, 60, 0.35);
}

/* No Results State */
.agenda-no-results {
    text-align: center;
    padding: 36px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    margin-top: 10px;
}

.agenda-no-results i {
    font-size: 2.5rem;
    color: var(--cyan-primary);
    opacity: 0.7;
    margin-bottom: 8px;
    display: inline-block;
}

.agenda-no-results h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.agenda-no-results p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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