/* =================================
   PENGATURAN DASAR
================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f1f5f9;
    color: #263445;
}


/* =================================
   SIDEBAR
================================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 270px;
    height: 100vh;
    background: #173f82;
    color: white;
    padding: 25px 18px;
    overflow-y: auto;
}

.sidebar .judul-sekolah {
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: -0.5px;
    margin: 12px -10px 3px;
    line-height: 1.4;
}

.sidebar .nama-sekolah {
    text-align: center;
    font-size: 16px;
    color: #dbeafe;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.4;
}

.garis-sidebar {
    border: 0;
    border-top: 1px solid white;
    margin: 15px 0 20px;
    opacity: .6;
}


/* =================================
   LOGO SEKOLAH PERMANEN
================================= */

.upload-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

#logoSekolah {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

/* =================================
   MENU SIDEBAR
================================= */

.menu-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-link {
    display: block;
    text-decoration: none;
    color: white;
    padding: 12px 15px;
    border-radius: 7px;
    transition: .2s;
}

.menu-link:hover,
.menu-link.active {
    background: white;
    color: #173f82;
    font-weight: bold;
}


/* =================================
   KONTEN UTAMA
================================= */

.content {
    margin-left: 270px;
    padding: 25px;
    min-height: 100vh;
}

.header {
    background: white;
    padding: 22px;
    border-radius: 10px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.header h1 {
    margin: 0 0 8px;
    color: #173f82;
}

.header p {
    margin: 0;
    color: #64748b;
}


/* =================================
   PERPINDAHAN HALAMAN
================================= */

.halaman {
    display: none;
}

.halaman.aktif {
    display: block;
}


/* =================================
   KARTU DASHBOARD
================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.stat-box {
    background: white;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.stat-box h3 {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 15px;
}

.stat-box p {
    margin: 0;
    color: #173f82;
    font-size: 28px;
    font-weight: bold;
}

.stat-box .nama-stat {
    font-size: 16px;
}


/* =================================
   FORM DAN TABEL
================================= */

.table-box {
    background: white;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    margin-bottom: 22px;
}

.table-box h2 {
    color: #173f82;
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
}

.form-group input,
.form-group select,
#cariMurid {
    width: 100%;
    padding: 11px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
}

button {
    background: #173f82;
    color: white;
    border: none;
    padding: 11px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #2456a0;
}

#pesan {
    font-size: 14px;
    color: #173f82;
    font-weight: bold;
}


/* =================================
   TABEL DATA MURID
================================= */

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    min-width: 550px;
}

th,
td {
    padding: 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

th {
    background: #173f82;
    color: white;
}

td {
    background: white;
}
.tombol-edit {
    background: #e99b20;
    margin: 2px;
}

.tombol-hapus {
    background: #dc3545;
    margin: 2px;
}


/* =================================
   INFORMASI QR
================================= */

.info-qr {
    background: #eff6ff;
    color: #173f82;
    padding: 15px;
    border-radius: 7px;
}


/* =================================
   TAMPILAN HP
================================= */

@media (max-width: 768px) {

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 18px;
    }

    .sidebar .judul-sekolah {
        white-space: normal;
    }

    .menu-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .content {
        margin-left: 0;
        padding: 15px;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}

/* UPLOAD DATA MURID */
.upload-data {
    background: #fff;
    padding: 18px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.upload-data h3 {
    color: #173f82;
    margin: 0 0 6px;
    font-size: 18px;
}

.upload-data p {
    color: #666;
    font-size: 13px;
    margin: 0 0 15px;
}

.upload-kotak {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

#fileDataMurid {
    flex: 1;
    min-width: 220px;
    padding: 9px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fafafa;
}

#tombolUpload {
    padding: 10px 18px;
    background: #173f82;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#tombolUpload:hover {
    background: #2459aa;
}

.upload-data .upload-info {
    margin: 6px 0 0;
    font-size: 12px;
    color: #777;
}

#pesanUpload {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: bold;
}

/* PROFIL SEKOLAH DASHBOARD */

.profil-identitas {
    text-align: center;
    padding: 20px;
    background: #eef4ff;
    border-radius: 10px;
    margin-bottom: 20px;
}

.profil-identitas h3 {
    color: #173f82;
    font-size: 22px;
    margin-bottom: 8px;
}

.profil-identitas p {
    color: #555;
    margin: 0;
}

.profil-detail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.profil-detail div {
    padding: 15px;
    background: #f7f9fc;
    border-radius: 8px;
}

.profil-detail span {
    display: block;
    color: #777;
    font-size: 13px;
    margin-bottom: 8px;
}

.profil-detail strong {
    color: #173f82;
    font-size: 14px;
}

.pengelola-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.pengelola-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #f7f9fc;
    border-radius: 10px;
}

.pengelola-icon {
    width: 50px;
    height: 50px;
    background: #e4edff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    flex-shrink: 0;
}

.pengelola-item h3 {
    color: #173f82;
    font-size: 15px;
    margin: 0 0 7px;
}

.pengelola-item p {
    margin: 0;
    color: #444;
}

@media (max-width: 700px) {
    .profil-detail,
    .pengelola-list {
        grid-template-columns: 1fr;
    }
}

/* DAFTAR QR CODE */

.daftar-qrcode {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.kartu-qrcode {
    background: white;
    border: 1px solid #dce3ec;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.kartu-qrcode h3 {
    color: #173f82;
    font-size: 17px;
    margin-bottom: 15px;
}

.gambar-qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 15px;
    min-height: 150px;
}

.kartu-qrcode p {
    margin: 6px 0;
    color: #555;
    font-size: 14px;
}
/* NOTIFIKASI ABSENSI */
#hasilScan {
    display: none;
    margin: 20px 0;
    padding: 20px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    animation: munculNotif 0.35s ease;
}

