/* Style for the overlay background */
.zeelocationpickermodaloverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 100;
}

/* Style for the modal */
.zeelocationpickermodal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    z-index: 101;
    width: 80%;
    /*max-width: 640px;*/
    height: calc(100vh - 220px);
    /*max-height:600px;*/
    border-radius: 10px;
}


#zeelocationpickerMap .centerMarker{
    display: none;
    position:absolute;
    /*url of the marker*/
    background:url(https://saveonline.com.my/wp-content/uploads/2024/01/yellow_marker.png) no-repeat;

    /*center the marker*/
    top:50%;left:50%;
    z-index:1415;

    margin-left: -15px;
    margin-top: -46px;
    background-size: 30px;
    height: 50px;
    width: 30px;
    pointer-events: none;
}

.btn
{
    background-color: green;
    color: white;
    width: 100%;
    border-radius: 4px;
    padding: 0.533rem 0.933rem;
    font-size: 0.8rem;
    line-height: 1.42857;
    border-color: green;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

input#address-input {
    background-color: #fff;
    color: #777;
    border: color(srgb 0 0 0 / 0.08) 1px solid;
    outline: none;
    box-shadow: none;
    text-align: left;
    line-height: 1.42857;
    padding: 8px 12px;
    font-size: 0.85rem;
    vertical-align: middle;
    height: auto;
    border-radius: 3px;
}


#zeeSubmitLocationButton {
    width: 100px;
}

#zeeLocateMeButton {
    width: 100px;
    cursor: pointer;
}

#customerDeliveryAddressSpan {
    /*Edited by Adunan.. He is responsible*/
    display: inline-block;
    max-width: 700px;
    white-space: nowrap;
    overflow: hidden;
    height: auto;
    text-overflow: ellipsis;
    margin-top: 6px;
}



/* Close button inside the modal */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* Style for the modal content */
.zeelocationpicker-modal-content {
    text-align: center;
}

/* Add some styles for the open modal button */
#openModalButton {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
}

#openModalButton:hover {
    background-color: #0056b3;
}

/* Center the modal on smaller screens */
@media screen and (max-width: 600px) {
    .modal {
        width: 80%;
    }
}

button.btn.zee-button-confirm {
    background-color: green;
    color: white;
    width: 100%;
}

button.btn.zee-button-locate {
    background-color: green;
    color: white;
    width: 100%;
}

button#zeeSubmitDeliveryLocationButton {
    width: 100px;
    cursor: pointer;
}


.deliveryModeSectionContainer {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.pickupordeliverybuttoncontainer {
    display: inline-flex;
    border: 1px solid #0B7831;
    height: 30px;
    margin-top: 6px;
    width: 150px;
}

.pickupordeliverybuttoncontainer div {
    cursor: pointer;
    display: inline-block;
    padding: 0px 6px;
    height: 29px;
    line-height: 28px;
    width: 50%;
    text-align: center;
}
.pickupordeliverybuttoncontainer div.active {

    background: green;
    color: white;
}

    .deliveryAddressContainer {
        display: flex;
        padding-top: 5px;
        padding-left: 5px;
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
}

.pickupAddressContainer {
    display: inline-flex;
    padding-top: 5px;
    padding-left: 5px;
}
.pickupAddressContainer p{
    padding-top: 20px;
    padding-right: 10px;
}

#customerDeliveryAddressRePickButton{
    height: 31px;
    line-height: 12px;
    vertical-align: top;
    border-radius: 5px;
    background-color: #0B7831;
    border-color: #0B7831;
    color: #FFF;
    cursor: pointer;
}

.pickup-address-container {
    border: 1px solid #0b7831;
    padding: 10px;
    background-color: #FDD713;
    color: #000000;
    border-radius: 5px;
}

#zeeSelectDeliveryLocationButton {
    height: 35px;
    line-height: 12px;
    vertical-align: top;
    margin-top: 2px;
    border-radius: 5px;
    background-color: #0B7831;
    border-color: #0B7831;
    color: #FFF;
    margin-bottom: 20px;
    cursor:pointer;
}


/*Cart page*/
.zee-util-cartpage-location-group {
    border: 2px solid var(--porto-gray-5);
    border-radius: 0.25rem;
    padding: 10px;
    margin-bottom: 10px;
}

.zee-util-cartpage-location-group:hover {
    background: #d5d5d5;

}


/* Third row bar  */

.wcmlim-lc-select {
    border: 1px solid #257831 !important;
    /*margin-right: 45px !important;*/
    /*padding: 4px 5px !important;*/
    margin-top: 1px !important;
    width: 100%;
}

.wcmlim_sel_location {
    position: relative;
    width: 445px; /* Adjust the width as needed */
}

.wcmlim_sel_location>select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    border: 1px solid #ccc; /* Optional: Add a border for better visualization */
    padding: 5px 20px 5px 10px; /* Adjust padding as needed */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path fill="%23333" d="M5 7.5a.625.625 0 0 1-.354-.107L.646 3.854a.5.5 0 0 1 .708-.708L5 6.793l3.646-3.647a.5.5 0 1 1 .708.708l-4 4a.625.625 0 0 1-.354.107"/></svg>') no-repeat right 10px center; /* Add a custom arrow using an SVG image */
    background-size: 10px 10px; /* Adjust the size of the custom arrow */
}

.wcmlim_sel_location::after {
    /*content: '\25BC'; !* Unicode character for a down-pointing triangle *!*/
    /*content: "";*/
    /*background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path fill="%23333" d="M5 7.5a.625.625 0 0 1-.354-.107L.646 3.854a.5.5 0 0 1 .708-.708L5 6.793l3.646-3.647a.5.5 0 1 1 .708.708l-4 4a.625.625 0 0 1-.354.107"/></svg>') no-repeat right 10px center; !* Add a custom arrow using an SVG image *!*/

    position: absolute;
    top: 50%;
    right: 10px; /* Adjust the right spacing as needed */
    transform: translateY(-50%);
    pointer-events: none; /* Ensure the pseudo-element doesn't interfere with clicks */
}