/* ============================================================================
   STEPARTUP 2026 — MASTER DESIGN SYSTEM & PREMIUM UI/UX (VANILLA CSS)
   ============================================================================
   Rəng Palitrası: HSL Custom Tokens, Tünd Kosmik Fon, Zümrüd Yaşılı, Neon Mavi, Qızılı Xəbərdarlıq.
   Şriftlər: Montserrat & Inter (Azərbaycan hərfləri 'Ə, ə, Ğ, ğ, Ş, ş, Ü, ü, Ö, ö, Ç, ç, I, ı' üçün tam dəstək).
   Glassmorphism: backdrop-filter blur(16px) dəstəyi ilə şüşə panellər.
   Dark & Light Modlar: Admin panel üçün tam tənzimlənən mövzu keçidi.
   ============================================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800;900&display=swap&subset=latin,latin-ext");
:root {
    /* HSL Custom Rəng Tokens — Tünd Mövzu (Standart) */
    --bg-dark-cosmic: #0b0f19;
    --bg-surface-dark: #0f172a;
    --primary-emerald: #10b981;
    --primary-emerald-glow: rgba(16, 185, 129, 0.45);
    --secondary-neon-blue: #3b82f6;
    --secondary-neon-glow: rgba(59, 130, 246, 0.45);
    --warning-gold: #f59e0b;
    --error-red: #ef4444;
    --purple-accent: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    /* Şüşə Efekti (Glassmorphism Tokens) */
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-bg-hover: rgba(30, 41, 59, 0.8);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-border-focus: rgba(16, 185, 129, 0.65);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    /* Şriftlər — Azərbaycan hərflərini (Ə ə Ğ ğ və s.) 100% aydın göstərən şriftlər */
    --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


/* ============================================================================
   LIGHT MODE (İŞIQLI / AĞ MÖVZU) — TAM VƏ KÖKLÜ SİSTEM (DESKTOP VƏ MOBİL/RESPONSİV)
   ============================================================================ */

body.light-mode {
    --bg-dark-cosmic: #f8fafc;
    --bg-surface-dark: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-bg-hover: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(15, 23, 42, 0.12);
    --glass-shadow: 0 8px 30px 0 rgba(15, 23, 42, 0.06);
    background-color: var(--bg-dark-cosmic);
    background-image: radial-gradient( circle at 15% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%), radial-gradient( circle at 85% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    color: var(--text-main);
}


/* 1. Navbar və Loqo Tənzimləmələri */

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}

body.light-mode .logo-text,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4 {
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

body.light-mode .logo-subtext {
    color: #059669 !important;
}


/* 2. Navbar Düymələri (Dil, Mövzu və Instagram - Desktop və Responsive) */

body.light-mode .lang-current,
body.light-mode .nav-theme-btn {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
}

body.light-mode .lang-current:hover,
body.light-mode .nav-theme-btn:hover {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: #10b981 !important;
    color: #059669 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
}

body.light-mode .insta-btn {
    background: linear-gradient( 45deg, rgba(240, 148, 51, 0.12), rgba(230, 104, 60, 0.12), rgba(220, 39, 67, 0.12), rgba(204, 35, 102, 0.12), rgba(188, 24, 136, 0.12)) !important;
    color: #be185d !important;
    border-color: rgba(244, 114, 182, 0.6) !important;
}

body.light-mode .insta-btn:hover {
    background: linear-gradient( 45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}


/* 3. Hero Baner və Taymer */

body.light-mode .hero-overlay {
    background: linear-gradient( 180deg, rgba(248, 250, 252, 0.45) 0%, rgba(248, 250, 252, 0.96) 100%) !important;
}

body.light-mode .badge-pulse {
    background: #ffffff !important;
    border-color: #10b981 !important;
    color: #059669 !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.18) !important;
    text-shadow: none !important;
}

body.light-mode .hero-title {
    background: linear-gradient( 135deg, #0f172a 0%, #059669 40%, #0284c7 80%, #0f172a 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.08)) !important;
}

body.light-mode .hero-subtitle {
    color: #334155 !important;
    text-shadow: none !important;
}

body.light-mode .countdown-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06), 0 0 25px rgba(16, 185, 129, 0.12) !important;
}

body.light-mode .time-box {
    background: #f1f5f9 !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

body.light-mode .time-box .num {
    color: #0f172a !important;
    text-shadow: none !important;
}

body.light-mode .time-box .label {
    color: #059669 !important;
}


/* 4. Statistika və Elan Kartları */

body.light-mode .stat-item {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04) !important;
}

body.light-mode .stat-num {
    color: #059669 !important;
    text-shadow: none !important;
}

body.light-mode .stat-label {
    color: #475569 !important;
}


/* 5. Form Elementləri, Kateqoriyalar, Radio Kartlar və Komanda Üzvləri */

body.light-mode .radio-card,
body.light-mode .cat-btn,
body.light-mode .team-member-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}

