@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
} 
 
html { 
    scroll-behavior: smooth; 
} 
 
body { 
    font-family: Calibri, 'Segoe UI', sans-serif; 
 background: linear-gradient(180deg, #f6f8fb 0%, #DFF2F3 100%) fixed;
    background-color: #EAF5F6;
    color: #0B4F62;
        animation: smoothPageFade 0.8s ease-in-out forwards; 
} 
 
@keyframes smoothPageFade { 
    from { opacity: 0; } 
    to { opacity: 1; } 
} 
 
/* ========================= 
   HEADER WEBSITE 
========================= */ 
.header {
    background: linear-gradient(
        120deg,
        #006B70 0%,
        #008C91 50%,
        #14B0B5 100%
    );
        backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
    position: sticky; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 999; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); 
} 
 
.header-container { 
    max-width: 1200px; 
    margin: auto; 
    min-height: 72px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 25px; 
} 
 
.brand-wrapper { 
    display: flex; 
    align-items: center; 
} 
 
.brand { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
} 
 
.brand-logo { 
    width: 45px; 
    height: 45px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
    transform: translateX(-60px) !important;

} 

img {
    max-width: none !important;
    height: auto !important;
}
 
.brand-logo img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
} 
 
.brand-text { 
    display: flex; 
    flex-direction: column; 
} 
 
.brand-text h2 { 
    font-size: 19px; 
    color: #ffffff; 
    margin: 0; 
    line-height: 1.2; 
    transform: translateX(-60px) !important;

} 
 
.brand-text p { 
    font-size: 14px; 
    color: rgba(255, 255, 255, 0.9); 
    margin: 0; 
    line-height: 1.2; 
    transform: translateX(-60px) !important;

} 
 
nav { 
    display: flex; 
    align-items: center; 
    gap: 28px; 
transform: translateX(60px);} 
 
nav a { 
    text-decoration: none; 
    color: #ffffff; 
    font-size: 14px; 
    font-weight: 600; 
    white-space: nowrap; 
    transition: color 0.2s; 
} 
 
nav a:hover {
    color: #1BA9AC;
}

/* ========================= 
   HERO / BACKGROUND ATAS 
========================= */ 
.hero { 
    position: relative; 
    min-height: 100vh !important;  
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-top: -72px;  
    padding-top: 72px;  
    background-color: #006B70;
    background-image: url("assets/background.jpg"); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    overflow: hidden; 
} 
 
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 60, 68, 0.78) 0%, rgba(0, 79, 89, 0.62) 55%, rgba(0, 107, 112, 0.50) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    width: 100%; 
    max-width: 900px; 
    margin: auto; 
    padding: 80px 25px; 
    color: white; 
    text-align: left; 
} 
 
.badge { 
    display: inline-block; 
    padding: 8px 14px; 
    border-radius: 20px; 
background: linear-gradient(
    135deg,
    rgba(0, 140, 145, 0.75),
    rgba(0, 107, 112, 0.65)
);
    border: 1px solid rgba(255, 255, 255, 0.4); 
    color: white; 
    font-size: 11px; 
    font-weight: bold; 
    letter-spacing: 1px; 
    backdrop-filter: blur(5px); 
} 
 
.hero h1 { 
    font-size: 48px; 
    margin-top: 18px; 
    margin-bottom: 15px; 
    color: white; 
    font-weight: 700; 
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); 
} 
 
.hero p, .hero-description { 
    max-width: 750px; 
    color: rgba(255, 255, 255, 0.90); 
    line-height: 1.6; 
    margin-top: 10px; 
    margin-bottom: 25px; 
    font-size: 15px; 
} 
 
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

/* ====================================================
   EFEK BAYANGAN GRADASI DARI ARAH KIRI PADA LAYAR HERO
==================================================== */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(0, 50, 58, 0.55) 0%,   
        rgba(0, 50, 58, 0.30) 50%,   
        rgba(0, 50, 58, 0) 100%      
    );
    z-index: 1; 
    pointer-events: none; 
}
 
.feature-item { 
background: linear-gradient(
    135deg,
    rgba(0, 140, 145, 0.20),
    rgba(0, 107, 112, 0.15),
    rgba(32, 196, 199, 0.12)
);

border: 1px solid rgba(255, 255, 255, 0.25); 
    padding: 14px; 
    border-radius: 12px; 
    backdrop-filter: blur(8px); 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    transition: all 0.25s ease; 
} 
 
.feature-item:hover { 
background: linear-gradient(
    135deg,
    rgba(0, 140, 145, 0.35),
    rgba(0, 107, 112, 0.30),
    rgba(32, 196, 199, 0.25)
);

transform: translateY(-3px); 
}

.feature-icon {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 3px;
    font-weight: 700;
}

.feature-item p {
    font-size: 14px;
    color: #d1e7dd;
    margin: 0;
    line-height: 1.4;
}

.hero-button {
    display: inline-block;
    padding: 13px 22px;
    background: #008C91;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    transition: 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-button:hover {
    background: #14B0B5;
    transform: translateY(-5px);
}

.hero-button.primary {
    background: #008C91;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 107, 112, 0.3);
}

.hero-button.primary:hover {
    background: #14B0B5;
}

/* =========================
   CONTAINER & FORM
========================= */
.container {
    max-width: 1000px;
    margin: auto;
    padding: 70px 25px;
}

.section-title {
    margin-bottom: 30px;
}

.section-title span {
    color: #006B70 !important;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: 30px;
    margin: 8px 0;
}

.section-title p {
    color: #7c957a;
}

.card {
    background: white;
    border: 1px solid #e5f0e3;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Garis aksen tipis di bagian atas setiap Kartu (Card) */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
background: linear-gradient(
    90deg,
    #006B70 0%,
    #008C91 50%,
    #14B0B5 100%
);

}

.card-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.number {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #008C91 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    box-shadow: 0 4px 10px rgba(0, 140, 145, 0.25) !important;
}

.card-title h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.card-title p {
    color: #6F9AA3;
    font-size: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: bold;
    color: #202020 !important;
}

input, textarea, select {
    width: 100%;
    border: 1px solid #d9eadbd8;
    border-radius: 8px;
    padding: 12px 14px;
    font-family: Calibri, sans-serif;
    font-size: 13px;
    outline: none;
    background: #fff;
    transition: 0.2s;
}

