@charset "utf-8";
/* CSS Document */

* {
	
    padding: 0;
    margin: 0;
    font-family: Verdana, sans-serif;
}
body {
    margin: 0 auto;
	background-color: #fff;
    color: black;
}
body.dark-theme {
    background-color: #363636;
    color: white;
}

/* Menggabungkan semua H1, H2, H3, H4, H5 */
 h1, h2, h3, h4,h5 {
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    margin-bottom: 5px;
	text-transform: uppercase;
}

/* Gaya dark-theme untuk semua H1, H2, H3, H4, H5 */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5 {
    color: #fff;
}

.overlay-top h1, .overlay-top h3{
	color: #FFF;
}
/* Menggabungkan semua judul, title, dan header */
.section-title, .card-title, .news-title, .news-detail-title, .group-title,
#Kepala, #judulkiri, #judulkanan, #judul,
.header-section h1, .header-section h2, .header-section h3, .header-section h4, .header-section h5,
h3.bidang-title, h5.bidang-title, h4.group-title,
.ckeditor-content h1, .ckeditor-content h2, .ckeditor-content h3, .ckeditor-content h4, .ckeditor-content h5 {
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    margin-bottom: 5px;
}
/* Gaya dark-theme untuk semua judul, title, dan header */
body.dark-theme .section-title,
body.dark-theme .card-title,
body.dark-theme .news-title,
body.dark-theme .news-detail-title,
body.dark-theme .group-title,
body.dark-theme .overlay-top h1,
body.dark-theme .overlay-top h3,
body.dark-theme #Kepala,
body.dark-theme #judulkiri,
body.dark-theme #judulkanan,
body.dark-theme #judul,
body.dark-theme .header-section h1,
body.dark-theme .header-section h2,
body.dark-theme .header-section h3,
body.dark-theme .header-section h4,
body.dark-theme .header-section h5,
body.dark-theme h3.bidang-title,
body.dark-theme h5.bidang-title,
body.dark-theme h4.group-title,
body.dark-theme .ckeditor-content h1,
body.dark-theme .ckeditor-content h2,
body.dark-theme .ckeditor-content h3,
body.dark-theme .ckeditor-content h4,
body.dark-theme .ckeditor-content h5 {
    color: #fff;
}

/* Menggabungkan semua tombol */
button, .btn-primary, .btn-outline-secondary {
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #f1f3f5;
    font-size: 0.8rem;
	border: 1px solid #f1f3f5;
}
 .btn-more{
    cursor: pointer;
    border: none;
    border-radius: 0px 5px 5px 0px;
	padding: 8px 25px;
	text-transform: capitalize;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.8rem;

}
/* Gaya hover untuk tombol */
button:hover,
.btn-primary:hover,
.btn-more:hover,
.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
}
/* Gaya dark-theme untuk tombol */
body.dark-theme button,
body.dark-theme .btn-more,
body.dark-theme .btn-primary,
body.dark-theme .btn-more,
body.dark-theme .btn-outline-secondary {
	background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}
body.dark-theme button:hover,
body.dark-theme .btn-primary:hover,
body.dark-theme .btn-more:hover,
body.dark-theme .btn-outline-secondary:hover {
    background-color: #555;
    color: #fff;
}
body.dark-theme .btn-primary:hover {
    background-color: #0b5ed7;
}

/* Menggabungkan semua link kecuali link menu dan nav */
a:not(nav a) {
    text-decoration: none;
    color: #09F;
	text-transform: uppercase;
}
/* Link aktif, hover, dan visited */
a:not(nav a):link {
    color: #09F;
}
a:not(nav a):hover {
    color: #007bff;
}

/* Gaya dark-theme untuk link */
body.dark-theme a:not(nav a) {
    color: #4CAF50;
}
body.dark-theme a:not(nav a):link {
    color: #4CAF50;
}
body.dark-theme a:not(nav a):hover {
    color: #00FF00;
}