body.light-mode .radio-card:hover,
body.light-mode .cat-btn:hover {
    background: #f8fafc !important;
    border-color: #10b981 !important;
}

body.light-mode .radio-card.active,
body.light-mode .cat-btn.active {
    background: rgba(16, 185, 129, 0.12) !important;
    border-color: #059669 !important;
    color: #0f172a !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15) !important;
}

body.light-mode .req-alert-box {
    background: #fffbeb !important;
    border-color: #f59e0b !important;
    border-left: 5px solid #d97706 !important;
    color: #78350f !important;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.08) !important;
}

body.light-mode .req-alert-box strong {
    color: #b45309 !important;
}

body.light-mode .ineligible-blocker {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    border: 2px solid #dc2626 !important;
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.15) !important;
    text-align: center !important;
}

body.light-mode .ineligible-title {
    color: #b91c1c !important;
    text-shadow: none !important;
}

body.light-mode .ineligible-desc {
    color: #7f1d1d !important;
    font-weight: 600 !important;
    text-align: center !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
}

body.light-mode .slider {
    background-color: #cbd5e1 !important;
    border-color: #94a3b8 !important;
}

body.light-mode .slider:before {
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

body.light-mode input:checked+.slider {
    background-color: #10b981 !important;
    border-color: #059669 !important;
}

body.light-mode .dropzone {
    background: rgba(16, 185, 129, 0.04) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}

body.light-mode .dropzone:hover,
body.light-mode .dropzone.dragover {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: #059669 !important;
}


/* 6. Admin Panel və Universal Input Yüngülləşdirmələri */

body.light-mode .admin-sidebar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-right: 1px solid var(--glass-border) !important;
}

body.light-mode input[type="text"],
body.light-mode input[type="email"],
body.light-mode input[type="tel"],
body.light-mode input[type="url"],
body.light-mode input[type="password"],
body.light-mode input[type="datetime-local"],
body.light-mode input[type="number"],
body.light-mode select,
body.light-mode textarea,
body.light-mode .editor-box {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.2) !important;
}

body.light-mode select option {
    background: #ffffff !important;
    color: #0f172a !important;
}

body.light-mode th {
    background: #e2e8f0 !important;
    color: #334155 !important;
}

body.light-mode td {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
}

body.light-mode tr:hover td {
    background: rgba(16, 185, 129, 0.05) !important;
}

body.light-mode .wysiwyg-toolbar {
    background: #e2e8f0 !important;
}

body.light-mode .tool-btn {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.2) !important;
}

body.light-mode .nav-tab-btn:hover {
    background: rgba(15, 23, 42, 0.05) !important;
    color: #0f172a !important;
}


/* ============================================================================
   ÜMUMİ STİLLƏR
   ============================================================================ */

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

body {
    background-color: var(--bg-dark-cosmic);
    background-image: radial-gradient( circle at 15% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 40%), radial-gradient( circle at 85% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 40%), radial-gradient( circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}


/* Canvas Arxa Fon & Konfeti */

#spider-web-canvas,
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#confetti-canvas {
    z-index: 99999;
}


/* Ümumi Konteyner */

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}


/* Glassmorphism Panellər (Universal) */

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.22);
}


/* ============================================================================
   A. NAVBAR (ÜST NAVİQASİYA)
   ============================================================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(11, 15, 25, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-actions-group {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}


/* Rəsmi ADAU-IM Loqo Şəkli (Kənarlıqsız və Parlaqlıqsız — Təmiz Şəkil) */

.adau-logo-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.logo-link:hover .adau-logo-wrapper {
    transform: scale(1.06);
    box-shadow: none;
}

