:root {
    --map-accent-color: 219, 80, 89; /* #db5059 */
}

/* Map Wrapper */
.anwaraltariq-map-wrapper {
    padding: 1rem;
    background: #525352;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    gap: 1rem;
}
/* /Map Wrapper */

/* Leaflet Container */
.leaflet-container {
    font-family: inherit;
}
/* /Leaflet Container */

/* The Map */
#anwaraltariq-map {
    height: 60vh;
    min-height: 400px;
    border-radius: 7px;
}
/* /The Map */

/* Map Filters */
.anwaraltariq-map-wrapper .filters select{
    border-radius: 7px;
    padding: 0.5rem;
    color: #525352;
    max-width: 200px;
    width: 100%;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}
/* /Map Filters */

/* Clusters Styles */
.anwaraltariq-map-wrapper .custom-cluster {
    background-color: rgba(var(--map-accent-color), 0.6);
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    font-weight: bold;
}

/* /Clusters Styles */

/* Single Location Popup */
.anwaraltariq-map-wrapper .leaflet-popup-content-wrapper {
    border: 1px solid rgba(var(--map-accent-color), 1);
    border-radius: 15px;
    font-family: inherit;
}
.anwaraltariq-map-wrapper .leaflet-popup-content {
    width: 200px;
}

.anwaraltariq-map-wrapper .leaflet-popup-content img {
    width: 100%;
}

.anwaraltariq-map-wrapper .leaflet-control-logo {
    opacity: 0.8;
    padding: 0.5rem;
    user-select: none;
    background: rgba(0, 0, 0, 0.83);
    border-radius: 5px;
    overflow: hidden;
}

.anwaraltariq-map-wrapper .leaflet-control-logo img {
    width: 100px;
    height: auto;
    /* filter: brightness(0) invert(1); */
}

@media (max-width: 991px) {
    .anwaraltariq-map-wrapper .leaflet-control-logo img {
        width: 75px;
    }
}

.anwaraltariq-map-wrapper .leaflet-popup-content .popup-content-wrapper  {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    text-align: start;
}

.anwaraltariq-map-wrapper .leaflet-popup-content .popup-content-wrapper .branch-name {
    color: #df313b;
    font-weight: bold;
}

.anwaraltariq-map-wrapper .leaflet-popup-content .popup-content-wrapper .branch-phone span {
    unicode-bidi: plaintext;
}

.anwaraltariq-map-wrapper .leaflet-popup-content .popup-content-wrapper .view-location {
    background: rgba(var(--map-accent-color), 1);
    padding: 0.5rem 0.75rem;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}
/* /Single Location popup */

/* Zoom in/out buttons */
a.leaflet-control-zoom-in,
a.leaflet-control-zoom-out{
    background: rgba(var(--map-accent-color), 1);
    color: #fff;
    transition: .3s all;
    user-select: none;
}

a.leaflet-control-zoom-in:hover,
a.leaflet-control-zoom-out:hover,
a.leaflet-control-zoom-in:active,
a.leaflet-control-zoom-out:active,
a.leaflet-control-zoom-in:focus,
a.leaflet-control-zoom-out:focus {
    background: rgba(var(--map-accent-color), 1);
    color: #fff;
    filter: brightness(1.5);
}
/* /Zoom in/out buttons */

path.leaflet-interactive {
    display: none;
}

/* Search Dropdown */
.leaflet-control-search .search-tooltip {
    padding-inline-start: 0;
}
/* /Search Dropdown */

/* RTL */
html[dir="rtl"] .anwaraltariq-map-wrapper .leaflet-popup-content .popup-content-wrapper {
    direction: rtl;
}

html[dir="rtl"] .leaflet-popup-close-button {
    right: unset;
    left: 0;
}
/* /RTL */
