/* --- GLOBAL --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #C1C1B8; /* Latar abu-abu desain */
    margin: 0;
}

/* --- SIDEBAR --- */
.sidebar {
    background: linear-gradient(180deg, #5D8F36 0%, #355321 100%);
    min-height: 100vh;
}

.sidebar .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* --- TAMPILAN BERANDA (TOMBOL DETAIL CENTER) --- */
.item-card {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Kunci agar isi kartu di tengah */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-detail {
    background-color: #28A745;
    color: white;
    border: none;
    padding: 8px 30px;
    border-radius: 6px;
    margin-top: auto; /* Mendorong ke bawah */
    width: fit-content; /* Biar tidak lebar penuh */
    text-align: center;
    font-weight: 600;
}

/* --- TAMPILAN TABEL PEMINJAMAN --- */
.custom-table {
    border: 2px solid #000 !important;
}

.custom-table thead th {
    background-color: #000 !important; /* Kepala tabel hitam */
    color: #fff !important;
    text-align: center;
    padding: 20px;
    text-transform: capitalize;
    border: 1px solid #333;
}

.custom-table tbody td {
    background-color: #D9D9D9 !important; /* Isi tabel abu-abu muda */
    height: 60px;
    vertical-align: middle;
    text-align: center;
    border: 2px solid #000;
}

/* Footer bar sesuai gambar 2 */
.footer-bar {
    background-color: #D9D9D9;
    height: 50px;
    width: 100%;
    border-radius: 5px;
}

/* --- STAT CARDS (Atas) --- */
.stat-card {
    background-color: #79AC31;
    color: white;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
}

.stat-card h1 {
    font-size: 3.5rem;
    font-weight: 800;
}