.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.quiz-header h2 {
    font-size: 20px;
    color: #1e293b;
}

.quiz-header .progress {
    font-size: 14px;
    color: #64748b;
}

.question-number {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 10px;
}

.question-text {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 25px;
    line-height: 1.6;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option:hover {
    border-color: #4f46e5;
    background: #eef2ff;
}

.option input {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    accent-color: #4f46e5;
}

.option label {
    cursor: pointer;
    flex: 1;
    font-size: 15px;
}

.hint-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.hint-box a {
    color: #ea580c;
    text-decoration: none;
    font-weight: 500;
}

.hint-box a:hover {
    text-decoration: underline;
}

.nav-panel {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.nav-panel h4 {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
    text-align: center;
}

.nav-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.nav-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-num.unanswered {
    background: #e2e8f0;
    color: #64748b;
}

.nav-num.correct {
    background: #dcfce7;
    color: #166534;
}

.nav-num.incorrect {
    background: #fee2e2;
    color: #991b1b;
}

.nav-num.current {
    border: 2px solid #4f46e5;
    background: #eef2ff;
    color: #4f46e5;
}

.nav-num:hover {
    transform: scale(1.1);
}

.btn-submit {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.legend-dot.unanswered { background: #e2e8f0; }
.legend-dot.correct { background: #dcfce7; }
.legend-dot.incorrect { background: #fee2e2; }

.quiz-back {
    display: inline-block;
    margin-top: 20px;
    color: #64748b;
    text-decoration: none;
}

.quiz-back:hover {
    color: #4f46e5;
}