#hasilScan.notif-sukses {
    display: block;
    color: #166534;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-left: 6px solid #16a34a;
    box-shadow: 0 5px 15px rgba(22, 163, 74, 0.10);
}

#hasilScan.notif-peringatan {
    display: block;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-left: 6px solid #d97706;
}

#hasilScan.notif-gagal {
    display: block;
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-left: 6px solid #dc2626;
}

@keyframes munculNotif {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MERAPIKAN PILIHAN TANGGAL DAN TOMBOL EXCEL */
.filter-absensi {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0 25px;
}

.filter-absensi label {
    margin: 0;
}

.filter-absensi input[type="date"] {
    height: 38px;
    box-sizing: border-box;
}

.tombol-excel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 38px;
    padding: 4px;
    margin: 0;
    background: #ffffff;
    border: 1px solid #217346;
    border-radius: 7px;
    cursor: pointer;
    box-sizing: border-box;
}

.tombol-excel svg {
    width: 30px;
    height: 30px;
    display: block;
}

.tombol-excel:hover {
    background: #e8f5ec;
    transform: scale(1.05);
}

/* REKAP ABSENSI BULANAN */
.rekap-bulanan {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.rekap-item {
    padding: 18px;
    background: #f1f5f9;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.rekap-item span {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
}

.rekap-item h2 {
    margin: 10px 0 0;
    font-size: 28px;
    color: #173f82;
}

@media (max-width: 700px) {
    .rekap-bulanan {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =================================
   PROFIL ABSENSI KELAS 5
================================= */

.profil-absensi {
    padding: 25px;
}

.profil-absensi h2 {
    color: #173f82;
    margin-bottom: 10px;
}

.profil-absensi h3 {
    color: #173f82;
    font-size: 16px;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5eaf2;
}

.profil-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-items: stretch;
}

.profil-item {
    background: #f7f9fc;
    border: 1px solid #e5eaf2;
    padding: 17px;
    border-radius: 9px;
}

.profil-item span {
    display: block;
    color: #777;
    font-size: 13px;
    margin-bottom: 9px;
}

.profil-item strong {
    color: #26364d;
    font-size: 14px;
}

.profil-grid-dua {
    grid-template-columns: repeat(2, 1fr);
}

.profil-fungsi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.profil-fungsi p {
    background: #f1f6ff;
    padding: 13px;
    border-radius: 8px;
    color: #39465a;
    font-size: 13px;
    margin: 0;
}

.profil-catatan {
    margin-top: 25px;
    padding: 16px;
    background: #eef4ff;
    border-left: 4px solid #173f82;
    border-radius: 8px;
    color: #39465a;
    font-size: 13px;
    line-height: 1.6;
}

/* TAMPILAN HP */
@media (max-width: 700px) {
    .profil-grid,
    .profil-grid-dua,
    .profil-fungsi {
        grid-template-columns: 1fr;
    }
}

/* PROFIL ABSENSI KELAS 5 */
.profil-absensi {
    padding: 25px;
}

.profil-absensi h2 {
    color: #173f82;
    margin-bottom: 8px;
}

.profil-absensi h3 {
    color: #173f82;
    font-size: 16px;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5eaf2;
}

.profil-grid {
    display: block;
    background: #f7f9fc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    padding: 15px 20px;
}

.profil-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 12px 5px;
    border-bottom: 1px solid #e5eaf2;
    background: transparent;
    border-radius: 0;
}

.profil-item:last-child {
    border-bottom: none;
}

.profil-item span {
    color: #777;
    font-size: 14px;
}

.profil-item strong {
    color: #26364d;
    font-size: 14px;
    text-align: right;
}

.profil-fungsi {
    display: block;
    background: #f7f9fc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    padding: 15px 20px;
}

.profil-fungsi {
    display: block;
    background: #f7f9fc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    padding: 15px 20px;
}

.profil-fungsi p {
    padding: 12px 5px;
    border-bottom: 1px solid #e5eaf2;
    background: transparent;
    margin: 0;
}

.profil-fungsi p:last-child {
    border-bottom: none;
}

@media (max-width: 700px) {
    .profil-grid,
    .profil-fungsi {
        grid-template-columns: 1fr;
    }
}

/* WARNA KOTAK STATISTIK DASHBOARD */

.stats .stat-box:nth-child(1) {
    background: #dceeff;
    border-left: 5px solid #2196f3;
}

.stats .stat-box:nth-child(2) {
    background: #dcfce7;
    border-left: 5px solid #22c55e;
}

.stats .stat-box:nth-child(3) {
    background: #ffedd5;
    border-left: 5px solid #f59e0b;
}

/* WARNA TULISAN */
.stats .stat-box h3 {
    color: #26364d;
}

.stats .stat-box p {
    color: #173f82;
    font-weight: bold;
}
/* WARNA KOTAK JUMLAH KEHADIRAN BULANAN */

.rekap-item:nth-child(1) {
    background: #dcfce7;
    color: #166534;
    border-left: 5px solid #22c55e;
}

.rekap-item:nth-child(2) {
    background: #dbeafe;
    color: #1e40af;
    border-left: 5px solid #3b82f6;
}

.rekap-item:nth-child(3) {
    background: #fef3c7;
    color: #92400e;
    border-left: 5px solid #f59e0b;
}

.rekap-item:nth-child(4) {
    background: #fee2e2;
    color: #991b1b;
    border-left: 5px solid #ef4444;
}

.rekap-item {
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}
/* WARNA SELANG-SELING TABEL LAPORAN HARIAN */
#tabelLaporanAbsensi tr:nth-child(odd) {
    background-color: #ffffff;
}

