@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
/* ==== Global / Common Style - CSS Start ==== */
:root {
    --toefl-body-bg-color: #b4b4b4;
    --rgbColor: 239 99 34;
}
.toefl.body {
    font-family: "Poppins", sans-serif;
    background-color: var(--toefl-body-bg-color);
}
.toefl-container {
    max-width: 1048px !important;
}
.theme-color {
    color: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
}
/* ==== Global / Common Style - CSS End ==== */

/* ==== Toefl Header - CSS Start ==== */
.toefl-module-intro .module-header {
    background-color: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    height: var(--header-height);
    padding: 0 4px;
}
.toefl-module-intro .module-header .logo {
    max-width: 130px;
    padding-left: 5px;
    padding-right: 5px;
}
.toefl-header-button {
    border-radius: 12px;
    border: 1px solid #fff;
    font-size: 14px;
    font-weight: 600;
    --rgbColorOpacity: 10%;
    --rgbColorCurrent: 255 255 255;
    --btn-text: var(--rgbColorCurrent);
    background-color: rgb(
        var(--rgbColorCurrent) / var(--rgbColorOpacity, 100%)
    );
    color: rgb(var(--btn-text));
    padding: 4px 24px;
    height: 40px;
    transition: 0.3s;
}
.toefl-header-btn-white {
    --rgbColorOpacity: 100%;
    --btn-text: var(--rgbColor) / var(--rgbColorOpacity, 100%);
}
.toefl-header-button:not(.toefl-header-btn-white):hover {
    --rgbColorOpacity: 0%;
}
/* ==== Toefl Header - CSS End ==== */

/* ==== Toefl Module - CSS Start ==== */
.toefl-module-intro .module-content {
    background-color: #fff;
    min-height: calc(100vh - calc(var(--header-height) + 10px));
}
.toefl-module-intro .module-content.ques-align-center {
    display: flex;
    flex-direction: column;
}
.toefl-intro--module-name {
    background: #f9f9f9;
    padding-left: 20px;
    padding-right: 20px;
    height: 30px;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
}
.toefl-intro--module-name2 {
    background: #f9f9f9;
    padding-left: 20px;
    padding-right: 20px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
}
.module--content-wrapper {
    max-width: 600px;
    margin: 20px auto;
    font-size: 14px;
    color: #3d3d3d;
}
.module-intro-icons .icon {
    width: 150px;
    height: 150px;
    place-content: center;
    font-size: 70px;
    color: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
}
/* ==== Toefl Module - CSS End ==== */

/* ==== Toefl Volume Control - CSS Start ==== */
.volume-button-wrap .volume-dropdown {
    width: 240px;
    padding: 25px 12px 10px 15px;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border-radius: 1.6rem;
    margin-top: 0.2rem;
    border: 1px solid #dddddd;
}
.close-volume-dropdown {
    position: absolute;
    top: 5px;
    right: 10px;
}
.volume-slider-bar-container {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.8rem;
    align-items: baseline;
}
.volume-slider-bar-container .bar {
    max-width: 6px;
    height: calc(0.8rem + var(--index));
    flex: auto;
    border-radius: 0.7rem;
    --rgbColorOpacity: 50%;
    background-color: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
}
.volume-slider-bar-container .bar.filled {
    --rgbColorOpacity: 100%;
}
.volume-dropdown input[type="range"]{
    width: 100%;
    appearance: none;
    border: 1px solid #737373;
    height: 9px;
    border-radius: 10px;
}
.volume-dropdown input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
/* ==== Toefl Volume Control - CSS End ==== */

