.seen-badge-footer {
    position: absolute;
    right: 10px;
    bottom: 8px;
    background: #28a745;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.iteration-vendors {
    display: flex !important;
    flex-wrap: wrap !important;
}

#vendorCards {
    width: 100%;
}

.vendor-card {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .iteration-vendors>.col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.swal-toast-offset {
    margin-top: 80px !important;
}

/* Seen badge */


/* Badge image wrapper */

/* Badge image */
/* RATE TYPE RADIO - MOBILE SAFE */
.rate-type-wrapper {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    /* 🔥 allows clean wrap on small screens */
}

.rate-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.rate-radio input[type="radio"] {
    width: 14px;
    height: 14px;
}

/* Extra mobile polish */
@media (max-width: 480px) {
    .rate-type-wrapper {
        gap: 10px;
    }

    .rate-radio {
        font-size: 12px;
    }
}

/* MOBILE FILTER ICON */
.mobile-filter-toggle {
    display: none;
    position: fixed;
    top: 85px;
    right: 16px;
    z-index: 300;
}

.mobile-filter-toggle button {
    background: rgb(168, 28, 52);
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
}

/* MOBILE FILTER PANEL */
@media (max-width: 768px) {

    .service-filter-bar {
        position: relative;
        /* ✅ key change */
        width: 100%;
        background: #fff;
        display: none;
        /* hidden by default */
        z-index: 1;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .service-filter-bar.active {
        display: block;
        /* pushes content down */
    }



    .mobile-filter-toggle {
        display: block;
    }

    .service-filter-bar {
        transition: all 0.3s ease;
    }

}

/* MOBILE FILTER ICON */


.mobile-filter-toggle {
    background: rgb(168, 28, 52);
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.back-home-wrap {
    position: sticky;
    /* stays under header */
    top: 134;
    /* adjust to your header height */
    z-index: 150;
    background: #fff;
    padding: 10px 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    border-bottom: 1px solid #eee;
}

.back-home-btn {
    background: rgb(168, 28, 52);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.accepted-count {
    font-size: 14px;
    font-weight: 600;
}

#loaderBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


/* Optional: Add a soft fade to the top and bottom of the map */
#loaderBox::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 25vh;
    box-shadow: inset 0 60px 80px -20px rgba(255, 255, 255, 0.5),
        inset 0 -60px 80px -20px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 5;
}

/* Make sure markers stand out against the muted map */
.leaflet-marker-icon {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
}

/* Floating radar centered in the 75% area */
.radar-container-fixed {
    position: absolute;
    top: 37.5vh;
    /* Half of 75% */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

/* Bottom 25% Area */
.loader-footer {
    height: 25vh;
    width: 100%;
    background: #fff;
    border-top: 3px solid rgb(168, 28, 52);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.footer-content {
    padding: 20px;
    width: 100%;
}

.scanning-text {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.timer-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

#loaderTimer {

    font-family: 'SF Pro Display';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    /* identical to box height */

    color: black;
}

#loaderUnits {
    font-size: 16px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Radar Animation */
.radar-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-center {
    width: 44px;
    height: 44px;
    background: #C20404;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 15px rgba(168, 28, 52, 0.4);
}

.radar-ring {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 2px solid #C20404;
    border-radius: 50%;
    animation: radar-pulse 2.8s infinite ease-out;
}

keyframes radar-pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    100% {
        transform: scale(5);
        opacity: 0;
    }
}

.radar-ring:nth-child(2) {
    animation-delay: 0.8s;
}

.radar-ring:nth-child(3) {
    animation-delay: 1.6s;
}

@keyframes radar-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    #loaderTimer {
        font-size: 36px;
    }

    .scanning-text {
        font-size: 13px;
    }
}

.world-map-mode #mapBackground {
    filter: none;
    /* or keep light filter if you want */
    background: transparent;
    /* or remove this line entirely */
}


/* Optional: Make the radar pulse larger for "global" scanning */
.world-map-mode .radar-ring {
    animation: radar-pulse-global 4s infinite ease-out;
}

@keyframes radar-pulse-global {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(8);
        opacity: 0;
    }
}

.leaflet-pane.leaflet-overlay-pane {
    filter: sepia(1) saturate(6) hue-rotate(-10deg);
}

/* #mapBackground {
    filter: grayscale(0.3) contrast(1.2);
} */

#mapBackground {
    position: fixed;
    inset: 0;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.radar-wrapper {
    position: fixed;
    top: 120px;
    /* adjust based on header height */
    left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    pointer-events: none;
}

.loader-panel {
    z-index: 500;
}

.radar-dot {
    width: 14px;
    height: 14px;
    background: #a30000;
    border-radius: 50%;
    position: absolute;
    top: -7px;
    left: -7px;
    z-index: 10;
}

.radar-ring {
    position: absolute;
    border: 2px solid #A81C34;
    border-radius: 50%;
    opacity: 0;
    animation: radarPulse 2.5s infinite;
}

