﻿.footer {
    z-index: 0 !important;
}

.badge-margin {
    margin-left: -25px;
}



.btn-map-web {
    position: fixed;
    top: 63%;
    left: -35px;
    z-index: 999;
    transform: rotate(90deg);
    display: table-cell;
}

.btn-outline-danger.isFav {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger.isFav:hover {
    border-color: #f5593d;
    color: inherit;
    opacity: 1;
    background-image: none;
    background-color: transparent
}

.notification-fav {
    position: fixed !important;
    top: 2% !important;
    right: 2% !important;
    padding: 13px !important;
    z-index: 9999 !important;
}

.show > .btn-outline-primary.dropdown-toggle {
    color: rgba(255, 255, 255, 0.8) !important;
}

.loader-vc {
    position: fixed;
    left: 260px;
    top: 270px;
    width: 10%;
    height: 20%;
    z-index: 9999;
}

.mapresultsection {
    max-height: 90vh;
    overflow: scroll;
    overflow-x: hidden;
}

.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.leaflet-popup-content img {
    margin: 0;
    display: block;
    max-width: 100%;
}

.card.card-map-search {
    margin: 0;
    box-shadow: none;
    border: none;
}

.leaflet-popup-content {
    margin: 0;
    padding: 0;
}

.leaflet-popup-tip-container {
    margin-top: -1px; /* Pull arrow closer to marker */
}

.leaflet-popup-tip {
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/*card loader*/
.card-loader {
    background-color: #fff;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.08), 0 -1px 3px 0 rgba(0, 0, 0, 0.06);
    padding: 8px;
    position: relative;
    border-radius: 2px;
    margin-bottom: 0;
    height: 200px;
    overflow: hidden;
}

    .card-loader:only-child {
        margin-top: 0;
    }

    .card-loader:before {
        content: '';
        height: 110px;
        display: block;
        background-color: #ededed;
        box-shadow: -48px 78px 0 -48px #ededed, -51px 102px 0 -51px #ededed;
    }

    .card-loader:after {
        content: '';
        background-color: #333;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        animation-duration: 0.6s;
        animation-iteration-count: infinite;
        animation-name: loader-animate;
        animation-timing-function: linear;
        background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 30%, rgba(255, 255, 255, 0) 81%);
        background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 30%, rgba(255, 255, 255, 0) 81%);
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 30%, rgba(255, 255, 255, 0) 81%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1);
    }

@keyframes loader-animate {
    0% {
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        transform: translate3d(100%, 0, 0);
    }
}

.card.card-blog {
    margin-top: 5px;
    height: 407px;
}

.leaflet-container a.leaflet-popup-close-button {
    top: -11px !important;
    right: -5px !important;
    color: #fff !important;
}
.btn-just-icon.btn-sm .nc-favourite-28 {
    color: #f5593d;
}
.leaflet-container a.leaflet-popup-close-button:hover {
    color: #fff;
}


.price-label-united {
    background-color: #002855;
    color: #fff;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    border: 1px solid #888;
    width: 60px !important;
    height: 24px;
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering */
    transition: background-color 0.2s, color 0.2s;
}

.price-label {
    background-color: white;
    color: black;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    border: 1px solid #888;
    width: 60px !important;
    height: 24px;
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering */
    transition: background-color 0.2s, color 0.2s;
}

.price-label:hover {
        background-color: #333;
        color: white;
        cursor: pointer;
        z-index:9999
    }

.price-label-united:hover {
    background-color: #fff;
    color: #002855;
    cursor: pointer;
    z-index: 9999
}

.price-label-fav {
    background-color: red;
    color: white;
    border: 1px solid #888;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    width: 60px !important;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.price-label-fav:hover {
        background-color: darkred;
        color: #fff;
        cursor: pointer;
        z-index: 9999;
    }
.select2-container {
    width: 100% !important;
}
.row-select-multiple .select2-container {
    width: 50% !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--primaryColor);
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 2px;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border: none;
    border-radius: 4px;
    min-height: 32px;
    padding-left: 5px;
    min-height: 40px;
    height:auto;
    width: 100% !important;
    background-color: #f2f2f2;
    transition: all 0.2s ease;
    box-shadow: none;
}
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 37px;
    }
/* Hover state */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primaryColor) !important;
    color: white !important;
}

/* Active/focused selected item (e.g. with keyboard nav) */
.select2-container--default .select2-results__option--highlighted {
    background-color: var(--primaryColor) !important;
    color: white !important;
}

/* Optional: default unselected options */
.select2-container--default .select2-results__option {
    color: #333;
    background-color: white;
    padding: 8px 12px;
}
/* Selected tags (ALWAYS visible, not just on hover) */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--primaryColor) !important;
    border: 1px solid var(--primaryColor) !important;
    color: white !important;
    padding: 2px 8px !important;
    margin-top: 5px;
    margin-right: 5px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

    /* On hover: slightly darken background */
    .select2-container--default .select2-selection--multiple .select2-selection__choice:hover {
        background-color: #004080 !important; /* Adjust or darken primary color */
        border-color: #004080 !important;
    }

