/* ===== ScoreX TestSeries - Premium UI Design System ===== */

/* ========== CSS Variables & Design Tokens ========== */
:root {
    /* Primary Colors - Vibrant Indigo/Purple Palette */
    --color-primary: #4f46e5;
    --color-primary-hover: #4338ca;
    --color-primary-light: #818cf8;
    --color-primary-dark: #3730a3;
    --color-secondary: #7c3aed;
    --color-accent: #ec4899;

    /* Neutral Colors */
    --color-bg-base: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-bg-tertiary: #f1f5f9;
    --color-surface: #ffffff;
    --color-surface-elevated: #ffffff;

    /* Text Colors */
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-tertiary: #94a3b8;
    --color-text-inverse: #ffffff;

    /* Semantic Colors */
    --color-success: #10b981;
    --color-success-light: #d1fae5;
    --color-error: #ef4444;
    --color-error-light: #fee2e2;
    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    --color-info: #3b82f6;
    --color-info-light: #dbeafe;

    /* Border & Dividers */
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    --color-divider: #cbd5e1;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;

    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-heading: 'Outfit', 'Inter', sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Consolas', monospace;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== Dark Mode Variables ========== */
:root.dark-mode,
html.dark-mode {
    /* Primary Colors - Adjusted for dark mode */
    --color-primary: #818cf8;
    --color-primary-hover: #6366f1;
    --color-primary-light: #a5b4fc;
    --color-primary-dark: #6366f1;
    --color-secondary: #a78bfa;
    --color-accent: #f472b6;

    /* Neutral Colors - Dark theme */
    --color-bg-base: #0f172a;
    --color-bg-secondary: #1e293b;
    --color-bg-tertiary: #334155;
    --color-surface: #1e293b;
    --color-surface-elevated: #334155;

    /* Text Colors - Dark theme */
    --color-text-primary: #f8fafc;
    --color-text-secondary: #cbd5e1;
    --color-text-tertiary: #94a3b8;
    --color-text-inverse: #0f172a;

    /* Semantic Colors - Adjusted */
    --color-success: #34d399;
    --color-success-light: #064e3b;
    --color-error: #f87171;
    --color-error-light: #7f1d1d;
    --color-warning: #fbbf24;
    --color-warning-light: #78350f;
    --color-info: #60a5fa;
    --color-info-light: #1e3a8a;

    /* Border & Dividers */
    --color-border: #334155;
    --color-border-light: #475569;
    --color-divider: #475569;
}

/* Prevent dark mode on test page */
body.no-dark-mode,
body.no-dark-mode * {
    /* Force light mode variables */
    --color-bg-base: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
}

/* ========== Theme Transition ========== */
html {
    transition: background-color var(--transition-base), color var(--transition-base);
}

body {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* ========== Theme Toggle Button ========== */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-bg-tertiary);
    border: 2px solid var(--color-border);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: rotate(180deg) scale(1.05);
}

.theme-toggle:active {
    transform: rotate(180deg) scale(0.95);
}

.theme-toggle i {
    transition: transform var(--transition-base);
}

/* ========== Global Resets & Base Styles ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* ========== Cards ========== */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.card-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-text-inverse);
    border: none;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-primary);
}

.btn-outline:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
}

.btn-ghost:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.btn-success {
    background: linear-gradient(135deg, var(--color-success) 0%, #059669 100%);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, var(--color-error) 0%, #dc2626 100%);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.39);
}

.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ========== Input Fields ========== */
.input-field,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-family: var(--font-family-base);
    background: var(--color-bg-base);
    color: var(--color-text-primary);
    transition: all var(--transition-base);
    outline: none;
}

.input-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.input-field:disabled {
    background: var(--color-bg-tertiary);
    cursor: not-allowed;
    opacity: 0.6;
}

.input-field::placeholder {
    color: var(--color-text-tertiary);
}

/* ========== Badges ========== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: var(--color-success-light);
    color: #065f46;
}

.badge-danger {
    background: var(--color-error-light);
    color: #991b1b;
}

.badge-warning {
    background: var(--color-warning-light);
    color: #92400e;
}

.badge-info {
    background: var(--color-info-light);
    color: #1e40af;
}

.badge-free {
    background: linear-gradient(135deg, #dcfce7 0%, #a7f3d0 100%);
    color: #065f46;
    font-weight: 700;
}

.badge-paid {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    font-weight: 700;
}

.badge-pending {
    background: var(--color-warning-light);
    color: #92400e;
}

.badge-verified {
    background: var(--color-success-light);
    color: #065f46;
}

.badge-rejected {
    background: var(--color-error-light);
    color: #991b1b;
}

/* ========== Loading & Spinners ========== */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--color-bg-tertiary) 25%, var(--color-border-light) 50%, var(--color-bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ========== Tables ========== */
.review-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.review-table thead {
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-border-light) 100%);
}

.review-table th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-secondary);
    border-bottom: 2px solid var(--color-border);
}

.review-table td {
    padding: 16px;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-primary);
}

.review-table tbody tr {
    transition: background var(--transition-fast);
}

.review-table tbody tr:hover {
    background: var(--color-bg-secondary);
}

.review-table tbody tr:last-child td {
    border-bottom: none;
}

/* ========== Modals & Overlays ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn var(--transition-base);
}

.modal {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-2xl);
    animation: slideUp var(--transition-base);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========== Analysis Section ========== */
.analysis-section {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
}

.analysis-section h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* ========== Progress Bars ========== */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--color-border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

/* ========== Stat Cards ========== */
.stat-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* ========== Utility Classes ========== */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.fade-in {
    animation: fadeIn var(--transition-slow);
}

.slide-in {
    animation: slideUp var(--transition-slow);
}