input:focus, textarea:focus, select:focus {
    border-color: #14B0B5 !important;
    box-shadow: 0 0 0 3px rgba(32, 196, 199, 0.20) !important;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.employee-card {
    border: 1px solid #D5EEF0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    background: #fafcff;
}

.employee-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.remove-employee {
    border: none;
    background: #ffe9e9;
    color: #dc3545;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.employee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.add-button {
    border: 1px dashed #14B0B5 !important;
    background: #EAF5F6 !important;
    color: #006B70 !important;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

.add-button:hover {
    background: #B7E6E9 !important;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
}

.form-actions .add-button {
    margin-bottom: 0;
    width: auto;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
}

.form-actions .btn-back-home {
    margin-right: auto;
    background-color: #008C91 !important;
    color: #ffffff !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer;
    font-weight: bold !important;
    font-size: 13px;
    box-shadow: 0 3px 10px rgba(0, 140, 145, 0.25) !important;
    transition: background-color 0.2s, transform 0.1s !important;
}

.form-actions .btn-back-home:hover {
    background-color: #14B0B5 !important;
    transform: translateY(-1px);
}

.cancel-button, .save-button, .print-button {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

.cancel-button, .btn-cancel {
    background-color: #ff4040 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    padding: 10px 20px !important;
    box-shadow: 0 3px 10px rgba(230, 53, 53, 0.3) !important;
    transition: background-color 0.2s, transform 0.1s !important;
}

.cancel-button:hover, .btn-cancel:hover {
    background-color: #dc2626 !important;
    transform: translateY(-1px);
}

.save-button, .btn-save {
    background-color: #14B0B5 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    padding: 10px 20px !important;
    box-shadow: 0 3px 10px rgba(32, 196, 199, 0.3) !important;
    transition: background-color 0.2s, transform 0.1s !important;
}

.save-button:hover, .btn-save:hover {
    background-color: #20C4C7 !important;
    transform: translateY(-1px);
}

.btn-submit, 
.print-button {
    background-color: #008C91 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    box-shadow: 0 3px 10px rgba(163, 230, 53, 0.3) !important;
    transition: background-color 0.2s, transform 0.1s !important;
}

.btn-submit:hover, 
.print-button:hover {
    background-color: #14B0B5 !important;
    transform: translateY(-1px);
}

.back-home-button {
    border: none;
    background: #2b9910;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
}

.back-home-button:hover {
    background: #217a0b;
    transform: translateX(-3px);
}

/* =========================
   HASIL & FORMAT DOKUMEN (A4)
========================= */
.result-section {
    background: #DFF2F3;
    padding: 60px 20px;
    display: none;
}

.result-section.show {
    display: block;
    animation: smoothSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes smoothSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    max-width: 1000px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-header span {
    font-size: 11px;
    color: #3F9AA0 !important;
    font-weight: bold;
    letter-spacing: 1px;
}

.result-header h2 {
    font-size: 28px;
    margin-top: 5px;
}

.surat, .halaman-kedua {
    width: 210mm;
    min-height: 297mm;
    background: white;
    margin: auto;
    padding: 15mm 20mm 15mm 20mm;
    color: #000;
    font-family: Calibri, sans-serif;
    font-size: 11pt;
    line-height: 1.25;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    box-sizing: border-box;
}

.halaman-kedua {
    margin-top: 30px;
}

.page-number {
    text-align: center;
    font-size: 11pt;
    margin-bottom: 12px;
}

.kop-surat {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.logo-surat {
    width: 180px;
    flex-shrink: 0;
}

.logo-surat img {
    width: 170px;
    height: auto;
    display: block;
}

.identitas-surat {
    flex: 1;
    font-family: Calibri, sans-serif;
    color: #000;
    line-height: 1.15;
    margin-left: 200px;
}

.identitas-surat .kementerian {
    font-size: 12pt;
    font-weight: bold;
    color: #006B70;
}

.identitas-surat .direktorat {
    font-size: 11pt;
    font-weight: bold;
}

.identitas-surat .balai {
    font-size: 10pt;
    color: #006B70;
    margin-bottom: 3px;
}

.identitas-surat .alamat,
.identitas-surat .kontak {
    font-size: 8.5pt;
    color: #555;
}

.judul-surat {
    text-align: center;
    margin-bottom: 18px;
}

.judul-surat h1 {
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.judul-surat p {
    font-size: 11pt;
}

.paragraf {
    text-align: justify;
    margin-bottom: 12px;
    text-indent: 30px;
}

.paragraf.no-indent {
    text-indent: 0;
}

.paragraf-dasar {
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: justify;
}

.terlampir-note {
    margin-top: 25px;
    margin-bottom: 35px;
    font-style: italic;
    text-align: center;
}

.isi-surat ol {
    padding-left: 30px;
}

.isi-surat li {
    text-align: justify;
    margin-bottom: 6px;
    padding-left: 5px;
}

.ttd-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
    margin-bottom: 30px;
}

.ttd {
    width: 260px;
    text-align: left;
}

.ttd .tanggal {
    margin: 0 0 3px 0;
    text-align: left;
}

.ttd .jabatan {
    font-size: 11pt;
    line-height: 1.2;
    margin: 0 0 10px 0;
    text-align: left;
}

.ttd .qr-code {
    display: block;
    width: 85px;
    height: 85px;
    object-fit: contain;
    margin-left: -5px;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 8px;
}

.ttd .nama {
    font-weight: bold;
    text-align: left;
    margin: 0;
}

.kotak-kemenkes {
    border: 1px solid #000;
    background: #ffffff;
    padding: 6px 10px;
    font-size: 7.5pt;
    line-height: 1.25;
    text-align: center;
    position: absolute;
    bottom: 35mm;
    left: 20mm;
    right: 20mm;
}

.footer-bsre {
    font-size: 7.5pt;
    line-height: 1.3;
    text-align: center;
    color: #000;
    position: absolute;
    bottom: 8mm;
    left: 20mm;
    right: 20mm;
}

.lampiran-header {
    width: 250px;
    margin-left: auto;
    margin-bottom: 38px;
}

.lampiran-header table {
    width: 100%;
    border-collapse: collapse;
}

.lampiran-header td {
    padding: 1px 0;
    vertical-align: top;
    font-size: 10pt;
}

.lampiran-header td:first-child {
    width: 75px;
}

.judul-lampiran {
    text-align: center;
    font-weight: bold;
    font-size: 11pt;
    margin: 15px 0 15px 0;
}

/* =========================================================
   TABEL PEGAWAI
   NIP, NAMA, GOLONGAN, DAN KOLOM LAIN TETAP LURUS
   JABATAN BOLEH TURUN KE BAWAH
========================================================= */

.tabel-pegawai {
    width: 100%;
    border-collapse: collapse;
    font-size: 9.5pt;
    table-layout: fixed;
}

.tabel-pegawai th,
.tabel-pegawai td {
    border: 0.6px solid #000;
    padding: 6px 6px;
    vertical-align: middle;

    /* KOLOM LAIN TETAP SATU BARIS */
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* =========================================================
   LEBAR KOLOM
========================================================= */

.tabel-pegawai .no {
    width: 35px;
    text-align: center;
}

.tabel-pegawai .nama {
    width: 180px;

    /* Nama tetap satu baris */
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.tabel-pegawai .nip {
    width: 135px;

    /* NIP tetap lurus */
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.tabel-pegawai .gol {
    width: 75px;

    /* Golongan tetap lurus */
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* =========================================================
   JABATAN BOLEH TURUN KE BARIS BERIKUTNYA
========================================================= */

.tabel-pegawai .jabatan {
    width: 70px;

    /* Jabatan tetap satu baris */
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    /* Kalau terlalu panjang, dipotong dengan ... */
    overflow: hidden;
    text-overflow: ellipsis;
}

footer {
    text-align: center;
    padding: 25px;
    color: #6F9AA3;
    font-size: 12px;
}

.penugasan-wrapper {
    display: flex;
    align-items: flex-start;
    margin-top: 25px;
    margin-bottom: 25px;
}

.kata-untuk {
    width: 60px;
    flex-shrink: 0;
    padding-left: 15px;
}

.penugasan-wrapper .isi-surat {
    flex: 1;
}

.penugasan-wrapper .isi-surat ol {
    padding-left: 20px;
    margin: 0;
}

.penugasan-wrapper .isi-surat li {
    text-align: justify;
    margin-bottom: 5px;
}

/* ==========================================
   SIDEBAR TOGGLE & DRAWER (OCEAN BLUE)
========================================== */
.sidebar-toggle-btn {
    position: fixed !important;
    left: 20px !important;
    z-index: 1000 !important;
    top: 100px !important;
    transition: top 0.3s ease, transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    color: #006B70 !important;
    border: 1px solid #B7E6E9 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.sidebar-toggle-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
    background-color: #fbfbfc !important;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    z-index: 1000;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease,
        backdrop-filter 0.45s ease;
}

.sidebar-overlay.active,
.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

.sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0 !important;
    width: 350px;
    height: 100%;
}

.sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0 !important;
    width: 350px;
    height: 100%;

background: linear-gradient(
    135deg,
    #006B70 0%,
    #008C91 50%,
    #14B0B5 100%
) !important;

    color: white !important;
    z-index: 1001;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.25) !important;

    /* posisi awal */
    transform: translateX(-105%) !important;

    /* animasi buka/tutup */
    transition:
        transform 2s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease !important;

    will-change: transform;
    display: flex;
    flex-direction: column;
}

.sidebar-drawer.active,
.sidebar-drawer.open {
    transform: translateX(0) !important;
}

/* ==========================================
   ANIMASI ISI SIDEBAR SAAT DIBUKA
========================================== */

.sidebar-drawer.active .minda-sidebar-header,
.sidebar-drawer.open .minda-sidebar-header {
    animation: sidebarHeaderIn 1.2s ease-out 0.65s both;
}

.sidebar-drawer.active .minda-card,
.sidebar-drawer.open .minda-card {
    animation: sidebarCardIn 1.2s ease-out both;
}

/* Card muncul bergantian */
.sidebar-drawer.active .minda-card:nth-child(1),
.sidebar-drawer.open .minda-card:nth-child(1) {
    animation-delay: 0.18s;
}

.sidebar-drawer.active .minda-card:nth-child(2),
.sidebar-drawer.open .minda-card:nth-child(2) {
    animation-delay: 0.24s;
}

.sidebar-drawer.active .minda-card:nth-child(3),
.sidebar-drawer.open .minda-card:nth-child(3) {
    animation-delay: 0.30s;
}

.sidebar-drawer.active .minda-card:nth-child(4),
.sidebar-drawer.open .minda-card:nth-child(4) {
    animation-delay: 0.36s;
}

.sidebar-drawer.active .minda-card:nth-child(5),
.sidebar-drawer.open .minda-card:nth-child(5) {
    animation-delay: 0.42s;
}

.sidebar-drawer.active .minda-card:nth-child(6),
.sidebar-drawer.open .minda-card:nth-child(6) {
    animation-delay: 0.48s;
}


/* Header sidebar */
@keyframes sidebarHeaderIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Card sidebar */
@keyframes sidebarCardIn {
    from {
        opacity: 0;
        transform: translateX(-25px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.sidebar-header {
    background: rgba(0, 0, 0, 0.15);
    color: white;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.sidebar-header h3,
.sidebar-drawer .minda-brand h2,
.sidebar-drawer .minda-brand p,
.sidebar-drawer .sidebar-close-btn,
.sidebar-drawer .minda-card-title {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
}

/* =========================
   PERBAIKAN TANDA SILANG (×)
========================= */
.sidebar-close-btn,
.modal-kegiatan-header button {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.sidebar-close-btn:hover,
.modal-kegiatan-header button:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1) !important;
}

.sidebar-close-btn:active,
.modal-kegiatan-header button:active {
    transform: scale(0.95) !important;
}

.sidebar-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.sidebar-body a {
    text-decoration: none !important;
    border-bottom: none !important;
}

.archive-stats {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 14px;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.archive-item:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.archive-item-title {
    font-weight: bold;
    font-size: 13.5px;
    color: #ffffff;
    margin-bottom: 4px;
}

.archive-item-meta {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.4;
}

.archive-item-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-archive-action {
    flex: 1;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-view {
    background: #B7E6E9;
    color: #0B4F62;
}

.btn-view:hover {
    background: #20C4C7;
}

.btn-delete {
    background: #fee2e2;
    color: #dc2626;
}

.btn-delete:hover { background: #fca5a5; }

.empty-archive {
    text-align: center;
    padding: 40px 20px;
    color: #ffffff;
    font-size: 13px;
}

.empty-archive-icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

/* ==========================================
   MINDA SIDEBAR CARD STYLE
========================================== */
.minda-sidebar-header {
    padding: 25px 20px 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.minda-brand h2 {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.minda-brand p {
    font-size: 12px;
    color: #DFF2F3;
    margin-top: 4px;
}

.minda-card-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
}

.sidebar-drawer .minda-card {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    border-radius: 16px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    text-decoration: none !important;
    border-bottom: none !important;
    transition: all 0.25s ease;
}

.sidebar-drawer .minda-card:hover {
    border-color: rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-4px) !important;
    filter: brightness(1.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
}

.minda-icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.btn-back-to-cards {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 15px;
}

.btn-back-to-cards:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* ==========================================
   KALENDER WIDGET & KALENDER TUGAS
========================================== */
.sidebar-calendar-container {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.sidebar-calendar-container input[type="date"] {
    font-family: Calibri, sans-serif;
    font-size: 13px;
    cursor: pointer;
}

#kalenderTugasSection {
    min-height: 100vh;
    background: #EAF5F6;
    padding: 35px 25px 50px;
    font-family: Calibri, 'Segoe UI', sans-serif;
}

.kalender-wrapper {
    max-width: 1200px;
    margin: auto;
}

.kalender-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.kalender-back {
    align-self: flex-start;
    border: none;
    background: #008C91;
    color: white;
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}

.kalender-back:hover {
    background: #14B0B5;
}

.kalender-title-area {
    text-align: center;
}

.kalender-label {
    color: #006B70;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.kalender-title-area h1 {
    font-size: 30px;
    color: #0B4F62;
    margin: 0;
}

.kalender-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.kalender-navigation button {
    border: none;
    background: #008C91;
    color: white;
    padding: 10px 18px;
    border-radius: 22px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: 0.2s;
}

.kalender-navigation button:hover {
    background: #14B0B5;
    transform: translateY(-2px);
}

.kalender-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    width: 100%;
}

.nama-hari {
    height: 55px;
    background: #008C91;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.nama-hari.minggu,
.nama-hari.sabtu {
    background: #006B70;
}

.kalender-tanggal {
    margin-top: 6px;
}

.kalender-cell {
    min-height: 125px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: 0.2s;
}

.kalender-cell:hover {
    border-color: #14B0B5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.kalender-cell.kosong {
    background: transparent;
    border: none;
    cursor: default;
    box-shadow: none;
}

.kalender-cell.kosong:hover {
    transform: none;
}

.nomor-tanggal {
    font-size: 16px;
    font-weight: bold;
    color: #0B4F62;
    margin-bottom: 8px;
}

.kalender-cell:nth-child(7n + 1) .nomor-tanggal,
.kalender-cell:nth-child(7n) .nomor-tanggal {
    color: #006B70;
}

.teks-tidak-ada {
    color: #9ca3af;
    font-size: 11px;
    margin-top: 15px;
}

.daftar-kegiatan {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.kegiatan-item {
    border-left: 3px solid #14B0B5;
    padding: 4px 5px;
    background: #EAF5F6;
    cursor: pointer;
    font-size: 10px;
    line-height: 1.3;
}

.kegiatan-item:hover {
    background: #B7E6E9;
}

.kegiatan-waktu {
    color: #006B70;
    font-weight: bold;
    margin-right: 4px;
}

.kegiatan-nama {
    color: #374151;
}

.kalender-cell.ada-kegiatan {
    border-color: #14B0B5;
}

.kalender-keterangan {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
    font-size: 11px;
    color: #426D7B;
}

.titik-kegiatan,
.titik-kosong {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 5px;
}

.titik-kegiatan {
    background: #14B0B5;
}

.titik-kosong {
    background: #B7E6E9;
}

#cardKalenderTugas {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* =========================
   MODAL & ALERT/TOAST
========================= */
.modal-kegiatan {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-kegiatan-box {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

.modal-kegiatan-header {
    background: #14B0B5;
    color: white;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-kegiatan-header span {
    font-size: 11px;
    font-weight: bold;
}

.modal-kegiatan-header h3 {
    margin: 4px 0 0;
    font-size: 18px;
}

.modal-kegiatan-header button {
    border: none;
    background: transparent;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.modal-kegiatan-body {
    padding: 20px;
}

.modal-kegiatan-body label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #374151;
    margin-bottom: 7px;
    margin-top: 12px;
}

.modal-kegiatan-body label:first-child {
    margin-top: 0;
}

.modal-kegiatan-body input,
.modal-kegiatan-body textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 11px;
    font-family: Calibri, sans-serif;
    outline: none;
}

.modal-kegiatan-body textarea {
    min-height: 100px;
    resize: vertical;
}

.modal-kegiatan-body input:focus,
.modal-kegiatan-body textarea:focus {
    border-color: #14B0B5;
    box-shadow: 0 0 0 3px rgba(32, 196, 199, 0.20);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.modal-batal,
.modal-simpan {
    border: none;
    padding: 10px 18px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}

.modal-batal {
    background: #e5e7eb;
    color: #374151;
}

.modal-simpan {
    background: #008C91;
    color: white;
}

.modal-simpan:hover {
    background: #14B0B5;
}

.custom-alert-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.custom-alert-box {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 350px;
    width: 90%;
}

.custom-alert-box p {
    margin: 0 0 20px 0;
    font-size: 15px;
    color: #0B4F62;
}

.custom-alert-btn {
    background: #008C91;
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.custom-alert-btn:hover {
    background: #14B0B5;
}

#custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    bottom: auto;
    left: auto;
    transform: translateY(-20px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

#custom-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

button, 
.minda-card, 
.hero-button, 
.btn-archive-action,
.sidebar-toggle-btn {
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.3s ease,
                box-shadow 0.3s ease !important;
}

button:active, 
.minda-card:active, 
.hero-button:active, 
.btn-archive-action:active,
.sidebar-toggle-btn:active {
    transform: scale(0.97) !important;
}

/* ==========================================
   PENGATURAN CETAK (PRINT & PDF)
========================================== */
@media print {
    .header, 
    .sidebar-toggle-btn, 
    .sidebar-drawer, 
    .sidebar-overlay, 
    .hero, 
    .container, 
    .result-header, 
    footer {
        display: none !important;
    }

    body, 
    .result-section {
        background: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    @page {
        size: A4 portrait;
        margin: 0;
    }

    .surat, 
    .halaman-kedua {
        box-shadow: none !important;
        margin: 0 !important;
        width: 100% !important;
        height: 100% !important;
        page-break-after: always;
    }
}

/* =========================
   RESPONSIVE HP
========================= */
@media (max-width: 768px) {
    #kalenderTugasSection {
        padding: 20px 10px 30px;
    }

    .kalender-title-area h1 {
        font-size: 24px;
    }

    .kalender-navigation {
        flex-wrap: wrap;
    }

    .kalender-navigation button {
        padding: 9px 12px;
        font-size: 11px;
    }

    .nama-hari {
        height: 42px;
        font-size: 10px;
    }

    .kalender-grid {
        gap: 3px;
    }

    .kalender-cell {
        min-height: 90px;
        padding: 6px;
    }

    .nomor-tanggal {
        font-size: 13px;
    }

    .teks-tidak-ada {
        font-size: 8px;
        margin-top: 8px;
    }

    .kegiatan-item {
        font-size: 8px;
    }

    .kalender-keterangan {
        font-size: 9px;
        gap: 12px;
    }
}

.hasil-action-buttons button {
    border: none;
    border-radius: 7px;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.print-button,
.pdf-button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 7px;
    padding: 10px 15px;
    min-height: 38px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: #ffffff;
    box-sizing: border-box;
}

.print-button {
    background: #008C91;
}

.pdf-button {
    background: #b42318;
}

.hasil-action-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 15px;
}

.word-button {
    background-color: #2b579a; /* Warna biru khas Microsoft Word */
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.word-button {
    background-color: #2b579a; /* Warna biru khas Microsoft Word */
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.word-button:hover {
    background-color: #006B70;
}

.word-button:active {
    transform: scale(0.98);
}

.surat,
.surat *,
.halaman-kedua,
.halaman-kedua * {
    color: #000000;
}

.identitas-surat .kementerian {
    color: #006B70 !important;
}

.identitas-surat .balai {
    color: #008C91 !important;
}

.identitas-surat .alamat,
.identitas-surat .kontak {
    color: #555555 !important;
}

#suratOutput {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Styling Halaman Login Utama */
#authOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 79, 89, 0.78);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.auth-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 380px;
    box-sizing: border-box;
}

.auth-card h2 {
    margin-top: 0;
    text-align: center;
    color: #0B4F62;
    font-size: 22px;
}

.auth-card p {
    text-align: center;
    color: #426D7B;
    font-size: 14px;
    margin-bottom: 25px;
}

.auth-group {
    margin-bottom: 15px;
}

.auth-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #0B4F62;
}

.auth-group select, .auth-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.btn-auth-submit {
    width: 100%;
    padding: 11px;
    background-color: #008C91;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.btn-auth-submit:hover {
    background-color: #14B0B5;
}

.auth-error {
    color: #d9534f;
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
}

.auth-footer-link {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
}

.auth-footer-link a {
    color: #006B70;
    text-decoration: none;
}

.auth-footer-link a:hover {
    color: #008C91;
    text-decoration: underline;
}

/* Styling Modern untuk Tabel Pegawai */
#tabelMasterPegawaiView th {
    letter-spacing: 0.5px;
}

#tabelMasterPegawaiView td {
    padding: 14px 16px;
    color: #0B4F62;
    border-bottom: 1px solid #DFF2F3;
    vertical-align: middle;
}

#tabelMasterPegawaiView tbody tr:hover {
    background-color: #EAF5F6;
}

#tabelMasterPegawaiView tbody tr:last-child td {
    border-bottom: none;
}

#tabelMasterPegawaiView th {
    color: #ffffff !important;
    background-color: #008C91;
}


/* =========================================
   EFEK PEMBUKA MENUJU BERANDA
   ========================================= */

body.page-opening::after {
    content: "";
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 999999;
    pointer-events: none;
    animation: bukaBeranda 1s ease-in-out forwards;
}

@keyframes bukaBeranda {
    0% {
        opacity: 1;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* =========================================================
   MODAL PASSWORD - FORMAL & PROFESIONAL
========================================================= */

.password-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 79, 89, 0.58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.password-modal.show {
    opacity: 1;
    visibility: visible;
}


/* Kotak modal */
.password-modal-box {
    position: relative;

    width: 620px;
    max-width: 92vw;

    padding: 32px 36px 28px;

    background: #ffffff;

    border: 1px solid #B7E6E9;
    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.20);

    box-sizing: border-box;

    display: grid;
    grid-template-columns: 82px 1fr;
    column-gap: 22px;
    row-gap: 22px;

    transform: translateY(10px) scale(.98);
    transition: all .25s ease;
}

.password-modal.show .password-modal-box {
    transform: translateY(0) scale(1);
}


/* =========================================================
   TOMBOL X
========================================================= */

.password-modal-close {
    position: absolute;

    top: 14px;
    right: 16px;

    width: 34px;
    height: 34px;

    border: none;
    background: transparent;

    color: #426D7B;

    font-size: 27px;
    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    border-radius: 50%;

    transition: .2s ease;
}

.password-modal-close:hover {
    background: #B7E6E9;
    color: #0B4F62;
}

/* =========================================================
   ICON
========================================================= */

.password-modal-icon {
    grid-column: 1;
    grid-row: 1;

    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 3px;

    border-radius: 50%;

    background: #B7E6E9;
    border: 1px solid #20C4C7;
    font-size: 32px;

    box-shadow: none;
}


/* =========================================================
   JUDUL
========================================================= */

.password-modal-content {
    grid-column: 2;
    grid-row: 1;

    padding-right: 28px;

    text-align: left;
}

.password-modal-content h2 {
    margin: 2px 0 6px;

    color: #0B4F62;

    font-size: 25px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.2px;
}

.password-modal-content p {
    margin: 0 0 13px;

    color: #426D7B;

    font-size: 14px;
    line-height: 1.45;
}


/* Badge user */
.password-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 12px;

    background: #B7E6E9;

    border: 1px solid #20C4C7;

    border-radius: 8px;

    color: #0B4F62;

    font-size: 13px;
}

.password-user-badge span {
    font-size: 15px;
}

.password-user-badge strong {
    font-weight: 650;
}


/* =========================================================
   INPUT PASSWORD
========================================================= */

.password-input-wrapper {
    grid-column: 1 / -1;
    grid-row: 2;

    position: relative;

    width: 100%;
}

.password-input-wrapper input {
    width: 100%;
    height: 58px;

    padding: 0 58px 0 48px;

    box-sizing: border-box;

    border: 1px solid #B7E6E9;
    border-radius: 11px;

    outline: none;

    background: #ffffff;

    color: #0B4F62;
    font-size: 14px;

    transition: .2s ease;
}

.password-input-wrapper input::placeholder {
    color: #6F9AA3;
}

.password-input-wrapper input:focus {
    border-color: #14B0B5;

    box-shadow:
        0 0 0 3px rgba(32, 196, 199, 0.20);
}

/* Icon input */
.password-input-icon {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 19px;

    pointer-events: none;
}


/* Tombol mata */
.toggle-password-btn {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: transparent;

    color: #426D7B;

    font-size: 18px;

    cursor: pointer;

    transition: .2s ease;
}

.toggle-password-btn:hover {
    background: #B7E6E9;
    color: #006B70;
}

/* =========================================================
   TOMBOL
========================================================= */

.password-modal-actions {
    grid-column: 1 / -1;
    grid-row: 3;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 10px;

    padding-top: 1px;
}

.password-btn {
    min-width: 105px;
    height: 45px;

    padding: 0 19px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 650;

    cursor: pointer;

    transition: .2s ease;
}


/* Batal */
.password-btn.cancel {
    border: 1px solid #dbdde1;

    background: #f7f7f8;

    color: #426D7B;
}

.password-btn.cancel:hover {
    background: #B7E6E9;
}


/* OK */
.password-btn.confirm {
    border: 1px solid #008C91;

    background: #008C91;

    color: #ffffff;

    box-shadow: 0 5px 12px rgba(0, 107, 112, .18);
}

.password-btn.confirm:hover {
    background: #14B0B5;
}

.password-btn.confirm span {
    margin-left: 6px;
    font-size: 18px;
}


/* =========================================================
   HP
========================================================= */

@media (max-width: 650px) {

    .password-modal-box {
        width: 94vw;

        padding: 28px 22px 23px;

        border-radius: 16px;

        display: flex;
        flex-direction: column;

        gap: 17px;
    }

    .password-modal-icon {
        width: 62px;
        height: 62px;

        margin: 0 auto;

        font-size: 28px;
    }

    .password-modal-content {
        padding-right: 0;
        text-align: center;
    }

    .password-modal-content h2 {
        font-size: 22px;
    }

    .password-modal-content p {
        font-size: 13px;
    }

    .password-input-wrapper input {
        height: 54px;
        font-size: 14px;
    }

    .password-modal-actions {
        justify-content: stretch;
    }

    .password-btn {
        flex: 1;
        min-width: 0;
        height: 44px;
    }
}

/* =========================================================
   CUSTOM ALERT / NOTIFIKASI
========================================================= */

.custom-alert {
    position: fixed;
    inset: 0;
    z-index: 10000000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 79, 89, 0.48);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    opacity: 0;
    visibility: hidden;

    transition: opacity .2s ease,
                visibility .2s ease;
}

.custom-alert.show {
    opacity: 1;
    visibility: visible;
}


/* Kotak pemberitahuan */
.custom-alert-box {
    position: relative;

    width: 420px;
    max-width: 92vw;

    background: #ffffff;
    border: 1px solid #B7E6E9;
    border-radius: 16px;

    padding: 28px 30px 24px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.20);

    text-align: center;

    transform: translateY(12px) scale(.97);

    transition: transform .2s ease;
}

.custom-alert.show .custom-alert-box {
    transform: translateY(0) scale(1);
}


/* Icon */
.custom-alert-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #B7E6E9;
    border: 1px solid #20C4C7;
    color: #006B70;
    font-size: 27px;
    font-weight: 700;
}


/* Judul */
.custom-alert-title {
    margin-bottom: 7px;

    color: #0B4F62;

    font-size: 19px;
    font-weight: 700;
}


/* Pesan */
.custom-alert-message {
    margin: 0 auto 22px;

    max-width: 340px;

    color: #74748b;

    font-size: 14px;
    line-height: 1.5;
}


/* Tombol OK */
.custom-alert-button {
    min-width: 95px;
    height: 42px;

    padding: 0 22px;

    border: 1px solid #008C91;
    border-radius: 8px;

    background: #008C91;

    color: #ffffff;

    font-size: 14px;
    font-weight: 650;

    cursor: pointer;

    transition: .2s ease;
}

.custom-alert-button:hover {
    background: #14B0B5;
}


/* Tombol X */
.custom-alert-close {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 30px;
    height: 30px;

    border: none;
    border-radius: 50%;

    background: transparent;

    color: #6F9AA3;

    font-size: 22px;

    cursor: pointer;

    transition: .2s ease;
}

.custom-alert-close:hover {
    background: #B7E6E9;
    color: #0B4F62;
}


/* HP */
@media (max-width: 600px) {

    .custom-alert-box {
        width: 92vw;

        padding: 25px 20px 21px;
    }

    .custom-alert-title {
        font-size: 18px;
    }

    .custom-alert-message {
        font-size: 13px;
    }
}

/* =========================================================
   PEMBERITAHUAN CUSTOM - FORMAL
========================================================= */

.pemberitahuan-custom {
    position: fixed;
    inset: 0;

    z-index: 9999999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 79, 89, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;

    transition: opacity 0.2s ease;
}

.pemberitahuan-custom.aktif {
    opacity: 1;
}


/* Kotak */
.pemberitahuan-box {
    position: relative;

    width: 390px;
    max-width: calc(100vw - 40px);

    padding: 27px 30px 24px;

    background: #ffffff;

    border: 1px solid #B7E6E9;

    border-radius: 16px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18);

    text-align: center;

    transform: translateY(12px) scale(0.97);

    transition:
        transform 0.22s ease;
}

.pemberitahuan-custom.aktif .pemberitahuan-box {
    transform: translateY(0) scale(1);
}


/* Icon */
.pemberitahuan-icon {
    width: 54px;
    height: 54px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #B7E6E9;

    border: 1px solid #426D7B;

    color: #006B70;

    font-size: 25px;
    font-weight: 700;
}


/* Judul */
.pemberitahuan-title {
    margin-bottom: 7px;

    color: #0B4F62;

    font-size: 18px;

    font-weight: 700;
}


/* Isi */
.pemberitahuan-text {
    max-width: 320px;

    margin: 0 auto 20px;

    color: #426D7B;

    font-size: 13.5px;

    line-height: 1.5;
}


/* Tombol OK */
.pemberitahuan-ok {
    min-width: 90px;
    height: 40px;

    padding: 0 20px;

    border: none;

    border-radius: 8px;

    background: #008C91;

    color: #ffffff;

    font-size: 13px;

    font-weight: 650;

    cursor: pointer;

    transition: background 0.2s ease;
}

.pemberitahuan-ok:hover {
    background: #14B0B5;
}


/* Tombol X */
.pemberitahuan-close {
    position: absolute;

    top: 10px;
    right: 12px;

    width: 30px;
    height: 30px;

    border: none;

    background: transparent;

    color: #6F9AA3;

    font-size: 22px;

    line-height: 1;

    cursor: pointer;

    border-radius: 50%;
}

.pemberitahuan-close:hover {
    background: #B7E6E9;

    color: #0B4F62;
}


/* HP */
@media (max-width: 600px) {

    .pemberitahuan-box {
        width: 88vw;

        padding: 24px 20px 21px;
    }

    .pemberitahuan-title {
        font-size: 17px;
    }

    .pemberitahuan-text {
        font-size: 13px;
    }
}

/* =========================================================
   PEMBERITAHUAN BERHASIL
========================================================= */
.pemberitahuan-custom.berhasil .pemberitahuan-icon {
    background: #B7E6E9;
    border-color: #20C4C7;
    color: #006B70;
}

.pemberitahuan-custom.berhasil .pemberitahuan-title {
    color: #0B4F62;
}

.pemberitahuan-custom.berhasil .pemberitahuan-ok {
    background: #008C91;
}

.pemberitahuan-custom.berhasil .pemberitahuan-ok:hover {
    background: #14B0B5;
}

/* ==========================================
   PEMBERITAHUAN MODE EDIT
   ========================================== */

.edit-notification-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 79, 89, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: editFadeIn 0.25s ease;
}

.edit-notification-box {
    width: min(430px, 90%);
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 30px 25px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);
    animation: editModalIn 0.3s ease;
}

.edit-notification-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #B7E6E9;
    color: #006B70;

    font-size: 28px;
    font-weight: bold;
}

.edit-notification-box h3 {
    margin: 0 0 10px;
    color: #0B4F62;
    font-size: 21px;
}

.edit-notification-box p {
    margin: 0 auto 23px;
    color: #426D7B;
    font-size: 14px;
    line-height: 1.6;
}

.edit-notification-box button {
    min-width: 100px;
    padding: 10px 25px;

    border: none;
    border-radius: 8px;

    background: #008C91;
    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.edit-notification-box button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 140, 145, 0.25);
}

@keyframes editFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes editModalIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.active-user-header {
    display: none;
    align-items: center;
    margin-left: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #008C91;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   ANIMASI LOGIN BBKK BATAM
========================================================= */

#loginPage .login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 20;
}

/* Area animasi */
.login-animation {
    position: relative;
    width: 100%;
    height: 155px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Lingkaran orbit */
.login-animation .orbit {
    position: absolute;
    border-color: rgba(0, 140, 145, 0.20);
    border-radius: 50%;
    pointer-events: none;
}

.login-animation .orbit-1 {
    width: 115px;
    height: 115px;
    animation: orbitRotate 8s linear infinite;
}

.login-animation .orbit-2 {
    width: 145px;
    height: 145px;
    border-color: rgba(0, 140, 145, 0.12);
    animation: orbitRotateReverse 12s linear infinite;
}

.login-animation .orbit-3 {
    width: 175px;
    height: 175px;
    border-color: rgba(0, 140, 145, 0.07);
    animation: orbitRotate 16s linear infinite;
}

/* Logo */
.login-logo-animation {
    position: relative;
    z-index: 5;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 5px 18px rgba(0, 107, 112, 0.18),
        0 0 0 7px rgba(0, 140, 145, 0.05);
    animation: logoFloat 3.5s ease-in-out infinite;

        /* hanya lingkaran putih yang diturunkan */
    top: 15px;

}

.login-logo-animation img {
    width: 55px;
    height: 55px;
    top: -16px;
    position: relative;
    object-fit: contain;
}

/* Tulisan kecil */
.animation-title {
    position: relative;
    z-index: 6;
    margin-top: 9px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.animation-title strong {
    color: #006B70;
    font-size: 13px;
    letter-spacing: 1.5px;
}

.animation-title span {
    color: #426D7B;
    font-size: 10px;
    letter-spacing: 0.8px;
}

/* Titik bergerak */
.floating-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #14B0B5;
    opacity: 0.65;
    box-shadow: 0 0 8px rgba(32, 196, 199, 0.35);
}

.dot-1 {
    left: 15%;
    top: 25%;
    animation: floating1 4s ease-in-out infinite;
}

.dot-2 {
    right: 15%;
    top: 30%;
    width: 5px;
    height: 5px;
    animation: floating2 5s ease-in-out infinite;
}

.dot-3 {
    left: 23%;
    bottom: 20%;
    width: 5px;
    height: 5px;
    animation: floating3 4.5s ease-in-out infinite;
}

.dot-4 {
    right: 22%;
    bottom: 18%;
    width: 8px;
    height: 8px;
    animation: floating1 5.5s ease-in-out infinite reverse;
}

.dot-5 {
    left: 8%;
    top: 55%;
    width: 4px;
    height: 4px;
    animation: floating2 6s ease-in-out infinite;
}

/* Animasi orbit */
@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbitRotateReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* Animasi logo naik turun */
@keyframes logoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* Animasi titik */
@keyframes floating1 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(12px, -15px);
    }
}

@keyframes floating2 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-12px, 12px);
    }
}

@keyframes floating3 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(15px, 8px);
    }
}


