/* CSS for the model pop-up content */

.model {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}

.model-content1 {
    width: 800px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid white;
    border-radius: 50px;
    /* Adjust the value for the desired rounding effect */
    overflow: hidden;
    /* Ensure that the pseudo-element doesn't extend beyond the border */
    backdrop-filter: blur(10px);
    /* Apply a blur to the background */
    background-color: rgba(41, 105, 126, 0.3);
    /* Using RGBA with 50% opacity */
}

.model-content1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: inherit;
    /* Inherit the background color */
    z-index: -1;
    /* Place the pseudo-element behind the content */
}

.close-button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
    top: 20px;
    /* Adjust top position as needed */
    right: 20px;
    /* Adjust right position as needed */
    cursor: pointer;
    /* Adjust the font size as needed */
    color: white;
    /* Change the color to your desired color */
    border: 2px solid white;
    /* Add a border, adjust the color and width as needed */
    padding: 20px 20px;
    /* Add padding to create some space around the cross sign */
    border-radius: 50%;
    /* Make it a circle by setting border-radius to 50% */
}

.close-button img{
    width: 15px;
    height: 15px;
}

.close-button:hover {
    background-color: #5F9EA0;
}

.close-button:hover {
    background-color: rgba(95, 158, 160, 0.6);
}

.model-page p {
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
    margin-left: 10px;
}



.input-panel {
    display: flex;
    align-items: center;
    border: 2px solid white;
    border-radius: 25px;
}

.country-code-dropdown {
    color: white;
    font-size: 20px;
    background-color: transparent;
    padding: 10px;
    outline: none;
    border: none;

}

.country-code-dropdown option {
    backdrop-filter: blur(10px);
    background-color: rgba(41, 105, 126, 0.3);
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 9999;
}

.country-code-dropdown option:hover {
    background-color: #2F857E;
}

.phone-input {
    flex: 1;
    color: white;
    font-size: 20px;
    background-color: transparent;
    outline: none;
    border: none;
    padding: 10px;
}

/* CSS for .model-content2 */
.model-content2 {
    height: 600px;
    width: 650px;
    border: 3px solid white;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    /* Display elements vertically */
    justify-content: center;
    /* Center elements horizontally */
    align-items: center;
    /* Center elements vertically */
    overflow: hidden;
    backdrop-filter: blur(10px);
    background-color: rgba(41, 105, 126, 0.3);
    position: relative;
    /* Add relative positioning */
}

/* CSS for .appointment-picture */
.appointment-picture {
    height: 160px;
    width: 180px;
    background-color: white;
    border-radius: 25px;

}

.appointment-picture img {
    margin-top: 5px;
    margin-left: 5px;
    border-radius: 25px;
    width: 170px;
    height: 120px;
    object-fit: cover;
}

.appointment-picture p {
    margin-top: 5px;
    text-align: center;
}

/* CSS for #profile-button */
#profile-button {
    margin-top: 10px;
    padding: 10px 40px;
    font-size: 20px;
    background-color: #036365;
}

#paragraph {
    margin-top: 10px;
    color: white;
    font-size: 16px;
    font-weight: 100;
}


.date-input-container {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
/*.submits{*/
/*    justify-content: center;*/
/*}*/

.date-input {
    font-size: 18px;
    color: #036365;
    padding: 10px 20px;
    border: 2px solid white;
    outline: none;
    border-radius: 25px 0px 0px 25px;
    border-right: none;
    width: 300px;
    height: 50px;
    background-color: transparent;
}

/* Style the date input placeholder */
.date-input::placeholder {
    color: white;
    font-size: 18px;
    /* Placeholder text font size */
}




.calendar-icon {
    height: 50px;
    width: 20px;
    right: 0px;
    cursor: pointer;
    background-color: #036365;
    padding: 10px;
    border: 2px solid white;
    border-radius: 0px 25px 25px 0px;
    border-left: none;
    /*transform: translateX(-50px);*/
}



.time-select {
    margin-top: 10px;
    display: flex;
}

/* Hide the radio input */
.toggle-button input[type="radio"] {
    display: none;
}

/* Default button style */
.toggle-button label {
    display: inline-block;
    padding: 5px 10px;
    margin-left: 5px;
    background-color: white;
    border: 1px solid white;
    color: #036365;
    cursor: pointer;
    border-radius: 25px;
}

/* Style for the selected (active) state */
.toggle-button input[type="radio"]:checked+label {
    background-color: #036365;
    color: white;
    border: 1px solid white;
}
.resizer{
    font-size: 14px;
}

/* pop up design */
.otp-design {
    font-size: 20px;
    background-color: #036365;
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    padding: 10px;
}


/* For pop up model custom input design */
.message-input-popup {
    display: flex;
    margin-top: 10px;
}

.select-input-popup {
    background-color: transparent;
    border: 2px solid white;
    color: #2F857E;
    height: 40px;
    font-size: 16px;
    border-radius: 25px 0px 0px 25px;
    outline: none;
    width: 300px;
    padding-left: 10px;
    border-right: none;
}

.send-button-popup {
    width: 40px;
    height: 40px;
    background-image: url('../../assets/images/send-message.png');
    background-color: #036365;
    /* Center the background image and prevent it from repeating */
    background-repeat: no-repeat;
    /* Prevent the background image from repeating */
    background-position: center center;
    /* Center the background image horizontally and vertically */
    border-radius: 0px 25px 25px 0px;
    border: none;
    cursor: pointer;
    outline: none;
    border: 2px solid white;
    border-left: none;
}

.select-input-popup::placeholder {
    color: white;
    font-size: 18px;
}

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

    .main-content {
        flex-direction: column;
    }
    .anchor {
        text-align: justify !important;
    }
    .model-content2 {
        min-height: 452px;
        width: 100%;
        height: 100%;
        border: 2px solid white;

    }
    .calendar-icon {
        transform: translateX(-2px);
    }
    #profile-button_2{
        font-size: 13px;
    }
    .close-button {
        height: 40px;
        width: 40px;
    }
    .appointment-picture {
        height: 140px;
        width: 140px;
        background-color: white;
        border-radius: 25px;
    }
    .appointment-picture img {
        width: 135px;
        height: 82px;
    }
    .toggle-button {
        width: 128px;
        margin-bottom: 10px;
        margin-right: 5px;
    }
    .toggle-button label {
        width: 100px!important;
        height: 35px!important;
        padding: 6px 7px!important;
        text-align: center!important;
    }
    .heading {
        font-size: 15px;
        font-weight: 900;
    }
}