/* ============================================
   JobStudy — Premium Design System
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Font Faces ---------- */
@font-face {
    font-family: 'KOKILA';
    src: url('https://appxcontent.kaxa.in/fonts/kokila.ttf') format('truetype');
    font-display: swap;
    size-adjust: 140%;
    /* Scale up Hindi font to match English */
    unicode-range: U+0900-097F;
}

@font-face {
    font-family: 'Mangal';
    src: url('https://static-appxdb-v2.akamai.net.in/fonts/MANGAL.ttf') format('truetype');
    font-display: swap;
    size-adjust: 130%;
    /* Scale up Hindi font to match English */
    unicode-range: U+0900-097F;
}

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary palette */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.35);

    /* Accent */
    --secondary: #06b6d4;
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.25);

    /* Semantic */
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --danger-light: rgba(239, 68, 68, 0.12);

    /* Neutrals */
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;

    /* Surfaces */
    --card-bg: #ffffff;
    --card-border: rgba(226, 232, 240, 0.8);
    --body-bg: #f0f4f8;
    --body-bg-pattern: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);

    /* Header */
    --header-bg: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #7c3aed 100%);
    --header-height: 70px;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px var(--primary-glow);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 150ms var(--ease-out);
    --transition: 250ms var(--ease-out);
    --transition-slow: 400ms var(--ease-out);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;

    /* Footer */
    --footer-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
    --body-bg: #0b0f19;
    --body-bg-pattern: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    --card-bg: #1a1f2e;
    --card-border: rgba(51, 65, 85, 0.6);
    --dark: #f1f5f9;
    --dark-soft: #e2e8f0;
    --gray-100: #1e293b;
    --gray-200: #293548;
    --gray-300: #334155;
    --gray-400: #64748b;
    --gray-500: #94a3b8;
    --gray-50: #141926;
    --glass-bg: rgba(26, 31, 46, 0.8);
    --glass-border: rgba(51, 65, 85, 0.4);
    --header-bg: linear-gradient(135deg, #312e81 0%, #1e1b4b 50%, #4c1d95 100%);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    --footer-bg: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

[data-theme="dark"] .modal-content {
    background: var(--card-bg);
    color: var(--dark);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'KOKILA', 'Mangal', 'Nirmala UI', 'Segoe UI', system-ui, sans-serif;
    background-color: var(--body-bg);
    background-image: var(--body-bg-pattern);
    color: var(--dark);
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* ---------- Utility ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.d-none {
    display: none !important;
}

.d-lg-none {
    display: none;
}

.w-100 {
    width: 100%;
}

.text-center {
    text-align: center;
}

.py-4 {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
}

.py-5 {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
}

.mt-4 {
    margin-top: var(--space-8);
}

.mt-5 {
    margin-top: var(--space-10);
}

.mb-3 {
    margin-bottom: var(--space-4);
}

.mb-4 {
    margin-bottom: var(--space-8);
}

.mx-2 {
    margin-left: var(--space-2);
    margin-right: var(--space-2);
}

.text-muted {
    color: var(--gray-500) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.fs-5 {
    font-size: 1.15rem;
}

/* ============================================
   HEADER
   ============================================ */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--header-bg);
    color: white;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-6);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    transition: transform var(--transition);
}

.logo-area:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.logo-area:hover .logo-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(-5deg);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: white;
    letter-spacing: -0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Timer */
.timer-display {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

.timer-display.warning {
    background: rgba(239, 68, 68, 0.85);
    border-color: rgba(239, 68, 68, 0.5);
    animation: timer-pulse 1s infinite;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

@keyframes timer-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.03);
    }
}

