/*
Theme Name: Desa Pekuncen Desakami Pro
Author: Tim Pengembang Desa Kita
Description: Tema Portal Resmi Desa Pekuncen dengan Antarmuka Responsif Mobile Bergaya Desakami Pro.
Version: 5.2.0
License: GNU General Public License v2 or later
Text Domain: desa-pekuncen
*/

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary-blue: #1d72e8;
    --dark-slate: #0f172a;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light);
    color: #334155;
    padding-bottom: 75px;
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 1. TOP UTILITY BAR */
.top-utility-bar {
    background: #f1f5f9;
    border-bottom: 1px solid var(--border-color);
    font-size: 11px;
    color: #475569;
    padding: 6px 0;
    text-align: center;
    font-weight: 600;
}
.top-utility-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* 2. HEADER LOGO & HAMBURGER */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}
.site-title { font-size: 16px; font-weight: 800; color: #0f172a; }
.site-subtitle { font-size: 9px; color: #64748b; font-weight: 700; line-height: 1.2; }

.menu-toggle-sleek {
    background: transparent;
    border: none;
    font-size: 26px;
    color: #0f172a;
    cursor: pointer;
    padding: 0 6px;
}

.main-navigation {
    display: none;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 10px 15px;
}
.main-navigation.toggled { display: block !important; }
.main-navigation ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.main-navigation a { display: block; padding: 10px 12px; background: #f8fafc; border-radius: 8px; font-weight: 700; font-size: 13px; }

/* 3. HERO SLIDER BANNER & WIDGETS */
/* Kode Lama */
/* Styling Utama Hero Banner untuk Laptop & Desktop */
.hero-relative-wrapper {
    position: relative;
    width: 100%;
    min-height: 380px; /* Tinggi proporsional di layar besar */
    background-image: url('https://desakita.metrosultra.id/wp-content/uploads/2026/10/Desa-Rahadopi-2.png');
	background-size: cover;
	background-position: center;
    background-size: cover; /* Memastikan gambar memenuhi seluruh area */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}

/* Penyesuaian Khusus Tampilan Layar HP (Media Query Mobile) */
@media (max-width: 768px) {
    .hero-relative-wrapper {
        min-height: 220px; /* Menyesuaikan tinggi banner agar pas di layar HP */
        padding: 12px;
        background-position: center top; /* Menjaga agar fokus gambar (seperti wajah/elemen penting) tetap terlihat */
    }

    /* Penyesuaian ukuran teks di HP agar tidak terlalu besar */
    .hero-bottom-text h2 {
        font-size: 16px !important;
        line-height: 1.3;
    }
    
    .hero-bottom-text p {
        font-size: 11px !important;
    }
}
.hero-top-widgets {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: transparent !important; /* Menghapus warna latar melintang */
    box-shadow: none !important;
}
.survey-pill-badge {
    background: linear-gradient(90deg, #ff512f, #dd2476);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(221, 36, 118, 0.35);
}
.survey-pill-icon { background: #fff; color: #dd2476; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero-bottom-text h2 { color: #ffffff; font-size: 18px; font-weight: 800; }
.hero-bottom-text p { color: #cbd5e1; font-size: 11px; }

/* 4. TICKER RUNNING TEXT */
.ticker-bar-duka { background: #0f172a; color: #ffffff; display: flex; align-items: center; font-size: 11px; }
.badge-duka { background: #991b1b; padding: 8px 14px; font-weight: 800; white-space: nowrap; }
.text-duka { flex-grow: 1; padding: 6px 10px; white-space: nowrap; overflow: hidden; }

.ticker-bar-info { background: #ffffff; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; font-size: 11px; }
.badge-info { background: var(--primary-blue); color: #ffffff; padding: 6px 14px; font-weight: 800; white-space: nowrap; }
.text-info { flex-grow: 1; padding: 6px 10px; color: #475569; white-space: nowrap; overflow: hidden; }

/* 5. SEKSI & CAROUSEL LAYOUT */
.section-header-title { font-size: 12px; font-weight: 800; color: #1e293b; text-align: center; margin: 20px 0 10px 0; letter-spacing: 1px; }

.sinergi-carousel, .aparatur-carousel {
    display: flex; gap: 10px; overflow-x: auto; padding: 5px; scroll-behavior: smooth;
}
.sinergi-card { min-width: 80px; background: #fff; padding: 10px 5px; border-radius: 12px; text-align: center; border: 1px solid var(--border-color); flex: 0 0 auto; }
.sinergi-card h5 { font-size: 10px; font-weight: 700; margin-top: 4px; }

.aparatur-card { min-width: 120px; background: #fff; border-radius: 12px; border: 1px solid var(--border-color); text-align: center; padding: 10px; flex: 0 0 auto; }
.aparatur-card img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; }
.aparatur-card h5 { font-size: 12px; font-weight: 800; margin-top: 6px; }
.aparatur-card p { font-size: 10px; color: #64748b; }

/* 6. FITUR LAYANAN GRID */
.fitur-layanan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.fitur-card-item { background: #fff; padding: 12px; border-radius: 12px; border: 1px solid var(--border-color); display: flex; align-items: center; gap: 10px; }
.fitur-card-item h5 { font-size: 12px; font-weight: 800; color: #0f172a; }
.fitur-card-item p { font-size: 9px; color: #64748b; }

/* 7. SAMBUTAN KADES & SHALAT */
/* Layout Sambutan Kades (Kiri: Foto, Kanan: Teks) */
.kades-card-horizontal {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #3DCCC5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 24px;
    margin-top: 25px;
    display: flex;
    flex-direction: column; /* Tampilan default HP: Menumpuk ke bawah */
    align-items: center;
    gap: 20px;
    text-align: center;
}

/* Tampilan Desktop / Laptop (Lebar > 768px) */
@media (min-width: 769px) {
    .kades-card-horizontal {
        flex-direction: row; /* Ubah posisi: Kiri ke Kanan */
        align-items: center;
        text-align: left; /* Teks rata kiri */
    }

    .kades-profile-side {
        min-width: 200px;
        text-align: center;
        border-right: 1px solid 00D1C7; /* Garis pembatas halus di kanan foto */
        padding-right: 20px;
    }

    .kades-content-side {
        flex: 1;
        padding-left: 10px;
    }
}

.kades-profile-side img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2563eb;
    margin-bottom: 8px;
}

.kades-profile-side h4 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 2px 0;
}

.kades-profile-side span {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.kades-content-side h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.kades-content-side p {
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
}

.btn-readmore {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}
.shalat-box { background: linear-gradient(135deg, #1e3a8a, #3b82f6); color: #fff; padding: 15px; border-radius: 14px; margin-top: 20px; text-align: center; }
.shalat-times-grid { display: flex; justify-content: space-around; margin-top: 10px; font-size: 11px; }

/* 8. FLOATING & BOTTOM NAV */
.floating-actions-container { position: fixed; right: 15px; bottom: 85px; display: flex; flex-direction: column; gap: 10px; z-index: 999; }
.btn-float-wa, .btn-float-email { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; }
.btn-float-wa { background: #25d366; }
.btn-float-email { background: #ea4335; }

.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: #ffffff; border-top: 1px solid var(--border-color); display: flex; justify-content: space-around; align-items: flex-end; padding: 8px 5px; z-index: 1001; }
.bottom-nav-item { display: flex; flex-direction: column; align-items: center; font-size: 10px; font-weight: 700; color: #64748b; flex: 1; }
.bottom-nav-item.active { color: var(--primary-blue); }
.bottom-nav-center { position: relative; top: -15px; background: #1e40af; color: #ffffff; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; border: 4px solid #ffffff; }

@media (min-width: 769px) {
    .menu-toggle-sleek, .mobile-bottom-nav { display: none !important; }
    .main-navigation { display: block !important; width: auto; background: transparent; padding: 0; }
    .main-navigation ul { flex-direction: row; gap: 10px; }
    .fitur-layanan-grid { grid-template-columns: repeat(4, 1fr); }
    body { padding-bottom: 0 !important; }
}

/* ===================================================
   DESAIN KHUSUS STATISTIK PENDUDUK & SMART INSIGHT
   =================================================== */

.statistik-wrapper {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-main-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.stat-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2px;
}

.stat-title span { color: #2563eb; }

.stat-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

.circles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
    margin-bottom: 25px;
}

@media (min-width: 769px) {
    .circles-grid { grid-template-columns: repeat(4, 1fr); }
}

.circle-item {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    position: relative;
}

.circle-inner {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.03);
}

.c-icon { font-size: 14px; margin-bottom: 2px; }
.c-number { font-size: 18px; font-weight: 800; color: #0f172a; line-height: 1; }
.c-label { font-size: 9px; font-weight: 800; color: #64748b; margin-top: 3px; }

.c-cyan { background: conic-gradient(#06b6d4 0%, #06b6d4 100%); border: 3px solid #06b6d4; }
.c-pink { background: conic-gradient(#ec4899 0%, #ec4899 100%); border: 3px solid #ec4899; }
.c-green { background: conic-gradient(#10b981 0%, #10b981 100%); border: 3px solid #10b981; }
.c-orange { background: conic-gradient(#f59e0b 0%, #f59e0b 100%); border: 3px solid #f59e0b; }

.btn-stat-detail {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.smart-insight-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.smart-title {
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.tab-filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }

.tab-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}

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

.green-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

@media (min-width: 769px) {
    .green-cards-grid { grid-template-columns: repeat(4, 1fr); }
}

.g-card {
    background: #047857;
    color: #ffffff;
    padding: 15px 12px;
    border-radius: 12px;
    text-align: center;
}

.g-head { font-size: 10px; font-weight: 800; letter-spacing: 0.5px; opacity: 0.9; }
.g-val { font-size: 22px; font-weight: 800; margin: 4px 0 0 0; line-height: 1; }
.g-unit { font-size: 10px; opacity: 0.8; margin-bottom: 8px; }
.g-footer { font-size: 9px; opacity: 0.7; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 6px; }

.table-container-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.table-title { font-size: 13px; font-weight: 800; color: #0f172a; margin-bottom: 12px; }

.stat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    text-align: left;
}

.stat-table th {
    background: #f8fafc;
    color: #475569;
    padding: 8px 10px;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 800;
}

.stat-table td {
    padding: 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.tr-highlight { background: #ecfdf5; }

.quick-insight-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
}

.qi-title { font-size: 13px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.qi-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.qi-list li { font-size: 11px; color: #475569; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; }
.qi-icon { font-size: 12px; }

/* ===================================================
   DESAIN HORIZONTAL APBDES & 3 KARTU BAWAH
   =================================================== */

.apbdes-card-wrapper {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin: 30px 0;
    overflow: hidden;
}

@media (min-width: 992px) {
    .apbdes-card-wrapper { flex-direction: row; }
}

.apbdes-left-box {
    background: #112240;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 12px 12px;
    padding: 30px 20px;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 250px;
}

.apbdes-tag { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; color: #94a3b8; }
.apbdes-title { font-size: 26px; font-weight: 900; color: #f59e0b; margin: 2px 0 10px 0; }
.apbdes-icon-img { margin: 10px 0 15px 0; }

.btn-apbdes-detail {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.apbdes-right-box {
    flex: 1;
    padding: 20px 25px 12px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.apbdes-cols-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 769px) {
    .apbdes-cols-grid { grid-template-columns: repeat(3, 1fr); }
}

.apbdes-col {
    border-right: 1px solid #f1f5f9;
    padding-right: 15px;
}

.apbdes-col:last-child { border-right: none; }
.apbdes-col-header { font-size: 11px; font-weight: 800; color: #1e293b; text-align: center; margin-bottom: 15px; }
.apbdes-content-flex { display: flex; justify-content: space-between; align-items: center; }
.apbdes-val { font-size: 13px; font-weight: 800; color: #0f172a; line-height: 1.2; }
.apbdes-val-green { font-size: 13px; font-weight: 800; color: #10b981; margin-top: 4px; }
.apbdes-sub { font-size: 10px; color: #94a3b8; margin-bottom: 6px; }

.apbdes-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.circle-blue { border: 4px solid #2563eb; color: #2563eb; background: #eff6ff; }
.circle-red { border: 4px solid #dc2626; color: #dc2626; background: #fef2f2; }
.circle-gray { border: 4px solid #cbd5e1; color: #d97706; background: #f8fafc; }

.apbdes-silpa-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    margin-top: 12px;
    font-size: 11px;
}

.silpa-text { font-weight: 700; color: #475569; }
.silpa-num { font-size: 14px; font-weight: 800; color: #10b981; }

/* 3. SEKSI 3 KARTU BAWAH */
.bottom-three-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 992px) {
    .bottom-three-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.bottom-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.card-top-header {
    padding: 12px 18px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-top-header small { font-size: 9px; font-weight: 800; opacity: 0.9; }
.card-top-header h4 { font-size: 14px; font-weight: 800; margin: 0; }

.bg-green-header { background: #059669; }
.bg-blue-header { background: #2563eb; }
.bg-purple-header { background: #7c3aed; }

.card-body-padding { padding: 15px; }
.card-body-map { height: 240px; }

.table-jam-kerja { width: 100%; border-collapse: collapse; font-size: 11px; }
.table-jam-kerja th { text-align: left; color: #64748b; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; }
.table-jam-kerja td { padding: 8px 0; color: #1e293b; border-bottom: 1px solid #f8fafc; }
.row-holiday td { color: #dc2626 !important; font-weight: 700; background: #fff5f5; padding-left: 5px; }

/* ===================================================
   FOOTER EMERALD DARK & SUB FOOTER BARIS PALING BAWAH
   =================================================== */

.main-site-footer {
    background: #1e293b;
    color: #94a3b8;
    padding-top: 40px;
    padding-bottom: 0 !important;
    font-size: 11px;
}

.footer-four-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 769px) {
    .footer-four-cols {
        grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    }
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand h3 { color: #ffffff; font-size: 14px; font-weight: 800; }
.footer-col h4 { color: #ffffff; font-size: 12px; font-weight: 800; margin-bottom: 15px; letter-spacing: 0.5px; }
.footer-desc { line-height: 1.6; }

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-social-icons { display: flex; gap: 8px; margin-top: 12px; }
.footer-social-icons a { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-size: 12px; }
.soc-fb { background: #3b5998; }
.soc-ig { background: #e1306c; }
.soc-tt { background: #000000; }
.soc-wa { background: #25d366; }
.soc-yt { background: #ff0000; }

.stats-box-dark { background: #0f172a; border-radius: 8px; border: 1px solid #334155; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.stat-row { display: flex; justify-content: space-between; padding: 6px 8px; background: #1e293b; border-radius: 4px; color: #cbd5e1; }
.green-glow { border-left: 3px solid #10b981; }
.highlight-blue strong { color: #38bdf8; }

.footer-sub-bar {
    display: block !important;
    background: #0b1329 !important;
    border-top: 1px solid #1e293b !important;
    padding: 15px 0 !important;
    margin-top: 35px !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
    width: 100% !important;
}

.footer-sub-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.sub-links a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    margin: 0 4px !important;
    transition: color 0.2s ease;
}

.sub-links a:hover {
    color: #38bdf8 !important;
}

.sub-copyright strong {
    color: #ffffff !important;
}
/* STYLING UTAMA SWIPER HERO BANNER */
.hero-slider-section,
.heroSwiper {
    width: 100%;
    height: 380px !important; /* Paksa tinggi tetap 380px di Laptop/Desktop */
    position: relative;
    overflow: hidden;
}

.heroSwiper .swiper-slide {
    width: 100%;
    height: 100% !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: stretch;
}

.hero-slide-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 15px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* PENYESUAIAN KHUSUS LAYAR HP (MOBILE) */
@media (max-width: 768px) {
    .hero-slider-section,
    .heroSwiper {
        height: 280px !important; /* Jika masih terlalu pendek, naikkan nilainya (misal: 300px atau 320px) */
    }
}
/* ================= STYLING SEKSI LAPORAN KEGIATAN ================= */
.laporan-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.laporan-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    border-left: 4px solid #2563eb;
    padding-left: 10px;
}

.btn-semua-laporan {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.laporan-grid-4 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
}

@media (min-width: 600px) {
    .laporan-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .laporan-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.laporan-card-item {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #10b981; /* Garis hijau di atas */
    padding: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.laporan-card-item.card-border-active {
    border-color: #2563eb;
    border-top-color: #2563eb;
}

.laporan-card-top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.laporan-thumb {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.laporan-top-info h4 {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.badge-status-selesai {
    background: #d1fae5;
    color: #059669;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.laporan-meta-row {
    background: #f8fafc;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 8px;
}

.laporan-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.laporan-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #f1f5f9;
    padding-top: 10px;
}

.laporan-date {
    font-size: 10px;
    color: #94a3b8;
}

.btn-detail-blue {
    background: #2563eb;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
}

/* ================= STYLING BANNER LAYANAN MANDIRI ================= */
.banner-layanan-mandiri-wrapper {
    background: linear-gradient(rgba(241, 245, 249, 0.85), rgba(241, 245, 249, 0.85)), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    border-radius: 16px;
    padding: 25px 20px;
    margin-top: 25px;
    border: 1px solid #e2e8f0;
}

.layanan-mandiri-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

@media (min-width: 850px) {
    .layanan-mandiri-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.mandiri-left-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mandiri-icon-box {
    font-size: 32px;
}

.mandiri-text-group h2 {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
}

.mandiri-text-group h2 span {
    color: #16a34a;
}

.mandiri-text-group p {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

/* KARTU TENGAH LOGIN */
.mandiri-center-card {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    text-align: center;
}

.logo-desa-mandiri {
    margin-bottom: 10px;
}

.btn-login-mandiri {
    background: #16a34a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

/* TOOLTIP KANAN */
.mandiri-right-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tooltip-pin-box {
    background: #15803d;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    position: relative;
    text-align: center;
    max-width: 200px;
}

.tooltip-pin-box::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #15803d transparent;
    display: block;
    width: 0;
}

.mandiri-daring-text {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}
.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.soc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

/* Warna Hover Masing-masing Medsos */
.soc-fb:hover { background: #1877f2; color: #fff; transform: translateY(-3px); }
.soc-ig:hover { background: #e4405f; color: #fff; transform: translateY(-3px); }
.soc-tt:hover { background: #000000; color: #fff; transform: translateY(-3px); }
.soc-x:hover  { background: #0f1419; color: #fff; transform: translateY(-3px); }
.soc-wa:hover { background: #25d366; color: #fff; transform: translateY(-3px); }
.soc-yt:hover { background: #ff0000; color: #fff; transform: translateY(-3px); }