/* Root variables for Virtus Modern Theme */
:root {
    --neon-cyan: #00f5ff;
    --neon-cyan-glow: rgba(0, 245, 255, 0.4);
    --cyber-dark-bg: #060814;
    --cyber-darker: #020307;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --login-wave-start: #00f5ff;
    --login-wave-end: #5c59e8;
    --login-wave-sec: #5c59e8;
}

/* Global resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--cyber-dark-bg);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Primary Page Wrapper - Vertical Stack on Mobile, Horizontal on Desktop */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    background-image: url("cyber-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- Login Card Container --- */
.login-card {
    width: 100%;
    max-width: 400px;
    background: rgba(10, 15, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* --- Card Header with Wave --- */
.login-card-header {
    position: relative;
    height: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.header-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-logo-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem; /* push logo up slightly from wave edge */
}

.brand-logos-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    mix-blend-mode: screen;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* --- Card Body --- */
.login-card-body {
    padding: 2rem 2rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    width: 100%;
}

.welcome-heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.form-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0;
    text-align: center;
}

/* Minimal input text styling */
.form-input-container {
    width: 100%;
    position: relative;
}

.custom-input-email {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px; /* Capsule input matching reference image */
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    height: 50px; /* Taller capsule inputs */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.custom-input-email:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--neon-cyan) !important;
    box-shadow:
        0 0 0 3px rgba(0, 245, 255, 0.15),
        0 4px 20px rgba(0, 245, 255, 0.08) !important;
}

.custom-input-email::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* Error validation styling */
.custom-input-email.is-invalid {
    border: 1px solid #f87171 !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2) !important;
}

.custom-invalid-feedback {
    color: #f87171;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    text-align: left;
    padding-left: 0.25rem;
    display: none;
}

.custom-input-email.is-invalid + .custom-invalid-feedback {
    display: block;
}

/* Login Button - Cyan Pill Capsule */
.btn-custom-login {
    width: 100%; /* Full width capsule button */
    background-color: var(--neon-cyan);
    color: var(--cyber-darker);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px; /* Match capsule input */
    height: 50px; /* Match input height */
    margin: 1.75rem auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--neon-cyan-glow);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-custom-login:hover {
    background-color: #00e1eb;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(0, 245, 255, 0.5);
}

.btn-custom-login:active {
    transform: translateY(0);
}

.btn-custom-login:disabled {
    background-color: #0d383b;
    color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    cursor: not-allowed;
}

/* Success simulation state */
.success-checkmark-state {
    display: none;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.checkmark-circle {
    width: 60px;
    height: 60px;
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan-glow);
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Footer Section */
.copyright-footer {
    position: relative;
    z-index: 3;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-align: center;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
}

/* Floating PWA Install Prompt, updated to match theme */
.pwa-install-prompt {
    display: none;
    background: rgba(10, 14, 30, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: 90%;
    max-width: 380px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pwa-install-prompt.show {
    transform: translateX(-50%) translateY(0);
}

.pwa-install-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pwa-install-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
}

.pwa-install-text strong {
    color: var(--text-white);
    display: block;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.pwa-install-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-install-confirm {
    background: var(--neon-cyan);
    color: #000;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background 0.2s ease;
}

.btn-install-confirm:hover {
    background: #00d2dd;
}

.btn-install-dismiss {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.btn-install-dismiss:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

/* --- DESKTOP STYLING (Split Screen Layout) --- */
@media (min-width: 768px) {
    .page-wrapper {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
        background-image: none; /* Disable full-screen image on desktop */
        background-color: var(--cyber-dark-bg);
    }

    /* Modern Login Page Centered Card layout on desktop */
    .page-wrapper.login-active {
        flex-direction: column !important;
        height: auto !important;
        min-height: 100vh !important;
        justify-content: center !important;
        align-items: center !important;
        background-color: var(--cyber-darker) !important;
    }

    .page-wrapper.login-active::before,
    .page-wrapper.login-active::after {
        width: 500px !important;
        height: 500px !important;
        filter: blur(180px) !important;
    }
}

/* --- APP LAYOUT & SYSTEM STYLES --- */
#app-view {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    background-color: var(--cyber-darker);
    position: relative;
    overflow: hidden;
}

/* App Header styling */
.app-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1.25rem 0.75rem
        1.25rem;
    background: rgba(6, 8, 20, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.15);
    z-index: 999;
}

.header-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.1);
    border: 1.5px solid var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan-glow);
}

.user-details-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-greet {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-email-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-brand-logo {
    height: 28px;
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 100%;
    width: auto;
    mix-blend-mode: screen;
}

/* Scrollable Content Viewport */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.25rem calc(80px + env(safe-area-inset-bottom, 0px))
        1.25rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbars for aesthetic but keep functionality */
.app-content::-webkit-scrollbar {
    width: 5px;
}
.app-content::-webkit-scrollbar-track {
    background: rgba(2, 3, 7, 0.3);
}
.app-content::-webkit-scrollbar-thumb {
    background: rgba(0, 245, 255, 0.2);
    border-radius: 4px;
}
.app-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 245, 255, 0.4);
}

/* Tab Switching Animations */
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    background: rgba(2, 3, 7, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    z-index: 999;
}