/* Theme toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.1rem;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: rotate(15deg);
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.app-main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: var(--header-bg);
    padding: 70px var(--space-6) 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: hero-drift 20s linear infinite;
    pointer-events: none;
}

@keyframes hero-drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--body-bg), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-5);
    animation: fade-in-up 0.6s var(--ease-out) both;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: var(--space-4);
    color: white;
    letter-spacing: -1px;
    line-height: 1.15;
    animation: fade-in-up 0.6s var(--ease-out) 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    opacity: 0.9;
    max-width: 550px;
    margin: 0 auto var(--space-8);
    line-height: 1.7;
    animation: fade-in-up 0.6s var(--ease-out) 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    animation: fade-in-up 0.6s var(--ease-out) 0.3s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
}

.hero-stat-label {
    font-size: 0.8rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-header h1,
.section-header h2,
.section-header h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.header-line {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: var(--space-3) auto 0;
    border-radius: var(--radius-full);
}

/* ============================================
   CATEGORY GRID (HOME)
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
    padding: 0;
}

.category-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--primary-light);
    border-color: transparent;
}

.category-card:hover::before {
    opacity: 1;
}

.cat-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto var(--space-5);
    transition: all var(--transition);
}

.category-card:hover .cat-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 20px var(--primary-glow);
}

/* List View Modifier for Test Series */
.category-grid.list-view {
    display: flex;
    flex-direction: column;
}

.category-grid.list-view .category-card {
    display: flex;
    align-items: center;
    text-align: left;
    padding: var(--space-4) var(--space-6);
    flex-direction: row;
}

.category-grid.list-view .category-card .cat-icon {
    margin: 0;
    margin-right: var(--space-5);
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.category-grid.list-view .category-card .cat-title {
    margin: 0;
    margin-bottom: 0px;
    font-size: 1.1rem;
    flex-grow: 1;
}

.category-grid.list-view .category-card .cat-count {
    margin-left: auto;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.cat-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--dark);
}

.cat-count {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Card entrance animation */
.category-card {
    animation: card-enter 0.5s var(--ease-out) both;
}

.category-card:nth-child(1) {
    animation-delay: 0.05s;
}

.category-card:nth-child(2) {
    animation-delay: 0.1s;
}

.category-card:nth-child(3) {
    animation-delay: 0.15s;
}

.category-card:nth-child(4) {
    animation-delay: 0.2s;
}

.category-card:nth-child(5) {
    animation-delay: 0.25s;
}

.category-card:nth-child(6) {
    animation-delay: 0.3s;
}

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   SERIES LIST HEADER
   ============================================ */
.category-header {
    text-align: center;
    margin-bottom: var(--space-8);
    background: var(--card-bg);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--card-border);
    animation: fade-in-up 0.5s var(--ease-out) both;
}

.category-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-2);
}

.category-meta {
    color: var(--gray-500);
    font-size: 1.1rem;
    font-weight: 500;
}

.category-meta span {
    color: var(--primary);
    font-weight: 700;
}

.category-description {
    max-width: 600px;
    margin: var(--space-3) auto 0;
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
    text-align-last: center;
}

/* ============================================
   TEST LIST VIEW
   ============================================ */
.btn-back {
    background: transparent;
    border: none;
    color: var(--gray-500);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-back:hover {
    color: var(--primary);
    transform: translateX(-3px);
}

.category-header {
    background: var(--card-bg);
    padding: var(--space-6) var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.category-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 200px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.03));
    pointer-events: none;
}

.category-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.category-meta {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: var(--space-1);
}

/* ============================================
   SEARCH TOOLBAR (search + view toggle)
   ============================================ */
.search-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.search-toolbar .search-box {
    flex: 1;
    min-width: 0;
    /* Prevents flex item from overflowing */
}

.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.95rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--card-border);
    background: var(--card-bg);
    color: var(--dark);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    box-sizing: border-box;
    /* Ensures padding doesn't affect width */
}

.search-input::placeholder {
    color: var(--gray-400);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

/* Make sure the view toggle button doesn't shrink */
.view-toggle-single {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    border: 1px solid var(--card-border);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition);
}

.view-toggle-single:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: rotate(15deg);
}

