body {
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', sans-serif;
    color: #333;
}

.quiz-page {
    background: url('/website/img/background_auth.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 80px;
}

.quiz-page::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.quiz-header {
    position: relative;
    z-index: 1;
    text-align: center;
}


.logo{
    width: 170px;
    height: 170px;
    border-radius: 50%;
}


.background-bubbles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: floatUp 10s infinite ease-in-out;
}

@keyframes floatUp {
    0%   { transform: translateY(100vh); }
    100% { transform: translateY(-100vh); }
}

.bubble:nth-child(1) { width: 150px; height: 150px; left: 10%; animation-delay: 0s; }
.bubble:nth-child(2) { width: 200px; height: 200px; left: 50%; animation-delay: 2s; }
.bubble:nth-child(3) { width: 120px; height: 120px; left: 80%; animation-delay: 4s; }
.bubble:nth-child(4) { width: 180px; height: 180px; left: 30%; animation-delay: 6s; }
.bubble:nth-child(5) { width: 100px; height: 100px; left: 70%; animation-delay: 8s; }

.quiz-header {
    width: 100%;
    padding: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
}
.quiz-container {
    width: 900px;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    position: relative;
    z-index: 2;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

h2.quiz-question {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 25px;
    color: #333;

}

.answers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.answer {
    background: white;
    color: black;
    border-radius: 8px;
    padding: 15px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    transition: 0.3s;
    border: 2px solid #ddd;
    height: 30px;
}

.answer:hover {
    background: #f1f1f1;
}


.answer input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.5);
    accent-color: #008D36;
}

.answer input[type="radio"]:checked + label {
    border: 2px solid #008D36;
}



button {
    margin-top: 20px;
    background: linear-gradient(45deg, #008D36, #FFC72C);
    border: none;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    transition: 0.3s;
    cursor: pointer;
    width: 100%;
    font-size: 32px;
    font-weight: bold;
    line-height: 25px;

}

button:hover {
    opacity: 0.8;
}



.hidden {
    display: none;
}

@media (max-width: 768px) {
    .quiz-container {
        width: 80% !important;
        padding: 20px;
    }

    h2.quiz-question {
        font-size: 24px;
    }

    .answers {
        grid-template-columns: 1fr;
    }

    .answer {
        font-size: 16px;
    }

    button {
        font-size: 16px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .quiz-container {
        width: 80% !important;
        padding: 20px;
    }
    .quiz-header {
        padding: 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .quiz-container {
        padding: 15px;
    }

    h2.quiz-question {
        font-size: 22px;
    }

    .answer {
        font-size: 14px;
        padding: 10px;
    }

    button {
        font-size: 14px;
        padding: 8px 18px;
    }
}




#user-info-step label {
    color: #333;
    display: block;
    font-weight: bold;
    margin: 15px 0 6px;
    font-size: 24px;
    line-height: 25px;
    margin-bottom: 15px;
    text-align: start;
}

#user-info-step input[type="text"] {
    width: 95%;
    padding: 12px;
    border-radius: 6px;
    border: 2px solid #ddd;
    text-align: start;
    transition: 0.3s;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 25px;

}

#user-info-step input[type="text"]:focus {
    border-color: #008D36;
    box-shadow: 0 0 5px rgba(0, 141, 54, 0.5);
}

#user-info-step button {
    background: linear-gradient(45deg, #008D36, #FFC72C);
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 30px;
    transition: 0.3s;
    cursor: pointer;
    width: 45%;
    min-width: 120px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 25px;
}

#user-info-step button:hover {
    opacity: 0.8;
}

@media (max-width: 480px) {
    #user-info-step label {
        font-size: 18px;
    }

    #user-info-step input[type="text"] {
        font-size: 16px;
        padding: 10px;
    }

    #user-info-step button {
        margin-top: 30px;
        font-size: 16px;
        padding: 10px 20px;
    }
    #user-info-step {
        flex-direction: column;
        align-items: center;
    }

    #user-info-step button {
        width: 80%;
        margin: 10px 0;
    }
}

@media (max-width: 568px) {
    #user-info-step label {
        font-size: 20px;
    }

    #user-info-step input[type="text"] {
        font-size: 17px;
        padding: 11px;
    }

    #user-info-step button {
        font-size: 17px;
        padding: 11px 22px;
    }
}

@media (max-width: 768px) {
    #user-info-step label {
        font-size: 22px;
    }

    #user-info-step input[type="text"] {
        font-size: 18px;
        padding: 12px;
        width: auto;
    }

    #user-info-step button {
        margin-top: 20px;

        font-size: 18px;
        padding: 12px 25px;
    }
}


#user-info-step input[type="text"]::placeholder {
    font-size: 16px;
    text-align: start;
    padding-left: 10px;
    transition: 0.3s;
}

#user-info-step input[type="text"]:focus::placeholder {
    opacity: 0.6;
}

.quiz-page{
    min-height: 86vh;
}