#tabelLaporanAbsensi tr:nth-child(even) {
    background-color: #eaf3ff;
}

/* WARNA SELANG-SELING TABEL REKAP BULANAN */
#tabelRekapBulanan tr:nth-child(odd) {
    background-color: #ffffff;
}

#tabelRekapBulanan tr:nth-child(even) {
    background-color: #eaf3ff;
}

/* EFEK KETIKA KURSOR DIARAHKAN KE BARIS */
#tabelLaporanAbsensi tr:hover,
#tabelRekapBulanan tr:hover {
    background-color: #d1e7ff;
}

/* GARIS PEMISAH BARIS */
#tabelLaporanAbsensi td,
#tabelRekapBulanan td {
    border-bottom: 1px solid #dbe5f0;
}
/* WARNA SELANG-SELING TABEL LAPORAN */
#halaman-laporan #tabelLaporanAbsensi tr:nth-child(odd) td,
#halaman-laporan #tabelRekapBulanan tr:nth-child(odd) td {
    background-color: #ffffff !important;
}

#halaman-laporan #tabelLaporanAbsensi tr:nth-child(even) td,
#halaman-laporan #tabelRekapBulanan tr:nth-child(even) td {
    background-color: #eaf3ff !important;
}

/* WARNA SAAT KURSOR DIARAHKAN */
#halaman-laporan #tabelLaporanAbsensi tr:hover td,
#halaman-laporan #tabelRekapBulanan tr:hover td {
    background-color: #d1e7ff !important;
}


/* TAMPILAN IDENTITAS SEKOLAH GAYA DAPODIK */
.profil-absensi {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
}

.profil-absensi h2 {
    color: #1e4e8c;
    margin-bottom: 8px;
    font-size: 22px;
}

.profil-absensi > p {
    color: #64748b;
    margin-bottom: 25px;
}

.profil-absensi h3 {
    background: #eaf3ff;
    color: #1e4e8c;
    padding: 12px 15px;
    border-left: 5px solid #2580d8;
    border-radius: 5px;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 16px;
}

.identitas-tabel {
    width: 100%;
    border: 1px solid #dbe5f0;
    border-radius: 7px;
    overflow: hidden;
}

.identitas-baris {
    display: grid;
    grid-template-columns: 240px 1fr;
    border-bottom: 1px solid #dbe5f0;
    min-height: 45px;
}

.identitas-baris:last-child {
    border-bottom: none;
}

.identitas-baris span {
    background: #f1f6fc;
    padding: 12px 15px;
    color: #334155;
    font-weight: 600;
}

.identitas-baris strong {
    padding: 12px 15px;
    color: #1e293b;
    font-weight: 500;
}

.identitas-baris:nth-child(even) span,
.identitas-baris:nth-child(even) strong {
    background-color: #f8fbff;
}

@media (max-width: 600px) {
    .identitas-baris {
        grid-template-columns: 1fr;
    }

    .identitas-baris span {
        padding-bottom: 5px;
    }

    .identitas-baris strong {
        padding-top: 5px;
    }
}
/* =================================
   DESAIN IDENTITAS SEKOLAH
================================= */

.identitas-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.identitas-panel {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
}

.identitas-panel h3 {
    background: #dbeafe;
    color: #173f82;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.identitas-tabel {
    display: flex;
    flex-direction: column;
}

.identitas-baris {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 8px;
    padding: 12px 8px;
    border-bottom: 1px solid #e5e7eb;
}

.identitas-baris:nth-child(even) {
    background: #eff6ff;
}

.identitas-baris span {
    color: #475569;
}

.identitas-baris strong {
    color: #173f82;
}

/* FUNGSI APLIKASI */

.fungsi-panel {
    background: #ffffff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.10);
}

.fungsi-panel h3 {
    color: #173f82;
    margin-bottom: 18px;
}

.fungsi-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.fungsi-item {
    background: #eaf3ff;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
}

.fungsi-item h2 {
    margin-bottom: 10px;
}

.fungsi-item strong {
    color: #173f82;
}

.fungsi-item p {
    color: #475569;
    font-size: 13px;
}

/* TAMPILAN LAYAR KECIL */

@media (max-width: 768px) {
    .identitas-container {
        grid-template-columns: 1fr;
    }

    .fungsi-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* MERAPATKAN TAMPILAN IDENTITAS */

.identitas-container {
    gap: 12px;
    margin-top: 10px;
}

.identitas-panel {
    padding: 14px;
}

.identitas-panel h3 {
    padding: 10px;
    margin-bottom: 8px;
}

.identitas-baris {
    grid-template-columns: 45% 55%;
    gap: 4px;
    padding: 8px 6px;
}

.identitas-baris span,
.identitas-baris strong {
    font-size: 13px;
}

.fungsi-panel {
    padding: 14px;
    margin-top: 12px;
}

.fungsi-panel h3 {
    margin-bottom: 10px;
}

.fungsi-container {
    gap: 10px;
}

.fungsi-item {
    padding: 12px;
}

.fungsi-item h2 {
    margin-bottom: 5px;
}

.fungsi-item p {
    margin-top: 5px;
}
/* UKURAN HURUF DAN KOTAK PEMISAH */

.identitas-baris {
    padding: 3px 7px;
    line-height: 1.2;
    min-height: 0;
}

.identitas-baris span,
.identitas-baris strong {
    font-size: 14px;
    line-height: 1.2;
}

.identitas-panel h3 {
    font-size: 15px;
    padding: 7px 10px;
}
/* PETUNJUK MENU APLIKASI */
.panduan-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.panduan-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 5px;
}

.panduan-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf3ff;
    border-radius: 12px;
    font-size: 23px;
}