.view-toggle-single i {
    transition: transform 0.3s ease;
}

.view-toggle-single:hover i {
    transform: scale(1.1);
}

[data-theme="dark"] .view-toggle-single {
    background: var(--gray-200);
    color: var(--gray-400);
}

[data-theme="dark"] .view-toggle-single:hover {
    background: var(--primary);
    color: white;
}

/* Responsive fix for mobile */
@media (max-width: 576px) {
    .search-toolbar {
        gap: 8px;
    }

    .search-input {
        padding: 12px 12px 12px 40px;
        font-size: 0.9rem;
    }

    .search-icon {
        left: 14px;
        font-size: 0.9rem;
    }

    .view-toggle-single {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* Test list */
.test-list-container {
    display: grid;
    gap: var(--space-4);
}

.test-item-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--card-border);
    transition: all var(--transition);
}

.test-item-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.test-info h4 {
    margin: 0 0 var(--space-2);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
}

.test-meta-info {
    display: flex;
    gap: var(--space-4);
    color: var(--gray-500);
    font-size: 0.85rem;
}

.btn-start {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-start::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-start:hover::after {
    transform: translateX(100%);
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-start:active {
    transform: translateY(0) scale(0.98);
}

/* ============================================
   LOADER
   ============================================ */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: var(--space-5);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   TEST INTERFACE
   ============================================ */
.test-main-content {
    margin-top: var(--header-height);
    padding: 16px;
    padding-bottom: 100px;
    min-height: calc(100vh - var(--header-height));
}

.question-counter {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 500;
}

.marks-badge {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.mark-pos {
    color: var(--success);
    background: rgba(16, 185, 129, 0.12);
    padding: 3px 10px;
    border-radius: 6px;
}

.mark-neg {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.12);
    padding: 3px 10px;
    border-radius: 6px;
}

.question-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border: none;
}

.question-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--dark);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.question-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 8px 0;
    border-radius: 8px;
}

/* Options - Radio style */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-item {
    position: relative;
}

.option-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-label {
    display: block;
    padding: 14px 16px 14px 52px;
    background: var(--card-bg);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
}

.option-label img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 4px 0;
    border-radius: 6px;
}

.option-number {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--dark);
    transition: all 0.25s ease;
}

.option-label:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.option-input:checked+.option-label {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.04);
    box-shadow: 0 0 0 1px var(--primary);
}

.option-input:checked+.option-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
}

.option-input:checked+.option-label .option-number {
    background: var(--primary);
    color: white;
}

/* Feedback icons in review mode */
.feedback-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
}

.correct-icon {
    background: var(--success);
}

.incorrect-icon {
    background: var(--danger);
}

/* Review mode styles */
.review-mode .option-label.correct-answer {
    border-color: var(--success) !important;
    background: rgba(16, 185, 129, 0.06) !important;
    box-shadow: 0 0 0 1px var(--success) !important;
}

.review-mode .option-label.correct-answer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--success) !important;
}

.review-mode .option-label.correct-answer .option-number {
    background: var(--success) !important;
    color: white !important;
}

.review-mode .option-input:checked+.option-label.incorrect {
    border-color: var(--danger) !important;
    background: rgba(239, 68, 68, 0.06) !important;
    box-shadow: 0 0 0 1px var(--danger) !important;
}

.review-mode .option-input:checked+.option-label.incorrect::before {
    background: var(--danger) !important;
}

.review-mode .option-input:checked+.option-label.incorrect .option-number {
    background: var(--danger) !important;
    color: white !important;
}

.review-mode .option-label {
    cursor: default;
    pointer-events: none;
}

/* Solution container */
.solution-container {
    margin-top: 20px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.solution-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.95rem;
}

.solution-text-content {
    color: var(--dark);
    line-height: 1.7;
    font-size: 0.95rem;
}

