.mcq-main {
    padding: 18px 0 64px;
}

.mcq-shell {
    width: min(100%, 980px);
}

.mcq-header {
    border-bottom: 1px solid rgba(38, 38, 38, 0.08);
    padding-bottom: 10px;
}

.mcq-hero-section {
    padding-top: 26px;
}

.mcq-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 205px;
    gap: 26px;
    align-items: start;
    margin-bottom: 16px;
}

.mcq-copy-block h1 {
    margin: 0 0 16px;
    font-size: clamp(42px, 5vw, 58px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.mcq-copy-block p {
    margin: 0;
    max-width: 100%;
    color: #5d6571;
    font-size: 14px;
    line-height: 1.7;
}

.mcq-score-panel {
    background: #f8f1e6;
    border: 1px solid #ddd2c4;
    border-radius: 8px;
    padding: 18px 16px;
    text-align: center;
    min-height: 108px;
}

.mcq-score-title {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #5c5c5c;
}

.mcq-score-title span {
    color: var(--text-main);
}

.mcq-score-meta {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 20px;
    color: #4b4b4b;
}

.mcq-quiz-card,
.mcq-results-card {
    background: var(--card-bg);
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(18, 24, 32, 0.04);
}

.mcq-card-head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 18px;
    padding: 34px 44px;
    border-bottom: 1px solid #d9d9d9;
}

.mcq-card-head h2 {
    margin: 0;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #4b4b4b;
}

.mcq-nav-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mcq-nav-circle--muted {
    background: #dbdbdb;
    color: #2c2c2c;
}

.mcq-nav-circle--primary {
    background: var(--blue);
    color: #fff;
}

.mcq-nav-circle:hover:not(:disabled) {
    transform: translateY(-1px);
}

.mcq-nav-circle.is-disabled,
.mcq-nav-circle:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.mcq-card-body {
    padding: 34px 44px 42px;
}

.mcq-question-lead,
.mcq-question-context,
.mcq-question-prompt {
    margin: 0;
    color: #535962;
}

.mcq-question-lead,
.mcq-question-context {
    font-size: 14px;
    line-height: 1.7;
}

.mcq-question-context {
    margin-top: 28px;
}

.mcq-question-prompt {
    margin-top: 36px;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 500;
    color: #424242;
}

.mcq-options-box {
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    padding: 18px 28px;
}

.mcq-option {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 18px;
    gap: 18px;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mcq-option:last-child {
    border-bottom: 0;
}

.mcq-option-radio {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.8px solid #6f6f6f;
    display: inline-block;
    position: relative;
}

.mcq-option.is-selected .mcq-option-radio::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--blue);
}

.mcq-option-text {
    font-size: 16px;
    line-height: 1.4;
    color: #4c4c4c;
}

.mcq-option-icon {
    font-size: 18px;
    line-height: 1;
    color: #b4b4b4;
    text-align: right;
}

.mcq-option.is-correct {
    background: rgba(58, 181, 74, 0.06);
}

.mcq-option.is-correct .mcq-option-icon {
    color: #2ca43b;
}

.mcq-option.is-wrong {
    background: rgba(230, 57, 70, 0.05);
}

.mcq-option.is-wrong .mcq-option-icon {
    color: #da3e3e;
}

.mcq-status-note {
    min-height: 24px;
    margin: 16px 0 0;
    font-size: 13px;
    color: #5d6571;
}

.mcq-action-row,
.mcq-results-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.mcq-submit-btn,
.mcq-end-btn,
.mcq-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.mcq-submit-btn {
    background: var(--blue);
    color: #fff;
}

.mcq-submit-btn:hover {
    color: #fff;
    background: var(--blue-dark);
}

.mcq-end-btn {
    background: #e52e24;
    color: #fff;
}

.mcq-end-btn:hover {
    color: #fff;
    background: #cf241b;
}

.mcq-secondary-btn {
    background: #fff;
    color: var(--text-main);
    border-color: #d5d5d5;
}

.mcq-secondary-btn:hover {
    color: var(--blue);
    border-color: rgba(29, 114, 216, 0.3);
}

.mcq-results-section {
    padding-top: 36px;
}