/* =========================================================
   ANIMASI DEKORASI LOGIN BBKK BATAM
========================================================= */

#loginPage {
    overflow: hidden;
    position: fixed;
}

/* Semua dekorasi berada di belakang kartu login */
.login-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Kartu login tetap paling depan */
#loginPage .login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 20;
}

/* =========================================================
   GELOMBANG
========================================================= */

.deco-wave {
    position: absolute;
    width: 480px;
    height: 180px;
    border-radius: 50%;
    transform: rotate(-25deg);
    opacity: 0.18;
}

.wave-left-1 {
    left: -230px;
    bottom: 35px;
    border: 22px solid #008C91;
    animation: waveMoveLeft 7s ease-in-out infinite;
}

.wave-left-2 {
    left: -250px;
    bottom: 0;
    border: 12px solid #20C4C7;
    opacity: 0.45;
    animation: waveMoveLeft 9s ease-in-out infinite reverse;
}

.wave-left-3 {
    left: -280px;
    bottom: -45px;
    border: 8px solid #B7E6E9;
    opacity: 0.45;
    animation: waveMoveLeft 11s ease-in-out infinite;
}


.wave-right-1 {
    right: -230px;
    bottom: 40px;
    border: 22px solid #008C91;
    transform: rotate(25deg);
    animation: waveMoveRight 8s ease-in-out infinite;
}