.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 5px;
}
.tabs a.active {
    background: #393939;
    text-decoration: none;

}
body.dark-theme .tabs a.active {
    background: #fff;
    border-color: #444;
    color: #333;
}
/* --- Elemen-elemen lain yang tidak digabungkan --- */

#atas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    clear: both;
	background-image: linear-gradient(65deg, #25538E, #0DB0FF);
}
body.dark-theme #atas {
	background-image: linear-gradient(65deg, #1A1A1A, #333333);
}
#Kepala {
    text-align: center;
    color: #FFFFFF;
    padding: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    box-sizing: border-box;
}

#Kepala img {
    right: 0;
    top: 0;
    padding-top: 5px;
    max-width: 275px;
    height: auto;
    margin-right: 50px;
    position: absolute;
}
nav {

    font-size: 13px;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    width: 100%;
}
nav ul li {
    position: relative;
}
nav ul li a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
}
nav ul li:hover {
    background-color:  #0077B0;
}
body.dark-theme nav ul li:hover {
    background-image: linear-gradient(65deg, #444444, #555555);
}
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-image: linear-gradient(65deg, #0077B0, #0DB0FF);
    min-width: 200px;
    z-index: 99;
}
body.dark-theme nav ul li ul {
    background-image: linear-gradient(65deg, #333333, #444444);
}
nav ul li:hover > ul {
    display: block;
}
nav ul li ul li {
    width: 100%;
}
nav ul li ul ul {
    top: 0;
    left: 100%;
}
body.dark-theme nav ul li ul ul {
    background-image: linear-gradient(65deg, #444444, #555555);
}
nav ul li.active > a {
    /* Example: Darker background color for main menu items */
    background-color: #005580; /* A darker blue */
}
nav ul li.active:hover {
    background-color: #005580;
}
nav ul li ul li.active > a {
      background-image: linear-gradient(65deg, #005580, #0077B0);
}
body.dark-theme nav ul li.active > a {
    background-image: linear-gradient(65deg, #333333, #444444); /* Matches your dark submenu gradient */
}
body.dark-theme nav ul li ul li.active > a {
    background-image: linear-gradient(65deg, #222222, #333333); /* Slightly darker dark theme */
}

#menu_side {
    float: right;
    width: 22%;
    margin-bottom: 3px;
    margin-top: 5px;
}
body.dark-theme #menu_side {
    background-color: #363636;
    color: #FFF;
}
#menu_side h2 {
    border-radius: 10px;
    background-image: linear-gradient(65deg, #25538E, #0DB0FF);
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
    margin-bottom: 2px;
    padding-bottom: 12px;
    padding-top: 13px;
    padding-left: 20px;
    color: #FFF;
}
body.dark-theme #menu_side h2 {
    background-image: linear-gradient(65deg, #1A1A1A, #333333);
    color: #fff;
}
#menu_side ul {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top: 8px;
}
body.dark-theme #menu_side ul {
    background-color: #363636;
}
#menu_side li {
    margin-left: 5px;
    border-bottom: 1px dotted #666;
    font-size: 12px;
    display: block;
    margin-right: 10px;
}
body.dark-theme #menu_side li {
    border-bottom: 1px dotted #555;
}
#menu_side li a {
    display: block;
    padding: 8px;
    text-decoration: none;

}