.r1 {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.r2 {
    width: 220px;
    height: 220px;
    animation-delay: 0.5s;
}

.r3 {
    width: 320px;
    height: 320px;
    animation-delay: 1s;
}

.r4 {
    width: 420px;
    height: 420px;
    animation-delay: 1.5s;
}

@keyframes radarPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.loader-panel {
    position: absolute;
    bottom: -40px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 90px 25px 40px;
    box-shadow: 0px -4px 20px rgba(0, 0, 0, 0.18);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    z-index: 500;
    /* //height: 55vh; */
    /* background: rgba(255, 255, 255, 0.3); */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(12px);
    height: 15vh;
}

@media (max-width: 576px) {
    .loader-panel {
        height: 65vh;
    }
}


/* --- MODERN TIMER STYLES (SMALLER SIZE) --- */

/* 1. The Container (Reduced to 180px) */
.timer-wrapper {
    position: absolute;
    top: -110px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 220px;
    z-index: 10;
}

/* Make the image fill the container and sit at the bottom of the stack */
.wheel-img-bg {

    position: absolute;
    top: 34px;
    left: 32px;
    width: 70%;
    height: 70%;
    z-index: 1;
    /* background-color: white; */

}

/* The Progress Ring sits on top of the image */
/* .timer-svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
} */

.timer-svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    stroke: #8B0000;
}

/* 🔴 DARK + THICK PROGRESS */
.timer-progress {
    fill: none;
    stroke: #eb2929;
    background-color: white;
    /* darker red */
    stroke-width: 32;
    /* 🔥 thickness */
    stroke-linecap: butt;
    transition: stroke-dashoffset 1s linear;

    /* 🔥 glow effect */
    /* filter: drop-shadow(0 0 6px rgba(122, 0, 0, 0.7)); */
}

.timer-track {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 16;
}

/* The Center White Circle sits at the very top */
.inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    /* Adjusted to show more of your SVG image */
    height: 70px;
    background: #fff;
    border: 4px solid #C20404;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 4. Tick Marks */
.ticks-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tick {
    stroke: #cccccc;
    stroke-width: 2;
    stroke-linecap: round;
}

.tick.major {
    stroke: #1a1a1a;
    stroke-width: 3;
}

/* 5. Text (Adjusted for smaller container) */
.time-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
}



.seconds-label {
  font-family: 'SF Pro Display';
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 118.92%;
/* identical to box height, or 17px */
text-align: center;

color: #58504D;

}

/* Mobile adjustments */
@media (max-width: 400px) {
    .timer-wrapper {

        position: absolute;
        top: -110px;
        left: 50%;
        transform: translateX(-50%);
        width: 220px;
        height: 220px;
        z-index: 10;
    }

    .inner-circle {
        width: 85px;
        height: 85px;
    }

    .seconds-value {
        font-family: 'SF Pro Display';
        font-style: normal;
        font-weight: 700;
        font-size: 14px;
        text-align: center;

        color: #58504D;
    }
}

/* TEXT */
.loader-content {
    width: 100%;
    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
}

@media (min-width: 1024px) {

    .loader-content {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 40px;
    }

}

@media (min-width: 1400px) {
    .loader-content {
        max-width: 1100px;
    }
}

/* TEXT */
.loader-content h2 {

    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    /* identical to box height */

    color: black;
}

.para-danger {
    color: red;
}

.warning-paragraph {
    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: red;
    line-height: 48px;
    gap: 8px;
}

.warning-icon {
    width: 25px;
    height: 25px;
}

.non-warning-paragraph {
    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    color: #1A1A1A;


    /* margin-bottom: 1px; */
}

.warning {
    color: #A81C34;
    font-weight: 600;
}


/* BUTTON */
.btn-main-menu {
    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
    display: block;
    width: 230px;
    height: 42px;

    margin: 13px auto 10px;
    /* 👈 THIS centers button */

    background: #A40000;
    color: #fff;

    border: none;
    border-radius: 71.5px;

    font-weight: 500;
    font-size: 18px;

    text-align: center;
    line-height: 42px;
    cursor: pointer;
}

.btn-main-menu:hover {
    background: #7e1426;
}

/* Radar Scan Container */
.radar-scan-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    /* Large enough to cover the street view */
    height: 500px;
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Center Pin Dot */
.radar-center-dot {
    width: 10px;
    height: 10px;
    background-color: #A81C34;
    /* FindFlicker Red */
    border: 2px solid white;
    border-radius: 50%;
    z-index: 15;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* The Concentric Red Circles */
.pulse-circle {
    position: absolute;
    border: 1px solid rgba(168, 28, 52, 0.6);
    /* Thin red line */
    border-radius: 50%;
    opacity: 0;
    animation: ripple 5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

/* Precise Staggering for 6 rings */
.pulse-circle:nth-child(1) {
    animation-delay: 0s;
}

.pulse-circle:nth-child(2) {
    animation-delay: 0.8s;
}

.pulse-circle:nth-child(3) {
    animation-delay: 1.6s;
}

.pulse-circle:nth-child(4) {
    animation-delay: 2.4s;
}

.pulse-circle:nth-child(5) {
    animation-delay: 3.2s;
}

.pulse-circle:nth-child(6) {
    animation-delay: 4.0s;
}

@keyframes ripple {
    0% {
        width: 0px;
        height: 0px;
        opacity: 0.9;
    }

    100% {
        width: 100%;
        height: 100%;
        opacity: 0;
    }
}