.wave-right-2 {
    right: -260px;
    bottom: 0;
    border: 12px solid #20C4C7;
    opacity: 0.45;
    transform: rotate(25deg);
    animation: waveMoveRight 10s ease-in-out infinite reverse;
}

.wave-right-3 {
    right: -280px;
    bottom: -45px;
    border: 8px solid #B7E6E9;
    opacity: 0.45;
    transform: rotate(25deg);
    animation: waveMoveRight 12s ease-in-out infinite;
}

/* =========================================================
   LINGKARAN
========================================================= */

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(183, 245, 247, 0.25);
    animation: circlePulse 5s ease-in-out infinite;
}

.circle-left-1 {
    width: 210px;
    height: 210px;
    left: -85px;
    top: 15%;
}

.circle-left-2 {
    width: 130px;
    height: 130px;
    left: 7%;
    top: 25%;
    border-color: rgba(0, 140, 145, 0.25);
    animation-delay: 1s;
}

.circle-right-1 {
    width: 230px;
    height: 230px;
    right: -100px;
    top: 18%;
}

.circle-right-2 {
    width: 140px;
    height: 140px;
    right: 8%;
    top: 30%;
    border-color: rgba(32, 196, 199, 0.30);
    animation-delay: 1.5s;
}

/* =========================================================
   PESAWAT
========================================================= */

