:root {
    --primary: #1E3A8A;
    --secondary: #2E7D32;
    --cta: #F97316;
    --bg-alt: #F9FAFB;
    --text: #374151;
    --text-strong: #111827;
    --border: #E5E7EB;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-alt);
    color: var(--text);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
}

.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-title { font-weight: 600; font-size: 18px; color: var(--primary); }

.timer {
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
    font-size: 18px;
    background: #FEE2E2;
    color: #DC2626;
    padding: 5px 15px;
    border-radius: 6px;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.question-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.question-block:last-child { border-bottom: none; }

.question-stem { font-weight: 600; font-size: 16px; margin-bottom: 15px; color: var(--text-strong); line-height: 1.5; }

.option {
    display: block;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.option:hover { background-color: var(--bg-alt); }
.option input { margin-right: 12px; transform: scale(1.2); cursor: pointer; }
.option.selected { border-color: var(--primary); background-color: #EFF6FF; box-shadow: 0 0 0 1px var(--primary); }

.result-header { text-align: center; margin-bottom: 40px; }
.result-score { font-size: 56px; font-weight: bold; font-family: 'Poppins', sans-serif; }
.apto { color: var(--secondary); }
.no-apto { color: #DC2626; }
.result-stats { display: flex; justify-content: center; gap: 20px; margin-top: 15px; font-weight: 500; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: background 0.2s, opacity 0.2s;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--cta); color: white; }
.btn-primary:hover:not(:disabled) { background: #EA580C; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }

.pagination { display: flex; justify-content: space-between; margin-top: 20px; }
.hidden { display: none !important; }
