/* Exam Page Specific Styles */

.exam-section {
    padding: 60px 0;
    color: var(--text-main);
}

.exam-header {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.exam-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(to right, var(--primary-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.exam-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.meta-item .label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.meta-item .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.timer-item .value {
    color: var(--primary-color);
    font-family: monospace;
    font-size: 1.4rem;
}

.exam-scope {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* Exam Content */
.exam-part {
    margin-bottom: 48px;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border-color);
}

.part-title {
    font-size: 1.4rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-light);
}

.question-item {
    margin-bottom: 32px;
}

.question-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.6;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.02);
}

.option-label:hover {
    background: rgba(6, 182, 212, 0.05);
    border-color: var(--primary-light);
}

.option-label input {
    margin-right: 12px;
}

/* Text Inputs for Subjective Questions */
.input-blank {
    border: none;
    border-bottom: 1px solid var(--text-muted);
    background: transparent;
    color: var(--primary-color);
    font-size: 1rem;
    padding: 0 8px;
    width: 100px;
    text-align: center;
    transition: all 0.2s;
}

.input-blank:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.textarea-answer {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-top: 8px;
}

.textarea-answer:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Results */
.exam-result {
    margin-top: 40px;
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.result-header h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.score-display {
    font-size: 3rem;
    font-weight: 800;
    color: var(--success-color);
    margin-bottom: 16px;
    text-shadow: 0 0 20px var(--success-glow);
}

.score-label {
    font-size: 1rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.score-total {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.result-note {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.reference-answers {
    margin-top: 32px;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 24px;
    border-radius: var(--radius);
}

.answer-section {
    margin-bottom: 24px;
}

.answer-section h3 {
    font-size: 1.2rem;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.answer-item {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.answer-key {
    color: var(--success-color);
    font-weight: 700;
    margin-left: 8px;
}

.correct-highlight {
    color: var(--success-color);
    font-weight: bold;
}

.wrong-highlight {
    color: var(--danger-color);
    font-weight: bold;
}
