@font-face {
    font-family: 'Segoe UI Light';
    src: local('Segoe UI Light'), local('SegoeUI-Light');
}

body {
    font-family: 'Segoe UI Light', 'Segoe UI', system-ui, sans-serif;
}

.stat-number {
    font-family: 'Segoe UI Light', 'Segoe UI', sans-serif;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #4B5563;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.nav-link:hover {
    background: rgba(21, 101, 192, 0.05);
    color: #1565C0;
}
.nav-link.active {
    background: rgba(21, 101, 192, 0.1);
    color: #1565C0;
    font-weight: 500;
}
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #4B5563;
    border-radius: 0.5rem;
}
.mobile-nav-link:hover { background: #F9FAFB; }

.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #F3F4F6;
    padding: 1.5rem;
}

.btn-primary {
    padding: 0.5rem 1rem;
    background: #1565C0;
    color: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary:hover { background: #0D47A1; }

.btn-outline {
    padding: 0.5rem 1rem;
    border: 1px solid #D1D5DB;
    color: #374151;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-outline:hover { background: #F9FAFB; }

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}
.form-input:focus {
    border-color: #1565C0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
}
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.table-wrapper { overflow-x: auto; border-radius: 0.75rem; border: 1px solid #F3F4F6; }
.data-table { width: 100%; font-size: 0.875rem; }
.data-table thead { background: #F9FAFB; color: #4B5563; text-transform: uppercase; font-size: 0.75rem; }
.data-table th { padding: 0.75rem 1rem; text-align: left; font-weight: 500; }
.data-table td { padding: 0.75rem 1rem; border-top: 1px solid #F9FAFB; }
.data-table tbody tr:hover { background: rgba(21, 101, 192, 0.05); }

.badge { display: inline-flex; padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500; }
.badge-success { background: #DCFCE7; color: #15803D; }
.badge-warning { background: #FEF9C3; color: #A16207; }
.badge-danger { background: #FEE2E2; color: #B91C1C; }
.badge-info { background: #DBEAFE; color: #1D4ED8; }

.pagination-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    transition: background 0.2s;
}
.pagination-btn:hover { background: #F9FAFB; }
.pagination-btn.active { background: #1565C0; color: white; border-color: #1565C0; }

#map, .map-container {
    height: 500px;
    width: 100%;
    border-radius: 0.75rem;
    z-index: 1;
    background: #1a1a2e;
}

.leaflet-container {
    background: #1a1a2e;
    font-family: 'Segoe UI Light', 'Segoe UI', sans-serif;
}

.leaflet-container img.leaflet-tile {
    max-width: none !important;
    max-height: none !important;
}

.siaren-map-type-control {
    background: white;
    padding: 0;
    border-radius: 0.5rem !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.siaren-map-type-select {
    border: none;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    background: white;
    color: #374151;
    cursor: pointer;
    outline: none;
    min-width: 140px;
}

.potensi-card:focus {
    outline: none;
}
.potensi-card:focus-visible {
    box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.45);
}

[x-cloak] { display: none !important; }

.login-bg {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 50%, #C62828 100%);
    min-height: 100vh;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(21,101,192,0.95) 0%, rgba(13,71,161,0.9) 100%);
    min-height: 320px;
    position: relative;
}

.banner-slide { position: relative; overflow: hidden; border-radius: 1rem; min-height: 320px; }

.stat-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #F3F4F6;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: box-shadow 0.2s;
}
.stat-card:hover { box-shadow: 0 4px 6px rgba(0,0,0,0.07); }
.stat-card .icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
    border: 1px solid #F3F4F6;
}

.leaflet-pm-toolbar .button-container a {
    background-color: white !important;
}

.leaflet-control-layers {
    border-radius: 0.5rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}
