
#floating-panel.listening {
    position: fixed;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    background: #4ba8cc;
    background: linear-gradient(166deg, rgba(75, 168, 204, 1) 0%, rgba(46, 130, 166, 1) 100%);
    border: 2px solid #fff;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 999;
    max-width: 27%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

#floating-panel.reading {
    position: fixed;
    right: 2%;
    left: 2%;
    bottom: 2%;
    max-height: 30%;
    background: #409141;
    background: linear-gradient(166deg, rgba(64, 145, 65, 1) 0%, rgba(75, 204, 77, 1) 100%);
    border: 2px solid #fff;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

#floating-panel.writing {
    position: fixed;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    background: #ffae36;
    background: linear-gradient(339deg, rgba(255, 174, 54, 1) 0%, rgba(204, 81, 47, 1) 100%);
    border: 2px solid #fff;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 999;
    width: 27%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

#floating-panel.hidden {
    transform: translateY(200%);
    opacity: 0;
}

/* Header */
#floating-panel .panel-header {
    display: block;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
    direction: rtl;
}

#floating-panel .panel-icon {
    margin-right: 8px;
}

#floating-panel .separator {
    width: 100%;
    height: 1px;
    margin: 8px 0;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.5);
}

/* Numbered Circles */
#floating-panel .panel-body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

#floating-panel .circle {
    width: 36px;
    height: 36px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.test-body .circle, .answers .circle {
    width: 28px;
    height: 28px;
    color: white;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    margin: 1px;
    line-height: 28px;
    font-size: 14px;
    flex-shrink: 0;
}

.test-body .circle.double, .answers .circle.double {
    font-size: 8px;
    line-height: 25px;
}

#floating-panel.listening .circle,
.test-body.listening .circle, .answers.listening .circle {
    background: #216998;
}

#floating-panel.reading .circle,
.test-body.reading .circle, .answers.reading .circle {
    background: #327229;
}

#floating-panel.writing .circle,
.test-body.writing .circle, .answers.writing .circle {
    background: #dbb10f;
}

#floating-panel.listening .circle.answered {
    background: #24256f;
}

#floating-panel.reading .circle.answered {
    background: #385219;
}

#floating-panel.writing .circle.answered {
    background: #523919;
}

#floating-panel.listening .circle:hover {
    background: #2980b9;
}

#floating-panel.reading .circle:hover {
    background: #68af5e;
}

#floating-panel.writing .circle:hover {
    background: #c4731d;
}

/* Timer */
#floating-panel .panel-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    /* center horizontally */
    margin: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.panel-timer .button_icon {
    margin-right: 10px;
}

#question-timer {
    display: inline-block;
    width: 5ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Audio Player */
#floating-panel .panel-audio {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Controls */
#floating-panel .audio-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

#floating-panel .audio-controls button {
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    direction: rtl;
}

#floating-panel .audio-controls button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.audio-controls .button_icon {
    margin-left: 5px;
    margin-right: 5px;
}

#floating-panel .audio-progress-container {
    display: flex;
    align-items: center;
    width: 100%;
    /* make the container full width of the panel */
    gap: 8px;
    margin-bottom: 8px;
}

#floating-panel .audio-controls i {
    color: #fff;
}

#progress-bar {
    flex: 1;
    /* slider fills remaining space */
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

#progress-filled {
    width: 0%;
    height: 100%;
    background: #fff;
    border-radius: 4px;
}

#time-remaining {
    font-size: 12px;
    color: #fff;
    min-width: 45px;
    text-align: right;
}

#floating-panel .split-container {
    display: flex;
    width: 100%;
    gap: 10px;
    text-align: center;
}

#floating-panel .split-left,
#floating-panel .split-right {
    flex: 1;
}


/* Fullscreen dark overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    /* use flex to center panel */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.popup-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* White popup panel */
.popup-panel {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Close button */
.popup-close-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dd3434;
    cursor: pointer;
    transition: background 0.2s;
    padding: 5px !important;
    width: 32px;
    height: 32px;
}

.popup-close-button i {
    color: #fff;
}

.popup-close-button:hover {
    background: #ffc6c6 !important;
}

.popup-contents {
    margin-top: 30px;
}

.popup-contents label, .popup-contents a {
    font-family: "IRANSansWeb";
}

.answer-sheet {
    width: auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 10px;
    border: 2px solid #333;
    direction: ltr;
}

.answer-sheet.writing {
    width: 100%;
}

