/* ==========================================================
   SAIS Manager - Tests
========================================================== */

.sais-test {
    max-width: 900px;
    margin: 40px auto;
}

/* ==========================================================
   Header
========================================================== */

.sais-test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    margin-bottom: 30px;
    padding-bottom: 20px;

    border-bottom: 2px solid #003865;
}

.sais-test-title {
    margin: 0;

    color: #003865;

    font-size: 2rem;
    font-weight: 700;
}

/* ==========================================================
   Timer
========================================================== */

.sais-test-timer {
    flex-shrink: 0;

    padding: 10px 16px;

    border: 1px solid #d8d8d8;
    border-radius: 6px;

    background: #fff;

    color: #003865;

    font-weight: 600;
}

.sais-test-timer-value {
    margin-left: 6px;

    font-size: 1.3rem;
    font-weight: 700;

    font-variant-numeric: tabular-nums;
}

/* ==========================================================
   Instructions
========================================================== */

.sais-test-instructions {
    margin-bottom: 35px;

    color: #666;

    font-size: .95rem;
}

/* ==========================================================
   Question
========================================================== */

.sais-test-question {
    margin-bottom: 35px;
    padding-bottom: 30px;

    border-bottom: 1px solid #e5e5e5;
}

.sais-test-question-number {
    margin-bottom: 10px;

    color: #003865;

    font-size: .95rem;
    font-weight: 700;
}

.sais-test-question-text {
    margin-bottom: 20px;

    color: #1f2937;

    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

/* ==========================================================
   Options
========================================================== */

.sais-test-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sais-test-option {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    padding: 12px 14px;

    border: 1px solid #dedede;
    border-radius: 5px;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease;
}

.sais-test-option:hover {
    background: #f7f7f7;
}

.sais-test-option input {
    margin-top: 3px;
}

.sais-test-option-letter {
    flex-shrink: 0;

    font-weight: 700;

    color: #003865;
}

.sais-test-option-text {
    line-height: 1.45;
}

/* ==========================================================
   Submit
========================================================== */

.sais-test-actions {
    margin-top: 40px;

    text-align: center;
}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width: 768px) {

    .sais-test {
        margin: 25px auto;
    }

    .sais-test-header {
        flex-direction: column;
        align-items: flex-start;

        gap: 15px;
    }

    .sais-test-title {
        font-size: 1.7rem;
    }

    .sais-test-question-text {
        font-size: 1.1rem;
    }

}

/* ==========================================================
   Result
========================================================== */

.sais-test-result {
    max-width: 700px;
    margin: 60px auto;
    text-align: center;
}

.sais-test-result-message {
    margin-top: 25px;

    color: #666;

    font-size: 1rem;
}

.sais-test-result-grade {
    margin-top: 35px;

    color: #003865;

    font-size: 3.5rem;
    font-weight: 700;
}

.sais-test-result-grade span {
    font-size: 1.5rem;
    font-weight: 500;
}

.sais-test-result-note {
    margin-top: 10px;

    color: #777;
}