.bottom-nav .nav-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 16%;
    height: 100%;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
    padding: 6px 0;
}

.bottom-nav .nav-item i {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.bottom-nav .nav-item:hover {
    color: rgba(255, 255, 255, 0.85);
}

.bottom-nav .nav-item.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.bottom-nav .nav-item.active i {
    transform: translateY(-2px) scale(1.1);
    filter: drop-shadow(0 0 6px var(--neon-cyan-glow));
}

/* --- VIEW 1: HOME PANEL --- */
.hero-event-banner {
    position: relative;
    background-image:
        linear-gradient(
            135deg,
            rgba(6, 8, 20, 0.8) 0%,
            rgba(2, 3, 7, 0.95) 100%
        ),
        url("cyber-bg.png");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 245, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 245, 255, 0.08);
}

.banner-glass-overlay {
    padding: 1.5rem;
    background: rgba(6, 8, 20, 0.35);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.event-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    padding: 3px 8px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: #f87171;
    border-radius: 50%;
    display: inline-block;
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 8px #f87171;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.banner-event-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #ffffff, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-event-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.btn-banner-guide {
    background: rgba(0, 245, 255, 0.12);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 245, 255, 0.4);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-banner-guide:hover {
    background: var(--neon-cyan);
    color: #000000;
    box-shadow: 0 0 15px var(--neon-cyan-glow);
}

/* Stats Row styling */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.stat-count {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--neon-cyan);
    margin-bottom: 2px;
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.15);
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
}

/* Titles and Headers */
.content-section-title h4 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #ffffff;
    margin-bottom: 0px;
}

.section-desc-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    margin-bottom: 1rem;
}

.btn-text-link {
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
}

.btn-text-link:hover {
    color: #00d2dd;
}

/* Session Cards inside Home list */
.home-agendas-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.session-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.session-card.featured-live {
    background: linear-gradient(
        135deg,
        rgba(0, 245, 255, 0.03) 0%,
        rgba(6, 8, 20, 0.8) 100%
    );
    border-left: 3px solid var(--neon-cyan);
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.badge-cyan {
    background: rgba(0, 245, 255, 0.12);
    color: var(--neon-cyan);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.badge-dark {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 9px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.session-time {
    font-size: 11px;
    color: var(--text-muted);
}

.session-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.session-speaker {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.session-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 0.75rem;
}

.session-location {
    font-size: 11px;
    color: var(--text-muted);
}

.session-location i {
    color: var(--neon-cyan);
    margin-right: 4px;
}

.btn-session-remind {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-session-remind:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.btn-session-remind.active {
    background: var(--neon-cyan);
    color: #000000;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
}

/* --- VIEW 2: BOOTH PANEL --- */
.booth-cards-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.booth-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 1.1rem;
    transition: all 0.25s ease;
}

.booth-item-card.premium {
    border: 1px solid rgba(0, 245, 255, 0.2);
    background: linear-gradient(
        135deg,
        rgba(0, 245, 255, 0.02) 0%,
        rgba(2, 3, 7, 0.8) 100%
    );
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.03);
}

.booth-item-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 245, 255, 0.3);
}

.booth-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.booth-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 2px;
    flex-shrink: 0;
}