#page {
    margin-top: 95px;
    border-radius: 5px;
    width: 100%;
    flex: 1;
}
#content {
    float: left;
    width: 77%;
}
#contetdalam {
    padding: 10px;
    margin-bottom: 10px;
	margin-top: 8px;
    border-radius: 8px;
    font-size: 0.85rem;
	background-color: #f1f3f5;
}
body.dark-theme #contetdalam {
    margin-top: 5px;
    margin-left: 5px;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 3px;
    background-color: #363636;
    color: #FFFFFF;
}
#map {
    height: 500px;
    width: 100%;
    margin-top: 20px;
}
.news-card {
    background-color: #fff;
    border-radius: 12px;
    transition: transform 0.3s ease;
    padding: 15px;
    margin-bottom: 15px;
}
body.dark-theme .news-card {
    background-color: #333;
}
.news-img-top {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}
.news-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    text-align: justify;
}
body.dark-theme .news-text {
    color: #ccc;
}
.news-meta {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
body.dark-theme .news-meta {
    color: #bbb;
}
.news-detail-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
}
body.dark-theme .news-detail-container {
    background-color: #333;
}
.news-detail-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}
body.dark-theme .news-detail-meta {
    color: #bbb;
    border-bottom: 1px solid #555;
}
.news-detail-content {
    line-height: 1.8;
    color: #333;
    text-align: justify;
}
body.dark-theme .news-detail-content {
    color: #ddd;
}
.ckeditor-content {
    line-height: 1.6;
    color: #333;
    overflow-x: auto;
}
body.dark-theme .ckeditor-content {
    color: #ddd;
}
.ckeditor-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}
body.dark-theme .ckeditor-content p {
    color: #ddd;
}
.ckeditor-content ul,
.ckeditor-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}
.ckeditor-content li {
    line-height: 1.6;
}
.ckeditor-content img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px auto;
    display: block;
}
/* Target the inline image in the editable area */
.ckeditor-content .image-inline {
    /* Example: Tweak baseline alignment so it looks better with text */
    vertical-align: middle; 
}

/* Target the image element itself */
.ckeditor-content .image-inline img {
    /* Add any other default styling for the image */
}
/* Target the custom float style for inline images */
.ckeditor-content .image-style-wrap-left {
    float: left;
    margin-right: 1.5em; /* Add some space next to the image */
}

/* Clear the float if necessary (e.g., after the paragraph containing the image) */
.ckeditor-content .image-style-wrap-left + p {
    clear: left; 
}
/* =============================================== */
/* 9. GAYA KONTEN CKEDITOR (CKEDITOR CONTENT STYLE)*/
/* =============================================== */
/* =============================================== */
/* 9. GAYA KONTEN CKEDITOR (CKEDITOR CONTENT STYLE)*/
/* =============================================== */

/* --- Gaya Dasar untuk Semua Figure Image --- */
figure.image {
    /* Gaya untuk gambar terpusat (default) */
    margin: 1.5em auto; /* Memberikan jarak vertikal yang cukup */
    max-width: 100%; 
    text-align: center; 
    width: auto !important;
}

figure.image img {
    max-width: 100%; /* Gambar responsif penuh */
    height: auto; 
    display: block; 
    margin: 0 auto; /* Memastikan gambar terpusat */
    border-radius: 8px; /* Sudut membulat */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); 
}

/* Gaya untuk caption gambar (jika ada) */
figure.image figcaption {
    font-size: 13px;
    color: var(--teksBantu);
    margin-top: 8px;
    padding: 0 10px;
    text-align: center;
}

/* --- Gaya untuk Image Styles (Float/Side Image) --- */

/* Gaya untuk "Image-Style-Side" (Gambar Mengambang ke Kanan) */
/* Biasanya digunakan untuk float di sisi kanan artikel */
figure.image-style-side {
    width: 50% !important; 
    max-width: 250px; /* Batasan maksimum agar gambar tidak terlalu besar */
    float: right;
    margin: 1em 0 1em 1.5em; /* Memberi ruang di kanan, atas, bawah, dan jarak dari teks di kiri */
}

/* Gaya tambahan jika ada "Image-Style-align-left" (Gambar Mengambang ke Kiri) */
/* CKEditor 5 mungkin menggunakan nama kelas ini */
figure.image-style-align-left {
    width: 50% !important; 
    max-width: 250px;
    float: left;
    margin: 1em 1.5em 1em 0; /* Memberi ruang di kiri, atas, bawah, dan jarak dari teks di kanan */
}