.adau-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--primary-emerald);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* Düymələr (Buttons) */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-emerald), #059669);
    color: #fff !important;
    box-shadow: 0 0 20px var(--primary-emerald-glow);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.7);
    background: linear-gradient(135deg, #34d399, var(--primary-emerald));
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.15);
    color: var(--secondary-neon-blue);
    border-color: rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
    background: var(--secondary-neon-blue);
    color: #fff !important;
    box-shadow: 0 0 25px var(--secondary-neon-glow);
    transform: translateY(-2px);
}


/* Rəsmi Instagram Düyməsi - SVG Logo & Premium Qradiyent */

.insta-btn {
    background: linear-gradient( 45deg, rgba(240, 148, 51, 0.15), rgba(230, 104, 60, 0.15), rgba(220, 39, 67, 0.15), rgba(204, 35, 102, 0.15), rgba(188, 24, 136, 0.15));
    color: #f472b6 !important;
    border: 1px solid rgba(244, 114, 182, 0.4);
}

.insta-btn:hover {
    background: linear-gradient( 45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 0 25px rgba(220, 39, 67, 0.6);
    transform: translateY(-2px);
}

.btn-admin {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-admin:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-emerald);
    color: var(--primary-emerald);
    box-shadow: 0 0 15px var(--primary-emerald-glow);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error-red);
    border-color: rgba(239, 68, 68, 0.3);
    padding: 8px 14px;
    font-size: 0.85rem;
}

.btn-danger:hover {
    background: var(--error-red);
    color: #fff !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}


/* ============================================================================
   B. HERO BANER & CANLI GERİ SAYIM TAYMERİ (COUNTDOWN)
   ============================================================================ */

.hero-section {
    padding: 40px 0 20px;
    text-align: center;
}

.hero-banner-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    margin-bottom: 30px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    width: 100%;
    min-height: 440px;
    background: linear-gradient( 180deg, rgba(11, 15, 25, 0.4) 0%, rgba(11, 15, 25, 0.92) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 85px;
    z-index: 2;
}


/* 🔥 Qəbul Açıqdır — YÜKSƏK KONTRAST VƏ TAM OXUNMA DETALI */

.badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(11, 15, 25, 0.92);
    border: 2px solid #10b981;
    color: #34d399;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
    animation: pulseGlow 2s infinite;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.7), inset 0 0 10px rgba(16, 185, 129, 0.3);
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.9);
    backdrop-filter: blur(10px);
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.7);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.95);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.7);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
    background: linear-gradient( 135deg, #ffffff 0%, #a7f3d0 35%, #38bdf8 70%, #ffffff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 980px;
    width: 100%;
    min-height: 125px;
    display: inline-block;
    text-align: center;
    animation: heroTitleFloat 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, gradientShift 6s ease infinite;
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7));
}

.typewriter-cursor {
    display: inline-block;
    color: #10b981 !important;
    -webkit-text-fill-color: #10b981 !important;
    font-weight: 900;
    animation: blinkCursor 0.8s infinite;
    margin-left: 4px;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.9);
}

@keyframes blinkCursor {
    0%,
    49% {
        opacity: 1;
        transform: scaleY(1);
    }
    50%,
    100% {
        opacity: 0;
        transform: scaleY(0.8);
    }
}

@keyframes heroTitleFloat {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #f1f5f9;
    max-width: 820px;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.7;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.95);
    animation: heroSubtitleFade 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
    transform: translateY(25px);
}

@keyframes heroSubtitleFade {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Canlı Geri Sayım Taymeri — TƏLƏB EDİLƏN KLAS ADLARI */

.countdown-card {
    max-width: 780px;
    margin: -60px auto 40px;
    padding: 30px;
    position: relative;
    z-index: 20;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.2);
}

.countdown-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.time-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 10px;
    text-align: center;
    transition: transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.time-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient( 90deg, var(--primary-emerald), var(--secondary-neon-blue));
}

.time-box:hover {
    transform: translateY(-4px);
    border-color: var(--primary-emerald);
}

.time-box .num {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.time-box .label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-emerald);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ============================================================================
   C. RƏSMİ ELAN VƏ STATİSTİKA KARTI (CMS DƏSTƏKLİ)
   ============================================================================ */