.panduan-teks strong {
    color: #173f82;
    font-size: 15px;
}

.panduan-teks p {
    color: #475569;
    font-size: 13px;
    margin: 4px 0 0;
    line-height: 1.5;
}


/* =====================================
   DESAIN INPUT ABSENSI MANUAL
===================================== */

.absensi-manual-box {
    padding: 25px;
    border-radius: 15px;
    background: #ffffff;
}

/* HEADER INPUT ABSENSI MANUAL */

.absensi-manual-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e4edf7;
    cursor: pointer;
}

.absensi-manual-header > div {
    flex: 1;
}

.absensi-manual-header h2 {
    color: #1769aa;
    font-size: 19px;
    font-weight: 600;
    margin: 0;
}

.absensi-manual-header p {
    color: #777;
    font-size: 13px;
    font-weight: 400;
    margin: 6px 0 0;
}

#panahAbsensiManual {
    flex-shrink: 0;
    font-size: 24px;
    line-height: 1;
    color: #193f75;
}

.manual-field {
    margin-bottom: 20px;
}

.manual-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 9px;
    color: #333;
}

.manual-field input,
.manual-field select {
    width: 100%;
    padding: 13px;
    border: 1px solid #d5dce5;
    border-radius: 9px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
}

.pilihan-status-manual {
    display: flex;
    gap: 12px;
}

.status-manual {
    flex: 1;
    min-height: 95px;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: 0.2s;
}

.status-manual span {
    font-size: 25px;
    font-weight: bold;
}

.status-manual strong {
    font-size: 13px;
}

.status-sakit {
    background: #e5f8ed;
    color: #16834b;
}

.status-izin {
    background: #fff5d9;
    color: #b78308;
}

.status-alpa {
    background: #ffe8e8;
    color: #d43d3d;
}

.status-manual:hover {
    transform: translateY(-3px);
}

.status-manual.terpilih {
    border-color: currentColor;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.tombol-simpan-manual {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    background: #1769d2;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.tombol-simpan-manual:hover {
    background: #1054ad;
}

.catatan-manual {
    text-align: center;
    color: #777;
    font-size: 12px;
    margin-top: 15px;
}

@media (max-width: 500px) {
    .absensi-manual-box {
        padding: 15px;
    }

    .pilihan-status-manual {
        gap: 7px;
    }

    .status-manual {
        min-height: 80px;
    }
}

/* PERBAIKAN TAMPILAN INPUT ABSENSI MANUAL */


.absensi-manual-box .manual-field {
    display: block !important;
    width: 100%;
    margin-bottom: 22px;
}

.absensi-manual-box .manual-field label {
    display: block !important;
    margin-bottom: 10px;
}

.absensi-manual-box .manual-field input,
.absensi-manual-box .manual-field select {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 13px;
    border-radius: 9px;
}

.absensi-manual-box .pilihan-status-manual {
    display: flex !important;
    gap: 12px;
    width: 100%;
}

.absensi-manual-box .status-manual {
    flex: 1;
    min-height: 95px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
}

.absensi-manual-box .status-manual.status-sakit {
    background: #e5f8ed !important;
    color: #16834b !important;
}

.absensi-manual-box .status-manual.status-izin {
    background: #fff5d9 !important;
    color: #b78308 !important;
}

.absensi-manual-box .status-manual.status-alpa {
    background: #ffe8e8 !important;
    color: #d43d3d !important;
}

.absensi-manual-box .status-manual.terpilih {
    border: 2px solid currentColor;
}

.absensi-manual-box .tombol-simpan-manual {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    background: #1769d2 !important;
    color: white !important;
}

/* TAMPILAN INPUT ABSENSI MANUAL LEBIH RINGKAS */

.absensi-manual-box .absensi-manual-header {
    margin-bottom: 15px;
}

.absensi-manual-box .absensi-manual-header h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

.absensi-manual-box .manual-field {
    margin-bottom: 13px;
}

.absensi-manual-box .manual-field label {
    margin-bottom: 6px;
    font-size: 14px;
}

.absensi-manual-box .manual-field input,
.absensi-manual-box .manual-field select {
    padding: 10px;
    font-size: 14px;
}

.absensi-manual-box .pilihan-status-manual {
    gap: 9px;
}

.absensi-manual-box .status-manual {
    min-height: 72px;
    padding: 8px;
}

.absensi-manual-box .status-manual span {
    font-size: 21px;
}

.absensi-manual-box .status-manual strong {
    font-size: 12px;
}

.absensi-manual-box .tombol-simpan-manual {
    padding: 12px;
    margin-top: 2px;
    font-size: 14px;
}

.absensi-manual-box .catatan-manual {
    margin-top: 10px;
    font-size: 11px;
}

/* MERAPIKAN INPUT ABSENSI KE SISI KIRI */

.absensi-manual-box .absensi-manual-header {
    text-align: left;
}


.absensi-manual-box .manual-field {
    text-align: left;
}

.absensi-manual-box .catatan-manual {
    text-align: left;
}
/* FORM TAMBAH DATA MURID - MINIMALIS */
#formMurid {
    max-width: 420px;
    margin: 15px 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

#formMurid label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-top: 5px;
}

#formMurid input,
#formMurid select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 13px;
    background: #f8fafc;
    box-sizing: border-box;
}

#formMurid input:focus,
#formMurid select:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
}

#formMurid button {
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #2563eb;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

#formMurid button:hover {
    background: #1d4ed8;
}

