/* MAIN QUIZ */
.quiz-sec{
    position:relative;
}

.service-form{
    display:flex;
    justify-content:center;
}
/* QUESTION BOX LAYOUT */
.question_box.step{
    height:60vh;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}
.question_box {
    max-width: 60%;

}

/* HEADING AREA (NO SCROLL) */
.heading-area {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin-bottom:15px;
}
.step-hdng1 {
    color: #000073;
    font-size: 30px;
    line-height: 30px;
    /* letter-spacing: .5px; */
    font-weight: 700;
}

.step-hdng2 {
    color: #000;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: .3px;
    margin-top: 12px;
    width: 70%;
}
/* SCROLL AREA ONLY */
.options-scroll{
    flex:1;
    overflow-y:auto;
        margin-top:15px;
}

/* FOOTER */
.quiz-footer{
    width:100%;
    background:#fff;
    border-top:1px solid #eee;
    padding:20px 0;
    margin-top:20px;
}
/* OPTIONS STYLE */
.options{
    display:flex;
    justify-content:start;
    align-items:center;
    flex-direction:column;
    gap:10px;

}

/*.radio-card {*/
/*    background: #f2f2f2;*/
/*    padding: 5px 10px;*/
/*    border-radius: 6px;*/
/*    width: 315px;*/
/*    transition: background-color .25s ease;*/
/*    cursor: pointer;*/
/*}*/

:focus-visible {
    outline: #04d36f59 auto 0px!important;
}

#otp-inline {
    margin-top: 10px;
    display: flex;
}


#otp-inline {
    margin-top: 10px;
    display: contents;
}




a.otp_common_btn {
    float: left;
    width: initial;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    background: #04d36f;
    font-weight: 700;
    padding: 11px 17px;
}



.radio-card {
    background: white;
    padding: 10px 15px;
    border-radius: 6px;
    width: 315px;
    transition: background-color .25s ease;
    cursor: pointer;
    border: none;
    border: 1px solid #4242422e;
    font-size: 16px;
    max-width: 100%;
}

.text-card {
   background: white;
    padding: 10px 15px;
    border-radius: 6px;
    width: 315px !important;
    transition: background-color .25s ease;
    cursor: pointer;
    border: none;
border:1px solid #4242422e;
font-size: 16px;
}

/*.radio-card{*/
/*    background:#f2f2f2;*/
/*    padding:16px 20px;*/
/*    border-radius:12px;*/
/*    width:350px;*/
/*    transition:background-color .25s ease;*/
/*    cursor:pointer;*/
    
/*}*/

.custom-radio{
    display:flex;
    align-items:center;
    width:100%;
    cursor:pointer; /* ✅ add this */
}
/* LABEL */
.custom-radio{
    display:flex;
    align-items:center;
    cursor:pointer;
    position:relative;
}

.custom-radio input{
    display:none;
}

/* RADIO CIRCLE */
.radio-mark{
    width:20px;
    height:20px;
    border:2px solid #c5c5c5;
    border-radius:50%;
    margin-right:14px;
    position:relative;
    background:#f2f2f2;
    transition:background-color .25s ease, border-color .25s ease;
}

/* INNER RING (ALWAYS PRESENT — hidden by default) */
.radio-mark::after{
    content:"";
    width:14px;
    height:14px;
    border:3px solid #04d36f;
    border-radius:50%;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) scale(0);
    opacity:0;
    transition:transform .25s ease, opacity .25s ease;
}

.radio-text{
    font-size:16px;
    color:#6b6b6b;
    transition:color .25s ease;
    text-align:left;
}


/* ======================
   HOVER + CHECKED STYLE
====================== */

/* background change */
.radio-card:hover,
.radio-card:has(input:checked){
    background:#04d36f;
}

/* text white */
.radio-card:hover .radio-text,
.radio-card:has(input:checked) .radio-text{
    color:#fff;
    font-weight:500;
}

/* outer radio circle */
.radio-card:hover .radio-mark,
.custom-radio input:checked + .radio-mark{
    background:#fff;
    border-color:#fff;
}

/* smooth inner ring animation */
.custom-radio input:checked + .radio-mark::after,
.radio-card:hover .radio-mark::after{
    transform:translate(-50%,-50%) scale(1);
    opacity:1;
}


