/* ========================================
   GAYA UMUM
   ======================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    color: #2E7D32; /* Hijau islami */
}

/* ========================================
   SIDEBAR HIJAU ISLAMI
   ======================================== */
.sidebar {
    min-height: calc(100vh - 56px);
    background-color: #2E7D32; /* Hijau islami */
    border-right: 1px solid #1B5E20; /* Hijau tua */
    position: fixed;
    top: 56px;
    left: 0;
    z-index: 1000;
    width: 250px;
    transition: left 0.3s;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: background-color 0.2s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #388E3C; /* Hijau hover */
    color: white !important;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

.sidebar h5 {
    color: white;
    font-weight: bold;
}

.sidebar small {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   KONTEN UTAMA
   ======================================== */
.content {
    min-height: calc(100vh - 56px);
    margin-left: 250px;
    padding-top: 20px;
    transition: margin-left 0.3s;
}

/* ========================================
   DASHBOARD CARDS
   ======================================== */
.card-dashboard {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.card-dashboard:hover {
    transform: translateY(-5px);
}

/* ========================================
   CARD UMUM
   ======================================== */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: none;
}

/* ========================================
   TABEL
   ======================================== */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ========================================
   FORM & TOMBOL
   ======================================== */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.btn {
    border-radius: 5px;
}

/* ========================================
   HERO SECTION (LANDING PAGE)
   ======================================== */
.hero {
    background: linear-gradient(135deg, #2E7D32 0%, #388E3C 100%); /* Hijau islami */
    color: white;
    padding: 60px 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
}

/* ========================================
   LAPORAN GRAFIK SEDERHANA
   ======================================== */
.bar {
    height: 20px;
    background-color: #388E3C; /* Hijau terang */
    border-radius: 4px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.8rem;
    padding-left: 10px;
}

/* ========================================
   RESPONSIF
   ======================================== */
@media (max-width: 992px) {
    .sidebar {
        left: -250px;
    }
    .sidebar.show {
        left: 0;
    }
    .content {
        margin-left: 0;
    }
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    margin-top: auto;
}