/* ========== Scrollbar Customization ========== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-tertiary);
}

/* ========== Responsive Utilities ========== */
@media (max-width: 768px) {
    .card {
        padding: var(--spacing-md);
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .modal {
        padding: var(--spacing-lg);
        width: 95%;
    }
}

/* ========== Print Styles ========== */
@media print {

    .btn,
    .modal-overlay,
    header {
        display: none !important;
    }

    .card {
        box-shadow: none;
        border: 1px solid var(--color-border);
    }
}

/* ========== CBT Interface Layout (Refined) ========== */

/* Local Variables for CBT Interface to ensure consistency */
.cbt-wrapper {
    --cbt-primary: #4f46e5;
    --cbt-primary-light: #eef2ff;
    --cbt-text: #0f172a;
    --cbt-text-muted: #64748b;
    --cbt-border: #e2e8f0;
    --cbt-bg-light: #f8fafc;
    --cbt-success: #22c55e;
    --cbt-danger: #ef4444;
    --cbt-accent: #8b5cf6;

    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: #f8f9fa;
    font-family: 'Inter', sans-serif;
    color: var(--cbt-text);
}

/* --- Header --- */
.cbt-header {
    height: 60px;
    background: #fff;
    border-bottom: 1px solid var(--cbt-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.test-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--cbt-primary);
    background: var(--cbt-primary-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
}

.btn-back {
    color: var(--cbt-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-back:hover {
    color: var(--cbt-primary);
}

/* Submit Button in Palette */
.btn-submit {
    width: 100%;
    background: var(--cbt-primary);
    color: white;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.cbt-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Question Area */
.question-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
}

.section-tabs-container {
    background: #fff;
    border-bottom: 1px solid var(--cbt-border);
    padding: 4px 24px 0;
}

.section-tabs {
    display: flex;
    gap: 4px;
}

.section-tab {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cbt-text-muted);
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s;
    background: #f1f5f9;
    border: 1px solid transparent;
}

.section-tab:hover {
    background: #e2e8f0;
}

.section-tab.active {
    background: white;
    color: var(--cbt-primary);
    border: 1px solid var(--cbt-border);
    border-bottom: 2px solid white;
    margin-bottom: -1px;
    position: relative;
    z-index: 10;
}

.section-tab.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cbt-primary);
    border-radius: 3px 3px 0 0;
}

.question-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--cbt-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.question-type {
    background: var(--cbt-primary-light);
    color: var(--cbt-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.question-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: #fff;
}

.question-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.question-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--cbt-border);
    background: white;
}

.navigation-controls {
    padding: 16px 24px;
    background: white;
    border-top: 1px solid var(--cbt-border);
    display: flex;
    justify-content: space-between;
}

/* Sidebar / Palette */
.question-palette {
    width: 320px;
    background: var(--cbt-bg-light);
    border-left: 1px solid var(--cbt-border);
    display: flex;
    flex-direction: column;
}

.palette-section-name {
    padding: 16px;
    background: #1e293b;
    color: white;
    font-weight: 600;
    text-align: center;
}

.status-legend {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-bottom: 1px solid var(--cbt-border);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--cbt-text-muted);
}

.status-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.7rem;
}

.status-icon.answered {
    background: var(--cbt-success);
}

.status-icon.not-answered {
    background: var(--cbt-danger);
}

.status-icon.not-visited {
    background: #e2e8f0;
    color: var(--cbt-text-muted);
}

.status-icon.marked {
    background: var(--cbt-accent);
}

.status-icon.marked-answered {
    background: #3b82f6;
}

.question-grid {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    overflow-y: auto;
}

.question-number {
    aspect-ratio: 1;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--cbt-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.question-number:hover {
    border-color: var(--cbt-primary);
    transform: scale(1.05);
}

.question-number.answered {
    background: var(--cbt-success);
    color: white;
    border-color: var(--cbt-success);
}

.question-number.not-answered {
    background: var(--cbt-danger);
    color: white;
    border-color: var(--cbt-danger);
}

.question-number.not-visited {
    background: white;
    color: var(--cbt-text-muted);
}

.question-number.marked {
    background: var(--cbt-accent);
    color: white;
    border-color: var(--cbt-accent);
}

.question-number.marked-answered {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.question-number.current {
    border: 2px solid var(--cbt-primary);
    box-shadow: 0 0 0 4px var(--cbt-primary-light);
}

.submit-container {
    padding: 20px;
    background: white;
    border-top: 1px solid var(--cbt-border);
}

/* Answer Options Styling */
.answer-options {
    margin: 40px auto 0;
    max-width: 900px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.answer-option {
    margin-bottom: 12px;
    padding: 16px 20px;
    border: 1px solid var(--cbt-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8fafc;
}

.answer-option:hover {
    background: white;
    border-color: var(--cbt-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.answer-option.selected {
    background: var(--cbt-primary-light);
    border-color: var(--cbt-primary);
}

.answer-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--cbt-primary);
}

.answer-option label {
    flex: 1;
    font-weight: 500;
    cursor: pointer;
    color: var(--cbt-text);
}

/* NAT Input */
.nat-input {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    font-size: 1.25rem;
    font-weight: 700;
    border: 2px solid var(--cbt-border);
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--cbt-primary);
}

.nat-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 300px;
}

.nat-key {
    padding: 14px;
    background: #f1f5f9;
    border: 1px solid var(--cbt-border);
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.1s;
}

.nat-key:hover {
    background: #e2e8f0;
}

.nat-key:active {
    transform: scale(0.95);
    background: #cbd5e1;
}

.nat-key.special {
    grid-column: span 3;
    background: #e2e8f0;
    font-size: 0.8rem;
}