/****************************
 QUIZZ DESIGN CSS
****************************/

.app-quizz {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f7f7f7;
    font-family: 'Inter', sans-serif;
    overflow: hidden !important;
    max-width: 100vw !important;
}

.screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
}

.hidden {
    display: none !important;
}

/********************************
 READY SCREEN
********************************/
.left {
    width: 50%;
    padding: 60px 113px 50px;
}

.right {
    width: 50%;
}

.bg-img {
    background-size: cover;
    background-position: center;
}

.logo-spinner {
    width: 90px;
    margin-bottom: 30px;
}

.mobile-spinner-container {
    display: none !important;
}

.title {
    font-size: 52px;
    font-weight: 800;
    color: #0a1a3b;
    margin-bottom: 40px;
}

.label {
    color: #0a1a3b;
    font-size: 16px;
}

.user-name {
    font-size: 22px;
    font-weight: 600;
    color: #0a1a3b;
}

.quizz-extra-wrapper .btn-primary {
    margin-top: 40px;
    padding: 14px 26px;
    background: #0057ff;
    color: white;
    border-radius: 40px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #0045d6;
    color: white !important;
}

/********************************
 WELCOME SCREEN
********************************/
.waiting-zone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f798c0;
    border-radius: 61% 0 0 57%;
    padding: 60px;
    transform: scale(1.5) translateX(12%);
    color: white;
}

.connection-link-wrapper {
    text-align: right !important;
    margin-bottom: 15px;
}

.connection-link {
    color: #0057ff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: 0.2s ease;
    display: inline-block;
    margin-top: 10px;
}

.connection-link:hover {
    color: #004dd1;
    text-decoration: underline;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.welcome-subtitle {
    color: #12b6b7;
}

.welcome-quizz-big-text-wrapper {
    width: max-content;
    padding-bottom: 20%;
}

.welcome-quizz-big-text {
    font-size: 52px !important;
}

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

    to {
        transform: rotate(360deg);
    }
}

.wait-text {
    color: #fff;
    font-size: 20px;
    text-align: center;
    transform: scale(0.7) translateX(-37%);
}

/********************************
 QUESTION SCREEN
********************************/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.quiz-name {
    font-size: 20px;
    font-weight: bold;
    color: #0a1a3b;
}

.question-card {
    background: #fff7e6;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.question-number {
    color: #2c7a3b;
    font-weight: 600;
    margin-bottom: 10px;
}

.question-text {
    color: #0a1a3b;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.question-desc {
    color: #0a1a3b;
    margin-bottom: 30px;
}

.question-image img {
    width: 160px;
    margin-bottom: 20px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.options .option {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
}

.options .option:hover {
    border-color: #ffc400;
}

/********************************
 TIMER
********************************/
.timer-wrapper {
    margin-top: 30px;
}

.timer-bar-bg {
    width: 100%;
    height: 10px;
    background: #dcdcdc;
    border-radius: 10px;
    overflow: hidden;
}

.timer-bar {
    height: 100%;
    width: 0%;
    background: #ffc400;
    transition: width 0.2s linear;
}

.timer-display {
    text-align: right;
    margin-top: 6px;
    color: #0a1a3b;
    font-weight: bold;
}

/********************************
 SCORE SCREEN
********************************/
.score-title {
    font-weight: bold;
    color: #0a1a3b;
    margin-bottom: 20px;
}

#score-list {
    list-style: none;
    padding: 0 !important;
    width: 100%;
}

#score-list li {
    background: white;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.wait-next {
    margin-top: 20px;
    color: #0a1a3b;
}

/********************************
 END SCREEN
********************************/
.end-screen {
    text-align: center;
}

.center {
    /* display: block; */
    margin: auto;
}

.end-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0a1a3b;
}

.end-info {
    font-size: 20px;
    color: #0a1a3b;
    margin-bottom: 8px;
}

.no-scores {
    color: #888;
}

.quizz-wrapper {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
}