.announcement-section {
    margin-bottom: 50px;
}

.announcement-card {
    padding: 36px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 36px;
    align-items: center;
}

.announcement-text h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.announcement-content {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    white-space: pre-line;
}

.announcement-content p {
    margin-bottom: 14px;
}


/* ============================================================================
   RƏSMİ ELAN MƏTNLƏRİNİN NİZAMLANMASI
   ============================================================================ */

.announcement-content,
.announcement-content p {
    text-align: left;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: var(--primary-emerald);
    transform: translateX(6px);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-emerald);
    text-shadow: 0 0 10px var(--primary-emerald-glow);
}

.stat-label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    text-align: right;
}


/* ============================================================================
   D. MÜRACİƏT FORMU (4 ƏSAS MƏRHƏLƏ)
   ============================================================================ */

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-step-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-emerald);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 0 15px var(--primary-emerald-glow);
}

.form-card {
    padding: 36px;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.required-star {
    color: var(--error-red);
    margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="datetime-local"],
input[type="number"],
select,
textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    background: rgba(30, 41, 59, 0.9);
}

input:disabled,
input[readonly] {
    background: rgba(15, 23, 42, 0.4);
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.05);
}

select option {
    background: var(--bg-surface-dark);
    color: var(--text-main);
}


/* Show / Hide Password Button Wrapper */

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 48px;
}

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

.toggle-pass-btn:hover {
    color: var(--primary-emerald);
}


/* Checkbox və Switch */

.checkbox-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    cursor: pointer;
    margin-top: 6px;
    width: auto !important;
}

input[type="checkbox"],
input[type="radio"],
.checkbox-wrapper input[type="checkbox"],
.radio-card input[type="radio"],
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    accent-color: var(--primary-emerald);
    cursor: pointer;
    margin: 0 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.checkbox-label {
    font-size: 0.92rem;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
    margin: 0 !important;
    text-align: left !important;
    flex: 1;
}


/* Müsabiqənin Məcburi Qaydası Xəbərdarlıq Qutusu (Zorunlu Yarışma Kuralı) */

.req-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-left: 5px solid #f59e0b;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 22px;
    color: #fef3c7;
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
}

.req-alert-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.req-alert-box strong {
    color: #fbbf24;
    font-weight: 800;
}


/* ADAU Uyğunluğu Radio Kartları (Şaquli) — BOŞLUQ PROBLEMİNİN HƏLLİ */

.radio-cards-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
    width: 100%;
}

.radio-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start !important;
    gap: 16px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.radio-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.25);
}

.radio-card.active {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--primary-emerald);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.radio-card input[type="radio"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    accent-color: var(--primary-emerald);
    cursor: pointer;
    margin: 0 !important;
    flex-shrink: 0;
}

.radio-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1;
}

.radio-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    text-align: left !important;
    display: block;
}

.radio-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: left !important;
    display: block;
    margin-top: 2px;
}


/* KRİTİK MƏNTİQ: Müraciət İmkansızdır Kartı — TƏLƏB EDİLƏN KLAS ADI */

.ineligible-blocker {
    display: none;
    /* JS ilə açılacaq */
    background: linear-gradient(135deg, rgba(40, 15, 25, 0.96) 0%, rgba(20, 10, 20, 0.96) 100%);
    border: 2px solid #ef4444;
    border-radius: 24px;
    padding: 36px 28px;
    margin: 20px auto 40px;
    max-width: 800px;
    text-align: center !important;
    animation: shakeAlert 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(239, 68, 68, 0.35);
    backdrop-filter: blur(20px);
}

@keyframes shakeAlert {
    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }
    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.ineligible-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #f87171;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center !important;
    gap: 12px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px rgba(248, 113, 113, 0.5);
}

.ineligible-desc {
    font-size: 1.1rem !important;
    color: #fecaca !important;
    max-width: 700px;
    margin: 0 auto 28px !important;
    line-height: 1.7 !important;
    text-align: center !important;
    font-weight: 500;
    word-spacing: normal !important;
    letter-spacing: normal !important;
}


/* req-alert-box — TƏLƏB EDİLƏN KLAS ADI */

.req-alert-box {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid var(--warning-gold);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fde68a;
    font-size: 0.92rem;
}

.req-alert-icon {
    font-size: 24px;
    color: var(--warning-gold);
}


