.exam-english {
    padding: 15px;
    background: #FFF;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

#btn-copy-answer {
    font-size: 14px;
    background-color: red;
    color: white;
    font-weight: 600;
    border-radius: 4px;
}

.exam-english h1 {
    font-size: 28px;
}

.exam-english h2 {
    font-size: 24px;
}

.exam-english h3 {
    font-size: 20px;
}

.exam-english h4 {
    font-size: 18px;
}

.exam-english h5 {
    font-size: 16px;
}


.mic-button.recording {
    background: #dc3545;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, .6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.custom-modal {
    display: none;
    /* hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.custom-modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 20px;
}

.custom-modal-content {
    background-color: #fff;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.custom-modal-header,
.custom-modal-footer {
    padding: 15px;
    background-color: #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-body {
    padding: 15px;
    overflow-y: auto;
}

.custom-modal-title {
    margin: 0;
}

.custom-close-btn,
.custom-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.custom-close-btn:hover,
.custom-btn:hover {
    color: red;
}

.custom-table-wrapper {
    overflow-x: auto;
    margin-top: 15px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-table th,
.custom-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.blank-input {
    border: 1px solid black;
    padding: 5px;
    margin-bottom: 10px;
    margin-bottom: 10px;
}

.question-number {
    margin-bottom: 10px;
}

.bg-success {
    background-color: green;
    color: white;
}

.bg-danger {
    background-color: darkred;
    color: white;
}

.correct-answer {
    color: green;
    margin-left: 6px;
}

.text-center {
    text-align: center;
}

.ielts-writing-part-announcement-container {
    grid-row: 1;
    grid-column: 1 / -1;
    padding: 2px 15px;
    border-radius: 5px;
    border: 1px solid lightgray;
    line-height: 1.5;
    margin-bottom: 10px;
}

.ielts-writing-part-announcement.current {
    display: flex;
    flex-wrap: wrap;
}

.ielts-writing-part-question-count {
    width: 100%;
}

.answers {
    padding: 10px;
    font-family: var(--font-body-family);
    font-size: 18px;
}

/* Khối kết quả */
.result-writing {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background: #fafafa;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Loading spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.exam-logo {
    display: flex;
}

.exam-logo img {
    width: 30px;
}

.exam-timer {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    font-size: 14px;
}

.menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
}

.menu-dropdown.show {
    display: block;
}

.menu-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: #f5f5f5;
}