/* TOMBOL LOGOUT TIMBUL 3D */
.btn-logout {
    display: block;
    width: calc(100% - 30px);
    margin: 20px 15px;
    padding: 13px;

    background: linear-gradient(
        180deg,
        #42A5F5 0%,
        #1976D2 55%,
        #0D47A1 100%
    );

    color: white;
    border: 1px solid #0D47A1;
    border-radius: 10px;

    font-size: 15px;
    font-weight: bold;
    cursor: pointer;

    box-shadow:
        0 5px 0 #08306B,
        0 7px 12px rgba(0, 0, 0, 0.25);

    transition: all 0.15s ease;
}

.btn-logout:hover {
    background: linear-gradient(180deg, #64B5F6, #1565C0);
    transform: translateY(-2px);

    box-shadow:
        0 7px 0 #08306B,
        0 9px 14px rgba(0, 0, 0, 0.25);
}

.btn-logout:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 #08306B,
        0 2px 4px rgba(0, 0, 0, 0.2);
}
.baris-tombol-murid {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.baris-tombol-murid button {
    flex: 1;
    width: 50%;
    margin: 0;
    min-height: 42px;
}
/* Tombol tidak aktif */
.baris-tombol-murid button:disabled {
    background: #c0c0c0 !important;
    color: #777 !important;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: none;
}

/* Tombol Simpan aktif */
#tombolSimpan:not(:disabled) {
    background: #1769d2;
    color: white;
}

/* Tombol Perbarui aktif */
#tombolPerbarui:not(:disabled) {
    background: #16834a;
    color: white;
}
/* TOMBOL ABSENSI MANUAL */
.tombol-simpan-manual {
    background: #1769d2;
    color: white;
}

.tombol-perbarui-manual {
    background: #16834a;
    color: white;
}

#tombolSimpanAbsensiManual:disabled,
#tombolPerbaruiAbsensiManual:disabled {
    background: #c0c0c0 !important;
    color: #777 !important;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: none;
}

.baris-tombol-murid button {
    flex: 1;
    width: 50%;
    min-height: 42px;
}

/* LOGO SIKOLAQR */
.nama-aplikasi {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
}

.nama-aplikasi h1 {
    margin: 0;
    line-height: 1;
}

.teks-aplikasi {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slogan-aplikasi {
    display: block;
    font-size: 8px;
    font-weight: 600;
    color: #64748b;
    margin: 4px 0 0;
    line-height: 1.4;
    white-space: normal;
}

.ikon-qr {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1265bd;
    border-radius: 10px;
    box-shadow: 0 3px 0 #0b4387;
}

.qr-icon {
    color: white;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -1px;
}

.nama-aplikasi h1 {
    color: #ffffff !important;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
}

.nama-aplikasi h1 span {
    color: #f5a623;
}

/* TOMBOL LOGOUT SIKOLAQR */
.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: calc(100% - 30px);
    margin: 18px 15px 20px;
    padding: 13px 18px;

    background: #fff1f2;
    color: #dc2626;

    border: 1px solid #fecdd3;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-logout .ikon-logout {
    flex-shrink: 0;
}

.btn-logout:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

.teks-aplikasi {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slogan-aplikasi {
    font-size: 8px;
    font-weight: 600;
    color: #64748b;
    margin: 3px 0 0;
    line-height: 1.4;
}

/* MEMASTIKAN SLOGAN BERADA DI BAWAH JUDUL */
.nama-aplikasi .teks-aplikasi {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
}

.nama-aplikasi .slogan-aplikasi {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 8px;
    line-height: 1.4;
    white-space: normal;
}

.upload-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nama-aplikasi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.teks-aplikasi {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.teks-aplikasi h1 {
    margin: 0;
    line-height: 1.1;
}

.slogan-aplikasi {
    display: block;
    text-align: center;
    font-size: 8px;
    font-weight: 600;
    color: #64748b;
    margin: 2px 5px 0;
    line-height: 1.5;
}

/* MERAPATKAN JUDUL DAN SLOGAN SIKOLAQR */
.upload-logo .nama-aplikasi h1 {
    margin-bottom: 0 !important;
    line-height: 1 !important;
}

.upload-logo .slogan-aplikasi {
    font-size: 9px !important;
    font-weight: 700;
    color: #ffffff;
    margin-top: 6px !important;
    line-height: 1.3 !important;
    white-space: nowrap;
}

/* MERAPIKAN LOGO SIKOLAQR */
.upload-logo .nama-aplikasi {
    display: flex;
    align-items: center !important;
    justify-content: center;
    gap: 8px;
}

.upload-logo .ikon-qr {
    flex-shrink: 0;
    margin: 0;
}

.upload-logo .teks-aplikasi {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.upload-logo .teks-aplikasi h1 {
    margin: 0;
    line-height: 1.1;
}

.upload-logo .teks-aplikasi .slogan-aplikasi {
    margin: 1px 0 0 !important;
    text-align: left;
    white-space: nowrap;
    font-size: 8px !important;
}

.garis-sidebar {
    margin-top: 25px !important;
}
/* =====================================
   HEADER PENGATURAN
===================================== */

.pengaturan-header {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #193f75;
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 22px;
}

.pengaturan-header-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
}

.pengaturan-header-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: white;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pengaturan-header-text h1 {
    margin: 0 0 7px;
    font-size: 25px;
    color: white;
}

.pengaturan-header-text p {
    margin: 0;
    font-size: 14px;
    color: #e0ebfa;
}

/* =====================================
   MENU PENGATURAN
===================================== */

.pengaturan-menu {
    background: white;
    border-radius: 12px;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.item-pengaturan {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 5px;
    border-bottom: 1px solid #eeeeee;
    cursor: pointer;
}

.item-pengaturan:last-child {
    border-bottom: none;
}

.ikon-pengaturan {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 25px;
}

.ikon-pengaturan.akun {
    background: #dbeafe;
    color: #2563eb;
}

.ikon-pengaturan.sekolah {
    background: #dcfce7;
    color: #16a34a;
}

.ikon-pengaturan.pengguna {
    background: #f3e8ff;
    color: #9333ea;
}

.ikon-pengaturan.notifikasi {
    background: #fef3c7;
    color: #d97706;
}

.ikon-pengaturan.backup {
    background: #e0f2fe;
    color: #0284c7;
}

.ikon-pengaturan.tentang {
    background: #f1f5f9;
    color: #475569;
}

.ikon-pengaturan svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.teks-pengaturan {
    flex: 1;
}

.teks-pengaturan h3 {
    margin: 0 0 5px;
    font-size: 15px;
    color: #263445;
}

.teks-pengaturan p {
    margin: 0;
    font-size: 13px;
    color: #7b8794;
}

.panah-pengaturan {
    font-size: 25px;
    color: #9ca3af;
}

.item-pengaturan:hover {
    background: #f8fafc;
}

/* HEADER MODERN DASHBOARD */
.dashboard-header {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #193f75;
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 22px;
}

.dashboard-header-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

.dashboard-header-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: white;
    stroke-width: 1.8;
}

.dashboard-header h1 {
    margin: 0 0 7px;
    font-size: 25px;
    color: white;
}

.dashboard-header p {
    margin: 0;
    font-size: 14px;
    color: #e0ebfa;
}

/* =====================================
   STATISTIK DASHBOARD - RAPI DAN SEIMBANG
===================================== */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
}

.dashboard-stats .stat-box {
    width: 100%;
    min-width: 0;
    height: 160px;
    box-sizing: border-box;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    background: #ffffff !important;
    border: 1px solid #e5eaf2 !important;
    border-radius: 13px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.07);
}

