/* Leaflet.markercluster CSS - Thane City Police Design System */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large,
.station-cluster-pin {
    background: #0b2545 !important;
    color: #ffffff !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    border: 2.5px solid #f59e0b !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, background 0.18s ease !important;
    touch-action: manipulation !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.station-cluster-pin:hover,
.station-cluster-pin:focus,
.marker-cluster:hover {
    transform: scale(1.1) !important;
    background: #1e3a8a !important;
    border-color: #fbbf24 !important;
}

.station-cluster-pin-wrap {
    background: transparent !important;
    border: none !important;
}

.custom-police-pin {
    cursor: pointer !important;
    touch-action: manipulation !important;
    width: 42px !important;
    height: 42px !important;
}

.custom-police-pin .police-pin-inner {
    background: #0b2545;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #f59e0b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.custom-police-pin:hover .police-pin-inner,
.custom-police-pin.active-pin .police-pin-inner {
    border-color: #38bdf8;
    background: #002B45;
    transform: rotate(-45deg) scale(1.12);
}

.custom-police-pin .police-pin-inner span {
    transform: rotate(45deg);
    font-size: 18px;
    line-height: 1;
}

/* Map popup styling */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    margin: 12px 14px !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
}

.leaflet-popup-tip {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Map container background & mobile layout */
.station-map-container {
    background: #e5e3df !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.leaflet-container {
    background: #e5e3df !important;
    font-family: inherit !important;
}

/* Two-finger touch mobile scroll hint */
.map-scroll-hint {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 37, 69, 0.8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 14px;
    text-align: center;
    padding: 20px;
}