.solution-result {
    padding: 6px 0;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.solution-correct {
    color: var(--success);
}

.solution-incorrect {
    color: var(--danger);
}

.solution-skipped {
    color: var(--gray-500);
}

.correct-answer-indicator {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--card-bg);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    z-index: 800;
}

.nav-btn {
    height: 48px;
    border-radius: 12px;
    border: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    transition: all 0.25s ease;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.nav-btn-primary {
    background: var(--primary);
    color: white;
}

.nav-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.nav-btn-outline:hover {
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

.nav-btn-warning {
    background: #f39c12;
    color: white;
}

.nav-btn-warning:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.nav-btn-submit {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}

.nav-btn-submit:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
}

/* ============================================
   SINGLE VIEW TOGGLE BUTTON
   ============================================ */
.view-toggle-single {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    border: 1px solid var(--card-border);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition);
}

.view-toggle-single:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: rotate(15deg);
}

.view-toggle-single i {
    transition: transform 0.3s ease;
}

.view-toggle-single:hover i {
    transform: scale(1.1);
}

[data-theme="dark"] .view-toggle-single {
    background: var(--gray-200);
    color: var(--gray-400);
}

[data-theme="dark"] .view-toggle-single:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   QUESTIONS NAVIGATION MODAL
   ============================================ */
.questions-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 16px;
}

.questions-modal.show {
    opacity: 1;
    pointer-events: all;
}

.questions-modal-card {
    background: var(--card-bg);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.questions-modal.show .questions-modal-card {
    transform: translateY(0);
}

.questions-modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.questions-modal-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.qm-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.questions-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.qm-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.qm-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qm-dot {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}

.qm-answered {
    background: var(--primary);
}

.qm-not-answered {
    background: var(--danger);
}

.qm-marked {
    background: #f39c12;
}

.qm-not-visited {
    background: var(--gray-200);
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 10px;
}

.q-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1.5px solid var(--gray-200);
    background: var(--card-bg);
    color: var(--dark);
    transition: all 0.2s ease;
    position: relative;
}