/* Komanda Toggle və Üzvlər — TƏLƏB EDİLƏN KLAS ADLARI */

.team-toggle-wrapper {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
}

.switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: 0.3s;
    border-radius: 34px;
    border: 1px solid var(--glass-border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-emerald);
    box-shadow: 0 0 15px var(--primary-emerald-glow);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.team-members-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.team-member-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    animation: fadeInCard 0.3s ease-out;
}

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

.member-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.member-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-emerald);
}


/* Kateqoriya Grid */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.cat-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cat-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.cat-btn.active {
    background: linear-gradient( 135deg, rgba(59, 130, 246, 0.25), rgba(16, 185, 129, 0.25));
    border-color: var(--secondary-neon-blue);
    color: #fff !important;
    box-shadow: 0 0 20px var(--secondary-neon-glow);
}

.cat-icon {
    font-size: 1.5rem;
}

#custom-category-box {
    display: none;
    margin-top: 14px;
}


/* Simvol Sayacı */

.char-counter {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 6px;
}

.char-counter.limit-near {
    color: var(--warning-gold);
}

.char-counter.limit-reached {
    color: var(--error-red);
    font-weight: 700;
}


/* Drag & Drop Dropzone */

.dropzone {
    border: 2px dashed rgba(16, 185, 129, 0.4);
    border-radius: 16px;
    padding: 36px 20px;
    text-align: center;
    background: rgba(16, 185, 129, 0.03);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropzone:hover,
.dropzone.dragover {
    border-color: var(--primary-emerald);
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.15);
}

.dropzone-icon {
    font-size: 40px;
    color: var(--primary-emerald);
    margin-bottom: 12px;
}

.dropzone-text {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.dropzone-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* Göndər Düyməsi Zonası */

.submit-zone {
    text-align: center;
    margin-top: 30px;
    padding: 10px 0;
}

.btn-submit {
    position: relative;
    padding: 20px 40px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 50px;
    width: 100%;
    max-width: 650px;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #ffffff !important;
    border: 2px solid rgba(52, 211, 153, 0.6);
    box-shadow: 0 10px 35px rgba(16, 185, 129, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    animation: submitPulse 3s infinite;
}

.btn-submit::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient( 60deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%);
    transform: rotate(30deg) translateX(-100%);
    transition: none;
    animation: shimmerSweep 4s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shimmerSweep {
    0% {
        transform: rotate(30deg) translateX(-100%);
    }
    20% {
        transform: rotate(30deg) translateX(100%);
    }
    100% {
        transform: rotate(30deg) translateX(100%);
    }
}

@keyframes submitPulse {
    0% {
        box-shadow: 0 10px 35px rgba(16, 185, 129, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 15px 50px rgba(16, 185, 129, 0.85), 0 0 30px rgba(59, 130, 246, 0.5), inset 0 2px 8px rgba(255, 255, 255, 0.6);
    }
    100% {
        box-shadow: 0 10px 35px rgba(16, 185, 129, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.4);
    }
}

.btn-submit:hover {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.03);
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    border-color: #ffffff;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.95), 0 0 35px rgba(59, 130, 246, 0.6);
}

.btn-submit:active {
    animation-play-state: paused;
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.7);
}


/* Separate File and Link buttons in Admin Table & Modal */

.file-link-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-file-dl {
    background: linear-gradient( 135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.12) 100%);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.55);
    padding: 11px 20px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.btn-file-dl:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    border-color: #a7f3d0;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6), 0 0 15px rgba(52, 211, 153, 0.4);
}

.btn-link-dl {
    background: linear-gradient( 135deg, rgba(59, 130, 246, 0.22) 0%, rgba(37, 99, 235, 0.12) 100%);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.55);
    padding: 11px 20px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.btn-link-dl:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    border-color: #93c5fd;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6), 0 0 15px rgba(96, 165, 250, 0.4);
}


/* Cədvəl xanası daxilində (table td) sənəd/link düymələri yığcam olsun */

td .btn-file-dl,
td .btn-link-dl {
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}