.answer-sheet.writing h5 {
    color: #ffa700;
    padding: 0;
    margin: 0;
}

/* Table cells */
.answer-sheet th,
.answer-sheet td {
    border: 1px solid #999;
    /* inner borders */
    padding: 6px;
    text-align: center;
}

.answer-sheet tr.text-area td {
    height: 250px;
}

.answer-sheet.writing textarea {
    background: transparent;
    border: none;
    color: #000;
    caret-color: transparent;
    resize: none;
    outline: none;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* Fixed width for answer columns: 2, 4, 6, 8 */
.answer-sheet td:nth-child(even),
.answer-sheet th:nth-child(even) {
    width: 400px;
}

/* Alternating row colors */
.answer-sheet tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.answer-sheet tbody tr:nth-child(even) {
    background-color: #ffffff;
}

/* Header styling */
.answer-sheet th {
    background-color: #3498db;
    color: #fff;
}

.answer-sheet.listening tr td.first-row {
    background: #05c4ff !important;
    color: #fff;
}

.answer-sheet.reading tr td.first-row {
    background: #299b46 !important;
    color: #fff;
}

.answer-sheet.writing tr td.first-row {
    background: #ffa700 !important;
    color: #fff;
}

.answer-sheet tr td.first-row span {
    overflow: hidden;
    max-width: 750px;
    display: block;
    text-align: center;
}

/* Tests */
.test-body {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    direction: ltr;
}

.test-section {
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
}

.test-body.listening .test-section {
    background: #49a5c97d;
    background: linear-gradient(166deg, rgba(73, 165, 201, 0.7) 0%, rgba(73, 165, 201, 0.3) 50%);
}

.test-body.reading .test-section {
    background: #49c95d7d;
    background: linear-gradient(166deg, rgba(119, 231, 136, 0.7) 0%, rgba(73, 201, 105, 0.3) 50%);
}

.test-body.writing .test-section {
    background: #c9af497d;
    background: linear-gradient(166deg, rgba(212, 172, 14, 0.7) 0%, rgba(201, 140, 23, 0.3) 50%);
}

.test-body.listening .test-section h3 {
    color: #00608b;
    flex: 1;
    border-bottom: 1px solid #00608b;
}

.test-body.reading .test-section h3 {
    color: #2a6222;
    flex: 1;
    border-bottom: 1px solid #2a6222;
}

.test-body.writing .test-section h3 {
    color: #dc6d31;
    flex: 1;
    border-bottom: 1px solid #dc6d31;
}

.test-subsection {
    padding: 10px;
    border-radius: 15px;
}

.test-body.listening .test-subsection h4,
.test-body.listening .test-subsection h5,
.test-body.listening .test-subsection h6 {
    color: #00608b;
}

.test-body.writing .test-subsection h4,
.test-body.writing .test-subsection h5,
.test-body.writing .test-subsection h6 {
    color: #dc6d31;
}

.test-body.reading .test-subsection h4,
.test-body.reading .test-subsection h5,
.test-body.reading .test-subsection h6,
.test-body.reading .test-subsection-body h4,
.test-body.reading .test-subsection-body h5,
.test-body.reading .test-subsection-body h6 {
    color: #2a6222;
}

.test-body.reading .test-subsection-body .center {
    text-align: center;
}

.test-subsection-caption {
    background: rgba(115, 115, 115, 4.1);
    background: linear-gradient(166deg, rgba(115, 115, 115, 0.41) 0%, rgba(115, 115, 115, 0) 80%);
    padding: 20px;
    margin-left: 20px;
    border-radius: 15px;
    direction: ltr;
    color: #000;
}

.test-subsection-caption p {
    margin: 0;
}

.test-subsection-body {
    margin-top: 20px;
    color: #000;
}

.test-subsection-caption strong.red {
    color: #ff3434;
}

.test-body button.play_here {
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    color: #00608b;
    margin-bottom: 15px;
}

.test-body button.play_here:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #00608b;
}

.test-body button.play_here .button_icon {
    margin-left: 5px;
    margin-right: 5px;
}

.test-body button.play_here .button_icon i {
    color: var(--iee-test-color-dark);
}

.test-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
}

table.justify tr td {
    text-align: justify;
}

#report-error {
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
}

#report-error form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#report-error label {
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
}

#report-error select,
#report-error textarea {
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
    transition: border-color 0.2s ease;
}

#report-error select:focus,
#report-error textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 115, 170, 0.3);
}