.q-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.q-btn.answered {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.q-btn.not-answered {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

.q-btn.current {
    border: 2.5px solid var(--accent) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.q-btn.correct {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.q-btn.incorrect {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

.q-btn.marked {
    position: relative;
    overflow: hidden;
}

.q-btn.marked::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 14px 14px 0;
    border-color: transparent #f39c12 transparent transparent;
}

.questions-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: center;
}

.questions-modal-footer .nav-btn {
    width: 100%;
    max-width: 300px;
}

/* ============================================
   SUBMIT CONFIRMATION MODAL
   ============================================ */
.submit-confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.submit-confirm-modal.show {
    opacity: 1;
    pointer-events: all;
}

.submit-confirm-card {
    background: var(--card-bg);
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    padding: 24px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.submit-confirm-modal.show .submit-confirm-card {
    transform: translateY(0);
}

.submit-confirm-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.submit-confirm-card p {
    color: var(--gray-500);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.submit-confirm-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.scm-btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.95rem;
}

.scm-cancel {
    background: var(--gray-100);
    color: var(--dark);
}

.scm-cancel:hover {
    background: var(--gray-200);
}

.scm-confirm {
    background: var(--primary);
    color: white;
}

.scm-confirm:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.scm-danger {
    background: var(--danger) !important;
    color: white !important;
}

.scm-danger:hover {
    background: #dc2626 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* ============================================
   RESULTS MODAL
   ============================================ */
.results-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 16px;
}

.results-modal.show {
    opacity: 1;
    pointer-events: all;
}

.results-modal-card {
    background: var(--card-bg);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.results-modal.show .results-modal-card {
    transform: translateY(0);
}

.results-modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 24px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.results-modal-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
}

.results-modal-header p {
    margin: 6px 0 0;
    opacity: 0.9;
    font-size: 1rem;
}

.results-modal-body {
    padding: 20px;
}

.main-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.main-stat-card {
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    background: var(--card-bg);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.main-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.main-stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}

.main-stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.score-ring {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    position: relative;
}

.score-ring svg {
    width: 100%;
    height: 100%;
}

.score-ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-percent {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.score-ring-label {
    font-size: 0.65rem;
    color: var(--gray-500);
    margin-top: 2px;
}

.secondary-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.sec-stat {
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-sm);
}

.sec-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.sec-stat-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.detailed-results h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.detail-card {
    padding: 12px;
    border-radius: 10px;
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.results-modal-footer {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--gray-200);
    gap: 12px;
}

.results-modal-footer .nav-btn {
    flex: 1;
}

/* ============================================
   MODALS (Bootstrap overrides)
   ============================================ */
.modal-content {
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--card-border);
    padding: var(--space-5) var(--space-6);
}

.modal-body {
    padding: var(--space-6);
}

.modal-footer {
    border-top: 1px solid var(--card-border);
    padding: var(--space-4) var(--space-6);
}

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.btn-light {
    background: var(--gray-100);
    color: var(--gray-500);
    border: 1px solid var(--card-border);
    padding: 10px 24px;
    border-radius: var(--radius-md);
}

.btn-light:hover {
    background: var(--gray-200);
}

/* ============================================
   COMMUNITY BANNERS (Telegram & WhatsApp)
   ============================================ */
.community-banners {
    margin-top: 32px;
    padding: 0 var(--space-4);
    display: flex;
    justify-content: center;
}

.community-banners-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Base (mobile-first) */
.social-banner {
    flex: 1;
    min-width: 260px;
    max-width: 520px;
    padding: 14px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.social-banner.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #229ed9 100%);
}

.social-banner.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.social-banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    min-width: 0;
}

.social-icon {
    font-size: 1.7rem;
    opacity: 0.95;
    flex-shrink: 0;
    animation: social-bounce 2.5s ease-in-out infinite;
}

@keyframes social-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.social-text h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.social-text p {
    margin: 2px 0 0;
    font-size: 0.75rem;
    opacity: 0.88;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.btn-community {
    background: rgba(255, 255, 255, 0.96);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tg-btn {
    color: #0077b8;
}

.wa-btn {
    color: #0e8a62;
}

.btn-community:hover {
    transform: scale(1.05);
    background: #ffffff;
}

/* Tablet (medium screens) - two side-by-side, each fills half */
@media (min-width: 576px) and (max-width: 991px) {
    .community-banners-container {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .social-banner {
        flex: 1;
        min-width: 0;
        padding: 16px 18px;
    }

    .social-text p {
        max-width: 140px;
    }
}

/* Desktop/Laptop — slightly bigger */
@media (min-width: 992px) {
    .community-banners {
        padding: 0 var(--space-6);
    }

    .social-banner {
        padding: 18px 28px;
    }

    .social-icon {
        font-size: 2rem;
    }

    .social-text h3 {
        font-size: 1.05rem;
    }

    .social-text p {
        font-size: 0.82rem;
        max-width: 220px;
    }

    .btn-community {
        padding: 9px 22px;
        font-size: 0.88rem;
    }
}

/* Large Desktop — premium look */
@media (min-width: 1200px) {
    .social-banner {
        padding: 22px 36px;
    }

    .social-icon {
        font-size: 2.3rem;
    }

    .social-text h3 {
        font-size: 1.2rem;
    }

    .social-text p {
        font-size: 0.87rem;
        max-width: 260px;
    }

    .btn-community {
        padding: 10px 26px;
        font-size: 0.92rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.app-footer {
    background: #0f172a;
    /* Deep, premium dark blue */
    color: #cbd5e1;
    padding: 60px var(--space-6) 30px;
    margin-top: 60px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle glowing accent on top of footer */
.app-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand h3 {
    color: white;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    letter-spacing: -0.5px;
}

.footer-brand h3 i {
    color: var(--primary);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 320px;
    color: #94a3b8;
}

.footer-col h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-5);
    position: relative;
    display: inline-block;
}

/* Custom underline for footer headings */
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: var(--space-3);
}

.footer-col ul li a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.footer-col ul li a i {
    color: var(--primary);
    font-size: 1.1rem;
    transition: transform var(--transition);
}

.footer-col ul li a:hover i {
    transform: scale(1.2);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    /* Make buttons circular */
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: var(--space-4);
    color: #64748b;
}

.footer-bottom .made-with {
    color: #94a3b8;
}

.footer-bottom .made-with i {
    color: #ef4444;
    /* Brighter red heart */
    animation: heartbeat 1.5s ease-in-out infinite;
    margin: 0 4px;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.25);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.25);
    }

    60% {
        transform: scale(1);
    }
}

/* ============================================
   AD PLACEHOLDER STYLES - ADDED FOR ADS
   ============================================ */
.ad-placeholder {
    background: var(--gray-100);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    color: var(--gray-500);
    border: 1px dashed var(--gray-300);
    margin: 10px 0;
    transition: all 0.3s ease;
}

.ad-placeholder i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    opacity: 0.5;
}

.ad-placeholder:hover {
    background: var(--gray-200);
    border-color: var(--primary-light);
}

/* Ad container styling */
#adsense-home-top,
#adsense-series-list,
#adsense-test-list,
#adsense-telegram {
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hide ad containers when disabled */
#adsense-home-top[style*="display: none"],
#adsense-series-list[style*="display: none"],
#adsense-test-list[style*="display: none"],
#adsense-telegram[style*="display: none"] {
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* Make sure ads are responsive */
ins.adsbygoogle {
    background: transparent !important;
    display: block !important;
    width: 100% !important;
}

/* ============================================
   AD BLOCKER WALL ENHANCEMENTS
   ============================================ */
.adblocker-wall {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.adblocker-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    max-width: 480px;
    width: 100%;
    border-radius: var(--radius-2xl);
    padding: 48px 36px;
    text-align: center;
    color: white;
    animation: slide-up 0.5s var(--ease-out);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.adblocker-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    margin: 0 auto 24px;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}

.adblocker-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: white;
}