/* ============================================================================
   E. MODALLAR (UĞUR MODALI VƏ ƏTRAFLI BAXIM MODALI)
   ============================================================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.3s ease;
}

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

.glass-modal,
.modal-card {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 24px;
    padding: 40px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.2);
    animation: scaleUpModal 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

body.light-mode .glass-modal,
body.light-mode .modal-card {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--primary-emerald);
    color: #0f172a;
}

.glass-modal.wide-modal {
    max-width: 950px;
}

@keyframes scaleUpModal {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--error-red);
    color: #fff;
    border-color: var(--error-red);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid var(--primary-emerald);
    color: var(--primary-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px var(--primary-emerald-glow);
    animation: pulseSuccess 2s infinite;
}

@keyframes pulseSuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 45px rgba(16, 185, 129, 0.6);
    }
    100% {
        transform: scale(1);
    }
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

.reg-id-badge {
    display: block;
    text-align: center;
    background: linear-gradient( 135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid var(--primary-emerald);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

body.light-mode .modal-details-grid {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.detail-val {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}


/* ============================================================================
   F. ADMİN PANEL LAYOUT VƏ STİLLƏR
   ============================================================================ */

.admin-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: rgba(11, 15, 25, 0.95);
    border-right: 1px solid var(--glass-border);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 24px;
}

.admin-badge-info {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-emerald);
    box-shadow: 0 0 10px var(--primary-emerald);
    animation: pulseGlow 1.5s infinite;
}


/* Dark / Light Mode Toggle Switch Button in Sidebar */

.theme-toggle-btn {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-emerald);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}

.nav-tab-btn {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.nav-tab-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
}

.nav-tab-btn.active {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), transparent);
    border-left: 4px solid var(--primary-emerald);
    color: var(--primary-emerald);
    font-weight: 700;
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-main {
    padding: 32px;
    overflow-x: hidden;
}


/* Yuxarı Statistika Kartları (4 Rəngli) */

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card-top {
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 18px;
}

.stat-card-top.emerald {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.05);
}

.stat-card-top.blue {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.05);
}

.stat-card-top.purple {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.05);
}

.stat-card-top.gold {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.05);
}

.stat-top-info h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.stat-top-info .num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-main);
}

.stat-top-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.emerald .stat-top-icon {
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary-emerald);
}

.blue .stat-top-icon {
    background: rgba(59, 130, 246, 0.2);
    color: var(--secondary-neon-blue);
}

.purple .stat-top-icon {
    background: rgba(139, 92, 246, 0.2);
    color: var(--purple-accent);
}

.gold .stat-top-icon {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-gold);
}


/* Axtarış və Filtr Paneli */

.filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.search-input-wrapper input {
    padding-left: 44px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.filter-selects {
    display: flex;
    gap: 12px;
}


/* Şüşə Cədvəl (Glass Table) */

.table-container {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.5);
    box-shadow: var(--glass-shadow);
}

body.light-mode .table-container {
    background: #ffffff;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    background: rgba(30, 41, 59, 0.9);
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--glass-border);
    white-space: nowrap;
}

td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
    color: var(--text-main);
    vertical-align: middle;
}

table td:first-child,
table th:first-child,
table td:nth-child(2),
table th:nth-child(2) {
    white-space: nowrap !important;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap !important;
    letter-spacing: 0.4px;
    line-height: 1.25;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-emerald);
    border: 1px solid var(--primary-emerald);
}

.badge-purple {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-accent);
    border: 1px solid var(--purple-accent);
}

.badge-blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--secondary-neon-blue);
    border: 1px solid var(--secondary-neon-blue);
}

.badge-gray {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}


/* WYSIWYG Redaktor (Toolbar) */

.wysiwyg-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--glass-border);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    flex-wrap: wrap;
}

.tool-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.tool-btn:hover {
    background: var(--primary-emerald);
    color: #fff !important;
    border-color: var(--primary-emerald);
}

.editor-box {
    min-height: 200px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 0 0 12px 12px;
    color: var(--text-main);
    outline: none;
    line-height: 1.6;
}

.editor-box:focus {
    border-color: var(--primary-emerald);
    background: rgba(30, 41, 59, 0.9);
}


/* Auth Modalı (Giriş / Qeydiyyat) */

.auth-container {
    max-width: 440px;
    margin: 80px auto;
    padding: 40px;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 24px;
}