.popup-contents select {
    padding: 10px 30px;
}

#response {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.share-container {
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
}

.share-container h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-buttons a {
    margin: auto;
}

.test-body input.short {
    display: inline-block;
    width: 150px;
    margin: 2px 5px;
    padding: 6px 5px;
    vertical-align: middle;
    border-radius: 28px;
    border: 1px solid #000;
    color: #000;
}

.test-body.listening input.short,
.test-body.listening select.question {
    border: 1px solid #3991b5;
    color: #216998;
}

.test-body.reading input.short,
.test-body.reading select.question {
    border: 1px solid #429a43;
    color: #2c7e20;
}

.test-body span.radio-number {
    width: 24px;
    height: 24px;
    display: inline-block;
    background: #adadad;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
    margin: 5px;
    color: #5a5a5a;
}

.test-body ul.radio-group {
    margin-left: 50px;
}

.test-body input.hidden-textbox {
    opacity: 0 !important;
    width: 0px !important;
    height: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
}

.test-body .checkbox-item {
    margin-left: 50px;
    list-style: none;
}

.answer-sheet input.answer,
.answer-sheet input.answer:focus {
    margin: 0;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    pointer-events: none;
    color: #000;
}

.boxed-reading.withpanel {
    height: 66vh;
    overflow-y: scroll;
    transition: transform 0.3s ease;
}

.boxed-reading {
    height: 90vh;
    overflow-y: scroll;
    transition: transform 0.3s ease;
}

#next_passage {
    position: fixed;
    right: 20px;
    top: 96px;
}

#prev_passage {
    position: fixed;
    left: 20px;
    top: 96px;
}

#next_passage a,
#prev_passage a {
    padding: 10px;
}

#next_passage i, #prev_passage i {
    color: #fff;
}

.test-section.hidden {
    display: none;
}

#prev_passage.hidden,
#next_passage.hidden {
    display: none;
}

#floating-panel {
    direction: ltr;
}

#floating-panel .flex {
    display: flex;
    gap: 10px;
}

#floating-panel .flex .panel-body {
    flex: 2.6;
    align-items: center;
}

#floating-panel .flex .panel-timer {
    flex: 0.6;
    align-items: center;
}

#floating-panel .flex .split-container {
    flex: 1;
    align-items: center;
}

#floating-panel .flex .separator {
    display: flex;
    width: 1px;
    height: 8vh;
    align-items: center;
    justify-content: center;
}

.swal2-confirm-red {
    background-color: #e74c3c !important;
    color: white !important;
}

.swal2-cancel-green {
    background-color: #2ecc71 !important;
    color: white !important;
}

.swal2-container {
    backdrop-filter: blur(5px);
    /* blur background */
}


.test-body select.question {
    display: inline-block;
    width: 150px;
    border-radius: 25px;
    margin: 2px 5px;
    padding: 6px 5px;
    vertical-align: middle;
    text-align: center;
}

.test-body .question-input-wrapper {
    display: inline-flex;
    align-items: center;
}

.test-body .textarea {
    flex: 1;
    height: 60vh;
    overflow-y: scroll;
    color: #000;
    border: 1px solid #e37b32;
    border-radius: 15px;
}

.test-body.writing .question-input-wrapper {
    width: 100%;
}

.test-body .word-count {
    display: block;
    font-size: 12px;
    width: 100%;
    text-align: right;
    color: #6a6a6a;
}