/* Gaya untuk "Image-Style-Full" (Gambar Lebar Penuh) */
/* Gaya ini mungkin sudah ditangani oleh gaya dasar, tetapi ini untuk memastikan */
figure.image-style-full {
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
}


/* --- Penyesuaian Responsif untuk Gambar Samping (Side Image) --- */

@media (max-width: 768px) {
    /* Menonaktifkan float pada layar kecil agar gambar tampil 100% di tengah */
    figure.image-style-side,
    figure.image-style-align-left {
        width: 100% !important; 
        max-width: 100%;
        float: none;
        margin: 1.5em auto; /* Kembali ke margin terpusat */
    }
}

.ckeditor-content a {
    color: #0d6efd;
    text-decoration: underline;
}
body.dark-theme .ckeditor-content a {
    color: #4CAF50;
}
.ckeditor-content blockquote {
    font-style: italic;
    border-left: 4px solid #ccc;
    padding-left: 15px;
    margin: 15px 0;
}
body.dark-theme .ckeditor-content blockquote {
    border-left: 4px solid #555;
    color: #bbb;
}
.ckeditor-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.ckeditor-content th,
.ckeditor-content td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
body.dark-theme .ckeditor-content th,
body.dark-theme .ckeditor-content td {
    border: 1px solid #555;
    background-color: #333;
    color: #ddd;
}
.ckeditor-content th {
    background-color: #f2f2f2;
    font-weight: bold;
}
body.dark-theme .ckeditor-content th {
    background-color: #444;
}
.ckeditor-content tr:nth-child(even) {
    background-color: #f9f9f9;
}
body.dark-theme .ckeditor-content tr:nth-child(even) {
    background-color: #444;
}
.news-intro-image {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    margin: 0 20px 15px 0;
    float: left;
}
.clear-float {
    clear: both;
}
.icon-wraper {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 15px;
    border-radius: 8px;
    overflow: hidden;
}
.icon-wraper i {
    font-size: 1.5rem;
    color: #fff;
}
.icon-wraper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-fluid-detail {
    width: 100%;
    border-radius: 8px;
}
.card-content {
	margin-top: -10px;
    flex-grow: 1;
    width: calc(100% - 60px);
}
.card-content p,
.card-text {
    font-size: 0.85rem;
    color: #363636;
    margin-bottom: 0;
    line-height: 1.4;
    text-align: justify;
}
body.dark-theme .card-content p,
body.dark-theme .card-text {
    color: #ccc;
}
.text-timestamp {
    font-size: 0.75rem;
    color: #A60609;
    white-space: nowrap;
    margin-top: 5px;
    text-align: right;
    font-style: italic;
    width: 100%;
}
body.dark-theme .text-timestamp {
    color: #ff9999;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.input-group {
    display: flex;
    width: 100%;
}
.form-control {
    flex-grow: 1;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
body.dark-theme .form-control {
    color: #eee;
    background-color: #555;
    border-color: #666;
}
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
body.dark-theme .form-control:focus {
    color: #eee;
    background-color: #555;
    border-color: #888;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}
.input-group .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group .btn-outline-secondary {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
}
.page-item {
    margin: 0 5px;
}
.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
body.dark-theme .page-link {
    background-color: #444;
    border-color: #555;
    color: #4CAF50;
}
.page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
body.dark-theme .page-link:hover {
    color: #00FF00;
    background-color: #555;
    border-color: #666;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
body.dark-theme .page-item.active .page-link {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}
.page-item.active .page-link:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
body.dark-theme .page-item.active .page-link:hover {
    background-color: #4CAF50;
    border-color: #4CAF50;
}
.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}
body.dark-theme .page-item.disabled .page-link {
    background-color: #444;
    border-color: #555;
    color: #999;
}
.bar-chart {
    margin-top: 5px;
    position: relative;
    width: 100%;
}
.bar-chart .chart .item {
    position: relative;
    width: 100%;
    height: 26px;
    margin-bottom: 5px;
    font-size: 12px;
    color: #363636;
}
body.dark-theme .bar-chart .chart .item {
    color: #fff;
}
.bar-chart .bar {
	border: 1px solid #ccc;
    position: relative;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 3px;
}
body.dark-theme .bar-chart .bar {
    background: #555;
	border: 1px solid #333;
}
.bar-chart .progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 10;
}
.bar-chart .label {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 8px;
    font-size: 12px;
    white-space: nowrap;
}
.bar-chart .label span:first-child {
    flex: 1;
    text-align: left;
}
.bar-chart .label span:last-child {
    text-align: right;
    margin-left: auto;
}
.table-summary {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 5px;
	font-size: 0.75rem;
	color: #363636;
}
body.dark-theme .table-summary {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 5px;
}
.table-summary th,
.table-summary td {
    border: 1px solid #ccc;
    padding: 6px 10px;
    text-align: left;
}
body.dark-theme .table-summary th,
body.dark-theme .table-summary td {
    border: 1px solid #555;
    padding: 6px 6px;
    text-align: left;
}
.table-summary th {
    background: #f9f9f9;
}
body.dark-theme .table-summary th {
    background: #444444;
    color: #FFF;
}
.table-striped tr:nth-child(even) {
    background: #f9f9f9;
}
body.dark-theme .table-striped tr:nth-child(even) {
    background: #444444;
}
body.dark-theme .table-summary td {
    background: #333333;
    color: #DDD;
}
.section-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
	
}
.section-flex .box {
    flex: 1;
    min-width: 350px;
    max-width: 55%;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}
