:root {
    /* --- Windows 11 Light Mode Palette --- */
    --win-bg-light: #F3F3F3;
    --win-surface-light: #FFFFFF;
    --win-border-light: #E5E5E5;
    --win-text-light: #202020;
    --win-text-muted-light: #5D5D5D;
    --win-accent-light: #005FB8;
    --win-accent-hover-light: #0056A6;
    
    /* --- Windows 11 Dark Mode Palette --- */
    --win-bg-dark: #202020;
    --win-surface-dark: #2C2C2C;
    --win-border-dark: #383838;
    --win-text-dark: #FFFFFF;
    --win-text-muted-dark: #A0A0A0;
    --win-accent-dark: #4CC2FF;
    --win-accent-hover-dark: #47AEE6;

    --win-surface-rgb-light: 255, 255, 255;
    --win-surface-rgb-dark: 44, 44, 44;
    --accent-rgb-light: 0, 95, 184;
    --accent-rgb-dark: 76, 194, 255;

    /* --- Light Mode Tokens (Default) --- */
    --primary: var(--win-text-light);
    --primary-rgb: 32, 32, 32;
    --accent: var(--win-accent-light);
    --accent-hover: var(--win-accent-hover-light);
    --background: var(--win-bg-light);
    --card-bg: var(--win-surface-light);
    --text-main: var(--win-text-light);
    --text-muted: var(--win-text-muted-light);
    --border-color: var(--win-border-light);
    --navbar-bg: rgba(243, 243, 243, 0.85);
    --win-surface-rgb: var(--win-surface-rgb-light);
    --accent-rgb: var(--accent-rgb-light);
    
    /* Windows 11 style shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 0 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.06), 0 0 2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08), 0 0 2px rgba(0, 0, 0, 0.1);
    
    /* Windows 11 Border Radii */
    --radius-full: 9999px;
    --radius-xl: 12px;
    --radius-lg: 8px;
    --radius-md: 4px;
}

[data-theme="dark"] {
    /* --- Dark Mode Tokens --- */
    --primary: var(--win-text-dark);
    --primary-rgb: 255, 255, 255;
    --accent: var(--win-accent-dark);
    --accent-hover: var(--win-accent-hover-dark);
    --background: var(--win-bg-dark);
    --card-bg: var(--win-surface-dark);
    --text-main: var(--win-text-dark);
    --text-muted: var(--win-text-muted-dark);
    --border-color: var(--win-border-dark);
    --navbar-bg: rgba(32, 32, 32, 0.85);
    --win-surface-rgb: var(--win-surface-rgb-dark);
    --accent-rgb: var(--accent-rgb-dark);
}

/* --- Base --- */
html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI Variable', 'Segoe UI', 'Inter', 'Kanit', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* --- High Contrast Theme Utilities --- */
.text-theme {
    color: var(--primary) !important;
}

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

.bg-accent {
    background-color: var(--accent) !important;
}

.icon-theme {
    color: var(--primary) !important;
}

