/* public/css/quiz-styles.css *//* Base Styles */body {    font-size: 16px; /* Font size cơ bản cho body */    line-height: 1.6;    color: #333;    -webkit-font-smoothing: antialiased;    -moz-osx-font-smoothing: grayscale;}.wpqib-quiz-container {    max-width: 750px; /* Giảm chiều rộng tổng thể */    margin: 25px auto;    padding: 25px; /* Giảm padding một chút */    border: 1px solid #e0e0e0;    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Shadow tinh tế hơn */    background-color: #ffffff;    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;    border-radius: 10px;    color: #333;}.wpqib-quiz-title {    text-align: center;    color: #2c3e50;    margin-bottom: 35px;    font-size: 1.8em; /* Giảm kích thước font */    font-weight: 700;    padding-bottom: 15px;    border-bottom: 2px solid #e0e0e0;}/* Question Styles */.wpqib-question-wrapper {    margin-bottom: 30px;    padding-bottom: 25px;    border-bottom: 1.5px dashed #fe0c0c;}.wpqib-question-wrapper:last-of-type {    border-bottom: none;    margin-bottom: 0;    padding-bottom: 0;}.wpqib-question-text {    font-size: 1em; /* Giảm kích thước font */    font-weight: 700;    margin-bottom: 18px;    margin-top: 18px;    color: #34495e;    line-height: 1.5;}.wpqib-question-image {    text-align: center; /* Căn giữa ảnh */}.wpqib-question-image img {    max-width: 100%;    height: auto;    margin: 15px auto; /* Căn giữa ảnh và giảm margin top/bottom */    display: block;    border: 1px solid #f0f0f0;    padding: 8px;    box-sizing: border-box;    border-radius: 6px;    box-shadow: 0 2px 5px rgba(0,0,0,0.05);}.wpqib-options-list {    list-style: none;    padding: 0;    margin: 0;}.wpqib-option-item {    margin-bottom: 12px;}.wpqib-option-item label {    display: flex;    align-items: center; /* Quay lại căn giữa để đẹp hơn cho các đáp án ngắn */    padding: 12px 18px;    border: 1px solid #dcdcdc;    border-radius: 8px;    cursor: pointer;    background-color: #fcfcfc;    transition: all 0.25s ease-in-out;    box-shadow: 0 1px 3px rgba(0,0,0,0.08);}.wpqib-option-item label:hover {    background-color: #e6f7ff;    border-color: #8acaff;    box-shadow: 0 2px 6px rgba(0,0,0,0.12);}.wpqib-option-item input[type="radio"] {    margin-right: 15px;    margin-top: 0; /* Xóa khoảng đệm thừa để căn giữa hoàn hảo */    flex-shrink: 0;    width: 18px;    height: 18px;    accent-color: #007bff;}.wpqib-option-item label .option-text {    flex-grow: 1;    font-size: 0.95em;    line-height: 1.2; /* Giảm khoảng cách dòng để chữ gọn hơn */    text-align: justify;    padding-top: 8px; /* QUAN TRỌNG: Đẩy chữ xuống 4px để ngang hàng với nút radio */}/* Selected, Correct, Incorrect Styles */.wpqib-option-item input[type="radio"]:checked + label {    background-color: #d1efff;    border-color: #007bff;    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);}.wpqib-option-item.correct label {    background-color: #e6ffe6;    border-color: #28a745;    font-weight: 600;    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);    position: relative;    padding-right: 40px;}.wpqib-option-item.correct label::after {    content: " \2713";    color: #28a745;    margin-left: auto;    font-size: 1.4em;    position: absolute;    right: 15px;    top: 50%;    transform: translateY(-50%);}.wpqib-option-item.incorrect label {    background-color: #ffe6e6;    border-color: #dc3545;    color: #6a6a6a;    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);    position: relative;    padding-right: 40px;}.wpqib-option-item.incorrect label::after {    content: " \2717";    color: #dc3545;    margin-left: auto;    font-size: 1.4em;    position: absolute;    right: 15px;    top: 50%;    transform: translateY(-50%);}.wpqib-explanation {    margin-top: 20px;    padding: 15px 20px;    background-color: #f8f9fa;    border-left: 5px solid #007bff;    font-size: 0.95em; /* Giảm font size */    color: #495057;    border-radius: 0 6px 6px 0;    line-height: 1.6;    box-shadow: 0 1px 4px rgba(0,0,0,0.1);}/* Submit Area */.wpqib-quiz-submit-area {    text-align: center;    margin-top: 40px;    padding-top: 30px;    border-top: 1px dashed #e9ecef;}.wpqib-quiz-submit-area button,.wpqib-results-actions button {    background-color: #007bff;    color: white;    border: none;    padding: 12px 30px;    margin: 0 10px;    border-radius: 25px;    cursor: pointer;    font-size: 0.8em; /* Giảm font size */    font-weight: 600;    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;    min-width: 180px; /* Giảm min-width */    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);}.wpqib-quiz-submit-area button:hover,.wpqib-results-actions button:hover {    background-color: #0056b3;    transform: translateY(-2px);    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);}.wpqib-results-actions button.wpqib-review-btn {    background-color: #28a745;    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);}.wpqib-results-actions button.wpqib-review-btn:hover {    background-color: #218838;    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);}.wpqib-results-actions button.wpqib-restart-btn {    background-color: #6c757d;    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);}.wpqib-results-actions button.wpqib-restart-btn:hover {    background-color: #5a6268;    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);}/* Results Summary */.wpqib-quiz-results-summary {    display: flex;    flex-direction: column;    align-items: center;    margin-top: 35px; /* Giảm margin */    padding: 30px;    background-color: #eaf7ff;    border: 1px solid #8acaff;    border-radius: 10px;    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);}.wpqib-results-header {    width: 100%;    text-align: center;}.wpqib-results-header h3 {    color: #0056b3;    font-size: 1.8em; /* Giảm font size */    margin-bottom: 20px;    font-weight: 700;}.wpqib-score-display {    display: flex;    flex-direction: column;    align-items: center;    gap: 30px; /* Giảm khoảng cách */}.wpqib-chart-container {    position: relative;    width: 150px; /* Kích thước canvas nhỏ hơn */    height: 150px;    display: flex;    align-items: center;    justify-content: center;    flex-shrink: 0;}.wpqib-chart-container canvas {    max-width: 100%;    max-height: 100%;}.wpqib-score-text-overlay {    position: absolute;    display: flex;    flex-direction: column;    align-items: center;    justify-content: center;    color: #333;    font-weight: bold;    font-size: 1.1em;    line-height: 1.2;}.wpqib-score-percentage {    font-size: 1.8em; /* Giảm font size */    color: #007bff;}.wpqib-score-fraction {    font-size: 1em;    color: #555;}.wpqib-score-details {    text-align: left;    font-size: 1.05em; /* Giảm font size */    line-height: 1.8;}.wpqib-score-details p {    margin: 0;    padding: 5px 0;    color: #495057;}.wpqib-score-details span {    font-weight: 600;    color: #007bff;}.wpqib-score-details .wpqib-incorrect-score {    color: #dc3545;}.wpqib-score-details .wpqib-score {    color: #28a745;}.wpqib-results-actions {    margin-top: 25px;    display: flex;    flex-wrap: wrap;    justify-content: center;    gap: 15px;}.wpqib-loading {    text-align: center;    font-style: italic;    color: #666;    padding: 20px;}/* Responsive adjustments */@media (min-width: 768px) {    .wpqib-score-display {        flex-direction: row;        justify-content: center;        align-items: center;    }}@media (max-width: 600px) {    .wpqib-quiz-container {        padding: 15px;        margin: 10px auto; /* Thêm auto để căn giữa container */    }    .wpqib-quiz-title {        font-size: 1.4em; /* Tăng nhẹ để dễ đọc hơn */        margin-bottom: 25px;    }    .wpqib-question-text {        font-size: 0.9em; /* Giữ nguyên 1em là đủ đọc */        margin-bottom: 15px;    }    .wpqib-option-item label {        padding: 12px 15px; /* Tăng padding dọc, giảm padding ngang */    }.wpqib-option-item input[type="radio"] {    margin-right: 12px;    width: 18px;    height: 18px;    margin-top: 0; /* Reset về 0 */}.wpqib-option-item label .option-text {    font-size: 0.8em;    text-align: left;    padding-top: 8px; /* QUAN TRỌNG: Đẩy chữ xuống 2px trên mobile */}    .wpqib-question-wrapper {        margin-bottom: 25px;        padding-bottom: 20px;        border-bottom: 1px dashed #fe0c0c;    }    /* Tối ưu các nút bấm */    .wpqib-quiz-submit-area button,    .wpqib-results-actions button,    .wpqib-final-actions .wpqib-restart-btn,    .wpqib-final-actions .wpqib-next-quiz-btn {        padding: 12px 25px; /* Tăng padding để nút to và dễ nhấn hơn */        font-size: 0.8em;        min-width: 150px; /* Tăng nhẹ min-width */        margin: 5px;        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);    }    /* Tối ưu khu vực kết quả */    .wpqib-results-header h3 {        font-size: 1.5em;        margin-bottom: 15px;    }    .wpqib-score-display {        flex-direction: column;        gap: 20px;    }    .wpqib-chart-container {        width: 130px; /* Tăng nhẹ kích thước biểu đồ */        height: 130px;    }    .wpqib-score-percentage {        font-size: 1.6em;    }    .wpqib-score-fraction {        font-size: 1em;    }    .wpqib-score-details {        font-size: 1em;        text-align: center; /* Căn giữa text chi tiết điểm trên mobile */    }    .wpqib-explanation {        margin-top: 15px;        padding: 12px 18px;        font-size: 0.9em;    }    }/* MỚI: CSS cho Spinner và trạng thái Loading của nút (Đã tối ưu) */.wpqib-quiz-container button .wpqib-spinner,.wpqib-quiz-container a.wpqib-next-quiz-btn .wpqib-spinner {    display: none;    width: 18px;    height: 18px;    border: 2px solid rgba(255, 255, 255, 0.3);    border-radius: 50%;    border-top-color: #fff;    animation: wpqib-spin 1s ease-in-out infinite;    -webkit-animation: wpqib-spin 1s ease-in-out infinite;    margin-right: 8px;    vertical-align: middle;}/* Áp dụng trạng thái loading cho tất cả các nút có liên quan */.wpqib-quiz-container button.loading,.wpqib-quiz-container a.wpqib-next-quiz-btn.loading {    cursor: not-allowed;    opacity: 0.8;    display: inline-flex;    align-items: center;    justify-content: center;}.wpqib-quiz-container button.loading .wpqib-spinner,.wpqib-quiz-container a.wpqib-next-quiz-btn.loading .wpqib-spinner {    display: inline-block;}@keyframes wpqib-spin {    to { -webkit-transform: rotate(360deg); }}@-webkit-keyframes wpqib-spin {    to { -webkit-transform: rotate(360deg); }}/* [MỚI] CSS cho khu vực hành động cuối cùng */.wpqib-final-actions {    text-align: center;    margin-top: 40px;    padding-top: 20px;    border-top: 1px solid #e9ecef;    display: flex;    justify-content: center;    gap: 15px; /* Khoảng cách giữa các nút */}.wpqib-final-actions .wpqib-restart-btn,.wpqib-final-actions .wpqib-next-quiz-btn {    /* Kế thừa style từ các nút có sẵn */    background-color: #6c757d;    color: white;    border: none;    padding: 12px 30px;    margin: 0;    border-radius: 25px;    cursor: pointer;    font-size: 0.8em;    font-weight: 600;    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;    min-width: 150px;    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);    text-decoration: none; /* Dành cho thẻ <a> */    display: inline-block;    text-align: center;}.wpqib-final-actions .wpqib-restart-btn:hover,.wpqib-final-actions .wpqib-next-quiz-btn:hover {    background-color: #5a6268;    transform: translateY(-2px);    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);}.wpqib-final-actions .wpqib-next-quiz-btn {    background-color: #007bff; /* Màu khác cho nút "Tiếp theo" */    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);}.wpqib-final-actions .wpqib-next-quiz-btn:hover {    background-color: #0056b3;    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);}/*====================================================>> [MỚI] TỐI ƯU HÓA HIỂN THỊ MATHJAX <<====================================================*//*  * Lớp 1: Lớp an toàn - Thêm thanh cuộn ngang cho các container * Điều này đảm bảo layout không bao giờ bị vỡ nếu công thức quá lớn.*/.wpqib-question-text,.wpqib-option-item .option-text,.wpqib-explanation {    overflow-x: auto; /* Thêm thanh cuộn ngang khi cần */    -webkit-overflow-scrolling: touch; /* Giúp cuộn mượt hơn trên iOS */    padding-bottom: 8px; /* Tạo khoảng trống nhỏ cho thanh cuộn */    scrollbar-width: thin; /* Làm thanh cuộn mỏng hơn trên Firefox */    scrollbar-color: #aaa #f1f1f1; /* Tùy chỉnh màu thanh cuộn Firefox */}/* Tùy chỉnh thanh cuộn cho các trình duyệt Webkit (Chrome, Safari) */.wpqib-question-text::-webkit-scrollbar,.wpqib-option-item .option-text::-webkit-scrollbar,.wpqib-explanation::-webkit-scrollbar {    height: 6px; /* Chiều cao của thanh cuộn ngang */}.wpqib-question-text::-webkit-scrollbar-track,.wpqib-option-item .option-text::-webkit-scrollbar-track,.wpqib-explanation::-webkit-scrollbar-track {    background: #f1f1f1;}.wpqib-question-text::-webkit-scrollbar-thumb,.wpqib-option-item .option-text::-webkit-scrollbar-thumb,.wpqib-explanation::-webkit-scrollbar-thumb {    background: #aaa;    border-radius: 3px;}.wpqib-question-text::-webkit-scrollbar-thumb:hover,.wpqib-option-item .option-text::-webkit-scrollbar-thumb:hover,.wpqib-explanation::-webkit-scrollbar-thumb:hover {    background: #888;}/*  * Lớp 2: Lớp tối ưu - Cố gắng làm cho công thức tự co lại * Dành cho MathJax v3 (phiên bản phổ biến hiện nay).*/mjx-container {    max-width: 100%; /* Giới hạn chiều rộng tối đa của container MathJax */    text-align: left !important; /* Đảm bảo công thức luôn căn trái trong container của nó */}/*  * Cụ thể hơn cho các công thức hiển thị dạng khối (display math) * để chúng có thể xuống dòng hoặc co giãn tốt hơn.*/mjx-container[display="true"] {    display: block;    width: 100%;    box-sizing: border-box;}/* =========================================   MULTI-SET TABS STYLES (NEW)   ========================================= */.wpqib-tabs-wrapper {    margin-bottom: 25px;    border-bottom: 1px solid #e0e0e0;}/* --- SỬA LẠI CLASS NÀY (Để sửa lỗi không cuộn được) --- */.wpqib-tabs-nav {    display: flex;    flex-wrap: nowrap;    overflow-x: auto;    gap: 10px;    padding: 10px 5px 15px 5px; /* Thêm padding 2 bên để không bị sát lề */    justify-content: flex-start; /* QUAN TRỌNG: Phải để start thì mới cuộn trái được trên mobile */    margin: 0 auto;    -webkit-overflow-scrolling: touch; /* Cuộn mượt trên iOS */    scrollbar-width: none; /* Ẩn thanh cuộn Firefox */}/* [MỚI] Căn giữa khi có ít Tab (Áp dụng cho màn hình máy tính) */@media (min-width: 768px) {    .wpqib-tabs-nav.is-centered {        justify-content: center; /* Căn giữa các tab */    }}.wpqib-tabs-nav::-webkit-scrollbar {    display: none;}.wpqib-tab-btn {    background: #f8f9fa;    border: 1px solid #dee2e6;    border-radius: 6px;    padding: 8px 20px;    font-size: 14px;    font-weight: 600;    color: #6c757d;    cursor: pointer;    white-space: nowrap;    transition: all 0.2s ease;}.wpqib-tab-btn:hover {    background-color: #e9ecef;    color: #495057;}.wpqib-tab-btn.active {    background-color: #007bff;    color: #fff;    border-color: #007bff;    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);}/* --- DÁN THÊM ĐOẠN NÀY XUỐNG CUỐI FILE (Tối ưu Mobile) --- */@media (min-width: 768px) {    /* Trên máy tính thì vẫn căn giữa cho đẹp */    .wpqib-tabs-nav {        justify-content: center;    }}/* =========================================   COMPLETED TAB STYLES (New)   ========================================= *//* Trạng thái Tab đã hoàn thành (có dấu tích) */.wpqib-tab-btn.completed {    background-color: #e6fffa; /* Màu nền xanh nhạt */    border-color: #28a745;    color: #155724;}/* Thêm dấu tích V vào sau tên Tab */.wpqib-tab-btn.completed::after {    content: "\2713"; /* Mã Unicode dấu tích */    display: inline-block;    margin-left: 8px;    font-weight: bold;    color: #28a745; /* Màu xanh lá */    font-size: 1.1em;}/* Khi Tab đã hoàn thành đang được chọn (Active) */.wpqib-tab-btn.completed.active {    background-color: #007bff; /* Vẫn giữ màu xanh dương chủ đạo */    color: #fff;    border-color: #007bff;}/* Dấu tích chuyển sang màu trắng khi Active để dễ nhìn */.wpqib-tab-btn.completed.active::after {    color: #fff;}/* =========================================   BOTTOM NAVIGATION & ACTIONS (UPDATED)   ========================================= *//* Khu vực chứa các nút hành động cuối cùng */.wpqib-final-actions {    display: flex;    justify-content: center;    align-items: center;    gap: 15px; /* Khoảng cách giữa 2 nút */    margin-top: 30px;}/* Style chung cho cả nút Làm lại và Làm tiếp */.wpqib-final-actions button {    border: none;    padding: 12px 25px;    border-radius: 50px; /* Bo tròn hoàn toàn */    font-size: 15px;    font-weight: 600;    cursor: pointer;    transition: all 0.3s ease;    box-shadow: 0 4px 6px rgba(0,0,0,0.1);    min-width: 160px;    display: inline-flex;    align-items: center;    justify-content: center;}/* Nút Làm lại (Màu xám) */.wpqib-restart-btn {    background-color: #6c757d;    color: #fff;}.wpqib-restart-btn:hover {    background-color: #5a6268;    transform: translateY(-2px);    box-shadow: 0 6px 12px rgba(108, 117, 125, 0.3);}/* Nút Làm đề tiếp theo (Màu xanh dương nổi bật) */.wpqib-next-set-btn {    background-color: #17a2b8;    color: #fff;}.wpqib-next-set-btn:hover {    background-color: #138496;    transform: translateY(-2px);    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.3);}/* BLOCK DANH SÁCH ĐỀ (Nổi bật hơn) */.wpqib-bottom-nav {    margin-top: 40px;    padding: 25px;    background-color: #f8f9fa; /* Nền xám nhạt */    border: 1px solid #e9ecef;    border-radius: 12px; /* Bo góc khung */    text-align: center;    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Đổ bóng nhẹ cho cả khối */}.wpqib-bottom-nav h4 {    margin-top: 0;    margin-bottom: 20px;    color: #333;    font-size: 18px;    font-weight: 700;    text-transform: uppercase;    letter-spacing: 0.5px;}.wpqib-bottom-list {    display: flex;    flex-wrap: wrap;    justify-content: center;    gap: 12px;}/* Nút đề con bên dưới */.wpqib-bottom-btn {    background: #fff;    border: 1px solid #ced4da;    border-radius: 6px;    padding: 8px 16px;    font-size: 14px;    color: #495057;    cursor: pointer;    transition: all 0.2s;    font-weight: 500;}.wpqib-bottom-btn:hover {    border-color: #adb5bd;    background-color: #e2e6ea;}/* Trạng thái đang chọn (Active) */.wpqib-bottom-btn.active {    background-color: #6c757d;    color: #fff;    border-color: #6c757d;    box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);}/* Trạng thái đã làm xong (Completed) */.wpqib-bottom-btn.completed {    background-color: #ffffff;    border-color: #28a745;    color: #28a745;    font-weight: 600;}.wpqib-bottom-btn.completed::after {    content: "\2713";    margin-left: 6px;    font-weight: bold;}/* Vừa Active vừa Completed (Đang xem lại đề đã làm) */.wpqib-bottom-btn.active.completed {    background-color: #28a745;    color: #fff;    border-color: #28a745;}/* =========================================   DESKTOP ARROW NAVIGATION   ========================================= */.wpqib-tabs-wrapper {    position: relative; /* Để định vị mũi tên tuyệt đối */    padding: 0;}/* =========================================   RESPONSIVE & ARROWS CONFIGURATION   ========================================= *//* Style MỚI cho mũi tên: Đơn giản, không viền, không nền */.wpqib-scroll-btn {    display: none; /* Mặc định ẩn trên mobile */    position: absolute;    top: 45%;    transform: translateY(-50%);        /* Reset style cũ (Bỏ tròn, bỏ viền, bỏ bóng) */    width: auto;    height: auto;    background: transparent;    border: none;    box-shadow: none;    border-radius: 0;        /* Style mới */    cursor: pointer;    z-index: 99;    font-size: 25px; /* Mũi tên to, mỏng, hiện đại */    color: #d1d1d1; /* Màu mặc định xám nhạt cho tinh tế */    padding: 0 5px; /* Khoảng cách đệm để dễ bấm */    transition: color 0.2s ease;    line-height: 1;    outline: none; /* Bỏ viền xanh mặc định của trình duyệt khi bấm */    user-select: none;}/* Hiệu ứng: Chỉ đổi màu mũi tên sang Xanh, TUYỆT ĐỐI KHÔNG hiện nền */.wpqib-scroll-btn:hover,.wpqib-scroll-btn:focus,.wpqib-scroll-btn:active {    background-color: transparent !important; /* Bắt buộc trong suốt */    color: #007bff; /* Mũi tên chuyển xanh */    box-shadow: none;    border: none;    outline: none;}.wpqib-scroll-btn.prev { left: -10px; } /* Đẩy ra sát lề trái hơn chút */.wpqib-scroll-btn.next { right: -10px; } /* Đẩy ra sát lề phải hơn chút *//* --- CẤU HÌNH CHO DESKTOP (Màn hình > 768px) --- */@media (min-width: 768px) {    /* Tạo khoảng trống 2 bên để chứa mũi tên */    .wpqib-tabs-wrapper {        position: relative;        padding: 0 40px;     }    /* HIỆN MŨI TÊN TRÊN DESKTOP */    .wpqib-scroll-btn {        display: flex !important; /* Bắt buộc hiện */    }    /* Thanh nav nằm gọn ở giữa */    .wpqib-tabs-nav {        justify-content: flex-start; /* Để scroll hoạt động */        scroll-behavior: smooth;        margin: 0; /* Reset margin */        width: 100%;    }}/* --- CẤU HÌNH CHO MOBILE (Màn hình < 600px) --- */@media (max-width: 600px) {    /* 1. Thanh Tab trên */    .wpqib-tabs-nav {        justify-content: flex-start; /* Để vuốt được */        padding: 10px 0;    }    .wpqib-tab-btn {        flex: 0 0 auto;        font-size: 13px;        padding: 8px 14px;    }    /* 2. Nút hành động (Làm lại / Tiếp theo) */    .wpqib-final-actions {        flex-direction: column;        gap: 10px;    }    .wpqib-final-actions button {        width: 100%;        margin: 0;    }    /* 3. Danh sách đề dưới (2 CỘT) */    .wpqib-bottom-list {        display: grid;        grid-template-columns: repeat(2, 1fr); /* CHỈNH THÀNH 2 CỘT TẠI ĐÂY */        gap: 10px;    }    .wpqib-bottom-btn {        width: 100%;        text-align: center;        box-sizing: border-box;        white-space: nowrap;        overflow: hidden;        text-overflow: ellipsis;    }}/* =========================================   MOBILE RESULTS COMPACT MODE (TỐI ƯU GỌN)   ========================================= */@media (max-width: 600px) {    /* 1. Thu gọn khung bao ngoài */    .wpqib-quiz-results-summary {        padding: 15px; /* Giảm padding */        margin-top: 20px;        border-radius: 8px;    }    /* 2. Tiêu đề nhỏ lại & gọn hơn */    .wpqib-results-header {        margin-bottom: 15px;    }    .wpqib-results-header h3 {        font-size: 1.1em;        margin: 0 0 10px 0;        font-weight: 700;        text-transform: uppercase;    }    /* 3. QUAN TRỌNG: Xếp ngang Biểu đồ và Thông số */    .wpqib-score-display {        flex-direction: row; /* Chuyển sang hàng ngang */        align-items: center;        justify-content: center;        gap: 15px; /* Khoảng cách giữa biểu đồ và chữ */        margin-bottom: 0;    }    /* 4. Thu nhỏ biểu đồ tròn */    .wpqib-chart-container {        width: 80px; /* Nhỏ gọn */        height: 80px;    }    .wpqib-score-percentage {        font-size: 1.2em;    }    .wpqib-score-fraction {        font-size: 0.75em;    }    /* 5. Tinh chỉnh dòng chữ thông số bên phải */    .wpqib-score-details {        font-size: 0.9em;        text-align: left;        line-height: 1.4;    }    .wpqib-score-details p {        padding: 2px 0; /* Giảm khoảng cách dòng */        margin: 0;    }    /* 6. Hai nút "Xem lại" và "Làm lại" xếp ngang */    .wpqib-results-actions {        margin-top: 15px;        display: flex;        flex-direction: row; /* Xếp ngang */        gap: 10px;        width: 100%;    }        .wpqib-results-actions button {        flex: 1; /* Chia đều chiều rộng 50-50 */        margin: 0;        padding: 8px 5px;        font-size: 13px;        min-width: auto;        border-radius: 6px; /* Bo góc nhẹ cho gọn */    }}/* Fix thanh thời gian mobile */@media (max-width: 600px) {    #wpqib-timer-bar {        position: fixed !important; /* Ghim chặt trên cùng */        top: 0 !important;        left: 0 !important;        right: 0 !important;        width: 100% !important;        border-radius: 0 !important; /* Bỏ bo góc để full màn ngang */        margin: 0 !important;        border-left: none !important;        border-right: none !important;        box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;    }    /* Đẩy container xuống 1 chút để không bị thanh timer che mất tiêu đề */    .wpqib-quiz-container {        margin-top: 60px !important;    }}/* =========================================   STYLE 2: MODERN FLAT INTERFACE (CSS PHẲNG)   ========================================= */.wpqib-style-flat {    background: #fff;    border: none;    box-shadow: none;    max-width: 850px;}/* Căn giữa tiêu đề và số thứ tự */.wpqib-style-flat .wpqib-question-wrapper {    position: relative;    border-bottom: none;    margin-bottom: 30px;    padding-top: 40px;    text-align: center;}/* Số thứ tự 1/25 bên góc phải */.wpqib-style-flat .wpqib-question-wrapper::before {    content: attr(data-question-index-display);    position: absolute;    top: 0;    right: 0;    font-size: 16px;    color: #000 !important;    font-weight: normal; /* Đổi từ 500 hoặc bold sang normal */}.wpqib-style-flat .wpqib-question-text {    font-size: 17px;    font-weight: normal; /* Bỏ in đậm câu hỏi */    margin-bottom: 10px;    color: #000;    line-height: 1.6;}/* Ô đáp án phẳng */.wpqib-style-flat .wpqib-option-item {    margin-bottom: 15px;}/* Căn chỉnh lại label cho thẳng hàng với icon */.wpqib-style-flat .wpqib-option-item label {    display: flex;    align-items: center; /* Căn giữa icon và chữ theo chiều dọc */    padding: 7px 10px;    border-radius: 4px;    border: 1px solid #eee;    background: #fff;    cursor: pointer;    transition: background 0.2s;}.wpqib-style-flat .wpqib-option-item label:hover {    background-color: #f9f9f9;}/* Style cho chữ A, B, C, D */.wpqib-style-flat .option-text {    font-size: 16px;    color: #333;    line-height: 1.4;    font-weight: 500;}/* Style icon radio button lồng nhau cho Giao diện Phẳng */.wpqib-style-flat .wpqib-option-item input[type="radio"] {    appearance: none;    -webkit-appearance: none;    width: 22px; /* Độ rộng icon */    height: 22px; /* Độ cao icon */    border: 3px solid #ccc; /* Vòng tròn ngoài màu xám */    border-radius: 50%;    background: #fff;    position: relative;    cursor: pointer;    outline: none;    margin: 0 10px 0 0; /* Khoảng cách với chữ */    display: flex;    align-items: center;    justify-content: center;    transition: all 0.3s ease;    flex-shrink: 0;}/* Vòng tròn nhỏ bên trong (mặc định màu xám) */.wpqib-style-flat .wpqib-option-item input[type="radio"]::after {    content: "";    width: 10px; /* Độ lớn chấm tròn trong */    height: 10px;    background: #ccc; /* Màu xám nhạt như hình */    border-radius: 50%;    transition: all 0.3s ease;}/* ============================================================   PHẦN CỦA GIAO DIỆN PHẲNG (FLAT STYLE) - MÀU SẮC & TRẠNG THÁI   ============================================================ *//* 1. MÀU NỀN MẶC ĐỊNH KHI ĐANG CHỌN (CHƯA NỘP BÀI) */.wpqib-style-flat .wpqib-option-item label:has(input:checked) {    background-color: #cbd5ff !important; /* Màu tím nhạt khi đang chọn */    border: 1px solid #5d6eff !important;}/* 2. TRẠNG THÁI SAI (INCORRECT) - ƯU TIÊN CAO NHẤT *//* Dùng dấu phẩy để áp dụng cho cả trường hợp đang được tích chọn hoặc không */.wpqib-style-flat .wpqib-option-item.incorrect label,.wpqib-style-flat .wpqib-option-item.incorrect label:has(input:checked) {    background-color: #ffeaea !important; /* Ép sang màu đỏ hồng nhạt */    border: 2px solid #dc3545 !important;   /* Viền đỏ rõ rệt */}/* Thêm icon dấu X màu đỏ ở bên phải cho câu sai */.wpqib-style-flat .wpqib-option-item.incorrect label::after {    content: "\2717"; /* Ký tự X */    color: #dc3545;    font-size: 22px;    font-weight: bold;    position: absolute;    right: 15px;    top: 50%;    transform: translateY(-50%);}/* 3. TRẠNG THÁI ĐÚNG (CORRECT) */.wpqib-style-flat .wpqib-option-item.correct label,.wpqib-style-flat .wpqib-option-item.correct label:has(input:checked) {    background-color: #f0fff4 !important; /* Màu xanh lá nhạt */    border: 2px solid #28a745 !important;   /* Viền xanh lá đậm */}/* 4. ĐIỀU CHỈNH ICON RADIO BUTTON KHI CÓ KẾ QUẢ *//* Khi sai -> icon chuyển đỏ */.wpqib-style-flat .wpqib-option-item.incorrect input[type="radio"]:checked {    border-color: #dc3545 !important;}.wpqib-style-flat .wpqib-option-item.incorrect input[type="radio"]:checked::after {    background: #dc3545 !important;}/* Khi đúng -> icon chuyển xanh lá */.wpqib-style-flat .wpqib-option-item.correct input[type="radio"]:checked {    border-color: #28a745 !important;}.wpqib-style-flat .wpqib-option-item.correct input[type="radio"]:checked::after {    background: #28a745 !important;}/* 5. CÁC THÀNH PHẦN KHÁC (NÚT BẤM, TIÊU ĐỀ) */.wpqib-style-flat .wpqib-option-item label .option-text {    font-size: 15px;    color: #000;}.wpqib-style-flat .wpqib-submit-quiz-btn {    background-color: #5d6cf9;    border-radius: 8px;    padding: 10px 35px;    font-size: 18px;    min-width: 100px;    text-transform: none;    box-shadow: none;    font-weight: 700;    color: #fff;    border: none;    cursor: pointer;}.wpqib-style-flat .wpqib-quiz-title {    border-bottom: none;    margin-bottom: 20px;}/* --- Style Mặc định cho Đồng hồ (Classic) --- */#wpqib-timer-bar {    position: sticky;    top: 0;    z-index: 999;    text-align: center;    background: #fff;    padding: 10px;    border-radius: 8px;    margin-bottom: 20px;}#wpqib-timer-bar .wpqib-timer-text {    font-size: 1em;    font-weight: 600;}/* Trạng thái bình thường */.wpqib-style-flat #wpqib-timer-bar {    position: sticky;    top: 0; /* Ghim tại mép trên cùng */    background-color: #ffffff !important;    border-bottom: 1px solid #eeeeee !important;    z-index: 1000;    transition: background-color 0.2s ease, color 0.2s ease;}/* Trạng thái CHÍNH XÁC KHI GHIM */.wpqib-style-flat #wpqib-timer-bar.is-scrolled {    background-color: #ff0000 !important; /* Đổi màu đỏ */    color: #ffffff !important;    border-bottom: none !important;    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;}/* Fix màu chữ cho đồng hồ khi ghim */.wpqib-style-flat #wpqib-timer-bar.is-scrolled #wpqib-countdown,.wpqib-style-flat #wpqib-timer-bar.is-scrolled .wpqib-timer-text {    color: #ffffff !important;}/* Tối ưu khi cuộn trên mobile cho Style Phẳng */@media (max-width: 600px) {    .wpqib-style-flat #wpqib-timer-bar {        position: fixed !important;        top: 0 !important;        left: 0 !important;        right: 0 !important;        margin: 0 !important;        border-radius: 0 !important;    }}/* Khi không có Tab, thêm khoảng cách cho đẹp */.wpqib-quiz-container:not(.has-tabs) .wpqib-quiz-questions {    margin-top: 20px;}/* Ẩn đồng hồ nếu thời gian là 0 */.wpqib-timer-hidden {    display: none;}/* Style cho số thứ tự câu hỏi ở giao diện Flat khi không có Tab */.wpqib-style-flat .wpqib-question-wrapper {    border-top: 1px solid #f0f0f0;    padding-top: 30px;}.wpqib-style-flat .wpqib-question-wrapper:first-child {    border-top: none;}