.adblocker-msg {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.adblocker-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.adblocker-step {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.95rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
}

.adblocker-step-num {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.adblocker-refresh-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 15px 36px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.adblocker-refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    background: linear-gradient(135deg, var(--primary-dark), #4338ca);
}

/* ============================================
   AD POPUP - COMPACT & FULLY RESPONSIVE
   ============================================ */
.ad-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.ad-popup-overlay.show {
    display: flex;
    animation: ad-fade-in 0.3s ease;
}

@keyframes ad-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.ad-popup-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: ad-slide-up 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

@keyframes ad-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header - More Compact */
.ad-popup-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.ad-popup-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.ad-popup-label i {
    font-size: 1rem;
}

.ad-popup-timer-circle {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.ad-popup-timer-circle.pulse {
    animation: timer-pulse-light 1s infinite;
}

@keyframes timer-pulse-light {

    0%,
    100% {
        transform: scale(1);
        background: rgba(255, 255, 255, 0.2);
    }

    50% {
        transform: scale(1.05);
        background: rgba(255, 255, 255, 0.3);
    }
}

/* Body - Compact Flex Layout */
.ad-popup-body {
    padding: 18px 18px 12px;
    background: var(--card-bg);
}

/* Combined Container for Message + Ad */
.ad-popup-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Message Section - Compact */
.ad-popup-message-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-50);
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
}

[data-theme="dark"] .ad-popup-message-compact {
    background: var(--gray-100);
}

.ad-popup-message-icon-compact {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.ad-popup-message-text {
    flex: 1;
}

.ad-popup-message-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.ad-popup-message-text p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.4;
}

/* Ad Container - Responsive */
.ad-popup-ad-container {
    width: 100%;
    min-height: 70px;
    background: var(--gray-50);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: all 0.2s ease;
}

[data-theme="dark"] .ad-popup-ad-container {
    background: var(--gray-100);
}

/* Ad Placeholder */
.ad-placeholder-box {
    background: var(--gray-100);
    padding: 12px;
    text-align: center;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ad-placeholder-box i {
    font-size: 1.3rem;
    color: var(--gray-400);
}

.ad-placeholder-box span {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 500;
}

.ad-placeholder-box small {
    color: var(--gray-400);
    font-size: 0.7rem;
    margin-left: 4px;
}

/* Footer - More Compact */
.ad-popup-footer {
    padding: 12px 18px 18px;
    border-top: 1px solid var(--card-border);
    background: var(--card-bg);
}

.ad-popup-progress {
    margin-bottom: 12px;
}

.ad-popup-progress-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.ad-popup-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 0.3s linear;
}

.ad-popup-progress-text {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
}

/* Button - Optimized */
.ad-popup-btn {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.ad-popup-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--primary-glow);
}