/* IKON */

.dashboard-stats .stat-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    line-height: 1;
    border-radius: 11px;
    margin: 0;
}

/* BAGIAN ANGKA DAN KETERANGAN */

.dashboard-stats .stat-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ANGKA */

.dashboard-stats .stat-info p {
    order: 1;
    width: 100%;
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    color: #193f75;
}

/* NAMA JUMLAH SISWA */

.dashboard-stats .stat-info h3 {
    order: 2;
    width: 100%;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: #64748b;
}

/* WARNA IKON */

.dashboard-stats .stat-laki .stat-icon {
    background: #dbeafe;
}

.dashboard-stats .stat-perempuan .stat-icon {
    background: #fce7f3;
}

.dashboard-stats .stat-total .stat-icon {
    background: #dcfce7;
}

/* TAMPILAN HP */

@media (max-width: 600px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* WARNA KARTU JUMLAH SISWA */

.dashboard-stats .stat-laki {
    background: #dbeafe !important;
    border: 1px solid #bfdbfe !important;
}

.dashboard-stats .stat-perempuan {
    background: #fce7f3 !important;
    border: 1px solid #fbcfe8 !important;
}

.dashboard-stats .stat-total {
    background: #dcfce7 !important;
    border: 1px solid #bbf7d0 !important;
}

/* WARNA IKON */

.dashboard-stats .stat-laki .stat-icon {
    background: #bfdbfe;
}

.dashboard-stats .stat-perempuan .stat-icon {
    background: #fbcfe8;
}

.dashboard-stats .stat-total .stat-icon {
    background: #bbf7d0;
}

/* IKON TANPA LATAR DAN BINGKAI */

.dashboard-stats .stat-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.dashboard-stats .stat-icon svg {
    width: 30px;
    height: 30px;
    display: block;
    fill: none !important;
    stroke: #64748b !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* WARNA GARIS IKON DASHBOARD */

.dashboard-stats .stat-laki .stat-icon svg {
    stroke: #2563eb !important;
}

.dashboard-stats .stat-perempuan .stat-icon svg {
    stroke: #ec4899 !important;
}

.dashboard-stats .stat-total .stat-icon svg {
    stroke: #16a34a !important;
}

/* PASTIKAN IKON HANYA BERUPA GARIS */

.dashboard-stats .stat-icon svg {
    fill: none !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* EFEK 3D IKON DASHBOARD */

.dashboard-stats .stat-icon svg {
    width: 34px;
    height: 34px;
    fill: none !important;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.25));
    transition: transform 0.25s ease, filter 0.25s ease;
}

/* IKON LAKI-LAKI - BIRU */
.dashboard-stats .stat-laki .stat-icon svg {
    stroke: #2563eb !important;
    filter: drop-shadow(1px 2px 2px #93c5fd);
}

/* IKON PEREMPUAN - PINK */
.dashboard-stats .stat-perempuan .stat-icon svg {
    stroke: #ec4899 !important;
    filter: drop-shadow(1px 2px 2px #f9a8d4);
}

/* IKON JUMLAH - HIJAU */
.dashboard-stats .stat-total .stat-icon svg {
    stroke: #16a34a !important;
    filter: drop-shadow(1px 2px 2px #86efac);
}

/* EFEK SAAT KURSOR DI ATAS KARTU */
.dashboard-stats .stat-box:hover .stat-icon svg {
    transform: translateY(-3px) scale(1.08);
}
/* KETERANGAN JUMLAH SISWA */

.dashboard-stats .stat-info h3 {
    font-size: 14px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.4;
    text-align: center;
    color: #193F75 !important;
}

/* =====================================
   DETAIL PENGATURAN AKUN
===================================== */

.isi-pengaturan-akun {
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 10px 0 20px;
}

.detail-akun,
.keamanan-akun {
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
}

.detail-akun h3,
.keamanan-akun h3 {
    margin: 0 0 18px;
    font-size: 16px;
    color: #193f75;
}

.baris-detail-akun {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f4;
}

.baris-detail-akun:last-child {
    border-bottom: none;
}

.baris-detail-akun span {
    color: #64748b;
    font-size: 14px;
}

.baris-detail-akun strong {
    color: #26374b;
    font-size: 14px;
    text-align: right;
}

/* ITEM UBAH PASSWORD */

.item-ubah-password {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e5eaf1;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.item-ubah-password:hover {
    background: #f5f8ff;
}

.item-ubah-password strong {
    color: #26374b;
    font-size: 14px;
}

.item-ubah-password p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 12px;
}

.item-ubah-password span {
    font-size: 22px;
    color: #2563eb;
}

/* FORM UBAH PASSWORD */

.form-ubah-password {
    padding: 18px;
    margin-top: 12px;
    background: #f8fafc;
    border-radius: 10px;
}

.form-ubah-password .form-group {
    margin-bottom: 15px;
}

.form-ubah-password label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.form-ubah-password input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-ubah-password input:focus {
    outline: none;
    border-color: #2563eb;
}

#tombolUbahPassword {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#pesanUbahPassword {
    font-size: 13px;
    margin-bottom: 0;
}

/* =====================================
   BINGKAI TAMBAH DATA DAN DAFTAR MURID
===================================== */

.kartu-tambah-murid,
.kartu-daftar-murid {
    background: #ffffff;
    border: 1px solid #d6e2f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 3px 12px rgba(25, 63, 117, 0.07);
}

/* HEADER TAMBAH DATA MURID */

.header-tambah-murid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 4px 3px;
    margin-bottom: 0;
    border-bottom: none;
    cursor: pointer;
}

.header-tambah-murid > div {
    flex: 1;
}

.header-tambah-murid h2,
.judul-daftar-murid h2 {
    margin: 0;
    color: #193f75;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.header-tambah-murid p,
.judul-daftar-murid p {
    margin: 6px 0 0;
    color: #718096;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

#panahTambahMurid {
    flex-shrink: 0;
    font-size: 24px;
    line-height: 1;
}

/* AREA FORM */

.isi-tambah-murid {
    padding-top: 0px;
    margin-bottom: 25px;
}

/* JUDUL DAFTAR MURID */

.judul-daftar-murid {
    padding-bottom: 15px;
    margin-bottom: 17px;
    border-bottom: 2px solid #e4edf7;
}

/* PENCARIAN */

.input-cari-murid {
    margin-bottom: 15px;
    border: 1px solid #d6e2f0;
    border-radius: 8px;
    padding: 11px 13px;
}

/* TABEL */

.kartu-daftar-murid .table-responsive {
    border: 1px solid #e1e9f2;
    border-radius: 9px;
    overflow-x: auto;
}
/* MERAPATKAN JUDUL DAN PENCARIAN QR CODE */

.table-box h2 {
    margin-bottom: 10px;
}

#cariQRCode {
    margin-top: 0;
    margin-bottom: 15px;
}

/* FORM INPUT ABSENSI MANUAL */
.absensi-manual-box .absensi-manual-form {
    width: 100%;
    max-width: 480px;
    margin: 12px 0 0;
}
.header-tambah-murid h2 {
    margin-bottom: 0 !important;
    line-height: 1.2;
}

.header-tambah-murid p {
    margin-top: 7px !important;
    margin-bottom: 0 !important;
    line-height: 1.2;
}
.judul-daftar-murid h2 {
    margin-bottom: 0 !important;
    line-height: 1.2;
}

.judul-daftar-murid p {
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    line-height: 1.3;
}

/* =====================================
   FORM IDENTITAS SEKOLAH
===================================== */

.isi-identitas-sekolah {
    width: 100%;
    max-width: 650px;
    margin: 12px 0 20px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e3eaf3;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(30, 70, 130, 0.07);
}

.isi-identitas-sekolah form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.isi-identitas-sekolah .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.isi-identitas-sekolah label {
    font-size: 13px;
    font-weight: 600;
    color: #34445b;
}

.isi-identitas-sekolah input {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    border: 1px solid #d8e1ed;
    border-radius: 7px;
    outline: none;
    background: #ffffff;
}

.isi-identitas-sekolah input:focus {
    border-color: #2878c8;
    box-shadow: 0 0 0 3px rgba(40, 120, 200, 0.10);
}

.isi-identitas-sekolah button {
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    background: #1769aa;
    border: none;
    border-radius: 7px;
    cursor: pointer;
}

.isi-identitas-sekolah button:hover {
    background: #12558d;
}

.isi-identitas-sekolah #pesanIdentitas {
    font-size: 12px;
    color: #52657c;
    margin: 0;
}
/* DAFTAR PENGGUNA MODEL KARTU */

.daftar-kartu-pengguna {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.kartu-pengguna {
    background: #ffffff;
    border: 1px solid #e1eaf4;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(30, 70, 110, 0.07);
    transition: 0.2s;
}

.kartu-pengguna:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(30, 70, 110, 0.12);
}

.kartu-pengguna-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ikon-kartu-pengguna {
    width: 44px;
    height: 44px;
    background: #eaf3ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ikon-kartu-pengguna svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #1769aa;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.info-kartu-pengguna {
    flex: 1;
    min-width: 0;
}

.info-kartu-pengguna h4 {
    margin: 0 0 4px;
    color: #243b53;
    font-size: 14px;
}

.nomor-pengguna {
    font-size: 11px;
    color: #8493a5;
}

.badge-peran {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.peran-admin {
    background: #e4f1ff;
    color: #1769aa;
}

.peran-guru {
    background: #e5f7ec;
    color: #21834a;
}

.detail-kartu-pengguna {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid #edf1f6;
}

.detail-kartu-pengguna div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-kartu-pengguna span {
    color: #8493a5;
    font-size: 11px;
}

.detail-kartu-pengguna strong {
    color: #304966;
    font-size: 13px;
}
/* =====================================
   FORM EDIT PENGGUNA
===================================== */

.form-edit-pengguna {
    background: #ffffff;
    border: 1px solid #dce8f5;
    border-radius: 16px;
    padding: 22px;
    margin-top: 20px;
    box-shadow: 0 5px 18px rgba(30, 70, 110, 0.08);
}

.form-edit-pengguna h3 {
    color: #1769aa;
    font-size: 19px;
    margin: 0 0 20px;
}

.form-edit-pengguna label {
    display: block;
    color: #344b63;
    font-size: 13px;
    font-weight: 600;
    margin: 14px 0 7px;
}

.form-edit-pengguna input,
.form-edit-pengguna select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #d5e0ec;
    border-radius: 9px;
    font-size: 14px;
    outline: none;
}

.form-edit-pengguna input:focus,
.form-edit-pengguna select:focus {
    border-color: #1769aa;
    box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.1);
}

