/* Questionnaire - Vertical Unfolding Style */
.next-step-section {
    padding: 80px 5%;
    background: #05070a;
    text-align: center;
    direction: rtl;
}

.questionnaire-container {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(15, 22, 36, 0.8);
    border: 2px solid #c5a059;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 0 50px rgba(197, 160, 89, 0.15);
    backdrop-filter: blur(10px);
}

.quiz-step {
    text-align: right;
    margin-bottom: 3rem;
    display: none;
    /* Hide by default for single-step view */
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.quiz-step.active {
    display: block;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.quiz-question {
    font-size: 1.8rem;
    color: #c5a059;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.option-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100%;
}

/* The Circle Marker on the Right */
.option-circle {
    min-width: 24px;
    height: 24px;
    border: 2px solid #c5a059;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    order: -1;
    /* Keep it on the right in RTL */
}

.option-btn.selected {
    background: rgba(197, 160, 89, 0.1);
    border-color: #c5a059;
}

.option-btn.selected .option-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #c5a059;
    border-radius: 50%;
    box-shadow: 0 0 10px #c5a059;
}

.option-btn:hover:not(.selected) {
    background: rgba(255, 255, 255, 0.08);
}

/* Final Form Appearance */
.final-form {
    display: none;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    animation: fadeInUp 0.8s ease;
}

.form-input {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: right;
}

.submit-quiz-btn {
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(135deg, #c5a059, #a38142);
    border: none;
    border-radius: 15px;
    color: #000;
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-quiz-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
    background: linear-gradient(135deg, #d4b06a, #b89152);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}