#book-appointment-sec-popup {
    padding: 0% 5%;
    height: 100vh;
    position: fixed;
    top: 0px;
    opacity: 0;
    visibility: hidden;
    z-index: -10;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
}

#book-appointment-sec-popup .form-book-wrapper {
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("/public/uploads/images/Book-Popup/Book-Appointment-Popup-bg.webp");
    background-size: 100% auto;
}


#book-appointment-sec-popup .appointment-card {
    background: #f6f6f6;
    padding: 3% 4%;
    border-radius: 1vw;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 60%;
    text-align: center;
    display: block;
    margin: auto;
}

#book-appointment-sec-popup .appointment-card .title {
    color: #3C4196;
    font-size: 1.5vw;
    padding: 1vw 2vw;
    border-radius: 0.4vw;
    display: inline-block;
    margin-bottom: 1vw;
}



/* Radio Buttons */
#book-appointment-sec-popup .radio-btn {
    margin: 0 0vw;
    font-size: 1vw;
    cursor: pointer;
}

#book-appointment-sec-popup .radio-btn input {
    position: relative;
    left: 2vw;
    top: 0.1vw;
}

#book-appointment-sec-popup .radio-btn span {
    color: #3C4196;
    background: #fff;
    border: none;
    padding: 0.3vw 3%;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2vw;
    line-height: 1.2;
    font-weight: 400;
}



/* Form */
#book-appointment-sec-popup .appointment-form {
    margin-top: 0vw;
}

#book-appointment-sec-popup .form-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2%;
    gap: 2%;
}

#book-appointment-sec-popup .form-control {
    width: 95%;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 2.5% 4% !important;
    font-size: 0.8vw;
    background-color: transparent;
    color: #333;
    height: auto;
}

/* Custom Dropdown */
#book-appointment-sec-popup .custom-dropdown {
    position: relative;
    width: 100%;
}

#book-appointment-sec-popup .dropdown-btn {
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0.7vw 1.5vw;
    font-size: 1.1vw;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


#book-appointment-sec-popup .dropdown-list {
    display: none;
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0.4vw;
    z-index: 10;
    padding-left: 0px;
}

#book-appointment-sec-popup .dropdown-list li {
    list-style: none;
    padding: 0.8vw;
    cursor: pointer;
}

#book-appointment-sec-popup .dropdown-list li:hover {
    background: #f3f3f3;
}

/* Submit Button */
#book-appointment-sec-popup .btn-main {
    background: #3C4196;
    color: #fff;
    border: none;
    padding: 1% 3%;
    border-radius: 50px;
    font-size: 0.75vw;
    cursor: pointer;
    margin-top: 0%;
    margin-bottom: 2%;
}

#book-appointment-sec-popup .btn-main:hover {
    background: #2a1f70;
}


/* ======= RADIO BUTTONS (UPDATED) ======= */
#book-appointment-sec-popup .consultation-type {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2%;
    margin-bottom: 2%;
    padding-top: 4%;
    margin-top: 0vw;
    width: 100%;
    flex-wrap: wrap;
}

#book-appointment-sec-popup .container {
    width: 70%;
    position: relative;
}

#book-appointment-sec-popup .radio-btn {
    position: relative;
    justify-content: flex-start;
    border: 1px solid #C5C5C5;
    border-radius: 50px;
    background: #fff;
    padding: 0vw 0vw 0.3vw 2.5vw;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2vw;
    color: #3C4196;
    font-family: 'Lato-Regular';
    text-align: left;
    width: 44%;
    margin-right: 4%;
}

/* hide the native radio */
#book-appointment-sec-popup .radio-btn input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* when selected -> blue filled circle */
#book-appointment-sec-popup .radio-btn input:checked~span::before {
    content: "";
    position: absolute;
    left: 1vw;
    top: 50%;
    transform: translateY(-50%);
    width: 1.3vw;
    height: 1.3vw;
    border-radius: 50%;
    background: #FEDA22;
    /* blue fill */
    border: 0.42vw solid #3C4196;
}

#book-appointment-sec-popup .radio-btn span::before {
    content: "";
    position: absolute;
    left: 1vw;
    top: 50%;
    transform: translateY(-50%);
    width: 1.3vw;
    height: 1.3vw;
    border-radius: 50%;
    background: #707070;
    /* blue fill */
    border: 0.42vw solid #FEDA22;
}


#book-appointment-sec-popup .form-book-wrapper .right-pane {
    background-color: transparent;
    width: 50%;
    margin-left: 45%;
    position: relative;
    overflow: hidden;
    padding-bottom: 1%;
}

#book-appointment-sec-popup .appointment-box {
    background-color: #fff;
    border-radius: 20px;
    padding: 2% 5%;
    position: relative;
    top: 20px;
    box-shadow: 3px 6px 15px rgba(0, 0, 0, 0.15);
}

/* span styling (text) */
#book-appointment-sec-popup .radio-btn span {
    text-align: left;
    font-size: 0.75vw;
    font-weight: 500;
    color: #3C4196;
}