body.dark-theme .section-flex .box {
    background: #363636;
    color: #ddd;
}
.section-flex .box,
.box-full {
    width: 98%;
    background: #f1f2f3;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 5px;
	
}
body.dark-theme .box-full {
    width: 98%;
    background: #363636;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}
.box h2,
.box-full h2 {
    margin-top: 0;
    font-size: 18px;
    color: #363636;
    padding-bottom: 6px;
    text-align: left;
}
body.dark-theme .box h2,
body.dark-theme .box-full h2 {
    margin-top: 0;
    font-size: 18px;
    color: #fff;
    padding-bottom: 6px;
    text-align: left;
}
h4.bidang-title,
h5.bidang-title,
h4.group-title {
    margin: 12px 0 5px;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    gap: 8px;
    font-weight: bold;
}
.ckeditor-content h1 {
    font-size: 2.2rem;
}
.ckeditor-content h2 {
    font-size: 1.8rem;
}
.ckeditor-content h3 {
    font-size: 1.5rem;
}
.ckeditor-content h4 {
    font-size: 1.3rem;
}
.ckeditor-content h5 {
    font-size: 1.1rem;
}
h3.bidang-title,
h5.bidang-title {
    background-color: #25538E;
}
body.dark-theme h3.bidang-title,
body.dark-theme h5.bidang-title,
body.dark-theme h4.group-title {
    font-size: 13px;
    margin: 12px 0 5px;
    padding: 6px 10px;
    background: #333333;
    color: #fff;
    cursor: pointer;
    gap: 8px;
    border-radius: 4px;
}
.theme-switch-wrapper {
    display: flex;
    margin-top: 0px;
    left: 0;
    float: left;
    padding-left: 10px;
    font-size: 12px;
    top: 0;
}
.theme-switch {
    position: relative;
    display: inline-block;
    width: 37px;
    height: 23px;
    top: 0;
}
.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    top: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
}
body.dark-theme .slider {
    background-color: #555;
}
.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    border-radius: 50%;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
input:checked+.slider {
    background-color: #4CAF50;
}
input:checked+.slider:before {
    transform: translateX(15px);
}
.profile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-right: 10px;
}
.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}
.profile-initials {
    width: 200px;
    height: 200px;
    background-color: #007BFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 40px;
    font-weight: bold;
}
.summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;

}
.summary .box {
	align-content: center;
	align-items: center;
    padding: 20px;
	margin: 0 auto;
    border-radius: 16px;
    text-align: center;
    font-weight: bold;
    color: white;
}
body.dark-theme .summary .box {
    background-color: #444;
}
.summary .box h3 {
    margin: 0;
    font-size: 32px;
}
.charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
	
}
.chart-box {
	margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
	width: auto;
}
body.dark-theme .chart-box {
    background: #444;
    color: #fff;
}
.chart-box h2 {
    margin: 0 0 10px;
    font-size: 18px;
    text-align: center;
    color: #0D0C0C;
}
body.dark-theme .chart-box h2 {
    color: #FFF;
}
canvas {
    width: 100% !important;
    height: 350px !important;
}
.chart-tall canvas {
    height: 600px !important;
}
.scroll-x {
    overflow-x: auto;
}
.scroll-x canvas {
    min-width: 800px;
}