/* The "×" remove icon */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
    margin-left: 6px;
    margin-right: 2px;
    font-weight: bold;
    cursor: pointer;
}

    /* Optional: Hover effect on the remove icon */
    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
        color: #eee !important;
    }

#map-loader-bar {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
    background-color: #fff;
    border-radius: 4px;
    padding: 6px 12px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    display: none;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

    #map-loader-bar .progress {
        height: 4px;
        background-color: #e9ecef;
        border-radius: 2px;
        overflow: hidden;
        margin-top: 6px;
        width: 100%;
    }

    #map-loader-bar .progress-bar {
        width: 100%;
        height: 100%;
        background-color: var(--primaryColor, #007bff);
        animation: progress-loading 1s linear infinite;
    }

@keyframes progress-loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

#map-loader-bar .loader-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}


/************************************/



.card-listing {
    margin-top: 5px;
    height: 320px;
}

    .card-listing .prop-img {
        height: 170px;
        width: 100%;
    }

    .card-listing .united-listing {
        position: absolute;
        top: -15px;
        right: -10px;
    }

    .card-listing .listing-status {
        position: absolute;
        top: -15px;
        left: -10px;
    }

    .card-listing .fav-listing {
        position: absolute;
        bottom: 2px;
        right: 5px;
    }

    .card-listing .btn-outline-danger.isFav {
        color: #fff;
        background-color: #dc3545;
        border-color: #dc3545;
    }

        .card-listing .btn-outline-danger.isFav:hover {
            border-color: #f5593d;
            color: inherit;
            opacity: 1;
            background-image: none;
            background-color: transparent
        }

    .card-listing .text-address {
        display: flex;
    }

        .card-listing .text-address .nc-pin-3 {
            position: relative;
            top: 2px;
            right: 2px;
        }


.card-map-search:hover {
    transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    -moz-transform: none !important;
}

.card-map-search {
    max-width: 250px;
    margin: 0;
    box-shadow: none;
    border: 0;
}

.badge-map-search {
    top: 13px !important;
}

.mycluster {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: #dc3545;
    color: white;
    text-align: center;
    font-size: 16px;
    line-height: 30px;
    margin-top: -20px;
    margin-left: -20px;
    animation: pulse 1s infinite 2s cubic-bezier(0.16, 1.22, 0, 1.79);
    box-shadow: 0 0 0 0 white;
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 5px rgba(165, 13, 13, 0.27);
    }
}


.dot-marker-icon {
    background: #002855;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    box-shadow: 0 0 2px #333;
}

.leaflet-marker-icon.marker-hovered {
    z-index: 9999 !important;
}

/* Override gradient/shadow from default */
.marker-cluster {
    background-image: none !important;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background: transparent !important;
    background-image: none !important;
}

/* Common base cluster style */
.marker-cluster div {
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(0, 40, 85, 0.5) !important; /* soft blue shadow */
}

/* Cluster size variations with consistent colors */
.marker-cluster-small {
    width: 30px;
    height: 30px;
}

    .marker-cluster-small div {
        width: 30px;
        height: 30px;
        font-size: 13px;
        background-color: #004080 !important;
    }

.marker-cluster-medium {
    width: 40px;
    height: 40px;
}

    .marker-cluster-medium div {
        width: 40px;
        height: 40px;
        font-size: 14px;
        background-color: #003366 !important;
    }

.marker-cluster-large {
    width: 50px;
    height: 50px;
}

    .marker-cluster-large div {
        width: 50px;
        height: 50px;
        font-size: 15px;
        background-color: #002855 !important;
    }

#location-badge.location-overlay-wrapper {
    position: absolute;
    top: 10px; /* closer to top */
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90vw;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none; /* pass clicks through except on child */
    animation: fadeInBadge 0.5s ease forwards;
}

.location-label-overlay {
    background-color: rgba(var(--primary-bg-rgb), 0.9); /* less transparent */
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    max-width: 50vw;
    cursor: pointer;
    pointer-events: auto; /* enable click */
    user-select: none; /* optional: prevent text selection on click */
    transition: background-color 0.3s ease;
}

    .location-label-overlay:hover {
        background-color: rgba(102, 97, 91, 1); /* full opacity on hover */
    }

    .location-label-overlay strong {
        font-weight: bold;
    }

    .location-label-overlay .remove-filter {
        display: block;
        font-size: 10px;
        margin-top: 4px;
        text-decoration: underline;
    }

.leaflet-popup-content {
    margin: 0 !important;
    padding: 0;
    width: 235px !important;
}

.property-image-slider .location-map-search {
    font-size: 12pt !important;
    padding: 4px 0px !important;
   
}
.carousel-map-search {
    height: 200px !important;
}
.title-map-search {
    font-size: 12pt !important;
}
.img-agent-map-search {
    width: 60px !important;
    height: 73px !important;
    top: -23px !important;
}
.meta-map-search {
    font-size: 12pt !important;
}
.price-map-search {
    font-size: 14pt !important;
}
.leaflet-container a.leaflet-popup-close-button {
    width: 27px !important;
    top: 2px !important;
    left: 3px !important;
    font-size: 16pt !important;

}