.ll-result {
    text-align: center;
    padding: 40px;
    background: #f8fbff;
}

.ll-result-header h2 {
    font-size: 22px;
    font-weight: 600;
}

.ll-divider {
    width: 300px;
    height: 2px;
    background: #333;
    margin: 10px auto 30px;
}

.ll-result-card {
    background: #fff;
    border: 2px solid #ddd;
    max-width: 600px;
    margin: auto;
    padding: 30px;
}

.ll-status {
    margin-bottom: 20px;
}

.status {
    font-size: 28px;
    font-weight: bold;
}

.status.pass {
    color: green;
}

.status.fail {
    color: red;
}

.hidden {
    display: none;
}

.ll-user-info {
    margin: 15px 0;
    font-size: 14px;
}

.ll-score h3 {
    margin-top: 15px;
    font-size: 20px;
}

.ll-footer-message {
    margin-top: 25px;
    font-size: 16px;
    font-weight: 500;
}

.ll-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.review-section {
    padding: 30px;
    max-width: 900px;
    margin: auto;
}

.review-list {
    list-style: none;
    padding: 0;
}

.review-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 15px;
    background: #fff;
}

.review-item.correct {
    border-left: 5px solid green;
}

.review-item.wrong {
    border-left: 5px solid red;
}

.review-question {
    font-weight: 600;
    margin-bottom: 8px;
}

.review-answer {
    font-size: 14px;
}

/* ===== Review Header ===== */
.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

/* ===== Review Items ===== */
.review-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    background: #fff;
}

/* Question Row */
.review-question-row {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    background: #f7f7f7;
    transition: background 0.2s ease;
}

/* Options Container */
.review-options {
    padding: 10px;
}

/* Option Styles */
.review-option {
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 4px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-option.correct {
    background: #2e7d32;
}

.review-option.wrong {
    background: #c62828;
}

.review-option.neutral {
    background: #9e9e9e;
}

.review-option .icon {
    font-weight: bold;
}

/* ===== Collapsed correctness indicator ===== */
.review-item.correct {
    border-left: 6px solid #2e7d32;
}

.review-item.wrong {
    border-left: 6px solid #c62828;
}


.review-question-row:hover {
    background: #ececec;
}

/* ===== Back to Result Button ===== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid #bbb;
    background: #f9f9f9;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.back-btn:active {
    transform: translateY(1px);
}

/* ===== Start New Mock Test Button ===== */
.restart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 5px;
    border: none;
    background: #2e7d32;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.restart-btn:hover {
    background: #1b5e20;
}

.restart-btn:active {
    transform: translateY(1px);
}

/* ===== Review Summary ===== */
.review-summary {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.summary-item {
    flex: 1;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.summary-item span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.summary-item.correct {
    background: #ecfdf5;
    color: #047857;
}

.summary-item.incorrect {
    background: #fef2f2;
    color: #dc2626;
}

.summary-item.unanswered {
    background: #f3f4f6;
    color: #6b7280;
}

/* ===== Enhanced Review Items ===== */
.review-question-row {
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    background: #f7f7f7;
    transition: background 0.2s ease;
}

.review-q-num {
    font-weight: 700;
    color: #1a73e8;
    min-width: 36px;
    flex-shrink: 0;
}

.review-q-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.review-status {
    font-size: 20px;
    margin: 0 8px;
    flex-shrink: 0;
}

.review-status.correct {
    color: #10b981;
}

.review-status.wrong {
    color: #ef4444;
}

.review-status.unanswered {
    color: #9ca3af;
}

.toggle-icon {
    color: #9ca3af;
    font-size: 12px;
    flex-shrink: 0;
}

.review-item.unanswered {
    border-left: 6px solid #9ca3af;
}

/* ===== Review Options Enhanced ===== */
.review-option {
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e5eaf0;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.review-option.correct .option-indicator {
    background: rgba(255,255,255,0.3);
    color: #ffffff;
}

.review-option.wrong .option-indicator {
    background: rgba(255,255,255,0.3);
    color: #ffffff;
}

.option-badge {
    margin-left: auto;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.option-badge.correct {
    background: rgba(255,255,255,0.3);
    color: #ffffff;
}

.option-badge.wrong {
    background: rgba(255,255,255,0.3);
    color: #ffffff;
}

/* ===== Responsive Review ===== */
@media (max-width: 768px) {
    .review-summary {
        flex-direction: column;
        gap: 10px;
    }

    .review-section {
        padding: 16px;
    }

    .review-question-row {
        flex-wrap: wrap;
    }

    .review-q-text {
        order: 3;
        width: 100%;
        margin-top: 8px;
    }
}