.slideshow-container {
    max-width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.mySlides {
    display: none;
    width: 100%;
}
.mySlides img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: 8px;
}
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {
        opacity: .4;
    }
    to {
        opacity: 1;
    }
}
.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.overlay-top {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    width: 100%;
    text-shadow: 1px 1px 3px #0f0f0f;
    text-align: center;
}
.overlay-top h1 {
    margin: 0px 0;
    font-size: clamp(1rem, 2vw, 2rem);
}
.overlay-top h3 {
    margin: 0;
}
.overlay-top img {
    height: 100px;
    width: auto;
    margin-bottom: 5px;
}
.overlay-bottom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.icon-link {
    display: block;
    padding: 11px;
    background-color: #FFF;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: black;
    border-radius: 15px;
    width: 80px;
    height: 80px;
    transition: background-color 0.3s ease;
}
body.dark-theme .icon-link {
    background-color: #333;
    color: #ddd;
}
.icon-link:hover {
    background-color: #f1f3f5;
}
.icon-link img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto 5px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
}
.col-12,
.col-md-6 {
    padding: 5px;
}
.col-12 {
    width: 100%;
}
.col-md-6 {
    width: 49%;
}
@media (max-width: 768px) {
    .col-md-6 {
        width: 100%;
    }
    .mt-md-0 {
        margin-top: 20px;
    }
}
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.card-container,
.pdf-preview {
    background-color: #FFF;
    border-radius: 12px;
    padding: 5px;
}
body.dark-theme .card-container,
body.dark-theme .pdf-preview {
    background-color: #363636;
}
.card-item {
    display: flex;
    align-items: flex-start;
    padding: 5px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}
body.dark-theme .card-item {
    border-bottom: 1px solid #555;
}

.card-item:last-child {
    border-bottom: none;
}
.card-container h5 {
	font-size: 0.86rem;
    color: #212529;
    font-weight: 600;
    margin-bottom: 5px;
    text-decoration: none;
}
body.dark-theme .card-container h5 {
    color: #ddd;
}
#judulkiri {
    margin-top: 8px;
    font-size: 16px;
    padding-left: 15px;
    padding-right: 10px;
}