/* ==== Toefl Modal - CSS Start ==== */
.toefl-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}
.toefl-modal::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: .5;
}
.toefl-modal .toefl-modal-content .record-audio--popup {
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    padding: 35px 25px;
    position: relative;
    max-width: 900px;
    margin: 85px auto;
    display: flex;
    align-items: center;
    gap: 40px;
}
.record-audio {
    position: relative;
}
.record-audio.recording .icon {
    font-size: 60px;
}
.record-audio.recording .icon .title {
    display: none;
}
.record-audio .icon {
    width: 140px;
    height: 140px;
    border-radius: 100%;
    display: grid;
    place-content: center;
    text-align: center;
    font-size: 40px;
    text-transform: uppercase;
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    color: #fff;
    border: 1px solid #ffffff77;
    row-gap: 10px;
    margin: 10px;
    position: relative;
    z-index: 1;
}
.record-audio .progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 1px solid rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    --qn-progress-circle-size: 160px;
    --qn-progress-circle-line-size: 2rem;
    --qn-progress-circle-round: 602.88;
    --qn-progress-circle-percent-end: 500;
    --qn-progress-circle-percent-start: 0;
}
.progress-circle svg {
    height: var(--qn-progress-circle-size);
    width: var(--qn-progress-circle-size);
    transform: rotate(-90deg);
    overflow: hidden;
}
.progress-circle svg circle {
    cx: calc(var(--qn-progress-circle-size) / 2);
    cy: calc(var(--qn-progress-circle-size) / 2);
    r: calc(var(--qn-progress-circle-size) / 2 - var(--qn-progress-circle-line-size) / 4);
    fill: transparent;
    stroke: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    stroke-width: calc(var(--qn-progress-circle-line-size) / 2);
    transform-origin: center;
    stroke-dasharray: var(--qn-progress-circle-percent-end), var(--qn-progress-circle-round);
    stroke-dashoffset: 500px;
}
.record-audio.recording .progress-circle svg circle {
    animation: recording var(--recording-times) linear;;
}
@keyframes recording {
    0% {
        stroke-dashoffset: 500px;
    }
    100% {
        stroke-dashoffset: 0px;
    }
}
.record-content-area {
    color: #3d3d3d;
}
.voice-checker-meter {
    margin-top: 40px;
    --spaceBetween: 7px;
    display: flex;
}
.voice-checker-meter>div {
    padding: 7px 4px;
}
.voice-checker-meter .voice-bars {
    display: flex;
    gap: var(--spaceBetween);
}
.voice-checker-meter .volume-unit{
    width: 16px;
    height: 39px;
    border: 1px solid #333;
    background-color: #f7f7f7;
    border-radius: 4px;
}
.voice-checker-meter[status="low"] .volume-unit.filled{
    background-color: #e7e739;
}
.voice-checker-meter[status="good"] .volume-unit.filled{
    background-color: #2E2E2E;
}
.voice-checker-meter[status="high"] .volume-unit.filled{
    background-color: #AA3232;
}
/* ==== Toefl Modal - CSS End ==== */
/* ==== Toefl Modal Success - CSS Start ==== */
.success-modal--popup {
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    padding: 35px 25px;
    position: relative;
    max-width: 480px;
    margin: 85px auto;
    padding: 50px 80px;
}
.success-modal--popup .modal-header {
    width: 100%;
    padding-bottom: 7px;
}
.success-modal--popup h1.success-modal-heading {
    font-size: 19px;
}
.success-modal--popup .modal-content-container {
    padding: 2rem 1rem;
}
.success-modal--popup .small-modal-button {
    padding: 0rem 1rem 1rem 1rem;
}
.success-modal--popup .small-modal-btn {
    border: 1px solid #ffffff;
    border-radius: 12px;
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    color: #fff;
    font-size: 15px;
    padding: 8px 13px;
    box-shadow: none !important;
}
/* ==== Toefl Modal Success - CSS End ==== */
/* ==== Toefl Panels - CSS Start ==== */
.two-panel-left-right.flex{
    display: flex;
}
.two-panel-left-right {
    width: 100%;
    padding: 20px 10px;
}
.two-panel-left-right>*{
    height: 660px;
    overflow: auto;
}
.two-panel-left-right.flex .left-panel {
    width: 50%;
    border-radius: 15px;
    outline: 1px solid #e2e2e2;
}
.two-panel-left-right .left-panel {
    width: 50%;
}
.two-panel-left-right .left-panel-inner {
    padding: 10px;
    padding-top: 0px !important;
}
.two-panel-left-right .panel-heading .panel-heading-tag {
    font-size: 16px;
    color: #3d3d3d;
    text-align: center;
    font-weight: 600;
    background-color: white;
    padding: 30px 0px;
}
.two-panel-left-right .panel-heading {
    position: sticky;
    top: 0px;
    z-index: 1;
}
.two-panel-left-right.flex .right-panel {
    width: 50%;
    padding: 0px 40px;
}
.two-panel-left-right .right-panel {
    width: 60%;
    margin: 0 auto;
}
.two-panel-left-right .right-panel-heading .panel-heading-tag {
    font-size: 16px;
    color: #3d3d3d;
    font-weight: 600;
    padding: 30px 0px;
}
.two-panel-left-right .radio-btn-wrapper {
    display: flex;
    align-items: baseline;
    gap: 15px;
    font-size: 14px;
}
[type="radio"]:checked, [type="checkbox"]:checked {
    background-color: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%)) !important;
    border-color: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    box-shadow: none !important;
}
.two-panel-left-right .text-content-container {
    position: relative;
    padding: 0px 20px;
    font-size: 14px;
}
.two-panel-left-right .content-highlighting-line {
    border-left: 3px solid rgb(var(--rgbColor));
    border-radius: 2px;
}
.two-panel-left-right .highlighted-bold-text b {
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    font-weight: inherit;
}
.radio-btn-wrapper:focus i.fa-regular {
    display: none !important;
}
.two-panel-left-right .collapse-u-content u:empty {
    width: 20px;
    height: 20px;
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    display: inline-block;
    border-radius: 4px;
    text-decoration: none;
}
.two-panel-left-right .collapse-u-content u:not(:empty){
    --rgbColorOpacity: 15%;
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    text-decoration: none !important;
    font-weight: 600;
}
.view-ques-wrapper {
    padding: 50px 10px;
    font-size: 14px;
}
.response-direction {
    display: flex;
    justify-content: center;
}
.response-direction .response-direction-text {
    padding: 9px 40px;
    --rgbColorOpacity: 15%;
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    border-radius: 20px;
}
.content-holding-boxes-wrap .content-box {
    min-height: 61px;
    width: 467px;
    border: 1px solid black;
    border-radius: 15px;
}
.content-holding-boxes-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.dragable-source-list-wrap{
    max-width: 900px;
    margin: auto;
}
.dragable-source-list-wrap .dragable-item, .dragable-item.dragged {
    padding: 10px;
    border: 1px solid #3d3d3d;
    border-radius: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    gap: 15px;
    align-items: center;
}
.dragable-source-list-wrap .dragable-item .icon, .dragable-item.dragged .icon{
    font-size: 28px;
}
.dragable-source-list-wrap .dragable-item p{
    margin-bottom: 0;
}
.dragable-item.dragged {
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    color: #fff;
    border-radius: 14px;
    border-color: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    margin-bottom: 0;
}
.dragable-item.dragged p{
    margin-bottom: 0;
}
.content-holding-boxes-wrap .content-box:has(.dragable-item.dragged) {
    border-color: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
}
/* ==== Toefl Panels - CSS End ==== */