.deco-plane {
    position: absolute;
    font-size: 32px;
    color: #B7E6E9;
    opacity: 0.55;
    text-shadow: 0 3px 10px rgba(0, 79, 89, 0.15);
}

.plane-left {
    left: 8%;
    top: 28%;
    animation: planeLeftMove 10s linear infinite;
}

.plane-right {
    right: 9%;
    top: 24%;
    transform: rotate(-10deg);
    animation: planeRightMove 12s linear infinite;
}


/* =========================================================
   KAPAL / MARITIM
========================================================= */

.deco-ship {
    position: absolute;
    left: 7%;
    bottom: 18%;
    font-size: 48px;
    color: #B7E6E9;
    opacity: 0.45;
    animation: shipFloat 4s ease-in-out infinite;
}

/* =========================================================
   LOKASI BATAM
========================================================= */

.deco-location {
    position: absolute;
    right: 8%;
    top: 42%;
    width: 90px;
    height: 110px;
    text-align: center;
    color: #B7E6E9;
    opacity: 0.55;
}

.location-pin {
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border: 5px solid #B7E6E9;
    border-radius: 50% 50% 50% 0;
    transform: translateX(-50%) rotate(-45deg);
    font-size: 0;
    animation: locationFloat 3s ease-in-out infinite;
}

.location-ring {
    position: absolute;
    left: 50%;
    top: 57px;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    border: 2px solid #20C4C7;
    border-radius: 50%;
    animation: ringPulse 2.5s ease-out infinite;
}

.deco-location span {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #B7E6E9;
}


/* =========================================================
   GRID TITIK
========================================================= */

.dot-grid {
    position: absolute;
    width: 75px;
    height: 75px;

    background-image: radial-gradient(
        circle,
        rgba(183, 245, 247, 0.65) 2px,
        transparent 3px
    );

    background-size: 15px 15px;
    opacity: 0.5;
    animation: dotsFloat 5s ease-in-out infinite;
}

.dots-left {
    left: 7%;
    top: 12%;
}

.dots-right {
    right: 7%;
    bottom: 15%;
}


/* =========================================================
   PARTIKEL
========================================================= */

.particle {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #14B0B5;
    opacity: 0.75;
    box-shadow: 0 0 10px rgba(32, 196, 199, 0.5);
}

.p1 { left: 15%; top: 20%; animation: particle1 5s infinite; }
.p2 { left: 25%; top: 70%; animation: particle2 6s infinite; }
.p3 { left: 10%; top: 55%; animation: particle3 7s infinite; }
.p4 { left: 34%; top: 15%; animation: particle1 8s infinite reverse; }

.p5 { right: 15%; top: 18%; animation: particle2 6s infinite; }
.p6 { right: 25%; top: 70%; animation: particle3 5s infinite; }
.p7 { right: 10%; top: 55%; animation: particle1 7s infinite; }
.p8 { right: 34%; top: 12%; animation: particle2 8s infinite reverse; }