/* Vibrant adaptive icons */
.icon-primary { color: #005FB8 !important; } /* Windows blue */
.icon-success { color: #10893E !important; } /* Windows green */
.icon-warning { color: #D83B01 !important; } /* Windows orange/red */

[data-theme="dark"] .icon-primary { color: #4CC2FF !important; }
[data-theme="dark"] .icon-success { color: #6CCB5F !important; }
[data-theme="dark"] .icon-warning { color: #FF99A4 !important; }

/* --- Premium Layout & Cards --- */
.card-premium {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb), 0.1);
}

/* --- Modern Navbar --- */
.navbar-modern {
    background: rgba(var(--primary-rgb), 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar-modern {
    background: rgba(32, 32, 32, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
}

.brand-text {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    display: inline-block;
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-text {
    filter: brightness(1.2);
    transform: scale(1.02);
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    .brand-text {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
    }
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

#langDropdown, .theme-toggle-btn, .btn-login-modern, .btn-register-modern {
    transition: all 0.2s ease-in-out !important;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 0.5rem 1.25rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: right;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* --- Dashboard Navigation Cards --- */
.dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    background-color: var(--card-bg);
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.dashboard-nav-link i {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.dashboard-nav-link:hover {
    background-color: var(--background);
    color: var(--text-main);
    transform: translateY(-2px);
    border-color: rgba(var(--primary-rgb), 0.15);
    box-shadow: var(--shadow);
}

.dashboard-nav-link:hover i {
    color: var(--accent);
}

.dashboard-nav-link.active {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.dashboard-nav-link.active i {
    color: #ffffff;
}

/* --- Admin Management Cards (Management Hub) --- */
.admin-hub-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    height: 100%;
    text-decoration: none;
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.admin-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.admin-hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.1);
}

.admin-hub-card:hover::before {
    background: var(--accent);
}

.admin-hub-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.admin-hub-card:hover .admin-hub-icon-box {
    transform: scale(1.1) rotate(-5deg);
}

.admin-hub-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.admin-hub-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Specific Hub Icon Colors */
.icon-box-blue { background: rgba(0, 95, 184, 0.1); color: #005FB8; }
.icon-box-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.icon-box-orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.icon-box-green { background: rgba(16, 137, 62, 0.1); color: #10893e; }
.icon-box-info { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }
.icon-box-pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.icon-box-cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }

[data-theme="dark"] .icon-box-blue { background: rgba(76, 194, 255, 0.15); color: #4CC2FF; }
[data-theme="dark"] .icon-box-purple { background: rgba(167, 139, 250, 0.15); color: #a78bfa; }
[data-theme="dark"] .icon-box-orange { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
[data-theme="dark"] .icon-box-green { background: rgba(110, 231, 183, 0.15); color: #6ee7b7; }

/* Dashboard Mini Cards */
.mini-stat-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    background: var(--card-bg);
}

/* --- Buttons --- */
.btn-modern {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    border: 1px solid transparent;
    color: var(--background);
}

.btn-primary:hover {
    background-color: var(--text-muted);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Specialized Navbar Buttons */
.btn-login-modern {
    background: transparent;
    border: 1.5px solid rgba(var(--primary-rgb), 0.2);
    color: var(--primary) !important;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-login-modern:hover {
    background: var(--primary);
    color: var(--background) !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.15);
}

.btn-register-modern {
    background: linear-gradient(135deg, #004aad 0%, #0ea5e9 100%);
    color: white !important;
    border: none;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-register-modern:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.3);
    filter: brightness(1.1);
}

.btn-accent-modern {
    background: linear-gradient(135deg, #004aad 0%, #003366 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-accent-modern:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 74, 173, 0.4);
    filter: brightness(1.1);
    color: #ffffff !important;
}

[data-theme="dark"] .btn-accent-modern {
    background: linear-gradient(135deg, #0ea5e9 0%, #004aad 100%);
}

/* --- Improved Tables --- */
.table-premium {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-premium thead th {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.table-premium tbody td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table-premium tbody tr:hover {
    background-color: rgba(var(--primary-rgb), 0.015);
}

/* --- Status Badges (Refined) --- */
.badge-premium {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.badge-pending { background: #f1f5f9; color: #475569; }
.badge-active { background: #e0f2fe; color: #0369a1; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-danger { background: #fee2e2; color: #991b1b; }

/* Soft Badges */
.badge-success-soft { background-color: #dcfce7 !important; color: #166534 !important; border: 1px solid rgba(22, 101, 52, 0.1); }
.badge-danger-soft { background-color: #fee2e2 !important; color: #991b1b !important; border: 1px solid rgba(153, 27, 27, 0.1); }
.badge-warning-soft { background-color: #fef3c7 !important; color: #92400e !important; border: 1px solid rgba(146, 64, 14, 0.1); }
.badge-pending-soft { background-color: #f1f5f9 !important; color: #475569 !important; border: 1px solid rgba(71, 85, 105, 0.1); }
.badge-info-soft { background-color: #e0f2fe !important; color: #0369a1 !important; border: 1px solid rgba(3, 105, 161, 0.1); }

/* --- Forms --- */
.form-control, .form-select {
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.4);
    background-color: var(--card-bg);
    color: var(--text-main);
    transition: all 0.2s ease;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control:focus, .form-select:focus {
    border-color: var(--border-color);
    border-bottom: 2px solid var(--accent);
    box-shadow: none;
    outline: none;
    background-color: var(--background);
    color: var(--primary);
}

/* --- Theme Toggle --- */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-toggle-btn:hover {
    background-color: var(--border-color);
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background-color: var(--win-border-dark);
}

[data-theme="dark"] .bi-sun-fill { display: block; }
[data-theme="dark"] .bi-moon-stars-fill { display: none; }
.bi-sun-fill { display: none; }
.bi-moon-stars-fill { display: block; }

/* --- UI Helpers --- */
.pulse-revision {
    animation: p-pulse 2s infinite;
}

@keyframes p-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.pulse-warning {
    animation: w-pulse 2s infinite;
}

@keyframes w-pulse {
    0% { box-shadow: 0 0 0 0 rgba(216, 59, 1, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(216, 59, 1, 0); }
    100% { box-shadow: 0 0 0 0 rgba(216, 59, 1, 0); }
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-full);
}

/* --- Vibrant Utilities --- */
.text-vibrant {
    color: #ff7e5f !important;
}

/* --- Enhanced Hero & Mesh Gradients --- */
.hero-gradient {
    background: linear-gradient(135deg, #004aad 0%, #003366 100%);
    color: white;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .hero-gradient {
    background: linear-gradient(135deg, #001f3f 0%, #000c1a 100%);
}

.bg-mesh-gradient {
    background-color: #004aad;
    background-image: 
        radial-gradient(at 0% 0%, hsla(210,100%,35%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(195,100%,45%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(225,100%,35%,1) 0, transparent 50%);
    background-attachment: fixed;
}

/* Responsive Typography for Banners */
:root {
    --hero-title-size: clamp(1.75rem, 4.5vw, 3.25rem);
    --hero-subtitle-size: clamp(0.95rem, 1.2vw, 1.15rem);
}

.hero-title {
    font-size: var(--hero-title-size);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: var(--hero-subtitle-size);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* --- Banner & Panel Specialized Styles --- */
.banner-premium {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.banner-congrats {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .banner-congrats {
    background: var(--win-surface-dark);
}

.info-glass-box {
    background: rgba(var(--primary-rgb), 0.02);
    backdrop-filter: blur(10px);
    border: 1px dashed rgba(var(--accent-rgb, 13, 110, 253), 0.2);
    border-radius: 1rem;
    padding: 1.25rem 1.75rem;
    display: inline-block;
    width: 100%;
}

/* Symmetrical Spacing Utilities */
.py-banner { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
.px-banner { padding-left: clamp(1rem, 5vw, 3rem); padding-right: clamp(1rem, 5vw, 3rem); }

@media (max-width: 576px) {
    .py-banner { padding-top: 3rem; padding-bottom: 3rem; }
    .hero-title { letter-spacing: -0.02em; }
}

/* Banner Animations */
@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animate-shine {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200% 100%;
    animation: shine 3s infinite;
}

/* --- Carousel Performance Optimizations --- */
.hero-carousel-img {
    height: 450px;
    object-fit: contain;
    width: 100%;
    background: rgba(0,0,0,0.2);
    image-rendering: -webkit-optimize-contrast;
    transition: all 0.5s ease;
}

@media (max-width: 991px) {
    .hero-carousel-img {
        height: auto !important;
        min-height: 300px;
        max-height: 70vh;
        aspect-ratio: auto;
    }
}

@media (min-width: 992px) {
    .hero-carousel-img {
        height: min(700px, 80vh); /* Cap the height on large screens */
        object-fit: contain;
    }
}

.carousel-item {
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item img {
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0); /* Force GPU layer */
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.icon-vibrant-wrapper {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%) !important;
    box-shadow: 0 8px 24px rgba(255, 126, 95, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 50%;
}
.icon-vibrant-wrapper i {
    color: white !important;
}

.btn-vibrant {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%) !important;
    border: none !important;
    color: white !important;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-vibrant:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(255, 126, 95, 0.4) !important;
    background: linear-gradient(135deg, #feb47b 0%, #ff7e5f 100%) !important;
    color: white !important;
}

/* --- Premium Modern Alerts --- */
.alert-premium {
    border-radius: 1.5rem !important;
    overflow: hidden;
    position: relative;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 2rem !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03) !important;
}

.alert-premium:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.alert-premium .alert-content {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.alert-premium .alert-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2.25rem;
    position: relative;
    overflow: hidden;
}

.alert-premium .alert-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.05), transparent);
}

.alert-premium .alert-icon-bg {
    background: white;
    border-radius: 1rem;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1;
}

.alert-premium .alert-body {
    padding: 1.75rem 2.5rem;
    flex-grow: 1;
}

.alert-premium .alert-decoration {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: 1;
    opacity: 0.6;
    filter: blur(40px);
}

.alert-premium .alert-decoration-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    z-index: 1;
    opacity: 0.4;
    filter: blur(30px);
}

/* Info Variant - Elegant Ocean */
.alert-premium-info {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-left: 6px solid #0d6efd !important;
}
.alert-premium-info .alert-icon-wrapper { background: rgba(13, 110, 253, 0.03); }
.alert-premium-info .alert-decoration { background: #0d6efd; }
.alert-premium-info .alert-decoration-2 { background: #60a5fa; }
.alert-premium-info .text-title { color: #1e40af !important; }

/* Danger Variant - Modern Rose */
.alert-premium-danger {
    background: linear-gradient(135deg, #fff5f5 0%, #ffebeb 100%);
    border-left: 6px solid #dc3545 !important;
}
.alert-premium-danger .alert-icon-wrapper { background: rgba(220, 53, 69, 0.03); }
.alert-premium-danger .alert-decoration { background: #dc3545; }
.alert-premium-danger .alert-decoration-2 { background: #f87171; }
.alert-premium-danger .text-title { color: #991b1b !important; }

/* Success Variant - Fresh Emerald */
.alert-premium-success {
    background: linear-gradient(135deg, #f0fff4 0%, #ecfdf5 100%);
    border-left: 6px solid #10893e !important;
}
.alert-premium-success .alert-icon-wrapper { background: rgba(16, 137, 62, 0.03); }
.alert-premium-success .alert-decoration { background: #10893e; }
.alert-premium-success .alert-decoration-2 { background: #34d399; }
.alert-premium-success .text-title { color: #065f46 !important; }

/* Dark Mode Overrides - Ultra Deep */
[data-theme="dark"] .alert-premium {
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .alert-premium-info {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
}
[data-theme="dark"] .alert-premium-danger {
    background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%);
}
[data-theme="dark"] .alert-premium-success {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
}
[data-theme="dark"] .alert-premium .alert-icon-bg {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}
[data-theme="dark"] .alert-premium .text-dark,
[data-theme="dark"] .alert-premium .text-title {
    color: #f8fafc !important;
}
[data-theme="dark"] .alert-premium .opacity-85 {
    opacity: 0.8 !important;
}

/* --- Mobile Responsiveness for Alerts --- */
@media (max-width: 768px) {
    .alert-premium .alert-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .alert-premium .alert-icon-wrapper {
        padding: 2rem 0 1rem 0;
        border-right: none;
    }

    .alert-premium .alert-icon-wrapper::after {
        width: 100%;
        height: 1px;
        top: auto;
        bottom: 0;
        right: auto;
        left: 0;
        background: linear-gradient(to right, transparent, rgba(var(--primary-rgb), 0.1), transparent);
    }

    .alert-premium .alert-body {
        padding: 1.5rem 1.5rem 2rem 1.5rem;
        width: 100%;
    }

    .alert-premium .alert-body .d-flex {
        flex-direction: column !important;
        gap: 0.75rem;
    }

    .alert-premium .alert-body .badge {
        margin-right: 0 !important;
        display: inline-block;
        width: fit-content;
    }
    
    .alert-premium .alert-body h5 {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 0.5rem !important;
    }

    .alert-premium .alert-body .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.5rem auto 0 auto;
        display: flex;
        justify-content: center;
    }

    .alert-premium .progress {
        height: 8px !important;
        margin-bottom: 1rem !important;
    }
}

/* Dark Mode Soft Badges */
[data-theme="dark"] .badge-success-soft { background-color: rgba(108, 203, 95, 0.15) !important; color: #6CCB5F !important; border-color: rgba(108, 203, 95, 0.2); }
[data-theme="dark"] .badge-danger-soft { background-color: rgba(255, 153, 164, 0.15) !important; color: #FF99A4 !important; border-color: rgba(255, 153, 164, 0.2); }
[data-theme="dark"] .badge-warning-soft { background-color: rgba(255, 191, 0, 0.15) !important; color: #FFBF00 !important; border-color: rgba(255, 191, 0, 0.2); }
[data-theme="dark"] .badge-pending-soft { background-color: rgba(160, 160, 160, 0.15) !important; color: #A0A0A0 !important; border-color: rgba(160, 160, 160, 0.2); }
[data-theme="dark"] .badge-info-soft { background-color: rgba(76, 194, 255, 0.15) !important; color: #4CC2FF !important; border-color: rgba(76, 194, 255, 0.2); }

/* --- Modern Chat UI & Glassmorphism --- */
:root {
    --chat-bubble-sent: linear-gradient(135deg, #005FB8 0%, #0078D4 100%);
    --chat-bubble-received: rgba(var(--primary-rgb), 0.05);
    --glass-bg: rgba(var(--primary-rgb), 0.03);
    --glass-border: rgba(var(--primary-rgb), 0.08);
}

[data-theme="dark"] {
    --chat-bubble-sent: linear-gradient(135deg, #0078D4 0%, #005FB8 100%);
    --chat-bubble-received: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.chat-bubble-premium {
    padding: 0.85rem 1.25rem;
    border-radius: 1.25rem;
    font-size: 0.925rem;
    line-height: 1.5;
    position: relative;
    max-width: 85%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.chat-bubble-sent {
    background: var(--chat-bubble-sent);
    color: white;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

.chat-bubble-received {
    background: var(--chat-bubble-received);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
    margin-right: auto;
}

.chat-timestamp {
    font-size: 0.7rem;
    margin-top: 0.4rem;
    opacity: 0.6;
    display: block;
}

.sent .chat-timestamp { text-align: right; }

/* Pulse Animation for Badges */
.pulse-unread {
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Smooth Scrolling for Chat */
.chat-scroll-area {
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}

/* Custom Scrollbar for Chat */
.chat-scroll-area::-webkit-scrollbar {
    width: 5px;
}
.chat-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}
.chat-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
}
.chat-scroll-area::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-rgb), 0.2);
}

/* --- Floating Chat UI --- */
.floating-chat-box {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important;
    width: 360px !important;
    height: 550px !important;
    max-height: 80vh !important;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0,0,0,0.05);
    z-index: 99999 !important;
    display: none;
    flex-direction: column;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(20px);
    opacity: 0;
}

.floating-chat-box.show {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.chat-header-glass {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(var(--primary-rgb), 0.03);
    backdrop-filter: blur(10px);
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: rgba(var(--primary-rgb), 0.01);
}

.chat-input-area {
    padding: 1.25rem 1.5rem;
    background: var(--card-bg);
    border-top: 1px solid var(--glass-border);
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive overrides */
@media (max-width: 576px) {
    .floating-chat-box {
        bottom: 0 !important;
        left: 0 !important;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
}

/* --- Floating Chat Trigger --- */
.floating-chat-trigger {
    position: fixed !important;
    bottom: 100px !important;
    left: 30px !important;
    z-index: 99998 !important; /* Just below the chat box */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block !important;
}

.floating-chat-trigger:hover {
    transform: scale(1.1) rotate(5deg);
}

.floating-chat-trigger .unread-badge {
    box-shadow: 0 0 0 2px white;
}

@keyframes animate-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 95, 184, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 95, 184, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 95, 184, 0);
    }
}

.animate-pulse {
    animation: animate-pulse 2s infinite;
}
/* --- Back to Top Button --- */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: var(--accent-hover);
    transform: scale(1.1) translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: white;
}

#backToTop:active {
    transform: scale(0.9) translateY(-2px);
}

/* --- Premium Redesign Utilities --- */

/* Mesh Gradient Background */
.bg-mesh-gradient {
    background-color: #004aad;
    background-image: 
        radial-gradient(at 0% 0%, hsla(210,100%,30%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(190,100%,40%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(220,100%,30%,1) 0, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Glassmorphism Wrapper */
.glass-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Animated Blobs */
.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent) 0%, #0ea5e9 100%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.blob-1 { top: -10%; left: -10%; animation: float 10s infinite alternate; }
.blob-2 { bottom: -10%; right: -10%; animation: float 12s infinite alternate-reverse; }

/* 3D hover effect for cards */
.hover-3d {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.hover-3d:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) scale(1.02);
}

/* AOS Tweaks */
[data-aos] {
    pointer-events: none;
}
.aos-animate {
    pointer-events: auto;
}

/* --- Redesign Utility Helpers --- */
.transition-all { transition: all 0.3s ease; }
.hover-shadow-sm:hover { box-shadow: var(--shadow-sm) !important; transform: translateY(-1px); }
.hover-shadow-lg:hover { box-shadow: var(--shadow-lg) !important; transform: translateY(-3px); }
.opacity-05 { opacity: 0.05 !important; }
.line-height-lg { line-height: 1.8 !important; }
.letter-spacing-lg { letter-spacing: 0.1em !important; }

[data-theme="dark"] .glass-wrapper {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Responsive & Symmetry Refinement --- */

/* Responsive Typography */
@media (max-width: 768px) {
    .display-4 { font-size: 2.25rem !important; }
    .hero-title { font-size: 1.85rem !important; }
    .h3, h3 { font-size: 1.5rem !important; }
    .card-premium { padding: 1rem !important; }
}

/* Scalable Icon Wrapper */
.icon-vibrant-wrapper {
    width: clamp(55px, 10vw, 80px);
    height: clamp(55px, 10vw, 80px);
    padding: 0 !important; /* Managed by clamp width/height + flex centering */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .icon-vibrant-wrapper {
        width: 60px;
        height: 60px;
    }
    .icon-vibrant-wrapper i {
        font-size: 1.5rem !important;
    }
}

/* Centering Utilities for Mobile */
@media (max-width: 991px) {
    .text-center-md { text-align: center !important; }
    .justify-content-center-md { justify-content: center !important; }
}

@media (max-width: 576px) {
    .w-sm-100 { width: 100% !important; }
}

/* Full Width Banner Mobile Optimization */
@media (max-width: 576px) {
    .hero-gradient .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .hero-gradient .hero-title, 
    .hero-gradient .hero-subtitle {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .glass-wrapper {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }
    .carousel-item img {
        height: auto !important;
        min-height: 300px;
        object-fit: contain !important;
        background: rgba(0,0,0,0.1);
    }
}

/* Symmetrical Spacing */
.card-premium .card-body {
    padding: clamp(1rem, 3vw, 1.5rem);
}

/* Glass Wrapper Smoothing */
.glass-wrapper {
    transition: transform 0.3s ease;
}
.glass-wrapper:hover {
    transform: scale(1.01);
}

/* --- Timeline Active Effects --- */
@keyframes pulse-active-glow {
    0% { box-shadow: 0 0 0 0 rgba(76, 194, 255, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 10px rgba(76, 194, 255, 0); transform: scale(1.1); }
    100% { box-shadow: 0 0 0 0 rgba(76, 194, 255, 0); transform: scale(1); }
}

@keyframes pulse-urgent-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 171, 0, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 10px rgba(255, 171, 0, 0); transform: scale(1.15); }
    100% { box-shadow: 0 0 0 0 rgba(255, 171, 0, 0); transform: scale(1); }
}

@keyframes pulse-today-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 61, 0, 0.8); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(255, 61, 0, 0); transform: scale(1.2); }
    100% { box-shadow: 0 0 0 0 rgba(255, 61, 0, 0); transform: scale(1); }
}

.timeline-dot-active {
    background-color: #4CC2FF !important;
    animation: pulse-active-glow 2s infinite;
    z-index: 2;
}

.timeline-dot-urgent {
    background-color: #FFAB00 !important;
    animation: pulse-urgent-glow 1.5s infinite;
    z-index: 2;
}

.timeline-dot-today {
    background-color: #FF3D00 !important;
    animation: pulse-today-glow 1s infinite;
    z-index: 3;
}

.timeline-active-milestone {
    border-left-color: #4CC2FF !important;
    border-left-width: 3px !important;
    background: rgba(76, 194, 255, 0.05);
    border-radius: 0 12px 12px 0;
    margin-left: -2px;
}

.timeline-active-milestone .text-vibrant,
.timeline-active-milestone .text-accent {
    color: #4CC2FF !important;
    text-shadow: 0 0 15px rgba(76, 194, 255, 0.3);
}

.timeline-urgent-milestone {
    border-left-color: #FFAB00 !important;
    border-left-width: 3px !important;
    background: rgba(255, 171, 0, 0.05);
    border-radius: 0 12px 12px 0;
    margin-left: -2px;
}

.timeline-today-milestone {
    border-left-color: #FF3D00 !important;
    border-left-width: 3px !important;
    background: rgba(255, 61, 0, 0.07);
    border-radius: 0 12px 12px 0;
    margin-left: -2px;
}

.next-milestone-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #4CC2FF;
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    margin-left: 10px;
    vertical-align: middle;
}

.badge-urgent { background: #FFAB00 !important; color: #000 !important; }
.badge-today { background: #FF3D00 !important; color: #fff !important; }

@keyframes pulse-sm {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.animate-pulse-sm {
    animation: pulse-sm 1.5s ease-in-out infinite;
}

/* --- Utility Animations & Interactions --- */
.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-translate-y:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.rotate-hover:hover i {
    transform: rotate(15deg) scale(1.1);
}

.ttp {
    position: relative;
    cursor: pointer;
}

/* --- Keynote Speaker Card (Premium) --- */
.keynote-card-modern {
    background: rgba(var(--primary-rgb), 0.03);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 20px;
    padding: 1.25rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.keynote-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-rgb, 13, 110, 253), 0.05) 0%, transparent 70%);
    z-index: -1;
    transition: all 0.6s ease;
    opacity: 0;
}

.keynote-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

.keynote-card-modern:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.keynote-avatar-wrapper {
    position: relative;
    display: inline-block;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #ff7e5f 100%);
    box-shadow: 0 5px 15px rgba(var(--accent-rgb, 13, 110, 253), 0.3);
    transition: all 0.3s ease;
}

.keynote-card-modern:hover .keynote-avatar-wrapper {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb, 13, 110, 253), 0.5);
}

.keynote-avatar {
    border: 3px solid #fff;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

[data-theme="dark"] .keynote-avatar {
    border-color: var(--win-surface-dark);
}

.keynote-badge-premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.keynote-name {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.keynote-designation {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.4;
    color: var(--text-main);
}

.card-bg-subtle {
    background: rgba(var(--primary-rgb), 0.02);
}

/* --- Enhanced Keynote Card (Spotlight) --- */
.keynote-card-spotlight {
    background: var(--win-surface);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .keynote-card-spotlight {
    background: var(--win-surface-dark);
}

.keynote-card-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    z-index: 0;
}

.keynote-card-spotlight:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.keynote-card-spotlight .keynote-avatar-wrapper {
    width: 150px;
    height: 150px;
    padding: 6px;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.keynote-card-spotlight .keynote-avatar {
    width: 100%;
    height: 100%;
    border-width: 4px;
}

.keynote-card-spotlight .keynote-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    z-index: 1;
}

.keynote-card-spotlight .keynote-designation {
    font-size: 1rem;
    max-width: 250px;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.btn-view-profile {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
    z-index: 1;
}

.btn-view-profile:hover {
    background: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
    color: #fff;
}

/* Speaker Profile Modal */
.modal-speaker .modal-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    backdrop-filter: blur(20px);
    background: rgba(var(--win-surface-rgb), 0.9);
}

[data-theme="dark"] .modal-speaker .modal-content {
    background: rgba(30, 30, 30, 0.95);
}

.modal-speaker .modal-header {
    border: none;
    padding: 2rem 2rem 1rem;
}

.modal-speaker .modal-body {
    padding: 1rem 2rem 2.5rem;
}

.modal-speaker .modal-footer {
    border: none;
    padding: 0 2rem 2rem;
}

.profile-section-title {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.profile-section-content {
    background: rgba(var(--primary-rgb), 0.03);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    white-space: pre-line;
    font-size: 0.95rem;
    line-height: 1.6;
}

[data-theme="dark"] .profile-section-content {
    background: rgba(255, 255, 255, 0.05);
}

/* --- Dashboard Premium Cards --- */
.dash-card {
    border-radius: 1.25rem !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.card-value {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.bg-dash-blue { background: rgba(59, 130, 246, 0.08) !important; color: #1e40af !important; border: 1px solid rgba(59, 130, 246, 0.2) !important; }
.bg-dash-orange { background: rgba(249, 115, 22, 0.08) !important; color: #9a3412 !important; border: 1px solid rgba(249, 115, 22, 0.2) !important; }
.bg-dash-red { background: rgba(239, 68, 68, 0.08) !important; color: #991b1b !important; border: 1px solid rgba(239, 68, 68, 0.2) !important; }
.bg-dash-green { background: rgba(34, 197, 94, 0.08) !important; color: #166534 !important; border: 1px solid rgba(34, 197, 94, 0.2) !important; }

/* --- Table Responsive Premium --- */
.table-responsive-premium {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
    border-radius: 1.25rem;
}

.table-responsive-premium::-webkit-scrollbar {
    height: 6px;
}

.table-responsive-premium::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.table-responsive-premium::-webkit-scrollbar-track {
    background: transparent;
}
