/* Penyesuaian kecil di luar Tailwind */

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: #f1f5f9;
    color: #334155;
}

.nav-item.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
    border-left-color: #2563eb;
}

.nav-item .ico {
    width: 16px;
    text-align: center;
}


/* Marker petir pada peta */

.spklu-marker {
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    border: 2px solid #fff;
    font-size: 13px;
}

.spklu-marker.hot {
    background: #e11d48;
}

/* Badge peringkat lokasi transaksi tertinggi (top-N) */

.top-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .45);
}

.top-badge.top1 {
    width: 28px;
    height: 28px;
    font-size: 15px;
    background: #b91c1c;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .3), 0 1px 6px rgba(0, 0, 0, .5);
}


/* Grid heatmap pola aktivitas */

.pola-grid {
    display: grid;
    grid-template-columns: 26px repeat(24, 1fr);
    gap: 1px;
}

.pola-cell {
    height: 12px;
    border-radius: 2px;
}

.pola-lbl {
    font-size: 9px;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.leaflet-popup-content {
    font-size: 12px;
    margin: 8px 10px;
}

.leaflet-popup-content b {
    color: #1d4ed8;
}