.header-icon-wrapper {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.header-icon-wrapper i {
    font-size: 18px;
    color: var(--iee-test-color-dark);
}

.header-icon-wrapper h4 {
    margin: 0;
    color: var(--iee-test-color-dark);
}

.leaderboard-card .flag img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

.leaderboard-card table.leaderboard {
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    color: var(--iee-test-color-dark);
}

.leaderboard-card table.leaderboard thead th {
    text-align: left;
    padding: 10px 12px;
    font-size: 0.85rem;
    color: #fff;
    background-color: var(--iee-test-color-dark);
    text-transform: uppercase;
    font-weight: 600;
    border: none;
}

.leaderboard-card table.leaderboard thead th:first-child {
    width: 48px;
}

.leaderboard-card table.leaderboard thead th:nth-child(2) {
    width: 60px;
}

.leaderboard-card table.leaderboard tbody tr:nth-child(2n) {
    background: var(--iee-test-color-light);
}

.leaderboard-card table.leaderboard td {
    padding: 10px 12px;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
}


.leaderboard-card .rank-1 i {
    color: #FFD700;
}

.leaderboard-card .rank-2 i {
    color: #C0C0C0;
}

.leaderboard-card .rank-3 i {
    color: #CD7F32;
}

.answers {
    display: flex;
    color: #000;
    direction: ltr;
    margin-left: 40px;
}

.answers .col {
    flex: 1;
}

.answers .circle {
    margin-right: 10px;
}

.answers .answer-row {
    display: flex;
    padding: 5px;
    flex: 1;
}

.test-information i {
    padding: 5px;
    width: 32px;
    text-align: center;
}

.test-information span {
    display: block;
    color: var(--iee-test-color-dark);
}

.test-information h4 {
    color: var(--iee-test-color-dark);
}

.test-information {
    text-align: right;
}

input:invalid {
    border: 2px solid #e91313;
    background: #ffe6e6;
    color: #e91313;
}

input:valid {
    border: 2px solid #2a9d8f;
    background: #e6fff5;
}

form.hidden {
    display: none;
}


.test-username {
    width: 128px;
    height: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--iee-test-color-dark);
    margin: auto;
}

.test-username i {
    font-size: 48px;
}

.test-username .username-title {
    margin-top: 8px;
    font-size: 16px;
    font-weight: bold;
}

.test-bandscore .score {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    background: var(--iee-test-color-light);
    border-radius: 50%;
    color: var(--iee-test-color-dark);
}

.test-bandscore {
    margin: auto;
    display: block;
    width: 160px;
    height: 160px;
    border: 10px solid var(--iee-test-color-dark);
    border-radius: 50%;
}

.test-detail {
    display: flex;
    width: 128px;
    height: 128px;
    border: 6px solid var(--iee-test-color-dark);
    text-align: center;
    margin: auto;
    background: var(--iee-test-color-light);
    border-radius: 50%;
    flex-direction: column;
    color: var(--iee-test-color-dark);
}

.test-detail i {
    font-size: 18px;
    padding-top: 16px;
}

.test-detail .light-color {
    text-align: center;
    font-size: 12px;
    color: #727272;
}

.test-detail .dark-color {
    font-size: 18px;
}

.bandscore-dsc {
    color: var(--iee-test-color-dark);
    font-size: 14px;
}

.bandscore-dsc .row {
    display: flex;
    border-bottom: 1px solid;
    gap: 10px;
}

.bandscore-dsc .col1 {
    flex: 1;
}

.bandscore-dsc .col2 {
    flex: 5;
}

.bandscore-tabs .ui-tabs .ui-tabs-nav li.ui-state-active a::after, .fake-tabs > ul li a::after, .fake-tabs > ul li a .number {
    background: var(--iee-test-color-dark);
}

.bandscore-tabs .ui-tabs .ui-tabs-nav li.ui-state-active a, .accordion .question.active > .title > .acc-icon-plus, .accordion .question.active > .title > .acc-icon-minus, .accordion .question.active > .title, .faq .question.active > .title > .acc-icon-plus, .faq .question.active > .title, .fake-tabs > ul li.active a {
    color: var(--iee-test-color-dark);
}

.answers span.wrong {
    flex: 0.2;
    color: #d84e4e;
    text-align: center;
    margin: auto;
}

.answers span.correct {
    flex: 0.2;
    color: #59d84e;
    text-align: center;
    margin: auto;
}

.answers span.sub-answer {
    flex: 1;
    margin: auto;
}


.answers .row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    gap: 5px;
    padding: 5px;
    border-bottom: 1px dashed #d6d6d6;
}

.answers .row-top span {
    flex: 1;
    text-align: center;
    color: #656565;
}

.answers .row-top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    text-align: center;
    border-bottom: 1px solid var(--iee-test-color-dark);
    padding: 5px;
    margin-bottom: 10px;
}

.share-card .share-row button {
    background: var(--iee-test-color-dark);
    margin: auto;
    color: #fff;
}

.share-card .share-row button:hover {
    background: var(--iee-test-color-light);
}

.share-card .share-row input {
    border-radius: 25px;
    border: 1px solid var(--iee-test-color-dark);
    margin: auto;
}

.share-card .share-row {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-content: center;
    gap: 10px;
    margin-top: 20px;
}

.wait-for-eval p {
    margin: 0;
}

.wait-for-eval {
    display: block;
    text-align: center;
    padding: 20px;
    border: 2px solid var(--iee-test-color-dark);
    background: var(--iee-test-color-light);
    border-radius: 15px;
    color: #000;
}