.booth-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.booth-logo.has-image {
    background: var(--cyber-darker) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 80px;
    max-width: 90px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booth-logo.has-image img {
    height: 100%;
    width: auto;
    max-width: 100%;
}

.booth-logo.has-image svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

body.light-theme .booth-logo.has-image {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0;
}

.text-cyan {
    color: var(--neon-cyan) !important;
}

.text-teal {
    color: #2dd4bf !important;
}

body.light-theme .text-teal {
    color: #0d9488 !important;
}

.sponsor-tier {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.sponsor-tier.diamond {
    background: rgba(0, 245, 255, 0.12);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.sponsor-tier.gold {
    background: rgba(234, 179, 8, 0.12);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.sponsor-tier.silver {
    background: rgba(156, 163, 175, 0.12);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.2);
}

.sponsor-tier.support {
    background: rgba(45, 212, 191, 0.12);
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.booth-company {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.booth-description {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.btn-booth-action {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-booth-action:hover {
    background: var(--neon-cyan);
    color: #000000;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan-glow);
}

.btn-booth-action.visited {
    background: rgba(0, 245, 255, 0.08);
    border-color: rgba(0, 245, 255, 0.2);
    color: var(--neon-cyan);
}

/* --- VIEW 3: AGENDA TIMELINE --- */
.agenda-filter-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.agenda-filter-row::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.filter-btn.active {
    background: rgba(0, 245, 255, 0.12);
    color: var(--neon-cyan);
    border-color: rgba(0, 245, 255, 0.3);
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
}

.schedule-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 56px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.timeline-card {
    display: flex;
    gap: 1rem;
    position: relative;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.timeline-time-col {
    width: 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 10px;
}

.time-start {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.time-end {
    font-size: 10px;
    color: var(--text-muted);
}

.timeline-content-col {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    position: relative;
}

.timeline-content-col::after {
    content: "";
    position: absolute;
    top: 15px;
    left: -6px;
    width: 10px;
    height: 10px;
    background: var(--cyber-darker);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
}

/* Timeline marker circles on the vertical axis line */
.timeline-card::after {
    content: "";
    position: absolute;
    left: 53px;
    top: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--cyber-darker);
    z-index: 2;
}

.timeline-card.timeline-live::after {
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.timeline-session-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.timeline-session-badge.live {
    background: rgba(0, 245, 255, 0.12);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.timeline-session-title {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.3;
}

.timeline-session-speaker {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.timeline-session-loc {
    font-size: 10px;
    color: var(--text-muted);
}

.timeline-session-loc i {
    color: var(--neon-cyan);
    margin-right: 3px;
}

.timeline-card.timeline-live .timeline-content-col {
    border-left: 2px solid var(--neon-cyan);
    background: linear-gradient(
        135deg,
        rgba(0, 245, 255, 0.02) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
}

/* --- VIEW 4: MISSION & XP PROGRESS --- */
.xp-progress-card {
    background: linear-gradient(
        135deg,
        rgba(0, 245, 255, 0.06) 0%,
        rgba(6, 8, 20, 0.8) 100%
    );
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.04);
}

.xp-progress-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.xp-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.xp-fraction {
    font-size: 11px;
    font-weight: 700;
    color: var(--neon-cyan);
}

.xp-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.xp-bar-fill {
    height: 100%;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
    border-radius: 50px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.xp-score-summary {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

.xp-score-summary strong {
    color: var(--neon-cyan);
    font-size: 13px;
}

.missions-checklist-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mission-checklist-card {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.mission-checklist-card.completed {
    border-color: rgba(0, 245, 255, 0.25);
    background: rgba(0, 245, 255, 0.02);
}

.chk-status {
    padding-top: 2px;
    font-size: 18px;
}

.chk-status i {
    color: var(--text-muted);
}

.mission-checklist-card.completed .chk-status i {
    color: var(--neon-cyan) !important;
    filter: drop-shadow(0 0 4px var(--neon-cyan-glow));
}

.chk-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chk-title {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 3px;
    color: #ffffff;
}

.mission-checklist-card.completed .chk-title {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
    text-decoration-color: rgba(0, 245, 255, 0.4);
}

.chk-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.chk-points {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 800;
    color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.mission-checklist-card.completed .chk-points {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-color: transparent;
}

/* --- VIEW 5: FAQ PANEL --- */
.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-accordion-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-accordion-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-accordion-trigger {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-accordion-trigger i {
    color: var(--neon-cyan);
    font-size: 12px;
    transition: transform 0.25s ease;
}

.faq-accordion-card.open {
    border-color: rgba(0, 245, 255, 0.25);
    background: rgba(0, 245, 255, 0.01);
}

.faq-accordion-card.open .faq-accordion-trigger i {
    transform: rotate(45deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.3s ease;
    padding: 0 1.25rem;
}

.faq-accordion-card.open .faq-accordion-content {
    max-height: 200px; /* arbitrary limit for smooth transition */
    padding-bottom: 1rem;
}

.faq-accordion-content p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
    margin-bottom: 0px;
}

/* --- VIEW 6: SETTINGS PANEL --- */
.settings-card-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.settings-toggle-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-card-info {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.toggle-card-info h6 {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 2px;
}

.toggle-card-info p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.35;
    margin-bottom: 0px;
}

/* Customize Bootstrap Switch for theme */
.switch-cyan {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    width: 2.8em !important;
    height: 1.5em !important;
}

.switch-cyan:checked {
    background-color: var(--neon-cyan) !important;
    border-color: var(--neon-cyan) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='%23000' d='M5 10a5 5 0 1 1 10 0 5 5 0 0 1-10 0z'/%3e%3c/svg%3e") !important;
    box-shadow: 0 0 8px var(--neon-cyan-glow) !important;
}

.switch-cyan:focus {
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Logout Container card */
.settings-logout-card {
    background: rgba(248, 113, 113, 0.02);
    border: 1px solid rgba(248, 113, 113, 0.1);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}

.logout-icon {
    font-size: 24px;
    color: #f87171;
    margin-bottom: 0.5rem;
    display: block;
}

.settings-logout-card h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.logout-user-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.highlight-cyan {
    color: var(--neon-cyan);
    font-weight: 600;
}

.btn-logout {
    width: 100%;
    max-width: 180px;
    background: transparent;
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.4);
    font-size: 12px;
    font-weight: 700;
    height: 38px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-logout:hover {
    background: #f87171;
    color: #000000;
    box-shadow: 0 0 12px rgba(248, 113, 113, 0.35);
    border-color: #f87171;
}

/* --- MODAL DIALOG PREFERENCES --- */
.custom-theme-modal .modal-content {
    background: rgba(6, 8, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 16px;
    color: #ffffff;
}

.modal-booth-avatar {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
}

.modal-booth-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.btn-cyan-modal-dismiss {
    background: var(--neon-cyan);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cyan-modal-dismiss:hover {
    background: #00e1eb;
    box-shadow: 0 0 12px var(--neon-cyan-glow);
}

/* Toggle Page Wrapper login backdrop */
.page-wrapper.login-active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    background-image: none !important;
    background-color: var(--cyber-darker) !important;
    position: relative;
    overflow: hidden;
}

/* Glowing background blobs for futuristic tech design */
.page-wrapper.login-active::before,
.page-wrapper.login-active::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.page-wrapper.login-active::before {
    top: 15%;
    left: 10%;
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    opacity: 0.12; /* Muted cyan glow */
}

.page-wrapper.login-active::after {
    bottom: 15%;
    right: 10%;
    background: radial-gradient(circle, #5c59e8 0%, transparent 70%);
    opacity: 0.15; /* Muted purple glow */
}

.page-wrapper:not(.login-active) {
    background-image: none;
    background-color: var(--cyber-darker);
}

/* Desktop App view adaptations */
@media (min-width: 768px) {
    #app-view {
        max-width: 440px;
        margin: 0 auto;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    }

    .bottom-nav {
        position: absolute;
    }
}

/* --- LIGHT MODE COMPANION THEME --- */
body.light-theme {
    --cyber-dark-bg: #ffffff;
    --cyber-darker: #f8fafc;
    --text-white: #0f172a;
    --text-muted: #64748b;
    --neon-cyan: #5c59e8;
    --neon-cyan-glow: rgba(92, 89, 232, 0.15);
    --login-wave-start: #8b89f5;
    --login-wave-end: #5c59e8;
    --login-wave-sec: #c7d2fe;
}

/* Specific elements mapping in light theme */
body.light-theme .page-wrapper:not(.login-active) {
    background-image: none;
    background-color: #ffffff;
}

body.light-theme #app-view {
    background-color: #ffffff;
}

body.light-theme .app-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-theme .user-avatar-circle {
    background: #5c59e8;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(92, 89, 232, 0.25);
}

body.light-theme .bottom-nav {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

body.light-theme .bottom-nav .nav-item {
    color: #8e8e93;
}

body.light-theme .bottom-nav .nav-item.active {
    color: var(--neon-cyan);
    text-shadow: none;
}

body.light-theme .bottom-nav .nav-item.active i {
    filter: drop-shadow(0 0 4px var(--neon-cyan-glow));
}

/* Hero Event Banner in light theme */
body.light-theme .hero-event-banner {
    background-image: linear-gradient(135deg, #5c59e8 0%, #3b39a3 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(92, 89, 232, 0.25);
}

body.light-theme .banner-glass-overlay {
    background: rgba(255, 255, 255, 0.05);
}

body.light-theme .banner-event-title {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

body.light-theme .banner-event-desc {
    color: rgba(255, 255, 255, 0.85);
}

body.light-theme .btn-banner-guide {
    background: #ffffff;
    color: #5c59e8;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.light-theme .btn-banner-guide:hover {
    background: #f1f5f9;
    color: #3b39a3;
}

body.light-theme .event-live-indicator {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.light-theme .live-dot {
    background-color: #ff453a;
}

/* Stats Row */
body.light-theme .stat-box {
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border-radius: 14px;
}

body.light-theme .stat-count {
    color: #5c59e8;
}

body.light-theme .content-section-title h4 {
    color: #1c1c1e;
}

/* Cards (sessions, booths, timeline, settings, faq, etc.) */
body.light-theme .session-card,
body.light-theme .booth-item-card,
body.light-theme .timeline-content-col,
body.light-theme .mission-checklist-card,
body.light-theme .faq-accordion-card,
body.light-theme .settings-toggle-card,
body.light-theme .settings-logout-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border-radius: 16px;
}

body.light-theme .timeline-content-col::after {
    background: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-theme .session-card.featured-live {
    background: linear-gradient(
        135deg,
        rgba(92, 89, 232, 0.04) 0%,
        #ffffff 100%
    );
    border-left: 3px solid var(--neon-cyan);
}

body.light-theme .badge-dark {
    background: rgba(0, 0, 0, 0.05);
    color: #475569;
}

body.light-theme .btn-session-remind {
    border-color: rgba(0, 0, 0, 0.08);
    color: #8e8e93;
}

body.light-theme .btn-session-remind:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

body.light-theme .btn-session-remind.active {
    background: var(--neon-cyan);
    color: #ffffff;
    border-color: var(--neon-cyan);
    box-shadow: 0 4px 10px rgba(92, 89, 232, 0.25);
}

body.light-theme .btn-booth-action {
    background: rgba(92, 89, 232, 0.06);
    color: #5c59e8;
    border: 1px solid rgba(92, 89, 232, 0.12);
}

body.light-theme .btn-booth-action:hover {
    background: #5c59e8;
    color: #ffffff;
}

/* Timeline elements overrides */
body.light-theme .time-start {
    color: #1c1c1e;
}

body.light-theme .schedule-timeline::before {
    background: #cbd5e1;
}

body.light-theme .timeline-card::after {
    background: #cbd5e1;
    border-color: #f5f7fb;
}

body.light-theme .timeline-card.timeline-live::after {
    background: #5c59e8;
    box-shadow: 0 0 10px rgba(92, 89, 232, 0.4);
}

body.light-theme .timeline-card.timeline-live .timeline-content-col {
    background: linear-gradient(135deg, #5c59e8 0%, #3b39a3 100%);
    border: none;
    box-shadow: 0 8px 20px rgba(92, 89, 232, 0.25);
}

body.light-theme .timeline-card.timeline-live .timeline-content-col::after {
    background: #5c59e8;
    border: none;
}

body.light-theme .timeline-card.timeline-live .timeline-session-title {
    color: #ffffff;
}

body.light-theme .timeline-card.timeline-live .timeline-session-speaker {
    color: rgba(255, 255, 255, 0.8);
}

body.light-theme .timeline-card.timeline-live .timeline-session-loc {
    color: rgba(255, 255, 255, 0.85);
}

body.light-theme .timeline-card.timeline-live .timeline-session-loc i {
    color: #ffffff;
}

body.light-theme .timeline-card.timeline-live .timeline-session-badge.live {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

body.light-theme .timeline-card.timeline-live .btn-session-remind {
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

body.light-theme .timeline-card.timeline-live .btn-session-remind:hover {
    background: rgba(255, 255, 255, 0.15);
}

body.light-theme .timeline-session-badge {
    background: rgba(0, 0, 0, 0.05);
    color: #555555;
}

body.light-theme .filter-btn {
    background: #ffffff;
    color: #8e8e93;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

body.light-theme .filter-btn:hover {
    background: #f1f5f9;
    color: #1c1c1e;
}

body.light-theme .filter-btn.active {
    background: #5c59e8;
    color: #ffffff;
    border-color: #5c59e8;
    box-shadow: 0 4px 12px rgba(92, 89, 232, 0.25);
}

/* Quest/Mission overrides */
body.light-theme .chk-title {
    color: #1c1c1e;
}

body.light-theme .mission-checklist-card.completed {
    border: 1.5px solid rgba(92, 89, 232, 0.18);
    background: rgba(92, 89, 232, 0.02);
}

body.light-theme .mission-checklist-card.completed .chk-title {
    color: #8e8e93;
    text-decoration-color: rgba(92, 89, 232, 0.4);
}

body.light-theme .xp-progress-card {
    background: linear-gradient(
        135deg,
        rgba(92, 89, 232, 0.05) 0%,
        #ffffff 100%
    );
    border: 1px solid rgba(92, 89, 232, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

body.light-theme .xp-bar-bg {
    background: rgba(0, 0, 0, 0.06);
}

body.light-theme .xp-title {
    color: #1c1c1e;
}

body.light-theme .chk-points {
    background: rgba(92, 89, 232, 0.08);
    border: 1px solid rgba(92, 89, 232, 0.15);
    color: #5c59e8;
}

body.light-theme .mission-checklist-card.completed .chk-points {
    background: rgba(0, 0, 0, 0.04);
    color: #8e8e93;
    border-color: transparent;
}

/* FAQ overrides */
body.light-theme .faq-accordion-card.open {
    border: 1.5px solid rgba(92, 89, 232, 0.18);
    background: rgba(92, 89, 232, 0.02);
}

body.light-theme .faq-accordion-trigger {
    color: #1c1c1e;
}

body.light-theme .faq-accordion-content p {
    color: #48484a;
}

/* Settings toggles and logout overrides */
body.light-theme .switch-cyan {
    background-color: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

body.light-theme .switch-cyan:checked {
    background-color: #5c59e8 !important;
    border-color: #5c59e8 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='%23fff' d='M5 10a5 5 0 1 1 10 0 5 5 0 0 1-10 0z'/%3e%3c/svg%3e") !important;
    box-shadow: 0 4px 10px rgba(92, 89, 232, 0.2) !important;
}

body.light-theme .switch-cyan:focus {
    border-color: rgba(92, 89, 232, 0.25) !important;
}

body.light-theme .settings-logout-card {
    background: rgba(239, 68, 68, 0.02);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

body.light-theme .btn-logout:hover {
    color: #ffffff;
}

/* Modal preferences */
body.light-theme .custom-theme-modal .modal-content {
    background: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    color: #1c1c1e;
}

body.light-theme .modal-header .btn-close {
    filter: invert(1);
}

body.light-theme .modal-booth-text {
    color: #48484a;
}

body.light-theme .btn-cyan-modal-dismiss {
    background: #5c59e8;
    color: #ffffff;
}

/* Logos image adaptions */
body.light-theme .header-logo-img {
    filter: invert(1) hue-rotate(180deg) brightness(0.85);
    mix-blend-mode: multiply;
}

/* Light mode for custom scrollbars */
body.light-theme .app-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
}
body.light-theme .app-content::-webkit-scrollbar-thumb {
    background: rgba(92, 89, 232, 0.15);
}
body.light-theme .app-content::-webkit-scrollbar-thumb:hover {
    background: rgba(92, 89, 232, 0.3);
}

/* Login Page Light Theme overrides */
body.light-theme .page-wrapper.login-active {
    background-image: none !important;
    background-color: #f8fafc !important;
}

body.light-theme .page-wrapper.login-active::before {
    background: radial-gradient(circle, #5c59e8 0%, transparent 70%) !important;
    opacity: 0.12 !important;
}

body.light-theme .page-wrapper.login-active::after {
    background: radial-gradient(circle, #00f5ff 0%, transparent 70%) !important;
    opacity: 0.12 !important;
}

body.light-theme .login-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .btn-custom-login {
    background-color: #5c59e8 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(92, 89, 232, 0.3) !important;
    border-radius: 50px !important;
    height: 50px !important;
}

body.light-theme .btn-custom-login:hover {
    background-color: #3b39a3 !important;
    box-shadow: 0 6px 20px rgba(92, 89, 232, 0.45) !important;
}

body.light-theme .custom-input-email {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    border-radius: 50px !important;
    height: 50px !important;
}

body.light-theme .custom-input-email:focus {
    border-color: #5c59e8 !important;
    box-shadow:
        0 0 0 3px rgba(92, 89, 232, 0.15),
        0 4px 20px rgba(92, 89, 232, 0.08) !important;
}

body.light-theme .custom-input-email::placeholder {
    color: #94a3b8 !important;
}

body.light-theme .btn-custom-login:disabled {
    background-color: #cbd5e1 !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
}

body.light-theme .btn-custom-login #btn-spinner {
    color: #ffffff !important;
}

body.light-theme .checkmark-circle {
    background: rgba(92, 89, 232, 0.08) !important;
}

@media (min-width: 768px) {
    body.light-theme .page-wrapper.login-active {
        background-image: none !important;
        background-color: #f8fafc !important;
    }
}

/* ==========================================================================
   NEW MOCKUP COMPONENT STYLES (Screen 1, 2, and 3 alignment)
   ========================================================================== */

/* 1. Header enhancements for layout icons */
.app-header-left,
.app-header-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-icon-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.header-icon-btn:hover {
    opacity: 0.75;
}

/* 2. Top Task filter tabs (Recently, Today, etc.) */
.task-tabs-row {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.85rem 0;
    margin-bottom: 1.25rem;
    scrollbar-width: none; /* Firefox */
}

.task-tabs-row::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.task-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.task-tab-btn.active {
    color: var(--neon-cyan);
    position: relative;
}

/* Profile Name & Company header styles */
.profile-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.profile-company {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

/* 3. Horizontal Carousel for Hero progress cards (Adjusted to 100% Hero) */
.task-carousel {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    width: 100%;
}

.task-carousel-card {
    width: 100%;
    border-radius: 16px;
    padding: 1.2rem;
    height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.task-carousel-card.card-purple {
    background: linear-gradient(135deg, #5c59e8 0%, #8b89f5 100%);
}

.task-carousel-card.card-blue {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.card-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
    align-self: flex-start;
}

.card-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.5rem;
    margin-bottom: auto;
}

.card-progress-section {
    width: 100%;
}

.card-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.card-progress-bg {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    overflow: hidden;
}

.card-progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* 4. White Task Cards (Mockup bottom list) */
.mockup-task-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mockup-task-card {
    background: var(--cyber-darker);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

body.light-theme .mockup-task-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.mockup-task-card:hover {
    transform: translateY(-1px);
}

.mockup-task-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

body.light-theme .mockup-task-icon-circle {
    background: rgba(92, 89, 232, 0.08);
    color: #5c59e8;
}

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

.mockup-task-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-task-date {
    font-size: 10.5px;
    color: var(--text-muted);
}

.mockup-task-opt-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 5. Custom FAB Bottom Nav Bar */
.bottom-nav .nav-fab {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: var(--neon-cyan);
    color: var(--cyber-darker) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: none;
    box-shadow: 0 4px 15px var(--neon-cyan-glow);
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1000;
}

body.light-theme .bottom-nav .nav-fab {
    background-color: #5c59e8;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(92, 89, 232, 0.35);
}

.bottom-nav .nav-fab:hover {
    transform: translateY(-11px) scale(1.04);
}

/* 6. Calendar Picker Row (agenda.html) */
.calendar-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0 1rem 0;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

body.light-theme .calendar-slider {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.calendar-day-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    padding: 8px 4px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cal-day-name {
    font-size: 8px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 3px;
    text-transform: uppercase;
}

.cal-day-num {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-white);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.calendar-day-btn.active .cal-day-num {
    background-color: var(--neon-cyan);
    color: var(--cyber-darker);
    box-shadow: 0 3px 10px var(--neon-cyan-glow);
}

body.light-theme .calendar-day-btn.active .cal-day-num {
    background-color: #5c59e8;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(92, 89, 232, 0.3);
}

.calendar-day-btn.active .cal-day-name {
    color: var(--neon-cyan);
}

body.light-theme .calendar-day-btn.active .cal-day-name {
    color: #5c59e8;
}

/* Track Selector Segment Switcher */
.track-tabs-container {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 1.25rem;
}

body.light-theme .track-tabs-container {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.track-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 16px;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.track-tab-btn.active {
    background: var(--neon-cyan);
    color: var(--cyber-darker);
    box-shadow: 0 4px 15px var(--neon-cyan-glow);
}

body.light-theme .track-tab-btn.active {
    background: #5c59e8;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(92, 89, 232, 0.3);
}

.track-tab-btn:hover:not(.active) {
    color: var(--text-white);
}

body.light-theme .track-tab-btn:hover:not(.active) {
    color: #1e293b;
}

/* 7. New Timeline Axis Layout */
.timeline-axis-container {
    position: relative;
    padding-left: 1.75rem;
}

.timeline-axis-line {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

body.light-theme .timeline-axis-line {
    background-color: rgba(0, 0, 0, 0.08);
}

.timeline-axis-node {
    position: relative;
    margin-bottom: 1.25rem;
}

.timeline-axis-node-dot {
    position: absolute;
    left: -1.75rem;
    top: 14px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyber-darker);
    border: 2px solid var(--text-muted);
    z-index: 3;
    transform: translateX(-5.5px);
}

body.light-theme .timeline-axis-node-dot {
    background: #f5f7fb;
    border-color: #cbd5e1;
}

.timeline-axis-node.active .timeline-axis-node-dot {
    border-color: var(--neon-cyan);
    background: var(--neon-cyan);
    box-shadow: 0 0 0 3px var(--neon-cyan-glow);
}

body.light-theme .timeline-axis-node.active .timeline-axis-node-dot {
    border-color: #5c59e8;
    background: #5c59e8;
    box-shadow: 0 0 0 3px rgba(92, 89, 232, 0.25);
}

/* Timeline Cards */
.timeline-axis-card {
    background: var(--cyber-darker);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

body.light-theme .timeline-axis-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.025);
}

.timeline-axis-node.active .timeline-axis-card {
    background: linear-gradient(135deg, #5c59e8 0%, #3b39a3 100%);
    border: none;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(92, 89, 232, 0.25);
}

.timeline-axis-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-axis-card-title {
    font-size: 13.5px;
    font-weight: 700;
    margin: 0;
}

.timeline-axis-node.active .timeline-axis-card-title {
    color: #ffffff;
}

.timeline-axis-card-time {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.timeline-axis-node.active .timeline-axis-card-time {
    color: rgba(255, 255, 255, 0.85);
}

.timeline-axis-card-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.timeline-axis-node.active .timeline-axis-card-desc {
    color: rgba(255, 255, 255, 0.85);
}

/* Avatar stack */
.avatar-group-stack {
    display: flex;
    align-items: center;
    padding-top: 4px;
}

.stack-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--cyber-darker);
    margin-left: -6px;
    background-color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: #111827;
    overflow: hidden;
}

body.light-theme .stack-avatar {
    border-color: #ffffff;
}

.timeline-axis-node.active .stack-avatar {
    border-color: #5c59e8;
}

.stack-avatar:first-child {
    margin-left: 0;
}

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

/* 8. Bottom Sheet Drawer styling (Screen 3) */
.drawer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 3, 7, 0.5);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.bottom-sheet-drawer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100%;
    background: var(--cyber-darker);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px))
        1.25rem;
    z-index: 1060;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
    transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-theme .bottom-sheet-drawer {
    background: #ffffff;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.05);
}

.bottom-sheet-drawer.open {
    bottom: 0;
}

/* Drawer handle bar */
.drawer-handle {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin: 0 auto 1.25rem auto;
}

body.light-theme .drawer-handle {
    background: rgba(0, 0, 0, 0.1);
}

.drawer-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.drawer-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

/* Input block styled inputs */
.drawer-input-block {
    margin-bottom: 1rem;
}

.drawer-input-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
    display: block;
}

.drawer-input-field-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
}

body.light-theme .drawer-input-field-wrapper {
    background: #f0f2f8;
    border: none;
}

.drawer-text-input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    color: var(--text-white) !important;
    font-size: 13px;
    font-weight: 500;
    padding: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.drawer-text-input::placeholder {
    color: var(--text-muted);
}

/* Start Date Picker inside Drawer */
.drawer-datepicker-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.drawer-datepicker-days {
    display: flex;
    gap: 0.35rem;
    flex: 1;
}

.drawer-datepicker-day-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: none;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-datepicker-day-circle.active {
    background-color: var(--neon-cyan);
    color: var(--cyber-darker);
    box-shadow: 0 2px 8px var(--neon-cyan-glow);
}

body.light-theme .drawer-datepicker-day-circle.active {
    background-color: #5c59e8;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(92, 89, 232, 0.25);
}

.drawer-datepicker-month-select {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

body.light-theme .drawer-datepicker-month-select {
    color: #1c1c1e;
}

/* Toggle row inside drawer */
.drawer-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.25rem 0;
}

.drawer-toggle-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-white);
}

/* Large purple pill button */
.btn-drawer-create {
    width: 100%;
    height: 44px;
    border-radius: 50px;
    background-color: var(--neon-cyan);
    color: var(--cyber-darker);
    font-weight: 700;
    font-size: 13.5px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--neon-cyan-glow);
    transition: all 0.2s ease;
}

body.light-theme .btn-drawer-create {
    background-color: #5c59e8;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(92, 89, 232, 0.35);
}

.btn-drawer-create:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* --- 8. Event Sponsors Section Styles --- */
.sponsorship-section {
    margin-top: 2.25rem;
    margin-bottom: 2.25rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding: 0;
}

.sponsorship-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.sponsorship-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--neon-cyan), #5c59e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.sponsorship-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sponsorship-divider::before,
.sponsorship-divider::after {
    content: "";
    height: 1px;
    width: 60px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 245, 255, 0.3),
        transparent
    );
}

.sponsorship-divider .diamond-node {
    width: 6px;
    height: 6px;
    background: var(--neon-cyan);
    transform: rotate(45deg);
    box-shadow: 0 0 8px var(--neon-cyan-glow);
}

.sponsorship-tier {
    margin-bottom: 1.75rem;
}

.tier-title-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.tier-title-badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

/* Badge styles by tier */
.tier-title-badge.tier-diamond {
    color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.25);
}

.tier-title-badge.tier-gold {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.tier-title-badge.tier-silver {
    color: #cbd5e1;
    background: rgba(226, 232, 240, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.15);
}

.tier-title-badge.tier-support {
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.15);
}

/* Logo grid container */
.sponsorship-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
}

/* Individual logo card */
.sponsor-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cyber-darker);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: #ffffff;
}

.sponsor-logo-card.size-diamond {
    width: calc((100% - 10px) / 2);
    height: 64px;
}

.sponsor-logo-card.size-normal {
    width: calc((100% - 20px) / 3);
    height: 48px;
}

/* Logo scaling inside card */
.sponsor-logo-card img,
.sponsor-logo-card svg {
    max-width: 85%;
    max-height: 75%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Specific styling for Dell image in the card */
.sponsor-logo-card.dell-card {
    background: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.sponsor-logo-card.dell-card img {
    max-width: 80%;
    max-height: 70%;
}

/* Hover effects with colored glow shadow */
.sponsor-logo-card:hover {
    transform: translateY(-3px) scale(1.04);
}

.sponsor-logo-card.tier-diamond-card:hover {
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 245, 255, 0.2);
}

.sponsor-logo-card.tier-gold-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.sponsor-logo-card.tier-silver-card:hover {
    border-color: rgba(226, 232, 240, 0.3);
    box-shadow: 0 8px 24px rgba(226, 232, 240, 0.15);
}

.sponsor-logo-card.tier-support-card:hover {
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 0 8px 24px rgba(45, 212, 191, 0.2);
}

/* Light theme overrides */
body.light-theme .sponsorship-title {
    background: linear-gradient(90deg, #5c59e8, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .sponsorship-divider::before,
body.light-theme .sponsorship-divider::after {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(92, 89, 232, 0.3),
        transparent
    );
}

body.light-theme .sponsorship-divider .diamond-node {
    background: #5c59e8;
    box-shadow: 0 0 8px rgba(92, 89, 232, 0.4);
}

body.light-theme .tier-title-badge.tier-diamond {
    color: #5c59e8;
    background: rgba(92, 89, 232, 0.08);
    border: 1px solid rgba(92, 89, 232, 0.25);
}

body.light-theme .tier-title-badge.tier-gold {
    color: #d97706;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.25);
}

body.light-theme .tier-title-badge.tier-silver {
    color: #475569;
    background: rgba(100, 116, 139, 0.08);
    border: 1px solid rgba(100, 116, 139, 0.15);
}

body.light-theme .tier-title-badge.tier-support {
    color: #0d9488;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.15);
}

body.light-theme .sponsor-logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    color: #0f172a;
}

body.light-theme .sponsor-logo-card.tier-diamond-card:hover {
    border-color: rgba(92, 89, 232, 0.4);
    box-shadow: 0 8px 24px rgba(92, 89, 232, 0.15);
}

body.light-theme .sponsor-logo-card.tier-gold-card:hover {
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15);
}

body.light-theme .sponsor-logo-card.tier-silver-card:hover {
    border-color: rgba(100, 116, 139, 0.4);
    box-shadow: 0 8px 24px rgba(100, 116, 139, 0.12);
}

body.light-theme .sponsor-logo-card.tier-support-card:hover {
    border-color: rgba(13, 148, 136, 0.4);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.15);
}

/* --- QR TICKET CARD STYLING --- */
/* Slide up animation for the QR Ticket Modal from the bottom */
#qrTicketModal.modal.fade .modal-dialog {
    transform: translateY(100vh);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#qrTicketModal.modal.show .modal-dialog {
    transform: translateY(0);
}

.qr-ticket-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    display: inline-block;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qr-ticket-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(0, 245, 255, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.ticket-header {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.ticket-user-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.ticket-user-company {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qr-code-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.15);
}

.qr-code-wrapper svg {
    display: block;
}

.ticket-footer {
    font-size: 10px;
    font-family: monospace;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

/* Light Theme overrides for Ticket Card */
body.light-theme .qr-ticket-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

body.light-theme .qr-ticket-card::before {
    background: radial-gradient(
        circle,
        rgba(92, 89, 232, 0.05) 0%,
        transparent 70%
    );
}

body.light-theme .ticket-header {
    border-bottom: 1px dashed #e2e8f0;
}

body.light-theme .ticket-user-name {
    color: #0f172a;
}

body.light-theme .ticket-user-company {
    color: #64748b;
}

body.light-theme .qr-code-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #5c59e8;
    box-shadow: 0 0 15px rgba(92, 89, 232, 0.1);
}

body.light-theme .ticket-footer {
    color: #94a3b8;
}

.qr-ticket-card .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
}

body.light-theme .qr-ticket-card .btn-close {
    filter: none;
}

.bottom-nav .nav-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1px;
}