.quizz-left {
    width: 55%;
    padding: 70px 123px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quizz-title {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 600;
    color: #0b1a46;
    font-size: 18px;
    text-transform: uppercase;
}

.quizz-big-text-wrapper {
    width: max-content;
    padding-bottom: 20%;
}

.quizz-big-text {
    font-size: 40px;
    font-weight: 700;
    color: #0b1a46;
    line-height: 1.2;
}

.underline {
    width: 60%;
    height: 7px;
    background: #0b1a46;
    border-radius: 5px;
    margin-top: 19px;
}

.quizz-user-text {
    font-size: 18px;
    color: #0b1a46;
}

.quizz-user-text strong {
    font-size: 20px;
}

.join-button {
    background: linear-gradient(90deg, #2778ff, #004dd1);
    border: none;
    color: #fff;
    padding: 14px 45px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 68, 209, 0.3);
    transition: 0.2s ease;
}

.join-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 68, 209, 0.35);
}

.quizz-right {
    width: 45%;
    background-image: url("{% static 'images/quizz/question-bg.jpg' %}");
    background-size: cover;
    background-position: center;
}

/********************************
 PRESENTER SCREEN
********************************/

#presenter-wrapper {
    width: 100%;
    height: 100vh;
    background: #fdf9ef;
}

.presenter-header {
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 15px;
    padding-left: 119px;
}

.presenter-logo {
    width: 55px;
}

.presenter-title {
    font-size: 22px;
    font-weight: 700;
    color: #002868;
}

.qoptions {
    margin-top: 31px;
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
}

.qoptions > div {
    min-width: 200px;
}

.score-list.end li {
    background: beige;
    padding: 10px 20px;
    border: 1px solid #e3e9ef;
    margin-top: 10px;
    gap: 13px;
}

.presenter-layout {
    display: flex;
    height: calc(100vh - 130px);
}

.presenter-left {
    flex: 1;
    color: #002868;
    width: 55%;
    padding: 0px 123px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.presenter-big-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
}

.presenter-underline {
    width: 30%;
    height: 5px;
    background: #002868;
    margin: 15px 0 30px;
}

.presenter-info {
    font-size: 26px;
    margin-top: 30px;
}

.waiting {
    font-size: 20px;
    margin-top: 10px;
    opacity: 0.7;
}

/* BLUE ARC */
.presenter-right {
    width: 45%;
    background: #0d5ce5;
    border-top-left-radius: 800px;
    position: relative;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    flex-direction: column;
    gap: 27px;
    padding-top: 105px;
    padding-left: 117px;
}

.qr-container {
    background: white;
    padding: 46px;
    border-radius: 50%;
    text-align:center;
}

.qr-image {
    width: 220px;
    height: 220px;
}

.qr-text {
    color: white;
    margin-top: 10px;
    font-size: 16px;
}

/* BUTTON */
.presenter-btn {
    margin-top: 40px;
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    color: white;
    background: linear-gradient(to right, #0e6cf7, #003c9f);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: 0.2s;
}

.presenter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/******************************************************************
    QUESTION SCREEN — DESIGN FINAL
******************************************************************/
.question-screen, .score-screen, .end-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.question-screen {
    padding-top: 46px;
    padding-bottom: 100px;
}

/* === HEADER turquoise arrondi === */
.question-screen-bg {
    background: #01AEBB;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: 141% 75%;
    border-bottom-right-radius: 149% 75%;
    position: absolute;
    inset: 0px;
    z-index: 0;
    transform: translateY(-22%);
}

.question-header {
    display: flex;
    justify-content: space-between;
    z-index: 9;
    width: 78%;
    margin-bottom: 57px;
    align-items: center;
}

.header-logo {
    width: 70px;
}

.header-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}


/* === BIG CARD === */
.question-card-modern {
    width: 80%;
    min-height: 382px;
    background: #fffaee;
    width: 78%;
    margin: -50px auto 0;     /* Remonte comme sur la maquette */
    padding: 44px 65px;
    border-radius: 25px;
    box-shadow: 0px 18px 35px rgba(0, 0, 0, 0.20);
    z-index: 9;
}


/* Question description container — for HTML content like images, videos, links */
.question-description {
    background: #ECEFF2;
    border-radius: 12px;
    margin: 20px 0 28px 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.question-description img,
.question-description video {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 10px;
    margin-bottom: 10px;
}

.explanation-content-wrapper img, .explanation-content-wrapper video {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    object-fit: cover;
}

.question-description a {
    color: #0057ff;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.question-description a:hover {
    text-decoration: underline;
}

.question-description p {
    color: #0B2A4A;
    font-size: 1rem;
    line-height: 1.5;
    margin: 10px 0;
}

#timer-screen {
    margin-top: 30px;
    padding-bottom: 60px;
    text-align: right;
}