#judulkanan {
    margin-top: 8px;
    font-size: 11px;
    padding-bottom: 5px;
    padding-left: 0px;
    padding-right: 10px;
}
#kiriinfo {
    margin-top: 10px;
    text-align: justify;
    font-size: 0.85rem;
	border-radius: 10px;
    padding: 20px;
	background-color: #fff;
	color: #363636;
	
}
#kirininfo {
	color: #363636;
    text-align: justify;
    font-size: 0.85rem;
	border-radius: 10px;
    padding: 20px;
	background-color: #fff;
	
}
body.dark-theme #kiriinfo {
    margin-bottom: 8px;
    text-align: justify;
    color: #FFF;
    padding: 20px;
    background-color: #363636;
}
body.dark-theme #kirininfo {
    text-align: justify;
    color: #FFF;
    padding: 20px;
    background-color: #363636;
}
#kiriinfo li {
    margin-left: 15px;
}
#kiriinfo a {
    text-decoration: none;
    color: #09F;
}
body.dark-theme #kiriinfo a {
    color: #4CAF50;
}
#kiriinfo a:hover {
    text-decoration: underline;
    color: #666;
}
body.dark-theme #kiriinfo a:hover {
    color: #ddd;
}
#judul {
    margin-top: 3px;
    padding: 5px 5px 1px 12px;
    color: #333;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 16px;
}
body.dark-theme #judul {
    color: #fff;
}
#judul a {
    font-size: 12px;
    font-weight: bold;
    text-decoration: underline;
    color: #09F;
}
body.dark-theme #judul a {
    color: #4CAF50;
}
#judul a:hover {
    color: #09F;
}
body.dark-theme #judul a:hover {
    color: #00FF00;
}