.auth-tab-btn {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.auth-tab-btn.active {
    color: var(--primary-emerald);
    border-bottom-color: var(--primary-emerald);
}


/* Toast Bildirişi */

#toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
    padding: 16px 24px;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}


/* ============================================================================
   G. RESPONSİVE DİZAYN (DESKTOP, TABLET, MOBİL)
   ============================================================================ */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .announcement-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 12px 0;
    }
    .nav-content {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 14px !important;
    }
    .logo-link {
        justify-content: center !important;
    }
    .nav-actions-group {
        justify-content: center !important;
        width: 100% !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }
    .admin-layout {
        grid-template-columns: 1fr !important;
    }
    .admin-sidebar {
        position: relative !important;
        height: auto !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 20px !important;
        border-right: none !important;
        border-bottom: 1px solid var(--glass-border) !important;
    }
    .admin-sidebar>div {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .sidebar-header {
        border-bottom: 1px solid var(--glass-border) !important;
        padding-bottom: 16px !important;
        margin-bottom: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    .admin-badge-info,
    .theme-toggle-btn {
        margin-bottom: 0 !important;
    }
    .sidebar-menu {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        gap: 10px !important;
    }
    .nav-tab-btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .sidebar-footer {
        border-top: 1px solid var(--glass-border) !important;
        padding-top: 16px !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .timer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .hero-banner-card {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .sidebar-menu {
        grid-template-columns: 1fr !important;
    }
    .time-box .num {
        font-size: 2rem;
    }
    .form-card {
        padding: 24px 16px;
    }
    .admin-main {
        padding: 20px 14px;
    }
    .hero-overlay {
        padding: 40px 16px 75px !important;
    }
    .countdown-card {
        margin: -40px auto 30px !important;
        padding: 22px 16px !important;
    }
    .modal-details-grid {
        grid-template-columns: 1fr;
    }
    .filter-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .filter-selects {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .filter-selects select,
    .search-input-wrapper input {
        width: 100% !important;
    }
    .table-container {
        border-radius: 14px;
        margin-bottom: 20px;
    }
    th,
    td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    .wysiwyg-toolbar {
        padding: 10px;
        gap: 6px;
        justify-content: flex-start;
    }
    .tool-btn {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    .timer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    .hero-subtitle {
        font-size: 1.05rem !important;
    }
    .hero-overlay {
        padding: 30px 14px 65px !important;
    }
    .countdown-card {
        margin: -35px auto 25px !important;
        padding: 18px 12px !important;
    }
    .logo-subtext {
        font-size: 0.65rem !important;
    }
    .nav-actions-group {
        gap: 8px !important;
    }
    .lang-current {
        padding: 6px 10px !important;
        font-size: 0.82rem !important;
    }
    .nav-theme-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }
    .insta-btn {
        padding: 7px 12px !important;
        font-size: 0.8rem !important;
    }
    .admin-main {
        padding: 16px 10px;
    }
    .stat-card-top {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .stat-top-info .num {
        font-size: 1.8rem;
    }
    .stat-top-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
        align-self: flex-end;
        margin-top: -30px;
    }
    .wysiwyg-toolbar {
        padding: 8px;
        gap: 5px;
    }
    .tool-btn {
        padding: 4px 7px;
        font-size: 0.75rem;
    }
}


/* ============================================================================
   H. MULTI-LANGUAGE DROPDOWN & NAV THEME TOGGLE STYLES
   ============================================================================ */

.lang-dropdown-container {
    position: relative;
    display: inline-block;
    user-select: none;
}

.lang-current {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 8px 14px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-emerald);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 14px;
    padding: 8px;
    min-width: 150px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.15);
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 100000;
    backdrop-filter: blur(16px);
    animation: fadeInLang 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.light-mode .lang-dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--primary-emerald);
}

.lang-dropdown-menu.show {
    display: flex;
}

@keyframes fadeInLang {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lang-opt {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.lang-opt:hover {
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary-emerald);
    transform: translateX(3px);
}

.nav-theme-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.nav-theme-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--primary-emerald);
    transform: rotate(20deg) scale(1.1);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}


/* ============================================================================
   I. ANIMATED SUBMISSION SUCCESS ALERT BOX ("Müraciət göndərildi...")
   ============================================================================ */

