/* ==========================================================================
   BioGreen Urban Farming Marketplace — Stylesheet (assets/css/style.css)
   ========================================================================== */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #F4FBF7;
    color: #0F172A;
    overflow-x: hidden;
}

.wavy-underline {
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: #169C46;
    text-underline-offset: 6px;
}

.nav-pill-active {
    background-color: #E7F8EE;
    border: 1px solid #9CE2B9;
    color: #137A3B;
    font-weight: 600;
}

.nav-pill-inactive {
    background-color: transparent;
    border: 1px solid transparent;
    color: #475569;
    font-weight: 500;
}

.nav-pill-inactive:hover {
    color: #137A3B;
    background-color: #F4FBF7;
}

/* ==========================================================================
   Leaflet Interactive Transit Map Custom Styles
   ========================================================================== */
#leafletTransitMap {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    z-index: 10;
}

.bg-marker-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(6, 78, 59, 0.28);
    border: 3px solid #FFFFFF;
    transition: transform 0.2s ease;
}

.bg-marker-pin:hover {
    transform: scale(1.12);
}

.bg-marker-active-pulse {
    position: relative;
}

.bg-marker-active-pulse::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 9999px;
    border: 3px solid #F59E0B;
    animation: leafletPulseRing 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
}

@keyframes leafletPulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.95;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

.leaflet-popup-content-wrapper {
    border-radius: 16px !important;
    padding: 4px !important;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.22) !important;
    border: 1px solid #D1FAE5;
}

.leaflet-popup-content {
    margin: 10px 12px !important;
    font-family: 'Inter', system-ui, sans-serif !important;
}


/* Hilangkan watermark / attribution Leaflet & OpenStreetMap */
.leaflet-control-attribution {
    display: none !important;
}