/* --- Penataan Letak Footer (Umum) --- */
#footer {
    background-image: linear-gradient(180deg, #25538E, #0DB0FF);
    color: #FFF;
    clear: both;
    padding: 30px 20px;
    text-align: left; /* Default */
    bottom: 0px;
    position: relative;
    font-size: 16px; 
    display: flex;
    flex-direction: column;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Jarak antar kolom */
    padding-bottom: 30px; 
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.footer-section {
    width: 30%;
    min-width: 280px; 
    margin-bottom: 30px;
}

/* ---------------------------------------------------- */
/* --- PENYESUAIAN ALIGNMENT BARU (KUNCI PERUBAHAN) --- */
/* ---------------------------------------------------- */

/* BAGIAN 1: LOGO & ALAMAT (ALIGNED KIRI) - Default */
.footer-kiri {
    text-align: left;
}
.footer-kiri .desa-logo {
    margin-left: 0;
}

/* BAGIAN 2: KONTAK PENTING (ALIGNED TENGAH) */
.footer-tengah {
    text-align: center;
}
/* Pusatkan teks dan ikon di bagian tengah */
.footer-tengah p {
    justify-content: center; 
}
.footer-tengah h3 {
    text-align: center; /* Pastikan Judul juga di tengah */
}

/* BAGIAN 3: MEDIA SOSIAL (ALIGNED KANAN) */
.footer-kanan {
    text-align: right;
}
.footer-kanan .social-icons {
    text-align: right; /* Pastikan ikon-ikon rata kanan */
	color: aliceblue;
}


/* --- Styling Detail --- */

.kontak-penting p {
    display: flex;
    align-items: center; 
    margin-bottom: 10px;
    /* Penyesuaian agar flexbox bisa rata tengah atau kanan */
}
.logo-alamat a:link, .logo-alamat a:visited {
	color:#FF9800;
	text-decoration: none;
    transition: color 0.3s;
	text-transform:capitalize;
}
.logo-alamat a:hover {
    color: #fff;

}
.kontak-penting a {
    margin-left: 5px;
	
}
/* --- Styling Tautan dan Ikon Sosial --- */

.kontak-penting a:link, .kontak-penting a:visited {
    text-decoration: none;
    color:#FF9800; 
    transition: color 0.3s;
	text-transform:capitalize;
}

.kontak-penting a:hover {
    color: #fff;

}

.desa-logo {
    max-width: 100px;
	max-height: 100px;
    margin-bottom: 15px;
	margin-top: 15px;
	display: flex;
    /* Default: Rata Kiri. Jika section-nya rata tengah, margin: auto akan berfungsi */
}

.icon-large {
    font-size: 1.5em; 
    margin-right: 10px; 
    vertical-align: middle;
}

.footer-section h3 {
    color: #FFF;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 8px;
}

/* HAK CIPTA SELALU RATA TENGAH */
.footer-copyright {
    text-align: center; 
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}
.footer-copyright a:link, .footer-copyright a:visited {
    text-decoration: none;
    color:#FF9800; 
    transition: color 0.3s;
	text-transform:capitalize;
}
.kontak-penting a:hover {
    color: #fff;

}


.social-icons {
	color: white;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    margin-left: 8px; /* Mengubah margin-right ke margin-left untuk rata kanan */

	align-content: center;
	align-items: center;
    transition: transform 0.2s, opacity 0.2s;
}
.social-icons a {
	color: white;
    display: inline-block;
    width: 50px;
    height: 50px;
	align-content: center;
	align-items: center;
    text-align: center;
    border-radius: 50%;
    margin-left: 8px; /* Mengubah margin-right ke margin-left untuk rata kanan */
    font-size: 30px;
    transition: transform 0.2s, opacity 0.2s;
}
.social-icons a:link, .social-icons a:visited {
	 color: #ffffff;
}
.social-icons a:hover {
    transform: scale(1.1); 
    opacity: 0.9;
}

.social-link.facebook { background-color: #3b5998; }
.social-link.instagram { background-image: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.twitter { background-color: #000; }
.social-link.youtube { background-color: #c4302b; }


/* --- Media Query untuk Responsif (Layar Kecil) --- */
@media (max-width: 900px) {
    .footer-container {
        justify-content: center; 
    }

    .footer-section {
        width: 100%; 
        min-width: unset;
        text-align: center; /* Semua rata tengah di mobile */
    }

    /* Override penataan rata kiri/kanan agar semua rata tengah di mobile */
    .footer-kiri, .footer-tengah, .footer-kanan {
        text-align: center;
    }

    .desa-logo {
        margin: 0 auto 15px auto; /* Pusatkan logo */
    }

    .kontak-penting p {
        justify-content: center; 
    }

    .social-icons {
        text-align: center; /* Pusatkan ikon sosial */
    }
}




/* CONTAINER UTAMA (Membuat semua komponen "mengambang") */
.wadah-laporan-tempel { /* Diganti dari .sticky-container */
    position: fixed; 
    bottom: 20px;    
    right: 0px;     
    z-index: 1000;   
    display: flex;   
    flex-direction: column-reverse; 
    align-items: flex-end; 
}

/* 1. CSS untuk Tombol Tempel */
.tombol-laporkan { /* Diganti dari .sticky-button */
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 26px;
    margin-top: 10px; 
}

.tombol-laporkan:hover {
    background-color: #0056b3;
}

/* 2. CSS untuk Pop-up Form (Tepat di atas tombol) */
.popup-laporan { /* Diganti dari .popup-form */
    display: none; 
    background-color:#f1f2f3;
	opacity: 0.9; /* Membuat seluruh elemen (latar belakang, teks, dll.) menjadi transparan 70% */
    width: 350px; 
    border-radius: 8px;

}
/* 2. CSS untuk Pop-up Form (Tepat di atas tombol) */
.popup-laporan-x { /* Diganti dari .popup-form */
    padding: 20px;
    width: 88%; 

}
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
	text-align: center;
	border-radius: 8px 8px 0px 0px;
	padding: 5px 20px;
	background-color: #007bff;
	color: wheat;
}
.popup-header h3 {
	color: white;
}

/* Tombol Tutup */
.tombol-tutup { /* Diganti dari .close-btn */
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.tombol-tutup:hover {
    color: #000;
}

/* Styling Form (Opsional, untuk kerapian) */
.popup-laporan label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
}
.popup-laporan input[type=text], 
.popup-laporan input[type=email],
.popup-laporan select, 
.popup-laporan textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.popup-laporan .tombol-kirim { /* Diganti dari .submit-btn */
    background-color: #28a745;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
	right: 20px;
    margin-top: 15px;
}
/* Styling untuk pesan status setelah submit */
.pesan-status-info {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.tombol-tutup-pesan {
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
}