/* Question number */
.question-number-modern {
    font-size: 14px;
    color: #06A584;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Question text */
.question-text-modern {
    font-size: 23px;
    font-weight: 700;
    color: #0B2A4A;
    line-height: 1.4;
}

/* separator */
.question-separator {
    width: 100%;
    height: 2px;
    background: #0B2A4A;
    opacity: 0.6;
    margin: 20px 0 28px;
}

/* === DESCRIPTION === */
.description-label {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #0B2A4A;
    font-weight: 700;
}

/* === IMAGE === */
.question-image-modern {
    background: #ECEFF2;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: column;
    padding: 21px;
}

.question-image-modern img {
    margin-left: 17px;
    border-radius: 7px;
    margin-bottom: .8em;
    max-width: 900px;
    max-height: 500px;
    object-fit: cover;
}

.question-img-modern {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

/* === OPTIONS === */
.options-modern {
    display: grid;
    gap: 13px;
    margin-top: 37px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.options-modern .option {
    background: #ffffff;
    border: 2px solid #D6D6D6;
    padding: 18px 25px;
    border-radius: 10px;
    margin-bottom: 18px;
    cursor: pointer;

    font-size: 16px;
    color: #0B2A4A;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: 0.25s ease;
}

.options-modern .option:hover {
    background: #F7FFFF;
    border-color: #01AEBB;
}

.option-btn:hover {
    color: white !important;
}

/* When locked / answer sent */
.options-modern .option.locked {
    opacity: 0.5;
    pointer-events: none;
}

.options-modern .option.correct {
    background: #E8FFE9;
    border-color: #2ECC71;
    font-weight: 700;
}

.bad-answer-alert {
    color: #FF4C4C !important;
}

/* === TIMER AREA === */
.timer-wrapper-modern {
    width: 78%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 45px auto 0;
}

.timer-bar-bg-modern {
    flex: 1;
    height: 11px;
    background: #EBE7DF;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid #b5a480;
}

.timer-bar-modern {
    height: 11px;
    background: #C49B54;
    width: 0%;
    border-radius: 10px;
    transition: width 0.2s linear;
}

.timer-display-modern {
    margin-left: 18px;
    font-size: 18px;
    color: #0B2A4A;
    font-weight: 700;
    margin-bottom: 0;
    z-index: 9;
}

/* === MESSAGE === */
.answer-message-modern {
    margin-top: 25px;
    font-size: 16px;
    text-align: center;
    color: #0B2A4A;
    font-weight: 700;
}


/******************************************************************
    SCORE SCREEN — DESIGN FINAL
/**************************************************************************/

.score-screen {
    position: relative;
    padding-top: 40px;
    padding-bottom: 100px;
}

.score-screen-bg {
    background: #c29c5e;
    padding: 82px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 171% 81%;
    border-top-right-radius: 171% 81%;
    position: absolute;
    bottom: -460px;
    z-index: 0;
    transform: translateY(-46%);
    width: 100%;
    height: 74%;
}

/* Header */
.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
    z-index: 2;
    position: relative;
}

.score-question-wrapper {
    width: 100%;
    max-width: 78%;
    margin: 0 auto 20px auto;
    text-align: left;
    margin-bottom: 4em;
    font-weight: 900;
}

.answer-result {
    display: flex;
    align-items: center;
    flex-flow: row nowrap;
    font-size: 1.2em;
}

.score-question-title {
    font-size: 18px;
    color: #0e6cf7;
    margin-bottom: 5px;
}

.score-short-question {
    font-size: 1.2em;
    color: var(--dark-blue);
}

.good-answer {
    display: flex;
    justify-content: center;
}

.good-answer div {
    text-align: center;
}

#my-answer-feedback {
    margin: 20px auto 0 auto;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    height: 44px;
    z-index: 9;
    background: #fffaee;
    width: 78%;
    border-radius: 6px;
    padding: 2.1em;
    display: flex;
    justify-content: center;
    gap: 15px;
    color: #01AEBB;
    font-size: 1.2em;
    align-items: center;
}

/********************************************
    MOBILE RESPONSIVE — max-width: 768px
*********************************************/
@media (max-width: 768px) {

    /****************************
 QUIZZ DESIGN CSS - MOBILE FIXED
****************************/

.app-quizz {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f7f7f7;
    font-family: 'Inter', sans-serif;
}

.screen {
    width: 100%;
    min-height: 100vh;
    display: flex;
}

.hidden {
    display: none !important;
}

/********************************
 READY SCREEN
********************************/
.left {
    width: 50%;
    padding: 60px 113px 50px;
}

.right {
    width: 50%;
}

.bg-img {
    background-size: cover;
    background-position: center;
}

.title {
    font-size: 52px;
    font-weight: 800;
    color: #0a1a3b;
    margin-bottom: 40px;
}

.label {
    color: #0a1a3b;
    font-size: 16px;
}

.user-name {
    font-size: 22px;
    font-weight: 600;
    color: #0a1a3b;
}

.quizz-extra-wrapper .btn-primary {
    margin-top: 40px;
    padding: 14px 26px;
    background: #0057ff;
    color: white;
    border-radius: 40px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #0045d6;
    color: white !important;
}

/********************************
 WELCOME SCREEN
********************************/

.quizz-wrapper {
    height: 100vh !important;
    overflow: hidden;
    justify-content: space-between;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.welcome-subtitle {
    color: #12b6b7;
}

.welcome-quizz-big-text-wrapper {
    width: max-content;
    padding-bottom: 20%;
}

.welcome-quizz-big-text {
    font-size: 52px !important;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.wait-text {
    color: #fff;
    font-size: 20px;
    text-align: center;
    transform: scale(0.7) translateX(-37%);
}

/********************************
 QUESTION SCREEN
********************************/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.quiz-name {
    font-size: 20px;
    font-weight: bold;
    color: #0a1a3b;
}

.question-card {
    background: #fff7e6;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.question-number {
    color: #2c7a3b;
    font-weight: 600;
    margin-bottom: 10px;
}

.question-text {
    color: #0a1a3b;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.question-desc {
    color: #0a1a3b;
    margin-bottom: 30px;
}

.question-image img {
    width: 160px;
    margin-bottom: 20px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.options .option {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
}

.options .option:hover {
    border-color: #ffc400;
}

/********************************
 TIMER
********************************/
.timer-wrapper {
    margin-top: 30px;
}

.timer-bar-bg {
    width: 100%;
    height: 10px;
    background: #dcdcdc;
    border-radius: 10px;
    overflow: hidden;
}

.timer-bar {
    height: 100%;
    width: 0%;
    background: #ffc400;
    transition: width 0.2s linear;
}

.timer-display {
    text-align: right;
    margin-top: 6px;
    color: #0a1a3b;
    font-weight: bold;
}

/********************************
 SCORE SCREEN
********************************/
.score-title {
    font-weight: bold;
    color: #0a1a3b;
    margin-bottom: 20px;
}

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

.score-list li {
    background: white;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.wait-next {
    margin-top: 20px;
    color: #0a1a3b;
}

/********************************
 END SCREEN
********************************/
.end-screen {
    text-align: center;
}

.center {
    display: block;
    margin: auto;
}

.end-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0a1a3b;
}

.end-info {
    font-size: 20px;
    color: #0a1a3b;
    margin-bottom: 8px;
}

.no-scores {
    color: #888;
}

.quizz-wrapper {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
}

.quizz-left {
    width: 55%;
    padding: 70px 123px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quizz-title {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 600;
    color: #0b1a46;
    font-size: 18px;
    text-transform: uppercase;
}

.quizz-big-text-wrapper {
    width: max-content;
    padding-bottom: 20%;
}

.quizz-big-text {
    font-size: 40px;
    font-weight: 700;
    color: #0b1a46;
    line-height: 1.2;
}

.underline {
    width: 60%;
    height: 7px;
    background: #0b1a46;
    border-radius: 5px;
    margin-top: 19px;
}

.quizz-user-text {
    font-size: 18px;
    color: #0b1a46;
}

.quizz-user-text strong {
    font-size: 20px;
}

.join-button {
    background: linear-gradient(90deg, #2778ff, #004dd1);
    border: none;
    color: #fff;
    padding: 14px 45px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 68, 209, 0.3);
    transition: 0.2s ease;
}

.join-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 68, 209, 0.35);
}

.quizz-right {
    width: 45%;
    background-size: cover;
    background-position: center;
}

/********************************
 PRESENTER SCREEN
********************************/
#presenter-wrapper {
    width: 100%;
    height: 100vh;
    background: #fdf9ef;
}

.presenter-header {
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 15px;
    padding-left: 119px;
}

.presenter-logo {
    width: 55px;
}

.presenter-title {
    font-size: 22px;
    font-weight: 700;
    color: #002868;
}

.qoptions {
    margin-top: 31px;
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
}

.qoptions > div {
    min-width: 200px;
}

.score-list.end li {
    background: beige;
    padding: 10px 20px;
    border: 1px solid #e3e9ef;
    margin-top: 10px;
}

.presenter-layout {
    display: flex;
    height: calc(100vh - 130px);
}

.presenter-left {
    flex: 1;
    padding: 60px 80px;
    color: #002868;
    width: 55%;
    padding: 70px 123px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.presenter-big-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
}

.presenter-underline {
    width: 30%;
    height: 5px;
    background: #002868;
    margin: 15px 0 30px;
}

.presenter-info {
    font-size: 26px;
    margin-top: 30px;
}

.waiting {
    font-size: 20px;
    margin-top: 10px;
    opacity: 0.7;
}

.presenter-right {
    width: 45%;
    background: #0d5ce5;
    border-top-left-radius: 800px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
    gap: 27px;
    padding-top: 105px;
    padding-left: 117px;
}

.qr-container {
    background: white;
    padding: 46px;
    border-radius: 50%;
    text-align: center;
}

.qr-image {
    width: 220px;
    height: 220px;
}

.qr-text {
    color: white;
    margin-top: 10px;
    font-size: 16px;
}

.presenter-btn {
    margin-top: 40px;
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    color: white;
    background: linear-gradient(to right, #0e6cf7, #003c9f);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 0.2s;
}

.presenter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/******************************************************************
    QUESTION SCREEN — DESIGN FINAL
******************************************************************/
.question-screen, .score-screen, .end-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.question-screen {
    padding-top: 46px;
    padding-bottom: 100px;
    background: #01AEBB;
}

.question-screen-bg {
    background: #01AEBB;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: 100% 75%;
    border-bottom-right-radius: 100% 75%;
    position: absolute;
    inset: 0px;
    z-index: 0;
    transform: translateY(-46%) scale(1.3);
}

.question-header {
    display: flex;
    justify-content: space-between;
    z-index: 9;
    width: 78%;
    margin-bottom: 57px;
    align-items: center;
}

.header-logo {
    width: 70px;
}

.header-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.question-card-modern {
    width: 78%;
    min-height: 382px;
    background: #fffaee;
    margin: -50px auto 0;
    padding: 44px 65px;
    border-radius: 25px;
    box-shadow: 0px 18px 35px rgba(0, 0, 0, 0.20);
    z-index: 9;
}

.question-number-modern {
    font-size: 14px;
    color: #06A584;
    font-weight: 600;
    margin-bottom: 18px;
}

.question-text-modern {
    font-size: 23px;
    font-weight: 700;
    color: #0B2A4A;
    line-height: 1.4;
}

.question-separator {
    width: 100%;
    height: 2px;
    background: #0B2A4A;
    opacity: 0.6;
    margin: 20px 0 28px;
}

.description-label {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #0B2A4A;
    font-weight: 700;
}

.question-image-modern {
    background: #ECEFF2;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: column;
    padding: 21px;
}

.question-image-modern img {
    margin-left: 17px;
    border-radius: 7px;
}

.question-img-modern {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.options-modern {
    display: grid;
    gap: 13px;
    margin-top: 37px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.options-modern .option {
    background: #ffffff;
    border: 2px solid #D6D6D6;
    padding: 18px 25px;
    border-radius: 10px;
    margin-bottom: 18px;
    cursor: pointer;
    font-size: 16px;
    color: #0B2A4A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.25s ease;
}

.options-modern .option:hover {
    background: #F7FFFF;
    border-color: #01AEBB;
}

.option-btn:hover {
    color: white !important;
}

.options-modern .option.locked {
    opacity: 0.5;
    pointer-events: none;
}

.options-modern .option.correct {
    background: #E8FFE9;
    border-color: #2ECC71;
    font-weight: 700;
}

.bad-answer-alert {
    color: #FF4C4C !important;
}

.timer-wrapper-modern {
    width: 78%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 45px auto 0;
}

.timer-bar-bg-modern {
    flex: 1;
    height: 11px;
    background: #EBE7DF;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid #b5a480;
}

.timer-bar-modern {
    height: 11px;
    background: #C49B54;
    width: 0%;
    border-radius: 10px;
    transition: width 0.2s linear;
}

.timer-display-modern {
    margin-left: 18px;
    font-size: 18px;
    color: white;
    font-weight: 700;
    margin-bottom: 0;
}

.answer-message-modern {
    margin-top: 25px;
    font-size: 16px;
    text-align: center;
    color: #0B2A4A;
    font-weight: 700;
}

/******************************************************************
    SCORE SCREEN — DESIGN FINAL
**************************************************************************/

/* .score-screen-bg {
    background: #c29c5e;
    padding: 82px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 55% 78%;
    border-top-right-radius: 101% 75%;
    position: absolute;
    bottom: -460px;
    z-index: 0;
    transform: translateY(-46%) scale(1.3);
    left: 0;
    width: 100%;
    height: 64%;
} */

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
    z-index: 2;
    position: relative;
}

.score-question-wrapper {
    width: 100%;
    max-width: 78%;
    margin: 0 auto 20px auto;
    text-align: left;
    margin-bottom: 4em;
    font-weight: 900;
}

.answer-result {
    display: flex;
    align-items: center;
    flex-flow: row nowrap;
    font-size: 1.2em;
}

.score-question-title {
    font-size: 18px;
    color: #0e6cf7;
    margin-bottom: 5px;
}

.score-short-question {
    font-size: 1.2em;
    color: var(--dark-blue);
}

.good-answer {
    display: flex;
    justify-content: center;
}

.good-answer div {
    text-align: center;
}

#my-answer-feedback {
    margin: 20px auto 0 auto;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    height: 44px;
    z-index: 9;
    background: #fffaee;
    width: 78%;
    border-radius: 6px;
    padding: 2.1em;
    display: flex;
    justify-content: center;
    gap: 15px;
    color: #01AEBB;
    font-size: 1.2em;
    align-items: center;
}

    .question-screen,
    .score-screen,
    .end-screen {
        padding-top: 40px !important;
        gap: 10px !important;
        min-height: auto !important;
    }

    .score-screen {
        position: relative;
        padding-bottom: 100px;
        height: 100dvh;
        justify-content: flex-start;
    }

    /* PARTICIPATION SCREEN */
    .quizz-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    #quizz-participate .right,
    #quizz-participate .bg-img {
        display: none !important;
    }

    .left, .right {
        width: 100% !important;
        padding: 20px !important;
    }

    .quizz-left {
        width: 100% !important;
        padding: 30px 20px !important;
        gap: 30px;
    }

    .quizz-right {
        display: none !important;
    }

    iframe {
        height: auto !important;
    }

    .waiting-zone {
        width: 90% !important;
        transform: none !important;
        border-radius: 20px !important;
        margin: auto;
        margin-top: 0;
        margin-bottom: 42px !important;
        text-align: center;
        color: white;
        height: 40dvh;
    }

    .title {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }

    .logo-spinner {
        display: none !important;
    }

    .mobile-spinner-container {
        display: block !important;
        position: relative;
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
    }

    .spinner {
        width: 100%;
        height: 100%;
        border: 4px solid rgba(255, 255, 255, 0.2);
        border-top-color: white;
        border-radius: 50%;
        animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    }

    .spinner-inner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    .quizz-title {
        gap: 15px !important;
        font-size: 14px !important;
        padding-top: 17px;
    }

    .quizz-title img {
        width: 40px !important;
    }

    .quizz-big-text-wrapper {
        width: 100%;
        padding-bottom: 0 !important;
        margin-bottom: 20px;
    }

    .quizz-big-text {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .underline {
        width: 80% !important;
        height: 5px !important;
        margin-top: 12px !important;
    }

    .join-button {
        width: 100%;
        padding: 16px 30px !important;
        font-size: 16px !important;
    }

    .welcome-quizz-big-text-wrapper {
        width: 100%;
        padding-bottom: 0 !important;
    }

    .welcome-quizz-big-text {
        font-size: 28px !important;
    }

    .wait-text {
        font-size: 16px !important;
        transform: none !important;
    }

    .wait-text img {
        width: 60px !important;
    }

    /* QUESTION SCREEN - HEADER */
    .question-screen {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }

    .question-header {
        width: 90% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin-bottom: 30px !important;
    }

    .question-screen-bg {
        transform: none !important;
        padding: 20px !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .question-description p {
        display: flex;
        flex-flow: row wrap;
        gap: 15px;
    }

    .header-logo {
        width: 45px !important;
    }
 
    .header-title {
        font-size: 14px !important;
        text-align: right;
    }

    /* QUESTION CARD */
    .question-card-modern {
        width: 90% !important;
        padding: 25px 20px !important;
        margin-top: -10px !important;
        min-height: auto !important;
    }

    .question-text-modern {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .question-number-modern {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }

    .question-separator {
        margin: 15px 0 20px !important;
    }

    .description-label {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .question-image-modern {
        padding: 15px !important;
        margin-bottom: 20px !important;
    }

    .question-image-modern img {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        max-height: 250px !important;
    }

    /* OPTIONS */
    .options-modern {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 12px !important;
        margin-top: 20px !important;
    }

    .options-modern .option {
        padding: 15px 18px !important;
        font-size: 14px !important;
        margin-bottom: 0 !important;
    }

    /* TIMER */
    .timer-wrapper-modern {
        width: 90% !important;
        margin-top: 25px !important;
        flex-direction: row !important;
    }

    .timer-bar-bg-modern {
        height: 8px !important;
    }

    .timer-bar-modern {
        height: 8px !important;
    }

    .timer-display-modern {
        font-size: 14px !important;
        margin-left: 12px !important;
        white-space: nowrap;
    }

    .answer-message-modern {
        font-size: 14px !important;
        margin-top: 15px !important;
    }


    .score-screen-bg {
        background: #c29c5e;
        padding: 82px 60px;
        border-top-left-radius: 105% 110%;
        border-top-right-radius: 198% 85%;
        bottom: 0;
        transform: none;
        height: 67%;
    }

    .score-question-wrapper {
        max-width: 90% !important;
        margin-bottom: 2em !important;
        width: 90% !important;
    }

    .score-question-title {
        font-size: 14px !important;
    }

    .score-short-question {
        font-size: 1em !important;
    }

    .score-header {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px !important;
    }

    .question-card-modern {
        width: 90% !important;
    }

    .score-title {
        font-size: 18px !important;
    }

    .score-list li {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }

    .wait-next {
        font-size: 14px !important;
        margin-top: 15px !important;
    }

    #my-answer-feedback {
        width: 90% !important;
        padding: 1.2em !important;
        font-size: 0.9em !important;
        flex-direction: column !important;
        gap: 8px !important;
        height: auto !important;
        min-height: 60px !important;
    }

    .answer-result {
        gap: 8px !important;
        font-size: 1em !important;
        text-align: center !important;
    }

    .answer-result img {
        width: 50px !important;
        margin-right: 0 !important;
    }

    .good-answer {
        flex-direction: column;
        gap: 10px;
    }

    .good-answer-content {
        font-size: 0.9em !important;
    }

    /* END SCREEN */
    .end-screen {
        padding: 30px 20px !important;
    }

    .end-title {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    .end-info {
        font-size: 16px !important;
    }

    /* PRESENTER SCREEN */
    #presenter-wrapper {
        height: auto;
        min-height: 100vh;
    }

    .presenter-header {
        padding-top: 40px !important;
        padding-left: 20px !important;
        gap: 10px !important;
    }

    .presenter-logo {
        width: 40px !important;
    }

    .presenter-title {
        font-size: 16px !important;
    }

    .presenter-layout {
        flex-direction: column !important;
        height: auto !important;
    }

    .presenter-left {
        width: 100% !important;
        padding: 30px 20px !important;
        gap: 20px;
    }

    .presenter-big-title {
        font-size: 28px !important;
    }

    .presenter-underline {
        width: 50% !important;
        height: 4px !important;
        margin: 10px 0 20px !important;
    }

    .presenter-info {
        font-size: 18px !important;
        margin-top: 20px !important;
    }

    .waiting {
        font-size: 16px !important;
    }

    .presenter-btn {
        margin-top: 20px !important;
        padding: 14px 30px !important;
        font-size: 16px !important;
        width: 100%;
    }

    .presenter-right {
        width: 90% !important;
        padding: 40px 20px !important;
        border-radius: 0 !important;
        gap: 20px !important;
        border-radius: 31px !important;
        margin: auto;
        margin-top: auto;
        margin-top: 20px;
    }

    .qr-container {
        padding: 30px !important;
    }

    .qr-image {
        width: 150px !important;
        height: 150px !important;
    }
    .qr-text {
        font-size: 14px !important;
    }
    #welcome-screen {
        height: 100vh !important;
        overflow: hidden !important;
        justify-content: flex-start;
    }
}