*{  margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;;
    line-height: 1.6;
    color: #333;
    background-color: #f4f6f9;
}

/* Styling Tombol Hamburger (Default disembunyikan di Laptop) */
.menu-toggle {
    display: none; /* Hilang di laptop */
    flex-direction: column;
    height: 20px;
    justify-content: space-between;
    cursor: pointer;
    z-index: 9999; /* Biar selalu di paling atas */
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white; /* Warna garis putih */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Efek Animasi Hamburger jadi 'X' saat diklik */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0; /* Garis tengah hilang */
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

a{
    text-decoration: none;
    color: inherit;
}

ul{
    list-style: none;
}

section{margin-bottom: 0;}
section{padding: 80px 20px;}

/* ==========HALAMAN BERANDA========== */
/* ======HEADER====== */
header{
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-group{
    display: flex;
    align-items: center;
    gap: 15px;
}

header h1{
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

nav ul{
    display: flex;
    gap: 20px; 
}

nav ul li a{
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

nav ul li a:hover{
    color: #4CAF50;
}

/* ======HERO SECTION====== */

.hero-section{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: -1;
}

.hero-content{
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.hero-content button {
    padding: 12px 35px; 
    width: auto; 
    height: auto;
    border-radius: 50px;
    border: 2px solid #8ECF4B; 
    background: rgba(142, 207, 75, 0.2); 
    backdrop-filter: blur(5px); 
    color: white;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-top: 20px;
}

.hero-content button:hover {
    background: #8ECF4B; 
    color: #014131; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(142, 207, 75, 0.4); 
}

/* =====FOOTER===== */
footer{
    background-color: #004D40;
    color: #fff;
    padding: 0;
    font-size: 14px;
    font-family: 'Sogoe UI', sans-serif;
}

.footer-container{
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-col{
    flex: 1;
    padding: 40px;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-col:last-child{
    border-right: none;
}

/* KIRI */
.footer-kiri{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-logo{
    width: 60px;
    margin-bottom: 15px;
}

.copyright{
    font-weight: bold;
    line-height: 1.5;
}


/* TENGAH */
.footer-tengah h4{
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 700;
}

.contact-item{
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item i{
    margin-top: 4px;
}

/* KANAN */
.footer-kanan{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.footer-menu{
    padding: 40px;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-menu ul li{
    margin-bottom: 12px;
}

.footer-menu ul li a{
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.footer-menu ul li a:hover{
    color: #ffd700;
}

.footer-social{
    padding: 20px 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 20px;
}

.footer-social a{
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
}

.footer-social a:hover{
    transform: translateY(-3px);
}


/* =====BERITA TERKINI===== */

#berita-terkini{
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
}

.section-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2{
    font-size: 28px;
    color: #004D40;
    border-left: 5px solid #8ECF4B;
    padding-left: 15px;
}

.btn-lihat-semua{
    color: #014131;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-lihat-semua:hover{
    color: #8ECF4B;
    padding: 5px;
}

.berita-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.berita-card{
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3 ease;
    display: flex;
    flex-direction: column;
}

.berita-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.berita-img-box{
    position: relative;
    width: 100%;
    height: 220px;
}

.berita-img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tanggal-badge{
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #8ECF4B;
    color: #014131;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5 px rgba(0,0,0,0.2);
}

.berita-content{
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.berita-content h3{
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-content p{
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-baca {
    margin-top: auto; 
    display: inline-block;
    color: #014131;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid #8ECF4B; 
    width: fit-content;
}

.btn-baca:hover {
    background-color: #8ECF4B; 
    color: white;
    padding: 2px 5px;
    border-radius: 4px;
}


#berita-terkini > .container > button {
    display: block;
    margin: 40px auto 0; 
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid #014131;
    color: #014131;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

#berita-terkini > .container > button:hover {
    background-color: #014131;
    color: white;
}

/* =====STATISTIK===== */

#statistik {
    padding: 80px 20px;
    background-color: #fff;
    background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
    background-size: 20px 20px;
}

.center-header{
    text-align: center;
    margin-bottom: 50px;
}

.center-header h2{
    font-size: 32px;
    color: #014131;
    margin-bottom: 10px;
}

.center-header p{
    color: #666;
}

.statistik-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stat-card{
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover{
    transform: translateY(-10px);
    box-shadow:0 15px 30px rgba(0,0,0,0.15);
    border-color: #8ECF4B;
}

.stat-icon{
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: #e8f5d6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #014131;
}

/* angka statistik */
.stat-info h3{
    font-size: 36px;
    font-weight: 800;
    color: #014131;
    margin-bottom: 5px;
}

.stat-info p{
    color: #777;
    font-size: 16px;
    font-weight: 500;
}


/* =====FOTO KEGIATAN===== */

#kegiatan {
    padding: 80px 0; 
    background: white;
    overflow: hidden; 
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 50px;
    padding: 20px 0;
    background: #fff;
    position: relative;
}


.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px; 
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* Jalur Animasi */
.marquee-content {
    display: flex;
    gap: 20px; 
    width: max-content; 
    /* ANIMASI KUNCI: */
    animation: scroll 30s linear infinite; /* Jalan selama 30 detik, berulang */
}


.marquee-content:hover {
    animation-play-state: paused;
}

/* Item Foto */
.galeri-item {
    width: 300px; /* Lebar foto fix */
    height: 200px; /* Tinggi foto fix */
    flex-shrink: 0; /* Jangan menciut */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galeri-item:hover {
    transform: scale(1.05); /* zoom dikit pas hover */
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* RUMUS ANIMASI JALAN */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Geser ke kiri sejauh -50% (setengah dari total panjang karena ada duplikat) */
        transform: translateX(-50%); 
    }
}

/* Tombol Tengah dipercantik */
.tombol-tengah {
    margin-top: 20px;
    text-align: center;
}

.btn-ig{
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(200, 30, 100, 0.3);
    transition: 0.3s;
}

.btn-ig:hover{
    filter: brightness(1.1);
    transform: translateY(-3px);
}



/* ==========HALAMAN PROFIL========== */
.section-padding{
    padding: 80px 20px;
}

.bg-light{
    background-color: #f8f9fa;
}

/* judul */
.section-title{
    font-size: 28px;
    color: #014131;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after{
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: #8ECF4B;
    margin-top: 5px;
}

.center-title{
    text-align: center;
    display: block;
    margin: 0 auto 30px;
}

.center-title::after{
    margin: 10px auto 0;
}

.text-center{
    text-align: center;
}

.page-hero{
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url('assets/img/view.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}


/* sejarah */
.sejarah-wrapper{
    display: flex;
    gap: 40px;
    align-items: center;
}

.sejarah-img{
    flex: 1;
}

.sejarah-img img{
    width: 100%;
    border-radius: 10px;
    box-shadow: 10px 10px 0px #8ECF4B;
}

.sejarah-text{
    flex: 1;
    line-height: 1.8;
    color: #444;
}

/* visi misi */
.visi-box{
    background-color: #014131;
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.visi-box h3{
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
}

.misi-box h3{
    color: #014131;
    margin-bottom: 20px;
    text-align: center;
}

.misi-box ol{
    padding-left: 20px;
}

.misi-box ol li{
    margin-bottom: 10px;
    color: #444;
    font-size: 16px;
}

/* struktur organisasi */
.bagan-container img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* peta */
.map-wrapper{
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* potensi desa (grid) */
.potensi-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.potensi-card{
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.potensi-card:hover{
    transform: translateY(-5px);
}

.potensi-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.potensi-info{
    padding: 20px;
}

.potensi-info h3{
    color: #014131;
    margin-bottom: 10px;
}

/* ==========HALAMAN BERITA========== */
.blog-section{
    padding: 60px 20px;
    background-color: #f8f9fa;
}

/* bagi area jadi kiri(main) dan kanan(sidebar) */
.blog-layout{
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* bagian kiri */
.blog-main{
    flex: 3;
}

.berita-grid-page{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.kategori-kecil{
    font-size: 12px;
    text-transform: uppercase;
    color: #8ECF4B;
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.pagination{
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-weight: bold;
    transition: 0.3s;
}

.page-btn:hover, .page-btn.active{
    background-color: #014131;
    color: #fff;
    border-color: #014131;
}


/* bagian kanan */
.blog-sidebar{
    flex: 1;
    position: sticky;
    top: 100px;
}

.sidebar-widget{
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.sidebar-widget h3{
    font-size: 18px;
    color: #014131;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    position: relative;
}

.sidebar-widget h3::after{
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #8ECF4B;
}

/* form pencarian */
.search-box{
    display: flex;
}

.search-box input{
    width: 100%;
    padding: 10px;
    border: 1 px solid #ddd;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.search-box button{
    padding: 10px 15px;
    background: #014131;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* list kategori */
.kategori-list li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 12px;
}

.kategori-list li:last-child {
    border-bottom: none;
}

.kategori-list a {
    display: flex;
    justify-content: space-between;
    color: #555;
    font-weight: 500;
    transition: 0.3s;
}

.kategori-list a:hover {
    color: #8ECF4B;
    padding-left: 5px;
}

.kategori-list span {
    background: #eee;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* berita populer berita mini */
.mini-berita {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.mini-berita img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-text a {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
}

.mini-text a:hover {
    color: #8ECF4B;
}

.mini-text small {
    color: #888;
    font-size: 12px;
}


/* ==========HALAMAN DETAIL BERITA========== */
.artikel-detail{
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.breadcrumb{
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}
.breadcrumb a{
    color: #888; text-decoration: none;
}
.breadcrumb a:hover{
    color: #8ECF4B;
}

/* judul dan meta */
.artikel-detail h1{
    font-size: 32px;
    color: #014131;
    margin-bottom: 15px;
    line-height: 1.4;
}

.meta-info{
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.meta-info i{margin-right: 5px; color: #8ECF4B;}

/* gambar utama */
.featured-image img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* isi tulisan */
.artikel-content p{
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.artikel-content h3{
    font-size: 22px;
    color: #014131;
    margin-top: 30px;
    margin-bottom: 15px;
}

blockquote {
    background: #f9fdf5; 
    border-left: 5px solid #8ECF4B;
    padding: 20px;
    font-style: italic;
    font-size: 18px;
    color: #555;
    margin: 30px 0;
}

.share-area {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    width: 35px;
    height: 35px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
}

.share-btn.fb { background: #3b5998; }
.share-btn.wa { background: #25d366; }
.share-btn.tw { background: #1da1f2; }
.share-btn:hover { transform: translateY(-3px); }

/* navigasi prev/next post */
.nav-berita {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed #eee;
}

.nav-berita a {
    text-decoration: none;
    width: 45%;
}

.nav-berita a.next-post { text-align: right; }

.nav-berita small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-bottom: 5px;
}

.nav-berita h4 {
    color: #014131;
    font-size: 16px;
    line-height: 1.4;
    transition: 0.3s;
}

.nav-berita h4:hover { color: #8ECF4B; }


/* ==========HALAMAN STATISTIK========== */
.dashboard-section{
    padding: 50px 0;
    background-color: #f8f9fa;
}

.dashboard-layout{
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* siderbar menu */
.dashboard-sidebar{
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    background: #014131;
    padding: 20px;
    color: white;
}

.sidebar-header h3 {
    font-size: 18px;
    margin: 0;
}

.data-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.data-menu li {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
}

.data-menu li:hover {
    background-color: #f0fdf4;
    color: #014131;
    padding-left: 25px; /* efek geser kanan */
}


/* menu yang sangat aktif */
.data-menu li.active {
    background-color: #8ECF4B;
    color: #014131;
    font-weight: bold;
    border-left: 5px solid #014131;
}

.dashboard-content{
    flex: 3;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-height: 500px;
}

.tab-title {
    color: #014131;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 24px;
}

/* styling tabel data */
.table-responsive {
    overflow-x: auto; /* biar bisa discroll samping di HP */
    margin-top: 30px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    background-color: #014131;
    color: white;
    padding: 12px 15px;
    text-align: left;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    color: #444;
}

/* efek belang belang */
.data-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.data-table tbody tr:hover {
    background-color: #e8f5d6; 
}

/* badge status */
.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}
.badge.success { background: #28a745; }
.badge.warning { background: #ffc107; color: #333; }

/* =========================================
   HALAMAN LOGIN (GLASSMORPHISM)
   ========================================= */

.login-page {
    position: relative;
    width: 100%;
    height: 100vh; /* Full tinggi layar */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Video Fullscreen */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 65, 49, 0.6); /* Hijau tua transparan */
    z-index: -1;
}

/* KARTU LOGIN KACA */
.login-card {
    background: rgba(255, 255, 255, 0.1); /* Putih transparan */
    backdrop-filter: blur(15px); /* Efek Blur Kaca */
    -webkit-backdrop-filter: blur(15px);
    width: 400px;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: white;
}

/* Header Login */
.login-header img {
    width: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.2));
}

.login-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.login-header p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Input Form */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 15px 45px; /* Padding kiri kanan buat tempat ikon */
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Ikon di dalam input */
.input-group i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #014131;
}

.input-group i:first-child {
    left: 15px; /* Ikon user/lock di kiri */
}

.input-group .toggle-password {
    right: 15px; /* Ikon mata di kanan */
    left: auto;
    cursor: pointer;
    color: #666;
}

/* Ingat Saya & Lupa Sandi */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 25px;
    padding: 0 10px;
}

.remember-forgot a {
    color: #fff;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
    color: #8ECF4B;
}

/* Tombol Login */
.btn-login {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #8ECF4B, #014131);
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(142, 207, 75, 0.4);
}

/* Footer Login */
.login-footer {
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 14px;
}

.back-link {
    display: inline-block;
    margin-top: 5px;
    color: #8ECF4B;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.back-link:hover {
    color: #fff;
}


/* =========================================
   MEDIA QUERY (KHUSUS TAMPILAN HP)
   ========================================= */

@media (max-width: 768px) {
    
    /* 1. UMUM */
    section {
        padding: 50px 15px; /* Kurangi padding biar ga terlalu lebar */
    }

    /* 2. HEADER & NAVBAR */
    header {
        padding: 15px 20px;
        flex-direction: column; /* Logo & Menu jadi tumpuk */
        position: relative; /* Gak melayang lagi biar ga nutupin konten */
        background-color: #014131; /* Warna solid biar jelas */
    }

    .logo-group {
        margin-bottom: 15px;
    }

    nav ul {
        flex-direction: column; /* Menu jadi ke bawah */
        gap: 10px;
        text-align: center;
        width: 100%;
        padding: 0;
    }

    nav ul li {
        width: 100%;
        padding: 8px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* 3. HERO SECTION */
    .hero-content h2 {
        font-size: 24px; /* Judul lebih kecil */
        padding: 0 10px;
    }

    .hero-content p {
        font-size: 14px;
        padding: 0 10px;
    }

    /* 4. FOOTER (JADI TUMPUK) */
    .footer-container {
        flex-direction: column; /* Kolom footer jadi tumpuk ke bawah */
    }

    .footer-col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 30px 20px;
        text-align: center;
    }

    .footer-kiri { border-left: none; align-items: center; }
    .contact-item { justify-content: center; }
    .footer-social { justify-content: center; border-right: none;}

    /* 5. HALAMAN BERITA & PROFIL */
    .blog-layout, 
    .sejarah-wrapper {
        flex-direction: column; /* Layout Kiri-Kanan jadi Atas-Bawah */
    }

    .blog-sidebar {
        width: 100%;
        position: static; /* Gak sticky lagi */
        margin-top: 30px;
    }

    /* 6. HALAMAN STATISTIK DASHBOARD */
    .dashboard-layout {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%; /* Menu samping jadi full lebar di atas */
        position: static;
        margin-bottom: 20px;
        max-height: 200px; /* Batasi tinggi biar ga kepanjangan */
        overflow-y: scroll; /* Kasih scroll kalau menunya banyak */
    }

    .data-menu li {
        padding: 12px 15px; /* Perkecil padding menu */
        font-size: 14px;
    }

    /* Grafik */
    .grafik-row {
        flex-direction: column;
    }
    
    .chart-box {
        height: 250px !important; /* Tinggi grafik disesuaikan HP */
    }

    /* Tabel Scroll */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px; /* Ruang buat scrollbar */
    }

    .data-table th, .data-table td {
        font-size: 12px; /* Font tabel lebih kecil */
        padding: 8px 10px;
        white-space: nowrap; /* Teks jangan turun baris, biar rapi */
    }

    /* 7. HALAMAN LOGIN */
    .login-card {
        width: 90%; /* Lebar kartu 90% layar */
        padding: 30px 20px;
    }

    .login-header h2 {
        font-size: 20px;
    }

    /* 2. HEADER & NAVBAR (MODE HP) */
    header {
        padding: 15px 20px;
        background-color: #014131; /* Warna solid hijau tua */
        position: fixed; /* Nempel terus di atas */
        top: 0;
        width: 100%;
        z-index: 1000;
        /* Kembalikan ke baris sejajar (Logo Kiri - Hamburger Kanan) */
        flex-direction: row; 
        justify-content: space-between;
    }

    .logo-group {
        margin-bottom: 0; /* Reset margin */
    }

    /* Tampilkan Tombol Hamburger di HP */
    .menu-toggle {
        display: flex;
    }

    /* Menu Navigasi (Disembunyikan Dulu) */
    nav ul {
        position: absolute;
        top: 100%; /* Muncul pas di bawah header */
        right: 0;
        width: 100%; /* Lebar full */
        background-color: #014131; /* Samakan warna background */
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        
        /* Animasi Slide: Awalnya Geser ke Atas & Hilang */
        transform: translateY(-150%);
        transition: transform 0.5s ease;
        opacity: 0;
        z-index: -1; /* Sembunyi di belakang header */
    }

    /* Menu Navigasi (Saat Tombol Diklik / Aktif) */
    nav ul.slide {
        transform: translateY(0); /* Geser ke posisi normal */
        opacity: 1;
        z-index: 999;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }
    
    nav ul li a {
        font-size: 16px;
        display: block;
    }
}


/* =========================================
   DASHBOARD ADMIN FINAL (4 SECTIONS)
   ========================================= */

body.bg-light { background-color: #f3f4f6; margin: 0; font-family: 'Poppins', sans-serif; }
.admin-wrapper { display: flex; min-height: 100vh; width: 100%; }

/* SIDEBAR (TETAP SAMA) */
.admin-sidebar {
    min-width: 260px; max-width: 260px;
    background: #014131; color: #fff;
    display: flex; flex-direction: column;
    height: 100vh; position: sticky; top: 0; z-index: 100;
    transition: 0.3s;
}
.sidebar-header { padding: 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); background: #013629; }
.brand-name { margin: 0; font-size: 18px; }
.sidebar-user { padding: 20px; display: flex; align-items: center; gap: 15px; background: rgba(0,0,0,0.2); }
.user-avatar { width: 40px; height: 40px; background: #fff; color: #014131; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.sidebar-menu { display: flex;
    flex-direction: column; /* KUNCI: Biar item tumpuk ke bawah */
    width: 100%; /* Lebar penuh */
    padding: 15px;
    list-style: none;
    overflow-y: auto; /* Bisa discroll kalau menu panjang */
    gap: 5px; /* Jarak antar tombol menu */ }
.menu-header { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: bold; margin: 15px 0 5px; letter-spacing: 1px; }
.sidebar-menu li a { display: flex; align-items: center; gap: 12px; padding: 12px 15px; color: #aebdb9; text-decoration: none; border-radius: 8px; font-size: 14px; margin-bottom: 5px; transition: 0.3s; }
.sidebar-menu li a:hover, .sidebar-menu li.active a { background: #8ECF4B; color: #014131; font-weight: 700; transform: translateX(5px); }
.menu-item-bottom { margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; }

/* KONTEN UTAMA */
.admin-content { flex: 1; display: flex; flex-direction: column; width: 100%; overflow-x: hidden; }
.top-bar { background: #fff; padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 90; }
.content-padding { padding: 30px; }
.toggle-area { display: flex; align-items: center; gap: 15px; } 
.menu-toggle-btn { cursor: pointer; display: none; }
.search-box-admin { background: #f3f4f6; padding: 8px 15px; border-radius: 50px; display: flex; align-items: center; gap: 10px; }
.search-box-admin input { border: none; background: transparent; outline: none; }

/* SECTION TITLES & DIVIDERS */
.section-title {
    color: #014131; font-size: 16px; margin-bottom: 20px; 
    border-left: 5px solid #8ECF4B; padding-left: 10px;
    display: flex; align-items: center; gap: 10px;
}
.divider { height: 1px; background: #e5e7eb; margin: 40px 0; }

/* GRID LAYOUTS */
/* Grid Auto (Untuk Section 1 yg isinya 7 item) */
.dashboard-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
/* Grid 4 (Untuk Section 2 & 3 yg isinya 4 item) */
.dashboard-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* CARD STYLES */
.stat-card {
    background: #fff; padding: 20px; border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02); border: 1px solid #f0f0f0;
    display: flex; align-items: center; gap: 20px; transition: 0.3s;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.icon-box {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; justify-content: center; align-items: center;
    font-size: 20px; color: #fff;
}
.text-box h3 { margin: 0; font-size: 24px; color: #333; }
.text-box p { margin: 5px 0 0; font-size: 12px; color: #888; }

/* WARNA ICON SECTION 1 (Vibrant) */
.bg-blue { background: #2196f3; }
.bg-purple { background: #9c27b0; }
.bg-green { background: #4caf50; }
.bg-pink { background: #e91e63; }
.bg-orange { background: #ff9800; }
.bg-teal { background: #009688; }
.bg-red { background: #f44336; }

/* STYLE KHUSUS SECTION 2 (PERMANEN - Calm Colors) */
.card-permanent { border-left: 4px solid #014131; }
.bg-blue-soft { background: #e3f2fd; color: #1565c0; }
.bg-purple-soft { background: #f3e5f5; color: #7b1fa2; }
.bg-green-soft { background: #e8f5e9; color: #2e7d32; }
.bg-pink-soft { background: #fce4ec; color: #c2185b; }

/* STYLE KHUSUS SECTION 3 (NON-PERMANEN - Warning Colors) */
.card-non-permanent { border-left: 4px solid #ff9800; }
.bg-orange-soft { background: #fff3e0; color: #ef6c00; }

/* SECTION 4 (CHART) */
.chart-container-box {
    background: #fff; padding: 25px; border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02); border: 1px solid #f0f0f0;
}
.chart-header { display: flex; justify-content: space-between; margin-bottom: 20px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .admin-sidebar { position: fixed; left: -260px; height: 100%; box-shadow: 5px 0 15px rgba(0,0,0,0.1); }
    .admin-sidebar.show { left: 0; }
    .menu-toggle-btn { display: block; }
    .dashboard-grid-4, .dashboard-grid-auto { grid-template-columns: 1fr; }
}

/* =========================================
   STYLE HALAMAN TABEL DATA
   ========================================= */

/* ACTION BAR (Tombol atas tabel) */
.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.action-left { display: flex; gap: 10px; flex-wrap: wrap; }
.export-group { display: flex; gap: 5px; }

/* TOMBOL UMUM */
.btn {
    padding: 8px 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex; align-items: center; gap: 8px;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}
.btn-primary { background: #014131; color: white; }
.btn-primary:hover { background: #013629; }
.btn-outline { background: white; border: 1px solid #ddd; color: #555; }
.btn-outline:hover { background: #f9f9f9; border-color: #bbb; }

/* SEARCH BOX */
.search-box-table {
    position: relative;
}
.search-box-table input {
    padding: 8px 35px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
    width: 250px;
}
.search-box-table i {
    position: absolute;
    right: 15px; top: 50%;
    transform: translateY(-50%);
    color: #888;
}

/* TABEL */
.table-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow-x: auto; /* Agar bisa digeser di HP */
}
.custom-table {
    width: 100%;
    border-collapse: collapse;
}
.custom-table th, .custom-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.custom-table th {
    background: #f8f9fa;
    color: #014131;
    font-weight: 600;
}
.custom-table tr:hover { background: #f1f1f1; }

/* Tombol Aksi (Mata, Pensil, Sampah) */
.action-buttons { display: flex; gap: 5px; }
.btn-icon {
    width: 30px; height: 30px;
    border-radius: 5px; border: none;
    cursor: pointer; color: white;
    display: flex; justify-content: center; align-items: center;
    transition: 0.2s;
}
.btn-view { background: #2196f3; }
.btn-edit { background: #ff9800; }
.btn-delete { background: #f44336; }
.btn-icon:hover { opacity: 0.8; transform: scale(1.1); }

/* Badges (Status) */
.badge { padding: 4px 8px; border-radius: 4px; font-size: 11px; color: white; font-weight: 500; }
.badge.success { background: #4caf50; }
.badge.warning { background: #ff9800; }
.badge.danger { background: #f44336; }

/* PAGINATION */
.pagination-container {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 20px; color: #666; font-size: 13px;
    flex-wrap: wrap; gap: 10px;
}
.pagination { list-style: none; display: flex; gap: 5px; }
.pagination li a {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #555;
    transition: 0.3s;
}
.pagination li.active a, .pagination li a:hover {
    background: #014131;
    color: white;
    border-color: #014131;
}

/* MODAL (POP UP) */
.modal {
    display: none; /* Default sembunyi */
    position: fixed; z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5); /* Latar gelap transparan */
    backdrop-filter: blur(2px);
}
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 90%; max-width: 600px; /* Lebar Modal */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-header, .modal-footer {
    padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.modal-header { border-bottom: 1px solid #eee; }
.modal-footer { border-top: 1px solid #eee; background: #f9f9f9; border-radius: 0 0 10px 10px; }
.modal-body { padding: 20px; max-height: 70vh; overflow-y: auto; }
.close { font-size: 24px; cursor: pointer; color: #aaa; }
.close:hover { color: #000; }

/* DETAIL GRID (Tampilan Detail) */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.detail-item label { font-size: 12px; color: #888; display: block; }
.detail-item p { margin: 0; font-weight: 500; color: #333; }
.full-width { grid-column: span 2; }

/* FORM STYLE */
.form-group { margin-bottom: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-control {
    width: 100%; padding: 10px;
    border: 1px solid #ddd; border-radius: 5px;
    font-family: inherit;
}

/* =========================================
   EXPANDABLE TABLE STYLE
   ========================================= */

/* 1. Container Tabel */
.table-responsive {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    overflow-x: auto;
}

.expandable-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Agar tabel tidak gepeng di HP */
}

.expandable-table th, .expandable-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    vertical-align: middle;
}

.expandable-table th {
    background: #f8f9fa;
    color: #014131;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* 2. Tombol Expand (+ / -) */
.btn-expand {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #2196f3;
    background: transparent;
    color: #2196f3;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.btn-expand:hover {
    background: #2196f3;
    color: white;
}

/* Saat tombol aktif (Minus / Merah) */
.btn-expand.active {
    border-color: #f44336;
    color: #f44336;
}
.btn-expand.active:hover {
    background: #f44336;
    color: white;
}

/* 3. Baris Detail (Yang Sembunyi) */
.detail-row {
    display: none; /* Default Hilang */
    background-color: #fcfcfc;
}

.detail-row.show {
    display: table-row; /* Muncul saat class show ada */
    animation: fadeIn 0.3s ease;
}

/* Isi Detail */
.detail-content {
    padding: 20px 20px 20px 65px; /* Indentasi biar rapi */
    border-left: 3px solid #2196f3;
}

.detail-grid-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    font-size: 13px;
    color: #555;
    padding-bottom: 5px;
    border-bottom: 1px dashed #eee;
}
.info-item strong {
    color: #333;
    margin-right: 5px;
    display: inline-block;
    width: 100px; /* Lebar label rapi */
}

/* 4. Tombol Aksi Kecil */
.btn-icon-small {
    width: 28px; height: 28px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    color: white;
    margin-right: 3px;
    font-size: 12px;
}
.btn-icon-small.edit { background: #ff9800; }
.btn-icon-small.delete { background: #f44336; }
.btn-icon-small:hover { opacity: 0.8; }

/* Styling Khusus Modal Form Sinkronisasi Flutter */
.section-form-title {
    font-size: 14px;
    color: #014131;
    margin: 25px 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #8ECF4B;
    display: inline-block;
}

/* Animasi Muncul */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   STYLE UPLOAD FOTO (Untuk Kegiatan, Usulan, Inventaris)
   ========================================= */
.upload-box {
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.upload-box:hover {
    border-color: #6C63FF;
    background: #f4f3ff;
}

.upload-placeholder {
    text-align: center;
    color: #888;
}

.upload-placeholder i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #aaa;
}

/* Image Preview di Form */
.upload-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* =========================================
   STYLE ADMIN HORIZONTAL TABS (STATISTIK)
   ========================================= */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    overflow-x: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #f0f0f0;
    color: #014131;
}

.tab-btn.active {
    background: #014131;
    color: white;
}

.admin-tab-content {
    animation: fadeIn 0.4s ease;
}

/* CSS UNTUK PAGINATION */
.pagination-container {
    display: flex;
    justify-content: flex-end; /* Posisi di kanan bawah */
    gap: 8px;
    margin-top: 20px;
}

.btn-page {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-page:hover:not(.disabled) {
    background-color: #f1f1f1;
    border-color: #ccc;
}

/* Warna hijau menyesuaikan tema admin */
.btn-page.active {
    background-color: #014131; 
    color: #fff;
    border-color: #014131;
    font-weight: 600;
}

.btn-page.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #fafafa;
}

/* --- TAMBAHAN UNTUK SMART PAGINATION --- */
.pagination-container {
    display: flex;
    justify-content: flex-end; /* Posisi di kanan bawah */
    align-items: center; /* Pastikan semua elemen sejajar vertikal */
    flex-wrap: wrap; /* Supaya tidak keluar layar di HP */
    gap: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.pagination-dots {
    padding: 8px 5px;
    color: #777;
    font-weight: bold;
    letter-spacing: 2px;
}

.page-jump input[type="number"]::-webkit-inner-spin-button, 
.page-jump input[type="number"]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

/* CSS KHUSUS UNTUK PROGRESS BAR STATISTIK LINGKUNGAN */
.progress-wrapper { margin-bottom: 15px; }
.progress-label-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; margin-bottom: 5px; color: #555; }
.progress-label-row .val { color: #333; font-weight: 700; }
.progress-bar-bg { width: 100%; background-color: #f1f1f1; border-radius: 6px; height: 10px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 6px; transition: width 0.8s ease-in-out; }
