@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #030815;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto !important; /* Overriding qgis2web's overflow: hidden */
}

/* Layout & Header */
.destana-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background: rgba(4, 10, 25, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* Ensure it stays above Leaflet which has 1000 */
    height: 80px;
    box-sizing: border-box;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.destana-nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none !important;
}

.destana-nav-link:hover, .destana-nav-link.active {
    color: #ffffff !important;
}

.nav-active-indicator {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #ff5722;
    border-radius: 99px;
    box-shadow: 0 1px 8px rgba(255, 87, 34, 0.6);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    text-transform: capitalize;
    text-decoration: none !important;
}

.login-btn:hover {
    background: #ffffff !important;
    color: #030815 !important;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white !important;
    cursor: pointer;
    font-size: 1.25rem;
}

/* Hero / Beranda Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 6rem 6rem 4rem 6rem;
    overflow: hidden;
    background-image: linear-gradient(
        to right, 
        rgba(3, 8, 21, 0.94) 35%, 
        rgba(3, 8, 21, 0.75) 60%, 
        rgba(3, 8, 21, 0.3) 100%
    ), url('images/indramayu_map_bg.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    z-index: 10;
}

.hero-content {
    max-width: 720px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 620px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: #ff5722 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
    text-decoration: none !important;
}

.btn-primary:hover {
    background: #f4511e !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.55);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background: rgba(3, 8, 21, 0.6) !important;
    color: #ffffff !important;
    border-radius: 12px;
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    text-decoration: none !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    transform: translateY(-2px);
}

/* Glassmorphism Stats Panel */
.stats-panel {
    background: rgba(4, 15, 37, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon-container {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    font-size: 1.25rem;
}

.stat-icon-container.danger {
    background: #ff1744;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.4);
}

.stat-icon-container.warning {
    background: #ff9100;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 145, 0, 0.4);
}

.stat-icon-container.success {
    background: #00e676;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.4);
}

.stat-icon-container.info {
    background: #2979ff;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(41, 121, 255, 0.4);
}

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500;
    white-space: nowrap;
}

.stat-value-row {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1;
}

.stat-unit {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
}

/* Map Section Styling */
#map-section {
    padding: 6rem 4rem 4rem 4rem;
    background: #030815;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    position: relative;
}

.map-section-header {
    margin-bottom: 2.5rem;
    text-align: left;
}

.section-badge {
    color: #ff5722 !important;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 0.75rem 0;
}

.section-desc {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 1rem;
    margin: 0;
    max-width: 800px;
    line-height: 1.6;
}

#map-container {
    width: 100%;
    height: 75vh;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Info Section Styling */
.info-section {
    padding: 6rem 4rem;
    background: #040a19;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 1rem;
}

.info-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 87, 34, 0.3);
    background: rgba(255,255,255,0.04);
}

.info-card i {
    font-size: 2.5rem;
    color: #ff5722 !important;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 1rem 0;
}

.info-card p {
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(4, 10, 25, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 2rem;
    z-index: 9998;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-nav-drawer.active {
    display: flex;
}

.mobile-nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    padding: 0.5rem 0;
}

.mobile-nav-link.active {
    color: #ff5722 !important;
}

/* Hiding Leaflet default layers control and styling custom layout */
.leaflet-control-layers {
    display: none !important;
}

/* Styling for Peta Destana Section (Light Theme Dashboard) */
.peta-destana-section {
    background-color: #f8fafc;
    color: #0f172a;
    padding: 2.5rem 1.5rem !important;
    box-sizing: border-box;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.dashboard-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr 340px;
    gap: 1.25rem;
    align-items: stretch;
    box-sizing: border-box;
}

/* Left Sidebar Styling */
.dashboard-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
}