body.focus-mode {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body.focus-mode .exam-english {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

body.focus-mode .questions-content {
    flex: 1;
    max-height: none;
    overflow-y: auto;
}

body.focus-mode .audio-player {
    margin-bottom: 10px;
}

body.focus-mode .navigation {
    margin-top: auto;
    padding-top: 15px;
}

.audio-player {
    background: #f9f9f9;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.audio-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.highlight-tag {
    background: #fff3cd !important;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.highlight-tag span {
    background: #fff3cd !important;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.highlight-tag sup {
    color: #dc3545;
    font-size: 0.75em;
    margin-left: 3px;
}


.audio-controls {
    display: flex;
}

.audio-controls audio {
    width: 100%;
}

.questions-content {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
}

.answer-text {
    font-weight: 600;
    margin: 0 10px;
}

.question-section {
    margin-bottom: 40px;
}

.question-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.question-subtitle {
    margin-bottom: 15px;
    font-size: 16px;
}

.section-name {
    font-weight: bold;
    margin: 20px 0 10px 0;
    font-size: 16px;
}

.question-item {
    margin-bottom: 15px;
    /* display: flex;
    align-items: center; */
    gap: 10px;
}

.question-item input[type="text"] {
    width: 120px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.question-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid black;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    margin-right: 10px;
}

.option-item {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    align-items: center;
    margin-left: 20px;
}

.option-item input {
    /* margin-top: 3px; */
    cursor: pointer;
}

.option-item label {
    cursor: pointer;
}

.answer-alpha {
    display: inline-block;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    background-color: rgb(225, 224, 224);
    border-radius: 50%;
}

.select-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.select-item select {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 100px;
}

.event-list {
    margin-bottom: 20px;
}

.event-list div {
    margin-bottom: 8px;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
    position: relative;
}

.prev-next {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 0;
}

.nav-btn {
    padding: 10px 20px;
    background: #67754c;
    color: #FFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.nav-btn:disabled {
    background: darkgray;
    cursor: not-allowed;
}

.parts-container {
    display: flex;
    gap: 10px;
}

.part-tab {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.part-tab.active {
    border-color: #afba9d;
    background: #e6f2d3;
}

.part-tab.active .part-info {
    display: none;
}

.part-title {
    font-weight: bold;
}

.part-tab.active .part-title {
    color: #000;
}

.part-info {
    font-size: 12px;
    font-style: italic;
    color: #666;
}

.question-numbers {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.question-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #999;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
}

.question-btn:hover {
    background: #f0f0f0;
}

.submit-btn,
#viewResultsBtn {
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0px;
    padding: 10px;
    background: #67754c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    gap: 5px;
}

.submit-btn:hover {
    background: #037373;
}

.hidden {
    display: none !important;
}

label {
    font-weight: 400;
    display: block;
    font-size: 15px;
    margin-bottom: 0;
}

/* Reading  */
.part-header {
    padding: 15px 0px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.part-title {
    font-weight: bold;
}

.zoom-controls {
    margin-left: auto;
    display: flex;
    gap: 5px;
}

.zoom-btn {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.zoom-btn:hover {
    background: #e0e0e0;
}

.main-content {
    display: flex;
    max-height: calc(100vh - 240px);
    width: 100%;
}

.reading-panel {
    flex-basis: 50%;
    overflow-y: auto;
    padding: 20px 20px 20px 0;
    background: #fafafa;
    max-height: 600px;
    min-height: 400px;
}

.resizer {
    width: 6px;
    background: #e0e0e0;
    cursor: col-resize;
    position: relative;
    transition: background 0.2s;
}

body.resizing {
    cursor: col-resize;
    user-select: none;
}

.resizer:hover {
    background: #bdbdbd;
}

.resizer::before {
    content: '⋮';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 20px;
}

.questions-panel {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: white;
    max-height: 600px;
    min-height: 400px;
}

#examTimer.warning {
    color: red;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.passage-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.passage-text {
    line-height: 1.8;
    font-size: 17px;
    color: #333;
}

.passage-text p {
    margin-bottom: 15px;
    padding: 0;
}

/* listening  */
.exam-listening .exam-header {
    margin: 15px 15px 10px;
}

.exam-listening .header {
    background-color: white;
    padding: 20px;
}

.exam-listening .header h1 {
    font-size: 24px;
    font-weight: 600;
}

.exam-listening .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.exam-listening .navigation button {
    background-color: #67754c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.exam-listening .navigation button:hover {
    background-color: #2a2a2a;
}

.exam-listening .navigation button:disabled {
    background-color: #d0d0d0;
    color: #888;
    cursor: not-allowed;
}

.exam-listening .navigation button:disabled:hover {
    background-color: #d0d0d0;
}

.exam-listening .question-container {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.exam-listening .question-container .question-label {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    margin-bottom: 20px;
}

.exam-listening .question-container .question-text {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

.exam-listening .audio-section {
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px 40px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.exam-listening .audio-section .mic-button {
    width: 80px;
    height: 80px;
    background: #037373;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.exam-listening .audio-section .mic-button svg {
    width: 40px;
    height: 40px;
    fill: #FFF;
}

.exam-listening .audio-section .mic-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(52, 199, 89, 0.4);
}

.exam-listening .audio-section .mic-button:active {
    transform: scale(0.95);
}

.exam-listening .audio-section .upload-button {
    background-color: #67754c;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.exam-listening .audio-section .upload-button:hover {
    background-color: #0051d5;
}

.exam-listening .speaking-time {
    font-size: 14px;
    color: #666;
    margin: 15px ;
}

.exam-listening .action-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.exam-listening .action-buttons .btn-reply {
    background-color: #afba9d;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.exam-listening .action-buttons .btn-reply:hover {
    background-color: #0051d5;
}

.exam-listening .action-buttons .btn-submit {
    background-color: #67754c;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exam-listening .action-buttons .btn-submit:hover {
    background-color: #30b350;
}

.exam-listening .action-buttons .btn-submit .arrow-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.anwser-last {
    font-weight: 700;
    display: inline-block;
    margin: 0 10px;
}

.explain-answer-button {
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
    padding: 0px 10px;
    line-height: 2;
    border: 1px solid gray;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 700;
}

.info-wrapper {
    display: inline-block;
}

.note-info {
    position: fixed;
    /* QUAN TRỌNG */
    max-width: 800px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    border-radius: 6px;
    z-index: 10;
    display: none;
}

.note-info.is-open {
    display: block;
}

.question-wrapper {
    display: grid;
    grid-template-columns: 1fr 10px 1fr;
    align-items: stretch;

    @media (max-width: 992px) {
        grid-template-columns: 1fr;

        .question-wrapper-scoll {
            display: none;
        }
    }

    &:not(.is-result) {
        grid-template-columns: 1fr;

        .question-wrapper-info {
            display: none;
        }

        .question-wrapper-scoll {
            display: none;
        }
    }
}

.question-wrapper-info,
.questions-content {
    min-width: 0;
    /* allow flex/grid children to shrink */

}

.question-wrapper-info {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;

    &::-webkit-scrollbar {
        display: none;
    }

    img {
        max-width: 100%;
    }
}

.question-wrapper-info .ielts-reading-transcript{
    padding: 20px;
    padding-left: 0px;
    font-size: 18px;
}

.text-highlight {
    background: #fff89a;
    cursor: default;
    position: relative;
    padding: 0 1px;
}

/* Icon note element thật - có thể click được */
.note-icon {
    position: absolute;
    top: -16px;
    left: 0;
    width: 20px;
    height: 20px;
    background: gold;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;

}

.note-icon::after {
    /* góc gấp màu vàng giống sticky note */
    content: '';
    background-color: black;
    width: 17px;
    height: 17px;
    mask-image: url(../images/note-icon.png);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center;
    display: block;

}

.note-icon:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.note-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}

.note-modal-overlay.active {
    display: block;
}

.note-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90vw;
    background: #fff9c4;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
}

.note-modal.active {
    display: block;
}

.note-modal-header {
    position: relative;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.note-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #e0e0e0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    padding: 0;
}

.note-modal-close:hover {
    background: #d0d0d0;
}

.note-modal-body {
    padding: 16px;
    min-height: 120px;
}

.note-modal-textarea {
    width: 100%;
    min-height: 100px;
    border: none;
    background: transparent;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
}

.note-modal-footer {
    background: #e0e0e0;
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.note-modal-delete {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.note-modal-delete:hover {
    background: #c82333;
}

.note-modal-save {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.note-modal-save:hover {
    background: #218838;
}

/* Dictionary Modal */
.dictionary-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 90vw;
    max-height: 80vh;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    overflow: hidden;
}

.dictionary-modal.active {
    display: flex;
    flex-direction: column;
}

.dictionary-modal-header {
    position: relative;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.dictionary-modal-icon {
    font-weight: bold;
    font-size: 16px;
}

.dictionary-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #e0e0e0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    padding: 0;
}

.dictionary-modal-close:hover {
    background: #d0d0d0;
}

.dictionary-modal-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

.dictionary-loading {
    text-align: center;
    padding: 20px;
}

.dictionary-loading p {
    margin-top: 10px;
    color: #666;
}

.dictionary-word {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.dictionary-phonetic {
    font-size: 16px;
    color: #666;
    margin-bottom: 16px;
    font-style: italic;
}

.dictionary-meaning {
    margin-bottom: 20px;
}

.dictionary-part-of-speech {
    font-size: 14px;
    font-weight: bold;
    color: #037373;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.dictionary-definition {
    margin-bottom: 12px;
    padding-left: 16px;
}

.dictionary-definition-text {
    margin-bottom: 4px;
    line-height: 1.5;
}

.dictionary-example {
    color: #666;
    font-style: italic;
    margin-top: 4px;
    padding-left: 12px;
    border-left: 2px solid #e0e0e0;
}

.dictionary-error {
    text-align: center;
    padding: 20px;
    color: #dc3545;
}

.dictionary-error-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.text-tools-popup {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 4px;
    display: none;
    z-index: 9999;
    font-size: 12px;
}

.fill-blank-container table tr th,
.fill-blank-container table tr td {
    padding: 10px;
}

.text-tools-popup button {
    border: none;
    background: transparent;
    cursor: pointer;
    margin: 0 2px;
    padding: 2px 4px;

    &[data-action="highlight"] {
        background: #fff89a;

        &:hover {
            background: #fff3cd;
        }
    }

    &[data-action="note"] {
        background: gold;

        &:hover {
            background: gold;
        }
    }

    &[data-action="remove"] {
        background: lightgray;

        &:hover {
            background: gray;
        }
    }

    svg {
        width: 20px;
        height: 20px;
    }
}

.question-wrapper-scoll {
    position: relative;
    cursor: ew-resize;
    user-select: none;
    background: lightgray;
}

.question-wrapper-scoll svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    cursor: ew-resize;
}

.question-wrapper-scoll svg:hover {
    opacity: 0.8;
}

@media (max-width: 992px) {
    .reading-panel {
        max-height: calc((100vh - 280px) / 2);
        min-height: 200px;
        border-bottom: 1px solid #000;
    }

    .questions-panel {
        max-height: calc((100vh - 280px) / 2);
        min-height: 200px;
        padding-left: 0;
    }

    .part-tab {
        display: none;
    }

    .part-tab.active {
        display: block;
    }

    .nav-btn span {
        display: none;
    }

    .main-writing {
        display: block;
    }
}