/* Menggunakan pseudo-element untuk animasi background yang halus tanpa membuat scrollbar bocor */
body {
    margin: 0;
    padding-bottom: 70px; /* Space untuk bottom navbar */
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f172a; /* Warna dasar */
    overflow-x: hidden;
}

.admin-dashboard {
    max-width: 100%;
    overflow-x: hidden;
}

.admin-dashboard .alert {
    overflow-wrap: break-word;
}

.admin-dashboard .table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-dashboard table {
    min-width: 680px;
}

/* Background Samar Beranimasi */
body::before {
    content: "";
    position: fixed;
    top: -10%; left: -10%;
    width: 120%; height: 120%; /* Sedikit lebih besar agar saat zoom tidak terpotong layar */
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), url('../img/gedung.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
    /* Animasi: durasi 20 detik, tak terbatas, bolak-balik dengan mulus */
    animation: smoothZoom 20s infinite alternate ease-in-out;
}

@keyframes smoothZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); } /* Zoom sebesar 10% */
}

/* Glassmorphism Card Style - Desain Elegan Modern */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Form Input Kustom */
.form-control::placeholder { color: rgba(255,255,255,0.5) !important; }
.form-control:focus {
    background-color: rgba(0,0,0,0.3) !important;
    color: white !important;
    border-color: #0dcaf0 !important;
    box-shadow: 0 0 10px rgba(13, 202, 240, 0.5);
}

/* Custom Bottom Navbar */
.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.fixed-bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
}

.bottom-navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 0.5rem;
}

.nav-item-bottom {
    flex: 1;
    text-align: center;
    color: #94a3b8;
    font-size: 0.75rem;
    text-decoration: none;
    padding: 12px 0;
    transition: all 0.3s ease;
    display: block;
}

.nav-item-bottom:hover, .nav-item-bottom.active {
    color: #38bdf8;
    transform: translateY(-3px); /* Sedikit naik saat diklik/hover */
}

.nav-item-bottom i {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 3px;
}

.nav-pills-custom {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    white-space: nowrap;
}

.nav-pills-custom .nav-link {
    color: #dbeafe;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    margin-right: 0.5rem;
}

.nav-pills-custom .nav-link.active {
    background: #0dcaf0;
    color: #0f172a;
    font-weight: 600;
}

.tab-pane {
    display: none;
}

.tab-pane.active,
.tab-pane.show {
    display: block;
}