/* =========================================================
   AKSEN KECIL
========================================================= */

.deco-leaf {
    position: absolute;
    font-size: 70px;
    color: #1BA9AC;
    opacity: 0.22;
    animation: leafFloat 6s ease-in-out infinite;
}

.leaf-left {
    left: -15px;
    top: 4%;
    transform: rotate(-20deg);
}

.leaf-right {
    right: -15px;
    bottom: 5%;
    transform: rotate(20deg);
    animation-delay: 2s;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes waveMoveLeft {
    0%, 100% {
        transform: translateX(0) rotate(-25deg);
    }

    50% {
        transform: translateX(35px) rotate(-21deg);
    }
}

@keyframes waveMoveRight {
    0%, 100% {
        transform: translateX(0) rotate(25deg);
    }

    50% {
        transform: translateX(-35px) rotate(21deg);
    }
}

@keyframes circlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.45;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.75;
    }
}

@keyframes planeLeftMove {
    0% {
        transform: translate(-20px, 0) rotate(5deg);
    }

    50% {
        transform: translate(80px, -25px) rotate(2deg);
    }

    100% {
        transform: translate(-20px, 0) rotate(5deg);
    }
}

@keyframes planeRightMove {
    0% {
        transform: translate(20px, 0) rotate(-10deg);
    }

    50% {
        transform: translate(-70px, -30px) rotate(-5deg);
    }

    100% {
        transform: translate(20px, 0) rotate(-10deg);
    }
}

@keyframes shipFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

@keyframes locationFloat {
    0%, 100% {
        margin-top: 0;
    }

    50% {
        margin-top: -8px;
    }
}

@keyframes ringPulse {
    0% {
        transform: translateX(-50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translateX(-50%) scale(1.35);
        opacity: 0;
    }
}

@keyframes dotsFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes particle1 {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

@keyframes particle2 {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, 15px);
    }
}

@keyframes particle3 {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(15px, 20px);
    }
}

@keyframes leafFloat {
    0%, 100% {
        transform: translateY(0) rotate(-20deg);
    }

    50% {
        transform: translateY(-15px) rotate(-10deg);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 800px) {

    .deco-ship {
        left: 2%;
        font-size: 35px;
    }

    .deco-plane {
        font-size: 24px;
    }

    .deco-location {
        right: 2%;
        transform: scale(0.8);
    }

    .dot-grid {
        transform: scale(0.7);
    }
}

@media (max-width: 600px) {

    .deco-circle {
        opacity: 0.15;
    }

    .deco-wave {
        opacity: 0.12;
    }

    .deco-ship,
    .plane-left {
        display: none;
    }

    .login-decoration .dots-left {
        left: 2%;
    }

    .login-decoration .dots-right {
        right: 2%;
    }
}

/* =========================================================
   HIASAN TAMBAHAN BBKK BATAM
========================================================= */


/* =========================================================
   SIMBOL KESEHATAN
========================================================= */

.medical-symbol {
    position: absolute;
    font-family: Arial, sans-serif;
    font-size: 80px;
    font-weight: 200;
    color: rgba(183, 245, 247, 0.16);
    animation: medicalFloat 5s ease-in-out infinite;
}

.medical-left {
    left: 17%;
    bottom: 15%;
}

.medical-right {
    right: 17%;
    top: 15%;
    animation-delay: 2s;
}


/* =========================================================
   SHIELD
========================================================= */

.health-shield {
    position: absolute;
    font-size: 55px;
    opacity: 0.20;
    filter: grayscale(20%);
    color: #B7E6E9;
    animation: shieldFloat 4s ease-in-out infinite;
}

.shield-left {
    left: 24%;
    top: 18%;
}

.shield-right {
    right: 24%;
    bottom: 18%;
    animation-delay: 1.5s;
}


/* =========================================================
   RADAR
========================================================= */

.tech-radar {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(183, 245, 247, 0.18);
    border-radius: 50%;
    animation: radarRotate 10s linear infinite;
}

.tech-radar::before,
.tech-radar::after {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(32, 196, 199, 0.15);
    border-radius: 50%;
}

.tech-radar::after {
    inset: 40px;
}

.radar-left {
    left: 5%;
    top: 38%;
}

.radar-right {
    right: 5%;
    top: 48%;
    animation-direction: reverse;
}

.tech-radar span {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #14B0B5;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(32, 196, 199, 0.8);
}

.tech-radar span:nth-child(1) {
    left: 30%;
    top: 20%;
    animation: radarDot 3s infinite;
}

.tech-radar span:nth-child(2) {
    right: 20%;
    top: 45%;
    animation: radarDot 4s infinite;
}

.tech-radar span:nth-child(3) {
    left: 45%;
    bottom: 15%;
    animation: radarDot 5s infinite;
}


/* =========================================================
   NETWORK
========================================================= */

.network i {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #B7E6E9;
    animation: networkPulse 3s ease-in-out infinite;
}

.network-left {
    left: 3%;
    bottom: 28%;
}

.network-right {
    right: 3%;
    top: 30%;
}

.network i {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: white;
    animation: networkPulse 3s ease-in-out infinite;
}

.network i:nth-child(1) {
    left: 10%;
    top: 50%;
}

.network i:nth-child(2) {
    left: 40%;
    top: 15%;
}

.network i:nth-child(3) {
    left: 70%;
    top: 60%;
}

.network i:nth-child(4) {
    left: 90%;
    top: 25%;
}

/* garis jaringan */
.network::before,
.network::after {
    content: "";
    position: absolute;
    height: 1px;
    background: rgba(32, 196, 199, 0.4);
    transform-origin: left center;
}

.network::before {
    width: 100px;
    left: 15px;
    top: 50px;
    transform: rotate(-20deg);
}

.network::after {
    width: 90px;
    left: 55px;
    top: 35px;
    transform: rotate(25deg);
}


/* =========================================================
   BUBBLE
========================================================= */

.bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(183, 245, 247, 0.22);
    background: rgba(32, 196, 199, 0.04);
    animation: bubbleFloat 8s ease-in-out infinite;
}

.bubble-1 {
    width: 35px;
    height: 35px;
    left: 5%;
    top: 20%;
}

.bubble-2 {
    width: 18px;
    height: 18px;
    left: 30%;
    bottom: 15%;
    animation-delay: 1s;
}

.bubble-3 {
    width: 50px;
    height: 50px;
    right: 4%;
    top: 15%;
    animation-delay: 2s;
}

.bubble-4 {
    width: 25px;
    height: 25px;
    right: 30%;
    bottom: 10%;
    animation-delay: 3s;
}

.bubble-5 {
    width: 12px;
    height: 12px;
    left: 40%;
    top: 12%;
    animation-delay: 4s;
}


/* =========================================================
   SPARK / BINTANG
========================================================= */

.spark {
    position: absolute;
    color: #B7E6E9;
    font-size: 25px;
    opacity: 0;
    animation: sparkle 4s ease-in-out infinite;
}

.spark-1 {
    left: 13%;
    top: 42%;
}

.spark-2 {
    left: 30%;
    top: 25%;
    animation-delay: 1s;
}

.spark-3 {
    right: 13%;
    top: 38%;
    animation-delay: 2s;
}

.spark-4 {
    right: 30%;
    bottom: 25%;
    animation-delay: 3s;
}


/* =========================================================
   GARIS CAHAYA
========================================================= */

.light-line {
    position: absolute;
    width: 220px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(32, 196, 199, 0.45),
        transparent
    );
    opacity: 0.35;
}

.light-line-left {
    left: -30px;
    top: 60%;
    transform: rotate(-25deg);
    animation: lightMoveLeft 6s ease-in-out infinite;
}

.light-line-right {
    right: -30px;
    top: 35%;
    transform: rotate(25deg);
    animation: lightMoveRight 6s ease-in-out infinite;
}


/* =========================================================
   GELOMBANG ATAS
========================================================= */

.top-wave {
    position: absolute;
    width: 300px;
    height: 80px;
    border-radius: 50%;
    border-top: 3px solid rgba(183, 245, 247, 0.18);
}

.top-wave-left {
    left: -100px;
    top: 5%;
    transform: rotate(-15deg);
}

.top-wave-right {
    right: -100px;
    top: 5%;
    transform: rotate(15deg);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes medicalFloat {

    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }

}

@keyframes shieldFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px) rotate(3deg);
    }

}

@keyframes radarRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes radarDot {

    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.8);
        opacity: 1;
    }

}

@keyframes networkPulse {

    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.7);
        opacity: 1;
    }

}

@keyframes bubbleFloat {

    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.25;
    }

    50% {
        transform: translate(15px, -25px);
        opacity: 0.55;
    }

}

@keyframes sparkle {

    0%, 70%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }

    80% {
        opacity: 1;
        transform: scale(1.2) rotate(90deg);
    }

    90% {
        opacity: 0.3;
        transform: scale(0.8) rotate(180deg);
    }

}

@keyframes lightMoveLeft {

    0%, 100% {
        transform: translateX(0) rotate(-25deg);
        opacity: 0.15;
    }

    50% {
        transform: translateX(80px) rotate(-25deg);
        opacity: 0.5;
    }

}

@keyframes lightMoveRight {

    0%, 100% {
        transform: translateX(0) rotate(25deg);
        opacity: 0.15;
    }

    50% {
        transform: translateX(-80px) rotate(25deg);
        opacity: 0.5;
    }

}

/* Turunkan logo BBKK sedikit */
#loginPage .login-container img {
    transform: translateY(20px);
}

#loginPage .login-header {
    transform: translateY(20px);
}

/* =========================================================
   HEADER BERANDA - HIJAU + STICKY + HIASAN
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
}

.header {
    background: linear-gradient(
        120deg,
        #006B70 0%,
        #008C91 50%,
        #14B0B5 100%
    );

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;

    border-bottom: 1px solid rgba(183, 245, 247, 0.4);

    box-shadow: 0 5px 20px rgba(0, 79, 89, 0.25);
}

/* =========================================================
   LINGKARAN HIASAN KANAN
========================================================= */