.sidebar-header {
    font-size: 0.95rem;
    font-weight: 855;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.6rem;
    font-size: 0.85rem;
    font-weight: 650;
    color: #1e293b;
    outline: none;
    background-color: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-select:focus {
    border-color: #2563eb;
}

.year-pills {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.2rem;
}

.year-pill {
    flex: 1;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 6px;
    padding: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.year-pill.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 650;
    color: #334155;
    cursor: pointer;
    user-select: none;
    padding: 0.2rem 0;
}

.radio-label input, .checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-dot {
    height: 14px;
    width: 14px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    transition: all 0.2s;
}

.radio-label input:checked ~ .radio-dot {
    background-color: #2563eb;
    border-color: #2563eb;
}

.radio-dot::after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.radio-label input:checked ~ .radio-dot::after {
    display: block;
}

.checkbox-box {
    height: 14px;
    width: 14px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    position: relative;
    display: inline-block;
    transition: all 0.2s;
}

.checkbox-label input:checked ~ .checkbox-box {
    border-color: #2563eb;
    background-color: #2563eb;
}

.checkbox-box.tangguh { border-color: #cbd5e1; }
.checkbox-label input:checked ~ .checkbox-box.tangguh { background-color: #2563eb; border-color: #2563eb; }

.checkbox-box.sedang { border-color: #cbd5e1; }
.checkbox-label input:checked ~ .checkbox-box.sedang { background-color: #f97316; border-color: #f97316; }

.checkbox-box.belum { border-color: #cbd5e1; }
.checkbox-label input:checked ~ .checkbox-box.belum { background-color: #94a3b8; border-color: #94a3b8; }

.checkbox-box::after {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.55rem;
}

.checkbox-label input:checked ~ .checkbox-box::after {
    display: block;
}

.search-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.search-input:focus {
    border-color: #2563eb;
}

.btn-reset {
    width: 100%;
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-reset:hover {
    background-color: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Donut Chart Styling */
.ringkasan-klaster-card {
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-subtitle {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.donut-chart-container {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0.5rem auto;
}

.donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-bg {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 8;
}

.donut-segment {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
}

#segment-tangguh { stroke: #2563eb; }
#segment-sedang { stroke: #f97316; }
#segment-belum { stroke: #94a3b8; }

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.donut-total {
    font-size: 1.5rem;
    font-weight: 850;
    color: #0f172a;
    line-height: 1;
}

.donut-label {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.donut-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.legend-circle.blue { background-color: #2563eb; }
.legend-circle.orange { background-color: #f97316; }
.legend-circle.grey { background-color: #94a3b8; }

.legend-text {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 650;
}

/* Center Main Panel Styling */
.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.top-summary-row {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.kecamatan-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.breadcrumb {
    font-size: 0.75rem;
    font-weight: 750;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kecamatan-title {
    font-size: 1.6rem;
    font-weight: 850;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.kecamatan-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.btn-stats-link {
    color: #2563eb;
    text-decoration: none !important;
    font-weight: 700;
    margin-left: 0.5rem;
    transition: color 0.2s;
}

.btn-stats-link:hover {
    color: #1d4ed8;
}

.stat-cards-wrapper {
    display: flex;
    gap: 0.75rem;
}

.summary-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 160px;
}

.stat-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.stat-card-icon.blue { background-color: #dbeafe; color: #2563eb; }
.stat-card-icon.orange { background-color: #ffedd5; color: #f97316; }
.stat-card-icon.grey { background-color: #f1f5f9; color: #64748b; }

.stat-card-details {
    display: flex;
    flex-direction: column;
}

.stat-card-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.stat-card-value-row {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.stat-card-val {
    font-size: 1.25rem;
    font-weight: 850;
    color: #0f172a;
}

.stat-card-pct {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

/* Map Container Wrapper */
.dashboard-map-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    position: relative;
}

.dashboard-map-wrapper #map {
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.map-helper-text {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Table Section */
.desa-table-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.table-section-title {
    font-size: 1rem;
    font-weight: 850;
    color: #0f172a;
    margin: 0;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.desa-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
}

.desa-data-table th {
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.desa-data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-weight: 600;
    vertical-align: middle;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 750;
    width: fit-content;
    text-transform: uppercase;
}

.status-badge.tangguh { background-color: #dbeafe; color: #2563eb; }
.status-badge.sedang { background-color: #ffedd5; color: #f97316; }
.status-badge.belum { background-color: #f1f5f9; color: #64748b; }

.index-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 750;
}

.index-badge.tinggi { background-color: #dcfce7; color: #15803d; }
.index-badge.sedang { background-color: #fef9c3; color: #a16207; }
.index-badge.rendah { background-color: #fee2e2; color: #b91c1c; }

.btn-action-table {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #2563eb;
    text-decoration: none !important;
    font-weight: 750;
    font-size: 0.8rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-action-table:hover {
    color: #1d4ed8;
}

.btn-show-all {
    width: 100%;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 0.65rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-show-all:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Right Sidebar: Village list */
.dashboard-right-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-sizing: border-box;
}

.list-section-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
}

.right-sidebar-title {
    font-size: 1rem;
    font-weight: 850;
    color: #0f172a;
    margin: 0;
}

.right-sidebar-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.list-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.filter-pill {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 20px;
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 750;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-pill.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.list-search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.list-search-wrapper .search-icon {
    position: absolute;
    left: 10px;
    color: #94a3b8;
    font-size: 0.8rem;
}

.list-search-input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.55rem 0.55rem 0.55rem 1.8rem;
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.list-search-input:focus {
    border-color: #2563eb;
}

.btn-download-excel {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #64748b;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-download-excel:hover {
    background-color: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Village List Items */
.village-scroll-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.25rem;
    box-sizing: border-box;
}

/* Custom scrollbar for village list */
.village-scroll-list::-webkit-scrollbar {
    width: 5px;
}
.village-scroll-list::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 10px;
}
.village-scroll-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.village-scroll-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.village-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
}

.village-item:hover, .village-item.active {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #2563eb;
}

.village-item-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.village-num {
    color: #94a3b8;
    font-size: 0.75rem;
}

.village-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.village-item-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.village-badge-status {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
}

.village-badge-status.tangguh { background-color: #dbeafe; color: #2563eb; }
.village-badge-status.sedang { background-color: #ffedd5; color: #f97316; }
.village-badge-status.belum { background-color: #f1f5f9; color: #64748b; }

.village-idx-val {
    font-size: 0.75rem;
    color: #475569;
    font-weight: 850;
}

/* List Pagination */
.list-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.75rem;
    margin-top: auto;
}

.page-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    border-radius: 6px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
    background-color: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.page-btn.active {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Index Legend Card */
.index-legend-card {
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-card-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem 0;
}

.legend-card-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 650;
    color: #475569;
}

.legend-card-item .legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-card-item .legend-dot.red { background-color: #ef4444; }
.legend-card-item .legend-dot.yellow { background-color: #eab308; }
.legend-card-item .legend-dot.green { background-color: #22c55e; }

.legend-range {
    font-weight: 800;
    color: #0f172a;
    min-width: 65px;
}

.legend-desc {
    color: #64748b;
}

/* Responsive Layouts for Dashboard */
@media (max-width: 1400px) {
    .dashboard-wrapper {
        grid-template-columns: 260px 1fr;
    }
    .dashboard-right-sidebar {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .dashboard-wrapper {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar {
        grid-column: 1 / -1;
    }
    .top-summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .stat-cards-wrapper {
        width: 100%;
        flex-direction: column;
    }
    .summary-stat-card {
        width: 100%;
    }
}

#map {
    width: 100%;
    height: 100%;
}

/* Section 3: Tentang DESTANA (Custom Modern Design) */
.about-destana-section {
    background-color: #f8fafc;
    padding: 0; 
    box-sizing: border-box;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hero Banner */
.about-hero-banner {
    position: relative;
    background: url('images/destana_hero_bg.png') no-repeat center center/cover;
    height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 30%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
}

.about-hero-badge {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 750;
    letter-spacing: 0.1em;
    color: #ff7a59;
    margin: 0;
}

.about-hero-title {
    font-size: 3.25rem;
    font-weight: 855;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
}

.about-hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0;
}

.btn-about-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #ef4444;
    color: #ffffff !important;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    width: fit-content;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-about-more:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.4);
}

/* Floating Stats Bar */
.about-stats-bar {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: -4rem auto 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-sizing: border-box;
}

.about-stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0 1rem;
}

.about-stat-item:not(:last-child) {
    border-right: 1px solid #e2e8f0;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-icon.red { background-color: #fee2e2; color: #ef4444; }
.stat-icon.orange { background-color: #ffedd5; color: #f97316; }
.stat-icon.blue { background-color: #dbeafe; color: #2563eb; }
.stat-icon.green { background-color: #dcfce7; color: #22c55e; }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.85rem;
    font-weight: 855;
    color: #0f172a;
    line-height: 1.1;
}

.stat-lbl {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 650;
    margin-top: 0.2rem;
}

/* Section Titles and Dividers */
.about-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-section-title {
    font-size: 2.25rem;
    font-weight: 855;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

.about-section-divider {
    width: 50px;
    height: 4px;
    background-color: #ef4444;
    margin: 0 auto;
    border-radius: 2px;
}

/* Intro Section: Apa itu DESTANA? */
.about-intro-section {
    padding: 6rem 4rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-intro-paragraph {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

.about-intro-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-intro-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

#dynamic-about-text,
#dynamic-about-text * {
    color: #475569 !important;
    line-height: 1.75;
    font-size: 1.05rem;
}

/* 5 Dimensi Section */
.about-dimensi-section {
    padding: 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.dimensi-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.dimensi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);
    box-sizing: border-box;
}

.dimensi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.dimensi-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.dimensi-icon-wrapper.blue { background-color: #dbeafe; color: #2563eb; }
.dimensi-icon-wrapper.green { background-color: #dcfce7; color: #22c55e; }
.dimensi-icon-wrapper.orange { background-color: #ffedd5; color: #f97316; }
.dimensi-icon-wrapper.purple { background-color: #f3e8ff; color: #a855f7; }
.dimensi-icon-wrapper.teal { background-color: #ccfbf1; color: #0d9488; }

.dimensi-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.dimensi-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.dimensi-link {
    font-size: 0.85rem;
    font-weight: 750;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s ease;
}

.dimensi-link:hover {
    gap: 0.5rem;
}

.dimensi-link.blue { color: #2563eb; }
.dimensi-link.green { color: #22c55e; }
.dimensi-link.orange { color: #f97316; }
.dimensi-link.purple { color: #a855f7; }
.dimensi-link.teal { color: #0d9488; }

/* Styling Modal Detail Dimensi */
.dimensi-modal {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(3, 8, 21, 0.8); 
    backdrop-filter: blur(5px);
}

.dimensi-modal-content {
    background-color: #f8fafc;
    margin: 8% auto; 
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    width: 90%; 
    max-width: 650px;
    color: #0f172a;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    color: #64748b;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover, .close-modal:focus {
    color: #ef4444;
    text-decoration: none;
}

#modal-dimensi-title {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.pertanyaan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar untuk Modal List */
.pertanyaan-list::-webkit-scrollbar { width: 5px; }
.pertanyaan-list::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
.pertanyaan-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

.pertanyaan-item {
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}

.pertanyaan-item:hover {
    transform: translateX(5px);
    border-color: #cbd5e1;
}

.pertanyaan-icon {
    color: #ff5722;
    margin-top: 3px;
    font-size: 1.1rem;
}

.pertanyaan-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #334155;
    margin: 0;
    font-weight: 500;
}

/* Tujuan Section */
.about-tujuan-section {
    padding: 4rem 4rem 6rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.tujuan-items-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.tujuan-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1 1 250px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);
    box-sizing: border-box;
}

.tujuan-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.tujuan-icon-wrapper.red { background-color: #fee2e2; color: #ef4444; }
.tujuan-icon-wrapper.orange { background-color: #ffedd5; color: #f97316; }
.tujuan-icon-wrapper.green { background-color: #dcfce7; color: #22c55e; }
.tujuan-icon-wrapper.blue { background-color: #dbeafe; color: #2563eb; }

.tujuan-text {
    font-size: 0.9rem;
    font-weight: 650;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Custom zoom controls position adjust to look neat */
.leaflet-top.leaflet-left {
    top: 15px;
    left: 15px;
}

.leaflet-bar {
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.leaflet-bar a {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border-bottom: 1px solid #e2e8f0 !important;
    transition: background-color 0.2s;
}

.leaflet-bar a:hover {
    background-color: #f1f5f9 !important;
}

/* --- ADDED FOR ZONA RAWAN VIEW --- */
.admin-profile-wrapper {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.notification-bell {
    position: relative;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: color 0.2s;
}

.notification-bell:hover {
    color: #ffffff;
}

.bell-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 0.15rem 0.3rem;
    border-radius: 50%;
    line-height: 1;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 1rem;
}

.user-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.user-info-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
}

.user-role {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none !important;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-nav-item i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.sidebar-nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav-item.active {
    background: #ef4444; 
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.sidebar-filter-header {
    font-size: 0.7rem;
    font-weight: 850;
    color: #ef4444; 
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

#map-section.mode-zona-rawan .dashboard-sidebar {
    background: #0f172a; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#map-section.mode-zona-rawan .dashboard-sidebar .filter-label {
    color: rgba(255, 255, 255, 0.65);
}

#map-section.mode-zona-rawan .dashboard-sidebar .checkbox-label {
    color: rgba(255, 255, 255, 0.85);
}

#map-section.mode-zona-rawan .dashboard-sidebar .checkbox-box {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

#map-section.mode-zona-rawan .dashboard-sidebar .filter-select {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

#map-section.mode-zona-rawan .dashboard-sidebar .filter-select option {
    background-color: #0f172a;
    color: #ffffff;
}

#map-section.mode-zona-rawan .dashboard-sidebar .btn-reset {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

#map-section.mode-zona-rawan .dashboard-sidebar .btn-reset:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.zona-main-header {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

#map-section.mode-zona-rawan .zona-main-header {
    display: flex;
}

.zona-main-title {
    font-size: 1.5rem;
    font-weight: 850;
    color: #0f172a;
    margin: 0 0 0.15rem 0;
    letter-spacing: -0.01em;
}

.zona-main-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.zona-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.zona-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    min-width: 0;
}

.zona-kpi-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.zona-kpi-card.danger .zona-kpi-icon { background-color: #fee2e2; color: #ef4444; }
.zona-kpi-card.warning .zona-kpi-icon { background-color: #ffedd5; color: #f97316; }
.zona-kpi-card.success .zona-kpi-icon { background-color: #dcfce7; color: #22c55e; }
.zona-kpi-card.info .zona-kpi-icon { background-color: #dbeafe; color: #2563eb; }

.zona-kpi-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.zona-kpi-num {
    font-size: 1.15rem;
    font-weight: 850;
    color: #0f172a;
}

.zona-kpi-lbl {
    font-size: 0.65rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zona-kpi-pct {
    font-size: 0.6rem;
    color: #94a3b8;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-right {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.card-right-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-zona-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.info-zona-header .card-right-title {
    margin: 0;
}

.risk-badge {
    font-size: 0.6rem;
    font-weight: 850;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.risk-badge.tinggi { background-color: #fee2e2; color: #ef4444; }
.risk-badge.sedang { background-color: #ffedd5; color: #f97316; }
.risk-badge.rendah { background-color: #dcfce7; color: #22c55e; }

.info-zona-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-row {
    display: flex;
    font-size: 0.75rem;
    line-height: 1.3;
}

.info-label {
    width: 110px;
    color: #64748b;
    font-weight: 600;
    flex-shrink: 0;
}

.info-value {
    color: #334155;
    font-weight: 750;
    word-break: break-word;
}

.recommendation-box {
    margin-top: 0.75rem;
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border: 1px solid transparent;
}

.recommendation-box.tinggi { background-color: #fff5f5; border-color: #fee2e2; }
.recommendation-box.tinggi .rec-title { color: #ef4444; }
.recommendation-box.tinggi .rec-text { color: #b91c1c; }

.recommendation-box.sedang { background-color: #fffbeb; border-color: #fef3c7; }
.recommendation-box.sedang .rec-title { color: #d97706; }
.recommendation-box.sedang .rec-text { color: #92400e; }

.recommendation-box.rendah { background-color: #f0fdf4; border-color: #dcfce7; }
.recommendation-box.rendah .rec-title { color: #16a34a; }
.recommendation-box.rendah .rec-text { color: #166534; }

.rec-title {
    font-size: 0.7rem;
    font-weight: 850;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rec-text {
    font-size: 0.68rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.persentase-zona-card {
    align-items: center;
}

.persentase-zona-card .card-right-title {
    align-self: flex-start;
}

.bencana-bar-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.bencana-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.bencana-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
}

.bencana-name {
    color: #475569;
}

.bencana-pct {
    color: #0f172a;
}

.bencana-count {
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 500;
}

.progress-bar-bg {
    width: 100%;
    height: 7px;
    background-color: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.progress-bar-fill.blue { background-color: #3b82f6; }
.progress-bar-fill.orange { background-color: #f97316; }
.progress-bar-fill.teal { background-color: #14b8a6; }
.progress-bar-fill.brown { background-color: #a16207; }
.progress-bar-fill.yellow { background-color: #eab308; }

.unduh-data-card {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.unduh-title {
    font-size: 0.8rem;
    font-weight: 850;
    color: #166534;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.unduh-desc {
    font-size: 0.68rem;
    line-height: 1.4;
    color: #15803d;
    margin: 0;
    font-weight: 600;
}

.unduh-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.btn-unduh-outline {
    flex: 1;
    background: transparent;
    border: 1.5px solid #166534;
    border-radius: 8px;
    color: #166534;
    padding: 0.45rem 0.25rem;
    font-size: 0.72rem;
    font-weight: 750;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: all 0.2s;
}

.btn-unduh-outline:hover {
    background-color: #dcfce7;
}

.btn-unduh-solid {
    flex: 1;
    background: #166534;
    border: 1.5px solid #166534;
    border-radius: 8px;
    color: #ffffff;
    padding: 0.45rem 0.25rem;
    font-size: 0.72rem;
    font-weight: 750;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: all 0.2s;
}

.btn-unduh-solid:hover {
    background-color: #14532d;
    border-color: #14532d;
}

.map-floating-legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 1rem;
    width: 250px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    pointer-events: auto;
}

#map-section.mode-zona-rawan .map-floating-legend {
    display: flex;
}

.legend-title {
    font-size: 0.75rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.35rem;
}

.legend-section {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.legend-section-title {
    font-size: 0.65rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.7rem;
}

.color-block {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 1px;
}

.color-block.red { background-color: #ef4444; }
.color-block.orange { background-color: #f97316; }
.color-block.green { background-color: #22c55e; }

.legend-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.legend-text-wrapper strong {
    font-weight: 750;
    color: #334155;
}

.legend-text-wrapper span {
    font-size: 0.6rem;
    color: #64748b;
}

.line-indicator {
    width: 20px;
    height: 2px;
    display: inline-block;
    flex-shrink: 0;
    align-self: center;
}

.line-indicator.kabupaten { background-color: #22c55e; }
.line-indicator.kecamatan { 
    background: repeating-linear-gradient(90deg, #94a3b8, #94a3b8 3px, transparent 3px, transparent 6px);
}
.line-indicator.desa { 
    background: repeating-linear-gradient(90deg, #cbd5e1, #cbd5e1 2px, transparent 2px, transparent 4px);
}

.legend-item.line-item {
    align-items: center;
}

.legend-footer {
    font-size: 0.6rem;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.4rem;
    font-weight: 500;
}

.map-overlay-selector {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
    pointer-events: auto;
}

.btn-overlay-dropdown {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

.btn-overlay-dropdown:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.overlay-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    width: 150px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    padding: 0.4rem;
    gap: 0.15rem;
}

.overlay-dropdown-menu.active {
    display: flex;
}

.dropdown-menu-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    padding: 0.3rem 0.45rem;
    color: #475569;
    cursor: pointer;
    border-radius: 4px;
}

.dropdown-menu-item:hover {
    background-color: #f1f5f9;
}

.disaster-icons-wrapper {
    display: flex;
    gap: 0.25rem;
}

.disaster-circle-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.disaster-circle-icon.banjir { background-color: #3b82f6; }
.disaster-circle-icon.cuaca { background-color: #f97316; }
.disaster-circle-icon.rob { background-color: #14b8a6; }
.disaster-circle-icon.longsor { background-color: #a16207; }
.disaster-circle-icon.kekeringan { background-color: #eab308; }
.disaster-circle-icon.kebakaran { background-color: #ef4444; }

#map-section.mode-klaster-destana .klaster-filter-groups { display: flex; flex-direction: column; gap: 1rem; }
#map-section.mode-klaster-destana .zona-filter-groups { display: none; }

#map-section.mode-zona-rawan .klaster-filter-groups { display: none; }
#map-section.mode-zona-rawan .zona-filter-groups { display: flex; flex-direction: column; gap: 1.25rem; }

#map-section.mode-klaster-destana .klaster-right-sidebar-content { display: flex; flex-direction: column; gap: 1rem; }
#map-section.mode-klaster-destana .zona-right-sidebar-content { display: none; }

#map-section.mode-zona-rawan .klaster-right-sidebar-content { display: none; }
#map-section.mode-zona-rawan .zona-right-sidebar-content { display: flex; flex-direction: column; gap: 1.25rem; }

#map-section.mode-zona-rawan .badge-status.tangguh { background-color: #fee2e2; color: #ef4444; border: 1.5px solid #fecaca; }
#map-section.mode-zona-rawan .badge-status.sedang { background-color: #ffedd5; color: #f97316; border: 1.5px solid #fed7aa; }
#map-section.mode-zona-rawan .badge-status.belum { background-color: #dcfce7; color: #22c55e; border: 1.5px solid #bbf7d0; }

#map-section.mode-klaster-destana .top-summary-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
#map-section.mode-klaster-destana .zona-main-header { display: none; }

#map-section.mode-zona-rawan .top-summary-row { display: none; }
#map-section.mode-zona-rawan .zona-main-header { display: flex; flex-direction: column; gap: 0.75rem; }

#map-section.mode-zona-rawan .ringkasan-klaster-card { display: none; }
#map-section.mode-klaster-destana .ringkasan-klaster-card { display: block; }

@media (max-width: 1024px) {
    .peta-header-layout { flex-direction: column; }
    .peta-info-panel { flex: 1; }
    .peta-map-wrapper { height: 500px; }
    .peta-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .about-destana-card { flex-direction: column; padding: 2.5rem; gap: 2rem; }
    .about-illustration { max-height: 300px; }
    
    .about-hero-title { font-size: 2.5rem; }
    .about-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: -3rem;
        padding: 1.5rem;
    }
    .about-stat-item:not(:last-child) { border-right: none; }
    .about-stat-item:nth-child(odd) { border-right: 1px solid #e2e8f0; }
    .about-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
    .dimensi-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .about-hero-content { padding: 0 2rem; }
    .about-intro-section, .about-dimensi-section, .about-tujuan-section { padding: 3rem 2rem; }
    .dimensi-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .peta-cards-grid { grid-template-columns: 1fr; }
    .peta-destana-section, .about-destana-section { padding: 4rem 1.5rem; }
    .about-destana-card { padding: 2rem 1.5rem; }
    .peta-main-title, .about-title { font-size: 1.85rem; }
    .custom-map-sidebar { position: relative; top: 0; right: 0; width: 100%; margin-top: 1rem; }
    
    .about-hero-title { font-size: 2rem; }
    .about-hero-desc { font-size: 0.95rem; }
    .about-stats-bar {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: -2rem;
    }
    .about-stat-item:nth-child(odd) { border-right: none; }
    .about-stat-item:not(:last-child) {
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 1rem;
    }
    .dimensi-cards-grid { grid-template-columns: 1fr; }
    .tujuan-item { flex: 1 1 100%; }
}

/* Styling Partisipasi Warga */
.partisipasi-section {
    background-color: #030815;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 87, 34, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    color: #ffffff;
    padding: 6rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    position: relative;
}

.partisipasi-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

/* Tas Siaga Interactive Widget */
.interactive-widget-card {
    background: rgba(4, 15, 37, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.widget-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.widget-title i {
    color: #ff5722;
}

.widget-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Bag Visualizer Layout */
.bag-visualizer-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
}

.bag-display {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bag-backpack-svg {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(255, 87, 34, 0.25));
    transition: all 0.3s ease;
}

.bag-backpack-svg path {
    transition: fill 0.5s ease;
}

.backpack-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.2) 0%, transparent 70%);
    z-index: -1;
    transition: all 0.5s ease;
}

.items-checkbox-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.item-checkbox-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.item-checkbox-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.item-checkbox-card.checked {
    background: rgba(255, 87, 34, 0.08);
    border-color: rgba(255, 87, 34, 0.4);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.1);
}

.item-checkbox-input {
    display: none;
}

.item-checkbox-custom {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.item-checkbox-card.checked .item-checkbox-custom {
    border-color: #ff5722;
    background-color: #ff5722;
}

.item-checkbox-custom i {
    font-size: 0.75rem;
    color: #ffffff;
    opacity: 0;
    transition: all 0.2s ease;
}

.item-checkbox-card.checked .item-checkbox-custom i {
    opacity: 1;
}

.item-checkbox-icon {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    width: 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.item-checkbox-card.checked .item-checkbox-icon {
    color: #ff5722;
    transform: scale(1.1);
}

.item-checkbox-label-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.item-checkbox-card.checked .item-checkbox-label-text {
    color: #ffffff;
}

.bag-progress-wrapper {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.bag-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.bag-progress-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.bag-progress-pct {
    font-size: 1rem;
    font-weight: 800;
    color: #ff5722;
}

.bag-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.bag-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff5722, #ff8a50);
    border-radius: 99px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
}

.bag-feedback-msg {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    min-height: 24px;
    transition: all 0.3s ease;
}

.participation-tabs-card {
    background: rgba(4, 15, 37, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.75rem 0.25rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-btn.active {
    color: #ff5722;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff5722;
    border-radius: 99px;
    box-shadow: 0 -2px 10px rgba(255, 87, 34, 0.6);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.form-group-partisipasi {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-label-partisipasi {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input-partisipasi, .form-select-partisipasi, .form-textarea-partisipasi {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input-partisipasi:focus, .form-select-partisipasi:focus, .form-textarea-partisipasi:focus {
    border-color: #ff5722;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.15);
}

.form-select-partisipasi option {
    background-color: #0c152b;
    color: #ffffff;
}

.btn-submit-partisipasi {
    width: 100%;
    background: #ff5722 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    padding: 0.9rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.3);
    margin-top: 1.5rem;
}

.btn-submit-partisipasi:hover {
    background: #f4511e !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.45);
}

.form-success-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    background: rgba(0, 230, 118, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #00e676;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.25);
    border: 2px solid rgba(0, 230, 118, 0.3);
}

.success-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.success-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-back-form {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back-form:hover {
    background: rgba(255, 255, 255, 0.15);
}

.interactive-item-icon-floating {
    position: absolute;
    font-size: 1.5rem;
    color: #ff5722;
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10000;
}

@media (max-width: 1024px) {
    .partisipasi-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .partisipasi-section {
        padding: 4rem 2rem;
    }
}

@media (max-width: 640px) {
    .bag-visualizer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .bag-display {
        height: 220px;
    }
    .bag-backpack-svg {
        width: 140px;
    }
    .interactive-widget-card {
        padding: 1.5rem;
    }
}

/* =========================================================================
    STYLE BAGIAN LAPORAN (Report Section)
    ========================================================================= */
.laporan-section {
    background-color: #030815;
    background-image: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(255, 87, 34, 0.05) 0%, transparent 50%);
    color: #ffffff;
    padding: 6rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    position: relative;
}

.laporan-header {
    text-align: center;
    margin-bottom: 4rem;
}

.laporan-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.laporan-left-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.laporan-right-col {
    position: sticky;
    top: 100px;
}

.laporan-stat-card, .laporan-downloads-card, .timeline-container {
    background: rgba(4, 15, 37, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

.laporan-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.laporan-card-title i {
    color: #ff5722;
}

.laporan-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Chart Styles */
.laporan-chart-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chart-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.chart-progress-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-progress-val {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.chart-progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    overflow: hidden;
}

.chart-progress-bar {
    height: 100%;
    border-radius: 99px;
    transition: width 1s ease-in-out;
}

.fill-blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); box-shadow: 0 0 8px rgba(59, 130, 246, 0.5); }
.fill-teal { background: linear-gradient(90deg, #0d9488, #14b8a6); box-shadow: 0 0 8px rgba(13, 148, 136, 0.5); }
.fill-orange { background: linear-gradient(90deg, #ea580c, #f97316); box-shadow: 0 0 8px rgba(234, 88, 12, 0.5); }
.fill-yellow { background: linear-gradient(90deg, #d97706, #f59e0b); box-shadow: 0 0 8px rgba(217, 119, 6, 0.5); }

.text-blue { color: #3b82f6; }
.text-teal { color: #14b8a6; }
.text-orange { color: #f97316; }
.text-yellow { color: #f59e0b; }
.text-red { color: #ef4444; }
.text-green { color: #22c55e; }

/* Download List Styles */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.download-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.download-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.download-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-grow: 1;
}

.download-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.download-item-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.btn-download-item {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.2);
    color: #ff5722;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.btn-download-item:hover {
    background: #ff5722;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 87, 34, 0.4);
}

/* Timeline Styles */
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.live-pulse-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    border: 1px solid rgba(239, 68, 68, 0.25);
    letter-spacing: 0.05em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    100% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.timeline-items {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
    gap: 2rem;
    margin-top: 1rem;
}

.timeline-item {
    position: relative;
    animation: slideInLeft 0.5s ease forwards;
}

.timeline-badge {
    position: absolute;
    left: -33px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0d1527;
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ffffff;
    z-index: 2;
}

.timeline-badge.warning { border-color: #f59e0b; color: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.3); }
.timeline-badge.danger { border-color: #ef4444; color: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.3); }
.timeline-badge.success { border-color: #10b981; color: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.3); }

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.timeline-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.timeline-reporter {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.timeline-reporter i { color: #ff5722; }
.timeline-time { font-style: italic; }

.timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.timeline-desc-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 1rem;
}

.timeline-location {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
}

.location-badge {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.status-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.status-badge.warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.status-badge.danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.status-badge.success { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1024px) {
    .laporan-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
    .laporan-section { padding: 4rem 2rem; }
    .laporan-right-col { position: static; }
}

/* Footer Styles */
.destana-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr 1fr;
    gap: 2rem;
    align-items: start;
}

.destana-footer-col { box-sizing: border-box; }
.destana-footer-col.col-1 { padding-right: 2rem; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.destana-footer-col.col-2 { padding-left: 1rem; padding-right: 1rem; }
.destana-footer-col.col-3 { padding-left: 1rem; padding-right: 2rem; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.destana-footer-col.col-4 { padding-left: 2rem; padding-right: 2rem; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.destana-footer-col.col-5 { padding-left: 2rem; }

@media (max-width: 1024px) {
    .destana-footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
    }
    .destana-footer-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-right: none !important;
    }
}

@media (max-width: 640px) {
    .destana-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}