/* resources/css/modern-adminlte.css */

/* 1. FONT UTAMA (Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif !important;
    background-color: #F5F8FA !important; /* Warna background khas Metronic */
    color: #181C32;
}

/* 2. CARD (Kotak Konten) - Dibuat Lebih "Clean" */
.card {
    box-shadow: 0px 0px 20px 0px rgba(76, 87, 125, 0.02) !important; /* Bayangan sangat halus */
    border: none !important;
    border-radius: 0.65rem !important; /* Sudut membulat */
    margin-bottom: 2rem;
}

.card-header {
    background-color: transparent !important;
    border-bottom: 1px dashed #eff2f5 !important; /* Garis putus-putus halus */
    padding: 1.5rem 2.25rem !important;
}

.card-title {
    font-weight: 600 !important;
    color: #181C32 !important;
    font-size: 1.15rem !important;
}

/* 3. SIDEBAR (Menu) */
.main-sidebar {
    box-shadow: none !important;
    border-right: 1px solid #EFF2F5;
    background-color: #1e1e2d !important; /* Metronic Dark Sidebar */
}

/* Menu Item Aktif - Style Highlight Khas Metronic */
.nav-pills .nav-link.active, 
.nav-pills .show > .nav-link {
    background-color: #2b2b40 !important; /* Sedikit lebih terang dari sidebar */
    color: #FFFFFF !important;
    border-left: 3px solid #009EF7; /* Aksen biru di kiri */
    border-radius: 4px !important;
}

.nav-link {
    font-weight: 500;
    color: #9899ac !important; /* Text abu-abu */
    padding: 10px 15px !important;
}

.nav-link:hover {
    color: #ffffff !important;
}

/* 4. NAVBAR (Header Atas) */
.main-header {
    border-bottom: 1px solid #eff2f5 !important;
    box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.05) !important;
    background-color: #ffffff !important;
    height: 65px; /* Sedikit lebih tinggi */
}

/* 5. TOMBOL (Buttons) */
.btn {
    border-radius: 0.45rem !important; /* Tombol membulat */
    font-weight: 500 !important;
    padding: 0.55rem 1.25rem !important;
    border: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background-color: #009EF7 !important; /* Biru Metronic */
}

.btn-success {
    background-color: #50CD89 !important; /* Hijau Metronic */
}

.btn-danger {
    background-color: #F1416C !important; /* Merah Metronic */
}

.btn-warning {
    background-color: #FFC700 !important; /* Kuning Metronic */
    color: #ffffff !important;
}

/* 6. FORM INPUT */
.form-control {
    background-color: #F5F8FA !important; /* Input background abu-abu muda */
    border: 1px solid #F5F8FA !important; /* Borderless look */
    border-radius: 0.45rem !important;
    padding: 0.75rem 1rem !important;
    color: #5E6278 !important;
    font-weight: 500;
    height: auto !important; /* Biar padding bekerja */
}

.form-control:focus {
    background-color: #eef3f7 !important;
    border-color: #eef3f7 !important;
    color: #5E6278 !important;
}

/* 7. TABEL */
.table thead th {
    font-weight: 600;
    color: #B5B5C3; /* Header abu-abu pudar */
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
    border-bottom: 1px dashed #eff2f5 !important;
}

.table td {
    vertical-align: middle;
    color: #3F4254;
    font-weight: 500;
    border-top: 1px dashed #eff2f5 !important; /* Garis pemisah putus-putus */
    padding: 1rem 0.75rem !important;
}