:root {
    --progressbar-height: 14px;
    --main-color: #1acbb6;
    --gqe-black: #0d0736;
}
body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    height: 100vh;
    font-size: 18px;
}
.intro-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* prend toute la hauteur */
    text-align: center;
}
.intro-form h2,
.gqe-result p,
.final-container {
    color: var(--gqe-black);
}
.progress-bar {
    background: var(--gqe-black);
    height: var(--progressbar-height);
    width: 100%;
    border-radius: 10px;
    margin-bottom: 40px;
}
.progress-bar > .already-answered {
    background: var(--main-color);
    height: 100%;
    border-radius: 10px;
}
#tinder-test {
    padding: 0 30px;
    max-width: 700px;
    margin: 0 auto;
}
.question-info {
    color: var(--main-color);
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 30px;
}
#tinder-test .question-info {
    padding: 0;
}
.quiz-container {
    margin: auto;
    background: white;
    padding: 20px; /* 20px 50px;*/
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}
.quiz-container p {
    /*font-size: 1.5rem;*/
}
.question-text {
    margin-bottom: 30px;
    color: var(--gqe-black);
}
.questions-container {
    display: flex;
    flex-direction: column;
}
label {
    display: flex;
    align-items: center;
    gap: 5px;
    /*font-size: 130%;*/
    /*line-height: 1em;*/
    margin-bottom: 1em;
    color: var(--gqe-black);
}
input[type="radio"] {
    transform: scale(1.6);
    margin-right: 10px;
    accent-color: #1acbb6;
}


.custom-radio {
    display: flex;
    align-items: flex-start; /* change from center to top-align */
    cursor: pointer;
    user-select: none;
    gap: 8px;
    line-height: 1.4;
    margin-bottom: 1em;
}

.radio-mark {
    flex-shrink: 0; /* prevents it from stretching */
    height: 18px;
    width: 18px;
    border: 2px solid #999;
    border-radius: 50%;
    position: relative;
    margin-top: 3px; /* optional: tweak to center better if needed */
}
.custom-radio input[type="radio"] {
    display: none;
}
.custom-radio input[type="radio"]:checked + .radio-mark {
    border-color: var(--main-color);
}
.custom-radio input[type="radio"]:checked + .radio-mark::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--main-color);
}




button {
    font-family: "Proxima Nova", "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 120%;
    background: linear-gradient(to top right, #fd267a, #ff6036) no-repeat;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 52px;
    margin-top: 20px;
    cursor: pointer;
}
#loading-message .spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 4px solid #ccc;
    border-top: 4px solid #fd267a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.gqe-copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 80px 0 20px;
}
.gqe-copyright img {
    width: 100px;
}
.final-container {
    text-align: center;
}
.final-container a {
    text-decoration: underline;
    color: #d4004f;
    font-weight: bold;
}

#final-result {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 30px;
}
#final-result .final-container {
    margin-top: 60px;
}
#final-result .gqe-copyright {
    margin-top: 30px;
}
.quiz-error {
    color: #c00;
    font-weight: 500;
    margin-top: 10px;
    font-size: 16px;
}