.submission-alert-box {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-150px);
    background: linear-gradient( 135deg, rgba(15, 23, 42, 0.96) 0%, rgba(6, 78, 59, 0.96) 100%);
    border: 2px solid var(--primary-emerald);
    border-radius: 20px;
    padding: 20px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.5);
    z-index: 200000;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 600px;
    width: 92%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(20px);
}

body.light-mode .submission-alert-box {
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.98) 0%, rgba(209, 250, 229, 0.98) 100%);
    color: #0f172a;
}

.submission-alert-box.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
    animation: alertBounceGlow 3s infinite alternate;
}

@keyframes alertBounceGlow {
    0% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.5);
    }
    100% {
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 60px rgba(16, 185, 129, 0.9), 0 0 30px rgba(59, 130, 246, 0.5);
    }
}

.alert-icon-ring {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid var(--primary-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    animation: spinSparkle 4s infinite linear;
}

@keyframes spinSparkle {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.alert-text-content {
    flex-grow: 1;
}

.alert-text-content h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-emerald);
    margin: 0 0 4px 0;
}

.alert-text-content p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.alert-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.alert-close-btn:hover {
    color: var(--error-red);
    transform: scale(1.2);
}


/* ============================================================================
   J. ADAU-IM ÖZƏL 5 SANİYƏLİK SÜPER YÜKLƏNMƏ (CYBER PORTAL LOADING) & UĞUR BİLDİRİŞİ
   ============================================================================ */

.adau-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.adau-loading-overlay.active {
    display: flex;
    opacity: 1;
}

.adau-loading-overlay.fade-out {
    opacity: 0;
    transform: scale(1.05);
}

.loading-portal-card {
    width: 420px;
    max-width: 90vw;
    padding: 40px 24px;
    border-radius: 28px;
    text-align: center;
    background: rgba(16, 24, 39, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.2), inset 0 0 25px rgba(56, 189, 248, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Kiber Portal Halqaları (3 Qatlı Fırlanan Halqa) */

.cyber-rings-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-outer {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 3px dashed var(--primary-emerald);
    border-top-color: #f59e0b;
    border-bottom-color: #38bdf8;
    animation: spinRight 3s linear infinite;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
}

.ring-middle {
    position: absolute;
    width: 136px;
    height: 136px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-left: 2px solid #38bdf8;
    border-right: 2px solid #a855f7;
    animation: spinLeft 2s linear infinite;
}

.ring-inner {
    position: absolute;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    border: 2px dotted #f59e0b;
    animation: spinRight 1.5s linear infinite;
}

.ring-logo {
    position: relative;
    z-index: 10;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.8), 0 0 15px rgba(245, 158, 11, 0.6);
    animation: pulseLogoRing 1.5s ease-in-out infinite alternate;
}

.ring-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

@keyframes pulseLogoRing {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 0 45px rgba(56, 189, 248, 0.9), 0 0 25px rgba(245, 158, 11, 0.8);
    }
}

.loading-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 12px;
    background: linear-gradient( 135deg, #ffffff 0%, #a7f3d0 40%, #38bdf8 80%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.loading-subtitle {
    font-size: 0.92rem;
    color: #e2e8f0;
    min-height: 44px;
    line-height: 1.4;
    margin-bottom: 24px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.loading-progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 16px;
}

.loading-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 20px;
    background: linear-gradient(90deg, #10b981, #38bdf8, #f59e0b, #a855f7);
    background-size: 300% 100%;
    animation: barFillAnim linear forwards, gradientShift 2s linear infinite;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
}

@keyframes barFillAnim {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.loading-timer-badge {
    font-family: var(--font-mono, monospace);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-emerald);
    background: rgba(16, 185, 129, 0.12);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    letter-spacing: 1px;
}


/* Təkmilləşdirilmiş Uğur Bildirişi (Success Pulse Alert Ring) */

.success-pulse-ring {
    background: radial-gradient( circle, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0.1) 70%);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.8), 0 0 45px rgba(56, 189, 248, 0.5);
    animation: successTrophyPulse 1.2s infinite alternate !important;
}

@keyframes successTrophyPulse {
    0% {
        transform: scale(0.95) rotate(-5deg);
    }
    100% {
        transform: scale(1.1) rotate(5deg);
    }
}


/* Dil Seçimində Bayraq İkonları (Flag CDN Images) */

.flag-icon-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}