.ad-popup-btn:disabled {
    background: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
    opacity: 0.7;
}

.ad-popup-btn .btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
    display: inline-block;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Mobile (small) */
@media (max-width: 480px) {
    .ad-popup-card {
        max-width: 95%;
        border-radius: 20px;
    }

    .ad-popup-header {
        padding: 10px 14px;
    }

    .ad-popup-label {
        font-size: 0.8rem;
    }

    .ad-popup-timer-circle {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .ad-popup-body {
        padding: 14px 14px 8px;
    }

    .ad-popup-message-compact {
        padding: 10px;
        gap: 10px;
    }

    .ad-popup-message-icon-compact {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .ad-popup-message-text h4 {
        font-size: 0.9rem;
    }

    .ad-popup-message-text p {
        font-size: 0.8rem;
    }

    .ad-placeholder-box {
        padding: 8px;
    }

    .ad-placeholder-box i {
        font-size: 1.1rem;
    }

    .ad-placeholder-box span {
        font-size: 0.8rem;
    }

    .ad-popup-footer {
        padding: 8px 14px 14px;
    }

    .ad-popup-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* Tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .ad-popup-card {
        max-width: 450px;
    }

    .ad-popup-message-compact {
        padding: 12px;
    }
}

/* Desktop (769px and above) */
@media (min-width: 769px) {
    .ad-popup-card {
        max-width: 500px;
    }

    .ad-popup-message-compact {
        padding: 14px 16px;
    }

    .ad-popup-message-icon-compact {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .ad-popup-message-text h4 {
        font-size: 1.1rem;
    }

    .ad-popup-message-text p {
        font-size: 0.9rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .ad-popup-card {
        max-width: 520px;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .ad-popup-card {
        max-width: 85%;
    }

    .ad-popup-body {
        padding: 12px;
    }

    .ad-popup-message-compact {
        padding: 8px 10px;
    }

    .ad-popup-ad-container {
        min-height: 60px;
    }
}

/* Centered Message Layout */
.ad-popup-message-centered {
    text-align: center;
    padding: 8px 0;
}

.ad-popup-message-icon-centered {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 16px var(--primary-glow);
}

.ad-popup-message-centered h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.ad-popup-message-centered p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .ad-popup-message-icon-centered {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .ad-popup-message-centered h4 {
        font-size: 1.1rem;
    }

    .ad-popup-message-centered p {
        font-size: 0.85rem;
        max-width: 260px;
    }
}

/* Results modal desktop layout */
@media (min-width: 576px) {
    .main-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .secondary-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .detailed-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .d-lg-none {
        display: flex !important;
    }

    /* Results modal stacks better */
    .main-stats {
        grid-template-columns: 1fr;
    }

    .secondary-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .telegram-banner-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px var(--space-4) 60px;
    }

    .hero-stats {
        gap: var(--space-6);
    }

    .hero-stat-value {
        font-size: 1.4rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--space-4);
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 60px;
    }

    .header-container {
        padding: 0 var(--space-4);
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .timer-display {
        padding: 4px 10px;
        font-size: 0.85rem;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: var(--space-5) var(--space-4);
    }

    .cat-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .test-item-card {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
    }

    .btn-start {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .nav-btn {
        height: 44px;
        padding: 0 14px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .bottom-nav {
        height: 70px;
        padding: 0 12px;
    }

    .question-card {
        padding: 16px;
    }

    .question-text {
        font-size: 1rem;
    }

    .option-label {
        padding: 12px 14px 12px 44px;
    }

    .option-number {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .questions-grid {
        grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
        gap: 8px;
    }

    .q-btn {
        width: 42px;
        height: 42px;
        font-size: 0.8rem;
    }

    .results-modal-footer {
        flex-direction: row;
        gap: 8px;
        padding: 12px;
    }

    .results-modal-footer .nav-btn {
        width: auto;
        flex: 1;
        margin: 0;
        height: 44px;
        font-size: 0.85rem;
        font-weight: 500;
        border-radius: 12px;
        padding: 0 8px;
    }

    .results-modal-body {
        padding: 16px;
    }

    .main-stat-value {
        font-size: 1.6rem;
    }

    .sec-stat-value {
        font-size: 1.1rem;
    }

    .secondary-stats {
        grid-template-columns: 1fr 1fr;
    }

    .detailed-grid {
        grid-template-columns: 1fr 1fr;
    }

    .telegram-banner {
        margin-top: 40px;
    }

    .telegram-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px 0;
        gap: var(--space-4);
    }

    .telegram-icon-area {
        font-size: 2.5rem;
    }

    .telegram-text h3 {
        font-size: 1.1rem;
    }

    .telegram-text p {
        font-size: 0.85rem;
    }

    .btn-telegram {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Hide button text on mobile to save space */
    #bottom-nav .nav-btn-text {
        display: none;
    }

    /* Results Modal Mobile Polish */
    .score-ring {
        width: 60px;
        height: 60px;
        margin: 0 auto 8px;
    }

    .score-percent {
        font-size: 1rem;
    }

    .results-modal-header {
        padding: 16px;
    }

    /* Search toolbar mobile adjustments */
    .search-toolbar {
        gap: 8px;
    }

    .search-input {
        padding: 12px 12px 12px 40px;
        font-size: 0.9rem;
    }

    .search-icon {
        left: 14px;
        font-size: 0.9rem;
    }

    .view-toggle-single {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #4f46e5;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 90px;
        /* Above mobile bottom nav */
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ============================================
   VIEW TOGGLE BUTTON GROUP
   ============================================ */
.view-toggle-wrap {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 4px;
    border: 1px solid var(--card-border);
    flex-shrink: 0;
}

.view-toggle-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    border-radius: calc(var(--radius-md) - 2px);
    color: var(--gray-400);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle-btn:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

.view-toggle-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .view-toggle-wrap {
    background: var(--gray-200);
}

[data-theme="dark"] .view-toggle-btn.active {
    background: var(--card-bg);
}

/* ============================================
   SERIES VIEW: LIST MODE
   ============================================ */
.series-view-list {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
}

.series-view-list .category-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
}

.series-view-list .cat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-bottom: 0 !important;
}

.series-view-list .cat-title {
    margin-bottom: 0 !important;
    flex: 1;
    text-align: left;
}

.series-view-list .cat-count {
    margin-top: 0 !important;
    white-space: nowrap;
    font-size: 0.82rem;
}

/* ============================================
   TEST VIEW: GRID MODE
   ============================================ */
.test-view-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.test-view-grid .test-item-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.test-view-grid .btn-start {
    width: 100%;
    justify-content: center;
}

/* Default list mode for test container */
.test-view-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}