.header::before {
    content: "";
    position: absolute;

    width: 240px;
    height: 240px;

    right: 35px;
    top: -155px;

    border: 2px solid rgba(183, 245, 247, 0.25);
    border-radius: 50%;

    box-shadow:
        0 0 0 30px rgba(183, 245, 247, 0.08),
        0 0 0 60px rgba(32, 196, 199, 0.055),
        0 0 0 90px rgba(0, 140, 145, 0.035);

    pointer-events: none;
}

/* =========================================================
   GARIS CAHAYA BAWAH HEADER
========================================================= */

.header::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(183, 245, 247, 0.45),
            #B7E6E9,
            rgba(32, 196, 199, 0.45),
            transparent
        );

    box-shadow:
        0 0 10px rgba(32, 196, 199, 0.7);

    z-index: 3;
}

/* =========================================================
   ISI HEADER
========================================================= */

.header-container {
    position: relative;
    z-index: 5;
}


/* =========================================================
   HIASAN TITIK & BINTANG
========================================================= */

.header-container::before {
    content: "•  ✦  •     ✧     •  ✦  •";

    position: absolute;

    right: 230px;
    top: 7px;

    color: rgba(183, 245, 247, 0.35);

    font-size: 13px;
    letter-spacing: 5px;

    pointer-events: none;
}
/* =========================================================
   LOGO
========================================================= */

.header .brand-logo {
    position: relative;
    z-index: 6;

    filter:
        drop-shadow(0 3px 5px rgba(0, 79, 89, 0.18));
}

/* =========================================================
   TEKS BRAND
========================================================= */

.header .brand-text h2 {
    color: #ffffff;

    text-shadow:
        0 2px 5px rgba(0, 79, 89, 0.25);
}

.header .brand-text p {
    color: rgba(255, 255, 255, 0.95);
}

/* =========================================================
   MENU NAVIGASI
========================================================= */

.header nav {
    position: relative;
    z-index: 6;
}

.header nav a {
    color: #ffffff !important;

    position: relative;

    text-decoration: none;

    text-shadow:
        0 1px 3px rgba(0, 79, 89, 0.2);

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

/* GARIS CAHAYA DI BAWAH MENU */

.header nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -8px;

    width: 0;
    height: 3px;

    border-radius: 20px;

    background: #B7E6E9;

    box-shadow:
        0 0 8px rgba(32, 196, 199, 0.8);

    transform: translateX(-50%);

    transition: width 0.3s ease;
}

.header nav a:hover::after {
    width: 75%;
}

.header nav a:hover {
    color: #B7E6E9 !important;
    transform: translateY(-1px);
}

/* =====================================================
   ANIMASI SAAT BERANDA DIBUKA
   ===================================================== */

/* Judul utama masuk dari kiri */
.hero-content h1 {
    animation: masukDariKiri 1s ease-out both;
    animation-delay: 0.2s;
}

/* Badge SinTast masuk dari atas */
.hero-content .badge {
    animation: masukDariAtas 0.8s ease-out both;
    animation-delay: 0.1s;
}

/* Deskripsi masuk setelah judul */
.hero-description {
    animation: masukDariKiri 1s ease-out both;
    animation-delay: 0.4s;
}

/* Tombol masuk dari bawah */
.hero-actions {
    animation: masukDariBawah 1s ease-out both;
    animation-delay: 0.6s;
}

/* Setiap fitur masuk satu per satu */
.feature-item {
    opacity: 0;
    animation: fiturMasuk 0.9s ease-out forwards;
}

.feature-item:nth-child(1) {
    animation-delay: 0.7s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.9s;
}

.feature-item:nth-child(3) {
    animation-delay: 1.1s;
}

.feature-item:nth-child(4) {
    animation-delay: 1.3s;
}


/* =========================
   GERAKAN ANIMASI
   ========================= */