.tags .tag-body {
    border: 1px solid;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.tags .title {
    padding: 0px 5px;
    color: #000;
    width: 100%;
    display: block;
    font-size: 12px;
}

.tags .desc {
    color: #000;
    font-size: 12px;
    line-height: normal;
    padding: 5px;
    text-align: initial;
}

.entry .added {
    border: 1px solid #348728;
    padding: 0px 5px;
    border-radius: 15px;
    background: #e2ffd5;
    color: #348728;
    cursor: pointer;
}

.entry .deleted {
    border: 1px solid #e91849;
    padding: 0px 5px;
    border-radius: 15px;
    background: #ffefef;
    color: #e91849;
    text-decoration: line-through;
    cursor: pointer;
}

.entry .note {
    color: #2588c3;
    text-decoration: underline;
    cursor: pointer;
    text-decoration-style: wavy;
    background: #d0edff;
    padding: 0px 8px;
    border-radius: 15px;
}

.evaluation {
    display: flex;
    flex-direction: row;
    gap: 30px;
    text-align: justify;
    padding: 10px;
    color: #000;
    margin-top: 20px;
    direction: ltr;
}

.tags .tag-body.added {
    border-color: #459339;
    background: #d8ffd3;
}

.tag-body.deleted {
    border-color: #ea2c59;
    background: #ffe4ea;
}

.tags .tag-body.note {
    border-color: #2588c3;
    background: #ccecff;
}

.tags .tag-body.added .title {
    background: #77f164;
}

.tags .tag-body.deleted .title {
    background: #f685a0;
}

.tags .tag-body.note .title {
    background: #3abde5;
}


.evaluation .entry {
    flex: 1;
    height: fit-content;
    position: relative;
}

.evaluation .tags {
    flex: 0.3;
    padding: 0px 15px;
    overflow-y: scroll;
}

.test-section-header h5 {
    color: var(--iee-test-color-dark);
}

.evaluation-scores {
    display: flex;
    gap: 10px;
    flex-flow: row;
    margin-bottom: 10px;
    direction: ltr;
}

.sect-one-fourth {
    flex: 1;
    border: 1px solid var(--iee-test-color-dark);
    border-radius: 10px;
    background: var(--iee-test-color-light);
    overflow: hidden;
}

.sect-one-fourth .body {
    color: #000;
    padding: 10px;
    font-size: 14px;
    text-align: justify;
}

.sect-one-fourth .title {
    background: var(--iee-test-color-dark);
    padding: 5px;
    font-weight: bold;
    color: #000;
}

.sect-one-fourth .score {
    float: right;
    padding: 2px 5px;
    margin-right: 10px;
    font-weight: bold;
    color: var(--iee-test-color-dark);
    background: var(--iee-test-color-light);
    border-radius: 15px;
    margin-top: 3px;
}

.tag-body.deleted.hl, .tag-body.added.hl, .tag-body.note.hl {
    animation: pulseHighlight 2s ease-in-out;
}

@keyframes pulseHighlight {
    0% {
        background-color: yellow;
        transform: scale(1);
        box-shadow: 0 0 5px yellow;
    }
    50% {
        background-color: orange;
        transform: scale(1.05);
        box-shadow: 0 0 15px orange;
    }
    100% {
        background-color: yellow;
        transform: scale(1);
        box-shadow: 0 0 5px yellow;
    }
}


.check-test-hide.hidden {
    display: none;
}

.swal2-actions button {
    direction: revert;
}

.test-date {
    text-align: center;
    font-size: 12px;
    color: var(--iee-test-color-dark);
}

.explain {
    background: #ffbc75;
    padding: 3px 0px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.explain .number {
    background: #ff8f00;
    padding: 5px;
    border-radius: 5px;
}

.explain:hover, .explain:focus {
    background-color: #ffca00;
}

#custom-tooltip {
    position: fixed;
    z-index: 50;
    background-color: #fff9ca;
    color: #000;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    border-top: 4px solid #ff8f00;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
    max-width: 448px;
    max-height: 240px;
    overflow-y: auto;
    transform: translateX(-50%);
    left: 0;
    top: 0;
}

#custom-tooltip p {
    margin-bottom: 0.5rem;
}

.review-explain {
    background: var(--iee-test-color-light);
    padding: 30px;
    direction: ltr;
    border-radius: 15px;
    overflow-y: scroll;
    max-height: 500px;
}