#book-appointment-sec-popup h1.title {
 font-size: 1.6vw;
    line-height: 46px;
    color: #3C4196;
    font-weight: 600;
    width: 100%;
    line-height: 1.1;
    display: block;
    margin: auto;
    margin-left: 0%;
    padding-top: 5%;
    text-align: center;
}

#book-appointment-sec-popup .close-btn {
    position: absolute;
    right: 0.5%;
    top: 1%;
    font-size: 2.2vw;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    font-family: none;
    transform: rotate(45deg);
    border: 2px solid #707070;
    padding: 1.5% 1.5%;
    border-radius: 50%;
    width: 1.5vw;
    height: 1.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

#book-appointment-sec-popup .appointment-box h2 {
    display: block;
    padding: 0.5% 2%;
    background-color: transparent;
    color: #3C4196;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 1.1vw;
    text-align: center;
    width: 60%;
    font-family: 'Lato';
    margin: auto;
    margin-bottom: 0%;
    margin-top: 1%;
    font-weight: 700 !important;
}

/* selected state styling */

/* subtle hover border */
#book-appointment-sec-popup .radio-btn:hover {
    border-color: #3C4196;
}

/* spacing between the two */
#book-appointment-sec-popup .consultation-type .radio-btn+.radio-btn {
    margin-left: 2%;
}

/* ============================
   LABEL STYLING (New)
   ============================ */
#book-appointment-sec-popup .form-label {
    width: 48%;
    display: flex;
    flex-direction: column;
}

#book-appointment-sec-popup .form-label label {
    font-size: 0.75vw;
    color: #3C4196;
    font-family: 'Lato-Semibold';
    margin-bottom: 2%;
    text-align: left;
    padding-left: 4%;
    margin-top: 1%;
}

/* ============================
   RADIO BUTTON COLOR FIX
   ============================ */
#book-appointment-sec-popup .radio-btn span::before {
    content: "";
    position: absolute;
    left: 1vw;
    top: 50%;
    transform: translateY(-50%);
    width: 1.1vw;
    height: 1.1vw;
    border-radius: 50%;
    border: 0.42vw solid #FEDA22;
    background: #707070;
    transition: all 0.3s ease;
}

#book-appointment-sec-popup .radio-btn input:checked~span::before {
    border: 0.42vw solid #3C4196;
    background: #FEDA22;
}

#book-appointment-sec-popup .breadcrumb-container {
    padding: 2% 1%;
}

#book-appointment-sec-popup .appointment-card h4.subtitle {
    color: #3C4196;
    font-size: 1.3vw;
    padding-top: 0%;
    padding-bottom: 1%;
    border-radius: 0.4vw;
    display: inline-block;
    margin-bottom: 1vw;
}

#book-appointment-sec-popup .custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 20,0 10,10'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.7vw top 0.7vw;
    background-size: 0.7vw;
    cursor: pointer;
}

/* ============================
   MOBILE RESPONSIVENESS
   ============================ */
@media (max-width: 767px) {
    #book-an-apt-banner {
        padding: 25% 0;
        background-size: auto 100%;
        background-position: left -22vw bottom;
    }

    #book-appointment-sec-popup .appointment-card h4.subtitle {
        font-size: 4vw;
    }



    #book-appointment-sec-popup .btn-submit {
        font-size: 4.5vw;
        padding: 5% 11%;
        border-radius: 15px;
    }

    #book-appointment-sec-popup .appointment-card {
        width: 92%;
        padding: 8% 5%;
        border-radius: 3vw;

    }

    #book-an-apt-banner .banner-overlay.container {
        width: 92%;
        max-width: 92%;
        display: flex;
        justify-content: center;
    }

    #book-appointment-sec-popup .appointment-card .title {
        font-size: 5vw;
        margin-bottom: 6vw;
    }

    #book-appointment-sec-popup .consultation-type {
        flex-direction: column;
        gap: 5vw;
        margin-bottom: 10%;
    }

    #book-appointment-sec-popup .radio-btn {
        width: 85%;
        font-size: 3.5vw;
        padding: 2.5vw 0vw 2.5vw 8vw;
    }

    #book-appointment-sec-popup .radio-btn span::before,
    #book-appointment-sec-popup .radio-btn input:checked~span::before {
        width: 4.5vw;
        height: 4.5vw;
        left: 3.5vw;
        border-width: 1.5vw;
    }

    #book-appointment-sec-popup .form-group {
        flex-direction: column;
        gap: 5vw;
        margin-bottom: 5%;
    }

    #book-appointment-sec-popup .form-label {
        width: 100%;
    }

    #book-appointment-sec-popup .form-label label {
        font-size: 4vw;
        margin-bottom: 2vw;
    }

    #book-appointment-sec-popup .form-control,
    #book-appointment-sec-popup .custom-dropdown {
        width: 100%;
        font-size: 4vw;
        padding: 3.5vw 6vw;
        border-radius: 3vw;
        height: auto;
    }

    #book-appointment-sec-popup .custom-dropdown {
        padding: 0vw;
    }

    #book-appointment-sec-popup .dropdown-btn {
        font-size: 4vw;
        padding: 3.5vw;
        border-radius: 3vw;
    }

    #book-appointment-sec-popup .btn-main {
        font-size: 3.5vw;
        padding: 3.5vw 10vw;
        border-radius: 50px;
        margin-top: 5vw;
    }

    #book-appointment-sec-popup .breadcrumb-container {
        font-size: 5vw;
        padding: 5% 8%;
    }

    #book-appointment-sec-popup .radio-btn span {
        font-size: 4vw;
    }

    #book-appointment-sec-popup .dropdown-list li {
        padding: 2.8vw;
    }
}


