

/* ============== Location modal ============= */

.modal_wrapper .location_modal_box {
    width: 1000px;
    height: 665px;
}

.modal_wrapper .modal_box .modal_inner .modal_head {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 35px;
}

.modal_wrapper .modal_box .modal_inner .modal_head h3 {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color-1);
}

.modal_wrapper .modal_box .modal_inner .location_sec {
    position: relative;
    margin-top: 10px;
    width: 100%;
    display: flex;
    padding: 0px 35px;
    padding-bottom: 35px;
}
.modal_wrapper .modal_box .modal_inner .location_sec .map_sec {
    position: relative;
    width: 50%;
    height: 460px;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
}

.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec {
    position: relative;
    width: 50%;
    padding-left: 35px;
    display: flex;
    flex-direction: column;
}

.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .detect_search_sec button {
    position: relative;
    width: 100%;
    height: 50px;
    border: none;
    cursor: pointer;
    background: var(--theme-color);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-color);
}

.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .detect_search_sec button {
    position: relative;
    width: 100%;
    height: 50px;
    border: none;
    cursor: pointer;
    background: var(--theme-color);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-color);
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .detect_search_sec button i {
    position: relative;
    font-size: 18px;
    margin-right: 8px;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .detect_search_sec .input_sec {
    position: relative;
    margin-top: 10px;
    width: 100%;
    height: 50px;
    border: 1px solid var(--light-border);
    border-radius: 6px;
    padding: 6px 0;
    display: flex;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .detect_search_sec .input_sec a {
    position: relative;
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--light-border);
    font-size: 16px;
    color: var(--grey-background-5);
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .detect_search_sec .input_sec input {
    position: relative;
    width: calc(100% - 50px);
    height: 100%;
    border: none;
    outline: none;
    padding: 0 20px;
    font-size: 15px;
    color: var(--dark-color-1);
}

.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec {
    position: relative;
    margin-top: 35px;
    width: 100%;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .form_box {
    position: relative;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .form_box.halfWidth {
    width: 47.5%;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .form_box.fullWidth {
    width: 100%;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .form_box input {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 5px 20px;
    border: 1px solid var(--light-border);
    border-radius: 6px;
    outline: none;
    font-size: 15px;
    color: var(--dark-color-1);
}

.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .complete_address_box {
    display: none;
}

.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .complete_address_box.active {
    display: block;
}


.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .complete_address_box .complete_address_btn {
    position: relative;
    width: 100%;
    display: flex;
    margin-top: 30px;
}

.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .complete_address_box .complete_address_btn button {
    position: relative;
    width: 100%;
    height: 50px;
    border: 1px solid var(--theme-color);
    cursor: pointer;
    background: transparent;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--theme-color);
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .form_box input::placeholder {
    color: var(--dark-color-1);
    opacity: 0.3;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .form_box span {
    position: absolute;
    top: -6px;
    left: 10px;
    line-height: 1;
    color: var(--green-color);
    background: var(--light-background);
    padding: 0 5px;
    font-size: 12px;
    font-weight: 500;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .choise_sec {
    position: relative;
    margin-top: 2px;
    width: 100%;
    display: flex;
    align-items: center;
}

/* ------------------------------ */
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .form_box select {
    position: relative;
    width: 100%;
    height: 36px; /* Adjust height to match your input fields */
    padding: 5px 20px;
    border: 1px solid var(--light-border);
    border-radius: 6px;
    outline: none;
    font-size: 15px;
    color: var(--dark-color-1);
    /* Add any additional styling to match the input fields, like background-color */
    background-color: white; /* Example: Ensure a white background */
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none; /* For Safari and Chrome */
    -moz-appearance: none; /* For Firefox */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: 50%;
}

/* Optional: Style the dropdown options */
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .form_box select option {
    font-size: 15px;
    color: var(--dark-color-1);
    padding: 8px 20px;
}
/* ------------------------------ */
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .choise_sec label {
    position: relative;
    margin-right: 15px;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .choise_sec label:last-child {
    margin-right: 0;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .choise_sec label input[type="radio"] {
    display: none;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .choise_sec label span {
    position: relative;
    border: 1px solid var(--dark-color-1);
    padding: 5px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
    color: var(--dark-color-1);
    opacity: 0.3;
    font-size: 13px;
    font-weight: 500;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .choise_sec label span i {
    position: relative;
    margin-right: 6px;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .choise_sec label input[type="radio"]:checked ~ span {
    opacity: 1;
    background: var(--dark-color-1);
    color: var(--light-color);
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_btn {
    position: relative;
    width: 100%;
    margin-top: 20px;
}
.modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_btn button {
    position: relative;
    width: 100%;
    height: 50px;
    border: none;
    cursor: pointer;
    background: var(--theme-color);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-color);
}


/* =========== Responsive Start ============= */

@media (max-width: 1099px) {
    .modal_wrapper .location_modal_box {
        width: 600px;
        height: inherit;
    }
    .modal_wrapper .location_modal_box .modal_inner {
        overflow-y: auto;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec {
        flex-direction: column;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec .map_sec {
        width: 100%;
        overflow: visible;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec {
        width: 100%;
        padding-left: 0;
        padding-top: 35px;
    }
}

@media (max-width: 575px) {
    .modal_wrapper .modal_box {
        border-top: 1px solid var(--light-border);
        border-radius: 0 0 12px 12px;
    }
    .modal_wrapper .modal_box .modal_inner .modal_head {
        padding: 20px 25px;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec {
        margin-top: 0;
        padding: 0 25px;
        padding-bottom: 25px;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec .map_sec {
        height: 400px;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec {
        padding-top: 25px;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .form_box.halfWidth {
        width: 100%;
    }

    .modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec{
        display: none;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec.active{
        display: block;
    }
}


@media (max-width: 450px) {
    .modal_wrapper .modal_box .modal_inner .modal_head {
        padding: 15px 20px;
    }
    .modal_wrapper .modal_box .modal_inner .modal_head h3 {
        font-size: 18px;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec {
        padding: 0 20px;
        padding-bottom: 20px;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec .map_sec {
        height: 350px;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .choise_sec label {
        margin-right: 10px;
    }
    .modal_wrapper .modal_box .modal_inner .location_sec .address_fillup_sec .form_sec form .choise_sec label span {
        padding: 5px 12px;
    }
}



/* =========== Responsive end ============= */