.quiz-footer {
    width: 100%;
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.quiz-btn-group{
    display:flex;
    gap:12px;
    width:100%;
}


.form-width {
    width: 100%;
    max-width: 315px;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 0px;
}
#question-options {
    padding-right: 0px;
}
/* Base button style */
.quiz-btn-group a {
    min-width: 160px;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
    flex: 1;
}
.send-otp {
    background: #04d36f;
    border: 1px solid #04d36f;
    color: #fff;
    width: 152px;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}
#verify-otp {
    background: #04d36f;
    border: 1px solid #04d36f;
    color: #fff;
    width: 152px;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

/* Back Button */
.prev-btn {
    background: #f1f1f1;
    border: 1px solid #cfcfcf;
    color: #333;
    
}

.prev-btn:hover {
    background: #e5e5e5;
}

/* Next Button */
.next-btn-global {
    background: #04d36f; /* green */
    border: 1px solid #04d36f;
    color: #fff;
}

.next-btn-global:hover {
    background: #04d36f;
    color: white;
}
.next-btn-global:disabled{
opacity:0.5;
pointer-events:none;
cursor:not-allowed;
}
/* Security Text */
.security-text {
    font-size: 14px;
    color: #777;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn_lock {
    width: 14px;
    height: auto;
}




#terms-error{
 display:none;   
}
.con-p{

    font-size: 13px;
    width: 66%;
    text-align: justify;
    margin-top: 12px;
    color: #333;
    font-family: sans-serif;
}
.step-description {

    margin: 0px auto 16px auto;
}
.desc-box {
    border: 1px solid #04d36f;
    border-radius: 8px;
    padding: 8px 8px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: #fff;
}

.desc-box textarea{
    border:none;
    width:100%;
    resize:none;
    outline:none;
    font-size:15px;
    min-height:45px;
}


/* ===== CHECKBOX CARD ===== */
.checkbox-card {
    background: white;
    padding: 10px 15px;
    border-radius: 6px;
    width: 315px !important;
    transition: background-color .25s ease;
    cursor: pointer;
    border:1px solid #4242422e;
    font-size: 16px;
}

/* CHECKBOX LABEL */
.custom-checkbox{
    display:flex;
    align-items:center;
    width:100%;
    cursor:pointer;
}

.custom-checkbox input{
    display:none;
}

/* SQUARE BOX */
.checkbox-mark{
    width:20px;
    height:20px;
    border:2px solid #c5c5c5;
    border-radius:4px;
    margin-right:14px;
    position:relative;
    background:#f2f2f2;
    transition:all .25s ease;
}

/* TICK */
.checkbox-mark::after{
    content:"";
    position:absolute;
    left:6px;
    top:2px;
    width:6px;
    height:12px;
    border:solid #04d36f;
    border-width:0 2px 2px 0;
    transform:rotate(45deg) scale(0);
    opacity:0;
    transition:all .25s ease;
}

/* TEXT */
.checkbox-text{
    font-size:16px;
    color:#6b6b6b;
    transition:color .25s ease;
}

/* HOVER + ACTIVE */
.checkbox-card:hover,
.checkbox-card:has(input:checked){
    background:#04d36f;
}

.checkbox-card:hover .checkbox-text,
.checkbox-card:has(input:checked) .checkbox-text{
    color:#fff;
    font-weight:500;
}

.checkbox-card:hover .checkbox-mark,
.custom-checkbox input:checked + .checkbox-mark{
    background:#fff;
    border-color:#fff;
}

.custom-checkbox input:checked + .checkbox-mark::after,
.checkbox-card:hover .checkbox-mark::after{
    transform:rotate(45deg) scale(1);
    opacity:1;
}

/*mapbox*/

.mapboxgl-ctrl-geocoder--input
{
    
     background: white!important;
    padding: 10px 15px!important;
    border-radius: 6px!important;
    width: 315px !important;
    transition: background-color .25s ease!important;
    cursor: pointer!important;
    border: none!important;
border:1px solid #4242422e!important;
font-size: 16px!important;
height:48px!important;
}
.mapboxgl-ctrl-geocoder, .mapboxgl-ctrl-geocoder .suggestions{
    box-shadow:none!important;

}

.suggestions li {
    list-style: none;
    padding: 5px 7px;
    border-bottom: 1px solid #e4e4e4;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    text-align: left;
}


.mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--pin-right > * {
    z-index: 2;
    position: absolute;
    right: -62px;
    top: 12px;
    display: none;
}
    svg.mapboxgl-ctrl-geocoder--icon.mapboxgl-ctrl-geocoder--icon-search {
    display: none;
}


.mapboxgl-ctrl-geocoder{
width:100%;
max-width:100%;
}

.mapboxgl-ctrl-geocoder--suggestion{
font-size:14px;
}
.mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--pin-right > * {
    z-index: 2;
    position: absolute;
    right: 11px!important;
    top: 12px!important;
    display: none;
}


.mapboxgl-ctrl-geocoder .suggestions > li > a {
    cursor: default;
    display: block;
    padding: 1px 6px!important;
    color: #404040;
}

.mapboxgl-ctrl-geocoder .suggestions > .active > a, .mapboxgl-ctrl-geocoder .suggestions > li > a:hover {
    color: #404040;
    background-color: inherit!important;
    text-decoration: none;
    cursor: pointer;
}

/*/mapbox*/



/* =========================
   SCROLL CONTAINER
========================= */

.options-scroll {
    max-height: 400px;
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 transparent;
    padding-right: 20px;
}

/* 👇 Creates space between content & scrollbar */
.scroll-inner {
    padding-right: 12px; /* adjust gap here */
}


/* =========================
   WEBKIT SCROLLBAR (Chrome, Edge, Safari)
========================= */

.options-scroll::-webkit-scrollbar {
    width: 6px;
}

.options-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.options-scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;

    /* Inner padding effect */
    border: 2px solid transparent;
    background-clip: content-box;
}

.options-scroll::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/*/scroller*/



/*popup*/

/* =========================
   MODAL OVERLAY
========================= */
#app_common_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(255,255,255,0.8);
    display: none;

    z-index: 2147483647;
}

/* =========================
   MODAL BODY
========================= */
#app_common_modal .app_modal_body {
    max-width: 600px;
    width: 95%;

    margin: 100px auto;
    padding: 1.5%;

    background: #fff;
    border: 1px solid rgba(0,0,0,.2);
    box-shadow: 0 3px 9px rgba(0,0,0,.5);

    position: relative;
}

/* =========================
   CLOSE BUTTON
========================= */
#app_common_modal_close {
    position: absolute;
    top: -10px;
    right: -10px;

    width: 30px;
    height: 30px;

    background: #333;
    color: #fff;

    border: 2px solid #fff;
    border-radius: 50%;

    text-align: center;
    line-height: 26px;
    font-weight: bold;
    cursor: pointer;
}

/* =========================
   IFRAME
========================= */
#app_common_modal iframe {
    width: 100%;
    height: 400px;
    border: 1px solid #d5d6ef;
}


/*/popup*/


@media screen and (max-width: 768px) {

    .question_box.step {
        height: 57vh;
        display: flex;
        flex-direction: column;
        margin-left: 0;
        padding: 0 10px;
        width: 100%;
    }

    .question_box {
        max-width: 100%;
    }

    .step-hdng1 {
        color: #000073;
        font-size: 25px;
        line-height: normal;
        letter-spacing: 0;
        font-weight: 700;
    }

    .step-hdng2 {
        color: #000;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 0.3px;
        margin-top: 12px;
        width: 100%;
    }

    .options-scroll {
        max-height: 400px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #c1c1c1 transparent;
        padding-right: 15px;
        margin-top: 5px;
        max-width: 100%;
    }

    .quiz-sec {
        padding: 25px 0 13px;
    }

    .radio-card {
        background: #fff;
        padding: 10px 15px;
        border-radius: 6px;
        width: 100%;
        transition: background-color 0.25s ease;
        cursor: pointer;
        border: 1px solid #4242422e; /* removed duplicate border */
        font-size: 16px;
    }

    .quiz-btn-group {
        display: flex;
        gap: 12px;
    }

    .quiz-btn-group a {
        flex: 1; /* equal width */
        text-align: center;
        padding: 10px 0;
        border-radius: 6px;
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        transition: 0.3s ease;
        display: block; /* better for full width */
    }
    
    #send-otp, #verify-otp {
        height: 100%!important;
        font-size: 16px !important;
        line-height: normal!important;
    }
    input#phone {
    width: 70% !important;
}

.term-check {
    float: left;
    width: 100%;}
}