body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

:root {
    --apbdes-primary: #0f766e;
    --apbdes-secondary: #0ea5e9;
    --apbdes-accent: #16a34a;
    --apbdes-surface: #ffffff;
    --apbdes-border: rgba(15, 118, 110, 0.12);
    --apbdes-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.apbdes-page {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.10), transparent 30%),
        radial-gradient(circle at top right, rgba(22, 163, 74, 0.10), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, #f8f9fa 35%, #f8f9fa 100%);
}

.apbdes-hero {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(14, 165, 233, 0.92));
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.apbdes-card {
    border: 1px solid var(--apbdes-border);
    box-shadow: var(--apbdes-shadow);
    border-radius: 1.15rem;
    overflow: hidden;
    background: var(--apbdes-surface);
}

.apbdes-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apbdes-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.apbdes-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.apbdes-stat-green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.apbdes-stat-blue { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.apbdes-stat-teal { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.apbdes-stat-amber { background: linear-gradient(135deg, #d97706, #f59e0b); }

.apbdes-section-title {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.apbdes-soft-surface {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.apbdes-progress {
    height: 0.9rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.10);
    overflow: hidden;
}

.apbdes-progress .progress-bar {
    border-radius: 999px;
}

.apbdes-table thead th {
    white-space: nowrap;
}

.apbdes-muted {
    color: #64748b;
}

.apbdes-empty-state {
    border: 1px dashed rgba(15, 118, 110, 0.25);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
}

.apbdes-badge-soft {
    background: rgba(15, 118, 110, 0.12);
    color: var(--apbdes-primary);
}

.apbdes-download-card {
    border-left: 4px solid var(--apbdes-secondary);
}

.sidebar-section-label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6c757d;
    padding: 0 20px 6px;
}

.sidebar-sub-link {
    color: #adb5bd;
    text-decoration: none;
    padding: 8px 20px 8px 42px;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-sub-link:hover,
.sidebar-sub-link.active {
    color: #fff;
    background-color: rgba(25, 135, 84, 0.85);
}

.sidebar-sub-link i {
    margin-right: 8px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    color: white;
}

.section-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 40px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 4px;
    background-color: #198754; /* Success color Bootstrap */
}

.foto-kepala-desa {
    width: clamp(180px, 55vw, 420px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 575.98px) {
    .foto-kepala-desa {
        width: clamp(160px, 58vw, 240px);
    }
}

/* Card Berita Hover */
.card-berita {
    transition: transform 0.3s ease;
}
.card-berita:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Map Embed */
.map-wrapper {
    height: clamp(320px, 45vw, 450px);
}

.map-embed {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
