/* ═══════════════════════════════════════
   ELIGIBILITY PAGE STYLES
   ═══════════════════════════════════════ */

.container { max-width: 800px; margin: 0 auto; padding: 120px 20px 60px; }
.quiz-card { background: #fff; border-radius: 24px; padding: 50px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); position: relative; overflow: hidden; min-height: 500px; }

.progress-container { position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: #f0f0f0; }
.progress-bar { height: 100%; background: var(--gold); width: 0; transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

#quizContent {
    transition: all 0.4s ease;
}

.question-wrap h2 { font-family: var(--font-playfair); font-size: 2rem; margin-bottom: 12px; font-weight: 900; }
.question-wrap p { color: #666; margin-bottom: 35px; font-size: 1.1rem; }

.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.option-btn { 
    background: #fff; border: 1px solid #eee; padding: 25px 15px; border-radius: 16px; text-align: center; cursor: pointer; transition: 0.3s; 
    display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.option-btn:hover { border-color: var(--gold); background: #fdfaf3; transform: translateY(-3px); }
.option-icon { background: #fdfaf3; width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--gold); flex-shrink: 0; }
.option-icon svg { width: 26px; height: 26px; }
.cb-icon { display: inline-flex; vertical-align: -2px; }
.cb-icon svg { width: 18px; height: 18px; }
.cb-icon.inline svg { width: 14px; height: 14px; }
.option-btn span { font-family: var(--font-dm); font-size: 1rem; font-weight: 700; color: #1a1a1a; }
.option-btn small { color: #888; font-size: 0.8rem; }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 25px; border-top: 1px solid #eee; }
#prevBtn { background: none; border: none; color: #999; cursor: pointer; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
#stepIndicator { font-size: 0.8rem; color: #999; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

/* Result Wrap */
.result-wrap { text-align: center; padding: 20px 0; }
.score-circle { width: 130px; height: 130px; border-radius: 50%; border: 8px solid var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; font-size: 3rem; font-weight: 900; font-family: var(--font-playfair); color: var(--navy); }
.status-badge { display: inline-block; padding: 8px 20px; border-radius: 50px; font-weight: 800; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 25px; letter-spacing: 1px; }
.status-high { background: #e6f7ed; color: #1a8f5a; }
.status-moderate { background: #fff7e6; color: #d48806; }
.status-low { background: #fff1f0; color: #f5222d; }

@media (max-width: 768px) {
    .container { padding: 120px 15px 40px; }
    .quiz-card { padding: 35px 20px; border-radius: 20px; min-height: auto; }
    .question-wrap h2 { font-size: 1.6rem; }
    .options-grid { grid-template-columns: 1fr; gap: 12px; }
    .option-btn { flex-direction: row; text-align: left; padding: 18px; }
    .option-icon { width: 45px; height: 45px; }
    .option-icon svg { width: 22px; height: 22px; }
}

/* ENHANCED RESULT */
.score-ring { position: relative; width: 150px; height: 150px; margin: 0 auto 20px; }
.score-ring svg.ring { transform: rotate(-90deg); }
.score-ring .ring-bg { fill: none; stroke: #f0e6d2; stroke-width: 10; }
.score-ring .ring-fg { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.score-ring .ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring .ring-num strong { font-family: var(--font-playfair); font-size: 2.6rem; color: var(--navy); line-height: 1; }
.score-ring .ring-num small { font-size: 0.7rem; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.answer-review { text-align: left; max-width: 520px; margin: 25px auto; border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.answer-review .ar-head { background: #faf8f2; padding: 12px 18px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #8a7344; }
.answer-review .ar-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; font-size: 0.85rem; border-top: 1px solid #f5f5f5; }
.answer-review .ar-row .q { color: #888; }
.answer-review .ar-row .a { font-weight: 700; color: #1a1a1a; text-align: right; }
.result-cta { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