#book-appointment-sec-popup select.form-control {
    padding: 0.7vw 1.5vw;
}

section.hp-sec5.aos-init.aos-animate {
    /* height: 0px; */
    padding: 0px;
}

@media (max-width: 767px) {
    #book-appointment-sec-popup select.form-control {
        padding: 3.7vw 5.5vw;
    }
}

span.error-msg {
    text-align: left;
    position: absolute;
    bottom: -1.3vw;
    left: 3px;
}

#book-appointment-sec-popup .form-label {
    position: relative;
}

@media (max-width:767px) {

    #book-appointment-sec-popup .form-book-wrapper {
        background-size: auto 100%;
    }

    #book-appointment-sec-popup {
        padding: 0% 5%;
        height: 100vh;
        overflow: scroll;
    }

    #book-appointment-sec-popup .container {
        width: 100% !important;
        position: relative;
        max-width: 100% !important;
    }

    #book-appointment-sec-popup .container {
        width: 100% !important;
        position: relative;
        max-width: 100% !important;
        margin-top: 5vh;
    }

    #book-appointment-sec-popup h1.title {
        font-size: 5vw;
        width: 90%;
    }

    #book-appointment-sec-popup .appointment-box h2 {
        display: block;
        padding: 2.5% 2%;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        font-size: 4vw;
        width: 60%;
    }

    #book-appointment-sec-popup .form-book-wrapper .right-pane {
        background-color: transparent;
        width: 100%;
        padding: 6%;
        margin-left: 0%;
        position: relative;
        overflow: hidden;
        padding-bottom: 10%;
        height: 90vh;
        overflow: scroll;
        overflow-x: hidden;
    }

    #book-appointment-sec-popup .close-btn {
        position: absolute;
        right: 0.5%;
        top: 1%;
        font-size: 8.2vw;
        cursor: pointer;
        font-weight: bold;
        color: #666;
        font-family: none;
        transform: rotate(45deg);
        border: 2px solid #707070;
        padding: 1.5% 1.5%;
        border-radius: 50%;
        width: 9.5vw;
        height: 9.5vw;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 99;
        background-color: #fff;
    }

    #book-appointment-sec-popup .custom-select {
        background-repeat: no-repeat;
        background-position: right 3vw top 4vw;
        background-size: 3vw;
        cursor: pointer;
    }
}


/* Privacy checkbox wrapper */
#book-appointment-sec-popup .privacy-check {
    margin-top: 15px;
    font-size: 14px;
}

/* Custom checkbox container */
#book-appointment-sec-popup .custom-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    line-height: 1.4;
}

/* Hide default checkbox */
#book-appointment-sec-popup .custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Custom checkbox box */
#book-appointment-sec-popup .custom-checkbox .checkmark {
    width: 1vw;
    height: 1vw;
    border: 1.5px solid #C5C5C5;
    border-radius: 4px;
    margin-right: 1%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

/* Tick mark */
#book-appointment-sec-popup .custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 0.3vw;
    top: 0.05vw;
    width: 0.25vw;
    height: 0.5vw;
    border: solid #fff;
    border-width: 0 0.12vw 0.12vw 0;
    transform: rotate(45deg);
}

/* Checked state */
#book-appointment-sec-popup .custom-checkbox input:checked~.checkmark {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

#book-appointment-sec-popup .custom-checkbox input:checked~.checkmark::after {
    display: block;
}

/* Text & link */
#book-appointment-sec-popup .checkbox-text {
    color: #000;
    font-family: 'Lato';
    font-weight: 400;
    font-size: 0.75vw;
}

#book-appointment-sec-popup .checkbox-text a {
    color: #3C4196;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {
    #book-appointment-sec-popup .privacy-check {
        font-size: 13px;
    }
    #book-appointment-sec-popup .custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 0.3vw;
    top: 0.05vw;
    width: 0.25vw;
    height: 0.5vw;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

    #book-appointment-sec-popup .custom-checkbox .checkmark {
        width: 16px;
        height: 16px;
    }

    #book-appointment-sec-popup .checkbox-text {
        color: #000;
        font-family: 'Lato';
        font-weight: 400;
        font-size: 3.5vw;
    }

    #book-appointment-sec-popup .custom-checkbox .checkmark::after {
        width: 1.35vw;
    }
}

@media (min-width: 767px) {
    #book-appointment-sec-popup .form-book-wrapper {
        transform: scale(1.25);
    }
}


@media (min-width: 1520px) {

#book-appointment-sec-popup .custom-checkbox .checkmark::after {
    left: 0.35vw;
    top: 0.1vw;
}
}