.aksi-edit-pengguna {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.aksi-edit-pengguna button {
    padding: 11px 16px;
    border: none;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
}

#tombolSimpanEditPengguna {
    background: #1769aa;
    color: white;
}

#tombolBatalEditPengguna {
    background: #e9eef4;
    color: #40546a;
}

#pesanEditPengguna {
    font-size: 13px;
    margin-top: 12px;
}
/* =====================================
   TOMBOL EDIT KARTU PENGGUNA
===================================== */

.aksi-kartu-pengguna {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #edf1f6;
}

.tombol-edit-pengguna {
    min-width: 90px;
    padding: 9px 20px;
    border: none;
    border-radius: 8px;
    background: #1769aa;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 3px 0 #0b4387;
    transition: 0.2s;
}

.tombol-edit-pengguna:hover {
    background: #0f5997;
    transform: translateY(-1px);
}

.tombol-edit-pengguna:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #0b4387;
}
.tombol-hapus-pengguna {
    min-width: 90px;
    padding: 9px 20px;
    border: none;
    border-radius: 8px;
    background: #dc3545;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 3px 0 #a71d2a;
    transition: 0.2s;
}

.tombol-hapus-pengguna:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.tombol-hapus-pengguna:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #a71d2a;
}

.aksi-kartu-pengguna {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #edf1f6;
}
/* =====================================
   PANEL PENGATURAN NOTIFIKASI
===================================== */