/* ==== Toefl Panels - Listening - CSS Start ==== */
.custom-progress-bar {
    max-width: var(--width);
    height: var(--thikness);
    border-radius: 50px;
    border: 1px solid #3d3d3d;
    overflow: hidden;
}
.custom-progress-bar.bar--center{
    margin: auto;
}
.custom-progress-bar .progress-bar-fill{
    height: 100%;
    background-color: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    border-radius: 50px;
}
.ques-align-center .ques-content {
    display: grid;
    place-items: center;
}
.ques-align-center .ques-content .ques--wrapper {
    width: 100%;
    max-width: 550px;
}
.countdown-box {
    border: 1px solid;
    border-radius: 20px;
}
.countdown-box .box-heading {
    padding: 10px 20px;
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    color: #fff;
    border-radius: 20px 20px 0px 0px;
    font-size: 20px;
    text-align: center;
    font-weight: 600;
}
.countdown-box .box-content {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.countdown-box .box-content .time-countdown {
    font-size: 20px;
    font-weight: 500;
}
.countdown-box .box-content .icon {
    position: relative;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin: 5px;
    border-radius: 50%;
    background: #fff;
    z-index: 1;
}
.countdown-box .box-content .progress-circle {
    --qn-progress-circle-size: 40px;
    --qn-progress-circle-line-size: 7px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E9E9EA;
    border-radius: 100%;
}
.countdown-box.recording .progress-circle svg circle {
    animation: countdownTimes var(--recording-times) linear;;
}
@keyframes countdownTimes {
    0% {
        stroke-dashoffset: 500px;
    }
    100% {
        stroke-dashoffset: 381px;
    }
}
/* ==== Toefl Panels - Listening - CSS End ==== */

/* ==== Toefl Panels - Writing - CSS Start ==== */
.module-content .writing-question-module {
    display: flex;
    flex-wrap: wrap;
    place-items: flex-start;
}
.module-content .writing-question-module .writing-ques-part {
    width: 42%;
}
.module-content .writing-question-module .writing-ans-part {
    width: 58%;
}
.module-content .writing-question-module>*{
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
}
.writing-ques-box {
    padding: 5px 10px;
    border: 1px solid #e2e2e2;
    border-radius: 15px;
    margin-top: 10px;
}
.editor-writing-ans-box .editor-buttons button {
    border-radius: 8px;
    border: 0;
    padding: 8px 20px;
    font-size: 12px;
}
.btn-theme {
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    color: #fff;
}
/*  ==== Toefl Panels - Writing - CSS End ==== */

.insertText{
    border: 1px dotted black;
    cursor: pointer;
}

.paragraph-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    overflow: hidden;
    max-height: 250px;
    transition: max-height 0.3s ease;
}
.expanded {
    max-height: none; /* Full height when expanded */
}

.toeflStudentAns {
    text-align:justify;
    display: inline-block;
    border: 1px solid #cccccc;
    background-color: #cccccc5c;
    padding: 0 5px 0 5px;
    /* color:#0fb50f; */
}
.collapse-u-contentAnalysis u:empty {
    width: 20px;
    height: 20px;
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    display: inline-block;
    border-radius: 4px;
    text-decoration: none;
}
.collapse-u-contentAnalysis u:not(:empty){
    --rgbColorOpacity: 15%;
    background: rgb(var(--rgbColor) / var(--rgbColorOpacity, 100%));
    text-decoration: none !important;
    font-weight: 600;
}