@keyframes masukDariKiri {
    from {
        opacity: 0;
        transform: translateX(-70px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes masukDariAtas {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes masukDariBawah {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fiturMasuk {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   WARNA KOTAK MENU SIDEBAR: GRADASI KIRI & KANAN (SELANG-SELING)
========================================================= */

/* 1. Kotak Beranda */
.sidebar-drawer .minda-card:nth-child(1) {
    background: linear-gradient(
        135deg,
        #006B70 0%,
        #008C91 50%,
        #006B70 100%
    ) !important;
}

/* 2. Kotak Form SPT */
.sidebar-drawer .minda-card:nth-child(2) {
    background: linear-gradient(
        135deg,
        #008C91 0%,
        #14B0B5 50%,
        #008C91 100%
    ) !important;
}

/* 3. Kotak Rekap SPT */
.sidebar-drawer .minda-card:nth-child(3) {
    background: linear-gradient(
        135deg,
        #006B70 0%,
        #008C91 50%,
        #006B70 100%
    ) !important;
}

/* 4. Kotak Kalender Kegiatan */
.sidebar-drawer .minda-card:nth-child(4) {
    background: linear-gradient(
        135deg,
        #008C91 0%,
        #14B0B5 50%,
        #008C91 100%
    ) !important;
}

/* 5. Kotak Data Pegawai */
.sidebar-drawer .minda-card:nth-child(5) {
    background: linear-gradient(
        135deg,
        #006B70 0%,
        #008C91 50%,
        #006B70 100%
    ) !important;
}

/* 6. Kotak Pengelolaan Data */
.sidebar-drawer .minda-card:nth-child(6) {
    background: linear-gradient(
        135deg,
        #008C91 0%,
        #14B0B5 50%,
        #008C91 100%
    ) !important;
}

.employee-search-wrapper {
    position: relative;
    width: 100%;
}

.employee-search-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #B7E6E9;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 79, 89, 0.12);
    z-index: 100;
}

.employee-search-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #0B4F62;
}

.employee-search-item:hover {
    background: #B7E6E9;
}

.employee-picker {
    position: relative;
    display: flex;
    width: 100%;
}

.employee-picker .employee-name {
    width: 100%;
    box-sizing: border-box;
    padding-right: 45px;
}

.employee-picker-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 42px;
    border: none;
    background: #008C91;
    color: white;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    z-index: 2;
}

.employee-picker-btn:hover {
    background: #14B0B5;
}

.employee-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #B7E6E9;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 79, 89, 0.15);
    z-index: 9999;
}

.employee-dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    color: #0B4F62;
    background: #ffffff;
}

.employee-dropdown-item:hover {
    background: #B7E6E9;
}

/* =====================================================
   LAYOUT DATA PEGAWAI - FIX
   ===================================================== */

.employee-grid-fixed {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 15px 20px !important;
    width: 100% !important;
    align-items: start !important;
}

/* Semua form-group */
.employee-grid-fixed > .form-group {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Baris pertama */
.employee-grid-fixed > .form-group:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.employee-grid-fixed > .form-group:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

/* Baris kedua */
.employee-grid-fixed > .form-group:nth-child(3) {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

.employee-grid-fixed > .form-group:nth-child(4) {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

/* Semua input */
.employee-grid-fixed > .form-group > input,
.employee-grid-fixed > .form-group > select {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* Pencarian nama */
.employee-grid-fixed .employee-picker {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* Input nama */
.employee-grid-fixed .employee-picker .employee-name {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding-right: 45px !important;
}

/* Tombol ▼ */
.employee-grid-fixed .employee-picker .employee-picker-btn {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 38px !important;
    height: 100% !important;
    margin: 0 !important;
    z-index: 5 !important;
}

/* Dropdown */
.employee-grid-fixed .employee-dropdown {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + 3px) !important;
    width: 100% !important;
    z-index: 9999 !important;
}

.employee-grid-fixed {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px 20px !important;
}

.employee-grid-fixed .form-group {
    width: 100% !important;
}

.employee-grid-fixed .employee-picker {
    width: 100% !important;
    max-width: 100% !important;
}

.employee-grid-fixed .employee-name {
    width: 100% !important;
    box-sizing: border-box !important;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* =========================================================
   TOMBOL SIDEBAR - WARNA SAMA DENGAN TABEL
========================================================= */

#openSidebarBtn {
    background: #008C91 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Garis tiga menjadi putih */
#openSidebarBtn span,
#openSidebarBtn i,
#openSidebarBtn .hamburger-line,
#openSidebarBtn::before,
#openSidebarBtn::after {
    background: #ffffff !important;
    color: #ffffff !important;
}

/* Kalau garis tiga dibuat menggunakan karakter/icon */
#openSidebarBtn {
    color: #ffffff !important;
}

/* Efek saat diarahkan mouse */
#openSidebarBtn:hover {
    background: #14B0B5 !important;
    color: #ffffff !important;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 79, 89, 0.30);
    padding: 4px 14px 4px 6px;
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.user-avatar {
    width: 28px;
    height: 28px;
    background-color: #008C91;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}


/* FIX DROPDOWN NAMA PEGAWAI AGAR TIDAK TERPOTONG */
.card:has(#employeeContainer) {
    overflow: visible !important;
}

.employee-card {
    overflow: visible !important;
}

.employee-dropdown {
    z-index: 99999 !important;
}

.word-button {
    background: #168f5b;
    color: #ffffff;
    border: none;
    padding: 9px 15px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

.word-button:hover {
    background: #117746;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.word-button:active {
    transform: translateY(0);
}

/* =========================================================
   TAMPILAN BARU SIDEBAR (DAFTAR MENU + KARTU LOGO)
   Tombol garis tiga tetap ada, tampilan ini muncul saat dibuka
========================================================= */
.sidebar-drawer {
    width: 330px !important;
    background: linear-gradient(180deg, #00858B 0%, #007379 55%, #006B70 100%) !important;
}

/* ---- Kepala: kartu logo putih + judul ---- */
.sidebar-drawer .minda-sidebar-header {
    padding: 18px 16px 10px !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.sidebar-drawer .minda-sidebar-header::before {
    content: "";
    flex: 0 0 100%;
    height: 84px;
    margin-bottom: 14px;
    border-radius: 18px;
    background-color: #ffffff;
    background-image:
        url("assets/karantina.png"),
        url("assets/logo-kementerian-kesehatan.png"),
        linear-gradient(#dfe5e7, #dfe5e7);
    background-repeat: no-repeat;
    background-size: auto 58px, auto 46px, 1px 46px;
    background-position: 22% center, 78% center, center center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.sidebar-drawer .minda-brand {
    flex: 1;
    text-align: center;
    padding-left: 40px;
}

.sidebar-drawer .minda-brand h2 {
    justify-content: center;
    font-size: 18px;
    line-height: 1.25;
}

.sidebar-drawer .minda-brand p {
    justify-content: center;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72) !important;
}

/* ---- Isi: daftar menu ---- */
.sidebar-drawer .sidebar-body {
    padding: 6px 14px 24px;
}

.sidebar-drawer .minda-card-grid {
    gap: 6px;
    padding-top: 0;
}

.sidebar-drawer .minda-card-grid::before {
    content: "MENU UTAMA";
    padding: 10px 10px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.55);
}

.sidebar-drawer .minda-card-grid .minda-card,
.sidebar-drawer .minda-card-grid .minda-card:nth-child(n) {
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 14px;
    padding: 8px 12px !important;
    border-radius: 14px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    text-align: left;
}

.sidebar-drawer .minda-card-grid .minda-card:hover {
    transform: none !important;
    filter: none !important;
    background: rgba(255, 255, 255, 0.10) !important;
    box-shadow: none !important;
}

.sidebar-drawer .minda-card-grid .minda-card.is-active {
    background: rgba(255, 255, 255, 0.16) !important;
    box-shadow: inset 4px 0 0 #A8F0F2 !important;
}

.sidebar-drawer .minda-card-grid .minda-icon-circle {
    width: 44px;
    height: 44px;
    margin: 0;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 20px;
}

.sidebar-drawer .minda-card-grid .minda-card.is-active .minda-icon-circle {
    background: rgba(255, 255, 255, 0.24);
}

.sidebar-drawer .minda-card-grid .minda-card-title {
    margin: 0;
    font-size: 16px;
    text-align: left;
}

/* ---- Bagian Administrasi (kartu terakhir = Kelola Data) ---- */
.sidebar-drawer .minda-card-grid .minda-card:last-child {
    position: relative;
    margin-top: 40px;
}

.sidebar-drawer .minda-card-grid .minda-card:last-child::before {
    content: "ADMINISTRASI";
    position: absolute;
    top: -30px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.55);
}

.sidebar-drawer .minda-card-grid .minda-card.is-locked::after {
    content: "🔒";
    margin-left: auto;
    font-size: 13px;
    opacity: 0.65;
}

/* =========================================================
   REVISI: FONT SIDEBAR + IKON GARIS (TANPA EMOJI)
========================================================= */
.sidebar-drawer,
.sidebar-drawer a,
.sidebar-drawer button {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Calibri, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.sidebar-drawer .minda-brand h2 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.sidebar-drawer .minda-brand p {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sidebar-drawer .minda-card-grid::before,
.sidebar-drawer .minda-card-grid .minda-card:last-child::before {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-drawer .minda-card-grid .minda-card-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.005em;
}

.sidebar-drawer .minda-card-grid .minda-card.is-active .minda-card-title {
    font-weight: 700;
}

/* kotak ikon: emoji disembunyikan, diganti ikon garis */
.sidebar-drawer .minda-card-grid .minda-icon-circle {
    width: 44px;
    height: 44px;
    font-size: 0 !important;
    line-height: 0;
    color: transparent;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: background-color 0.2s ease;
}

.sidebar-drawer .minda-card-grid .minda-icon-circle::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background-color: #ffffff;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.sidebar-drawer .minda-card-grid .minda-card:nth-child(1) .minda-icon-circle::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='2'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='2'/%3E%3C/svg%3E"); }
.sidebar-drawer .minda-card-grid .minda-card:nth-child(2) .minda-icon-circle::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M12 11.5v6M9 14.5h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M12 11.5v6M9 14.5h6'/%3E%3C/svg%3E"); }
.sidebar-drawer .minda-card-grid .minda-card:nth-child(3) .minda-icon-circle::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2'/%3E%3Crect x='9' y='2.5' width='6' height='3.5' rx='1.2'/%3E%3Cpath d='M9 12h6M9 16h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2'/%3E%3Crect x='9' y='2.5' width='6' height='3.5' rx='1.2'/%3E%3Cpath d='M9 12h6M9 16h4'/%3E%3C/svg%3E"); }
.sidebar-drawer .minda-card-grid .minda-card:nth-child(4) .minda-icon-circle::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.sidebar-drawer .minda-card-grid .minda-card:nth-child(5) .minda-icon-circle::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.3 2.9-6 6.5-6s6.5 2.7 6.5 6'/%3E%3Cpath d='M16 4.7a3.3 3.3 0 0 1 0 6.3M18 14.3c2 .8 3.5 2.6 3.5 5.2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.3 2.9-6 6.5-6s6.5 2.7 6.5 6'/%3E%3Cpath d='M16 4.7a3.3 3.3 0 0 1 0 6.3M18 14.3c2 .8 3.5 2.6 3.5 5.2'/%3E%3C/svg%3E"); }
.sidebar-drawer .minda-card-grid .minda-card:nth-child(6) .minda-icon-circle::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5.5' rx='8' ry='3'/%3E%3Cpath d='M4 5.5v13c0 1.7 3.6 3 8 3s8-1.3 8-3v-13'/%3E%3Cpath d='M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5.5' rx='8' ry='3'/%3E%3Cpath d='M4 5.5v13c0 1.7 3.6 3 8 3s8-1.3 8-3v-13'/%3E%3Cpath d='M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }

/* Ikon menu Kelola Data (semua halaman, tidak bergantung pada id / urutan menu) */
.sidebar-drawer .minda-card-grid a[href="pengelolaan-data.html"] .minda-icon-circle::before,
.sidebar-drawer #cardPengelolaanData .minda-icon-circle::before,
.sidebar-drawer #menuPengelolaanData .minda-icon-circle::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h8M20 6h0M4 12h2M14 12h6M4 18h10M22 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h8M20 6h0M4 12h2M14 12h6M4 18h10M22 18h0'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
}

/* menu aktif: kotak ikon putih, ikon teal */
.sidebar-drawer .minda-card-grid .minda-card.is-active .minda-icon-circle {
    background: #ffffff;
    border-color: #ffffff;
}

.sidebar-drawer .minda-card-grid .minda-card.is-active .minda-icon-circle::before {
    background-color: #008C91;
}

/* gembok garis di Kelola Data */
.sidebar-drawer .minda-card-grid .minda-card.is-locked::after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: auto;
    margin-right: 4px;
    font-size: 0;
    opacity: 0.6;
    background-color: #ffffff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =========================================================
   REVISI: SIDEBAR LEBIH KECIL (KOMPAK)
========================================================= */
.sidebar-drawer {
    width: 270px !important;
}

.sidebar-drawer .minda-sidebar-header {
    padding: 14px 12px 6px !important;
}

.sidebar-drawer .minda-sidebar-header::before {
    height: 62px;
    margin-bottom: 10px;
    border-radius: 14px;
    background-size: auto 42px, auto 40px, 1px 34px;
}

.sidebar-drawer .minda-brand {
    padding-left: 32px;
}

.sidebar-drawer .minda-brand h2 {
    font-size: 14px;
}

.sidebar-drawer .minda-brand p {
    font-size: 8.5px;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.sidebar-drawer .sidebar-close-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 20px !important;
}

.sidebar-drawer .sidebar-body {
    padding: 2px 10px 16px;
}

.sidebar-drawer .minda-card-grid {
    gap: 3px;
}

.sidebar-drawer .minda-card-grid::before {
    padding: 8px 8px 4px;
    font-size: 9px;
}

.sidebar-drawer .minda-card-grid .minda-card,
.sidebar-drawer .minda-card-grid .minda-card:nth-child(n) {
    gap: 10px;
    padding: 5px 8px !important;
    border-radius: 11px !important;
}

.sidebar-drawer .minda-card-grid .minda-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.sidebar-drawer .minda-card-grid .minda-icon-circle::before {
    width: 17px;
    height: 17px;
}

.sidebar-drawer .minda-card-grid .minda-card-title {
    font-size: 13px;
}

.sidebar-drawer .minda-card-grid .minda-card.is-active {
    box-shadow: inset 3px 0 0 #A8F0F2 !important;
}

.sidebar-drawer .minda-card-grid .minda-card:last-child {
    margin-top: 30px;
}

.sidebar-drawer .minda-card-grid .minda-card:last-child::before {
    top: -23px;
    left: 8px;
    font-size: 9px;
}

.sidebar-drawer .minda-card-grid .minda-card.is-locked::after {
    width: 13px;
    height: 13px;
}

/* =========================================================
   MENU TERKUNCI (gembok hanya muncul bila akses belum ada)
========================================================= */
.sidebar-drawer .minda-card-grid .minda-card.is-locked {
    cursor: pointer;
}

.sidebar-drawer .minda-card-grid .minda-card.is-locked .minda-icon-circle,
.sidebar-drawer .minda-card-grid .minda-card.is-locked .minda-card-title {
    opacity: 0.72;
}

.sidebar-drawer .minda-card-grid .minda-card.is-locked::after {
    opacity: 0.9;
}

/* Tombol "Kembali ke Rekap SPT" tidak ikut tercetak */
@media print {
    #barKembaliRekap {
        display: none !important;
    }
}