.mcq-results-card {
    padding: 40px;
}

.mcq-results-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.mcq-results-kicker {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(29, 114, 216, 0.1);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mcq-results-head h1 {
    margin: 16px 0 10px;
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.mcq-results-head p {
    margin: 0;
    max-width: 560px;
    color: var(--text-muted);
    line-height: 1.7;
}

.mcq-results-badge {
    min-width: 132px;
    min-height: 132px;
    border-radius: 24px;
    background: linear-gradient(135deg, #1d72d8 0%, #4590ec 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(29, 114, 216, 0.18);
}

.mcq-results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.mcq-result-stat {
    padding: 24px 22px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}

.mcq-result-stat-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: #6a7280;
}

.mcq-result-stat strong {
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    color: var(--text-main);
}

.mcq-footer {
    margin-top: 54px;
}

@media (max-width: 991.98px) {
    .mcq-intro-grid,
    .mcq-results-head {
        grid-template-columns: 1fr;
    }

    .mcq-score-panel {
        max-width: 260px;
    }

    .mcq-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mcq-nav-list {
        padding-top: 16px;
    }
}

@media (max-width: 767.98px) {
    .mcq-main {
        padding-top: 12px;
    }

    .mcq-copy-block h1 {
        font-size: 32px;
    }

    .mcq-card-head,
    .mcq-card-body,
    .mcq-results-card {
        padding: 22px 20px;
    }

    .mcq-card-head {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 10px;
    }

    .mcq-card-head h2 {
        font-size: 22px;
    }

    .mcq-nav-circle {
        width: 42px;
        height: 42px;
    }

    .mcq-options-box {
        padding: 12px 18px;
    }

    .mcq-option {
        grid-template-columns: 18px minmax(0, 1fr) 16px;
        gap: 12px;
        padding: 12px 0;
    }

    .mcq-option-text {
        font-size: 15px;
    }

    .mcq-results-grid {
        grid-template-columns: 1fr;
    }

    .mcq-results-badge {
        min-width: 100px;
        min-height: 100px;
        font-size: 26px;
    }

    .mcq-action-row,
    .mcq-results-actions {
        flex-direction: column;
    }

    .mcq-submit-btn,
    .mcq-end-btn,
    .mcq-secondary-btn {
        width: 100%;
    }
}

/* Results page redesign */
.mcq-results-main {
    padding-top: 34px;
}

.mcq-results-shell {
    width: min(100%, 980px);
}

.mcq-results-screen {
    padding-top: 30px;
}

.mcq-results-page-title {
    margin: 0 0 34px;
    font-size: clamp(44px, 5vw, 58px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.mcq-summary-row {
    display: grid;
    grid-template-columns: 216px 1px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.mcq-summary-score-card {
    width: 100%;
    max-width: 216px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d7d7d7;
    background: #fff;
}

.mcq-summary-score-head {
    padding: 18px 16px 16px;
    background: #d9d9d9;
    text-align: center;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 500;
    color: #585858;
}

.mcq-summary-score-body {
    min-height: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    font-size: clamp(50px, 5vw, 62px);
    line-height: 1;
    font-weight: 500;
    color: #5c5c5c;
}

.mcq-summary-score-slash {
    transform: translateY(-3px);
}

.mcq-summary-vertical-line {
    width: 1px;
    min-height: 168px;
    background: #d7d7d7;
}

.mcq-summary-meta {
    padding-top: 18px;
}

.mcq-summary-meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    font-size: 24px;
    line-height: 1.2;
    color: #575757;
}

.mcq-summary-meta-item:last-child {
    margin-bottom: 0;
}

.mcq-summary-meta-item strong {
    font-weight: 600;
}

.mcq-summary-pass {
    gap: 18px;
}

.mcq-pass-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #15ad10;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 18px rgba(21, 173, 16, 0.16);
}

.mcq-pass-badge.is-fail {
    background: #da3e3e;
    box-shadow: 0 10px 18px rgba(218, 62, 62, 0.18);
}

.mcq-results-divider {
    width: 100%;
    height: 1px;
    background: #d7d7d7;
    margin: 44px 0 34px;
}

.mcq-results-copy-block h2 {
    margin: 0 0 28px;
    font-size: clamp(36px, 4vw, 46px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.mcq-breakdown-list {
    display: grid;
    gap: 18px;
    font-size: 24px;
    line-height: 1.25;
    color: #575757;
}

.mcq-breakdown-list span {
    font-weight: 500;
}

.mcq-chart-section {
    max-width: 390px;
}

.mcq-chart-card {
    width: 100%;
    max-width: 390px;
    min-height: 434px;
    padding: 32px 24px 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(26, 34, 56, 0.08);
}

.mcq-donut-wrap {
    display: flex;
    justify-content: center;
    padding-top: 24px;
}

.mcq-donut {
    --correct-angle: calc(var(--correct-percent) * 1%);
    position: relative;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: conic-gradient(from 315deg, #2f49e6 0 calc(var(--correct-percent) * 1%), #f7a165 calc(var(--correct-percent) * 1%) 100%);
}

.mcq-donut-hole {
    position: absolute;
    inset: 46px;
    border-radius: 50%;
    background: #fff;
}

.mcq-donut-badge {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: #262626;
    box-shadow: 0 10px 24px rgba(20, 20, 20, 0.08);
}

.mcq-donut-badge--incorrect {
    top: -2px;
    right: -18px;
}

.mcq-donut-badge--correct {
    left: -8px;
    bottom: -18px;
}

.mcq-chart-legend {
    display: grid;
    gap: 28px;
    margin-top: 52px;
}

.mcq-chart-legend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 18px;
    color: #696969;
}

.mcq-chart-legend-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.mcq-chart-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.mcq-chart-dot--correct {
    background: #3b58f0;
}

.mcq-chart-dot--incorrect {
    background: #f29b5d;
}

.mcq-chart-legend-row strong {
    font-size: 18px;
    font-weight: 500;
    color: #262626;
}

.mcq-view-course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 6px;
    background: var(--orange);
    border: 1px solid var(--orange);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.mcq-view-course-btn:hover {
    color: #fff;
    background: #e46828;
    border-color: #e46828;
}

.mcq-results-actions--center {
    justify-content: center;
    margin-top: 54px;
}

@media (max-width: 991.98px) {
    .mcq-summary-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mcq-summary-vertical-line {
        width: 100%;
        min-height: 1px;
        height: 1px;
    }

    .mcq-summary-meta {
        padding-top: 0;
    }

    .mcq-summary-score-card {
        max-width: 280px;
    }

    .mcq-results-copy-block h2,
    .mcq-results-page-title {
        letter-spacing: -0.02em;
    }
}

@media (max-width: 767.98px) {
    .mcq-results-main {
        padding-top: 18px;
    }

    .mcq-results-screen {
        padding-top: 18px;
    }

    .mcq-results-page-title {
        margin-bottom: 24px;
        font-size: 34px;
    }

    .mcq-summary-meta-item,
    .mcq-breakdown-list {
        font-size: 19px;
    }

    .mcq-summary-score-head {
        font-size: 18px;
    }

    .mcq-summary-score-body {
        min-height: 112px;
        font-size: 42px;
    }

    .mcq-pass-badge {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .mcq-results-divider {
        margin: 32px 0 24px;
    }

    .mcq-results-copy-block h2 {
        margin-bottom: 20px;
        font-size: 29px;
    }

    .mcq-chart-card {
        min-height: auto;
        padding: 26px 18px 22px;
    }

    .mcq-donut {
        width: 166px;
        height: 166px;
    }

    .mcq-donut-hole {
        inset: 40px;
    }

    .mcq-donut-badge {
        width: 54px;
        height: 54px;
        font-size: 14px;
    }

    .mcq-donut-badge--incorrect {
        right: -10px;
    }

    .mcq-donut-badge--correct {
        left: -4px;
        bottom: -10px;
    }

    .mcq-chart-legend {
        gap: 18px;
        margin-top: 36px;
    }

    .mcq-chart-legend-row,
    .mcq-chart-legend-row strong {
        font-size: 16px;
    }

    .mcq-results-actions--center {
        margin-top: 36px;
    }

    .mcq-view-course-btn {
        width: 100%;
    }
}