.panel-notifikasi {
    background: #ffffff;
    border: 1px solid #e1eaf4;
    border-radius: 14px;
    padding: 22px;
    margin: 12px 0 20px;
    box-shadow: 0 4px 15px rgba(30, 80, 130, 0.07);
}

.panel-notifikasi h3 {
    color: #1769aa;
    font-size: 19px;
    margin-bottom: 6px;
}

.panel-notifikasi > p {
    color: #718096;
    font-size: 13px;
    margin-bottom: 18px;
}

.opsi-notifikasi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #edf1f5;
}

.opsi-notifikasi:last-child {
    border-bottom: none;
}

.opsi-notifikasi strong {
    display: block;
    color: #34445a;
    font-size: 14px;
    margin-bottom: 5px;
}

.opsi-notifikasi small {
    display: block;
    color: #8492a6;
    font-size: 12px;
}

/* Ukuran tombol pilihan */
.opsi-notifikasi input[type="checkbox"] {
    width: 19px;
    height: 19px;
    accent-color: #1769aa;
    cursor: pointer;
    flex-shrink: 0;
}

/* =================================
   PANEL BACKUP DATA
================================= */

.panel-backup-data {
    background: #ffffff;
    border: 1px solid #e1eaf4;
    border-radius: 14px;
    padding: 22px;
    margin: 12px 0 20px;
    box-shadow: 0 4px 15px rgba(30, 80, 130, 0.07);
}

.panel-backup-data h3 {
    margin: 0 0 8px;
    color: #173b65;
    font-size: 18px;
}

.panel-backup-data p {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 18px;
}

.aksi-backup,
.aksi-restore {
    margin-top: 16px;
}

.aksi-backup button,
.aksi-restore button {
    background: #1769aa;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 600;
}

.aksi-backup button:hover,
.aksi-restore button:hover {
    background: #0d508a;
}

.aksi-restore label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #334155;
}

.aksi-restore input {
    display: block;
    width: 100%;
    margin-bottom: 14px;
}

/* =================================
   PANEL TENTANG APLIKASI
================================= */

.panel-tentang {
    background: #ffffff;
    border: 1px solid #e1eaf4;
    border-radius: 14px;
    padding: 24px;
    margin: 12px 0 20px;
    box-shadow: 0 4px 15px rgba(30, 80, 130, 0.07);
}

.tentang-logo {
    text-align: center;
    padding: 10px 0 22px;
}

.tentang-logo img {
    width: 85px;
    height: 65px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.tentang-logo p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.tentang-informasi {
    border-top: 1px solid #e5edf5;
}

.baris-tentang {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #e5edf5;
    font-size: 13px;
}

.baris-tentang span {
    color: #64748b;
}

.baris-tentang strong {
    color: #173b65;
    text-align: right;
}

.tentang-deskripsi {
    margin-top: 22px;
    padding: 16px;
    background: #f1f7fd;
    border-radius: 10px;
}

.tentang-deskripsi h4 {
    color: #173b65;
    margin: 0 0 8px;
}

.tentang-deskripsi p {
    color: #52657a;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.tentang-footer {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    margin: 20px 0 0;
}
