@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    margin: 0;
    display: flex;
    overflow-x: hidden;
}

/* SIDEBAR - Logo & Navigasi Melayang */
.sidebar-container {
    width: 280px;
    height: 100vh;
    position: fixed;
    left: 30px;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 0;
    background: transparent;
    z-index: 1000;
}

.sidebar-logo {
    width: 100%;
    max-width: 240px; 
    margin: 0 auto 20px auto;
    display: block;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-link-custom {
    display: block;
    padding: 18px;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    border: 4px solid #000;
    border-radius: 15px;
    background: #fff;
    transition: 0.2s;
}

.nav-link-custom.active {
    background-color: #e0e0e0;
    box-shadow: 6px 6px 0px #000;
    transform: translate(-3px, -3px);
}

/* PROFILE BOX - Fix Foto Profil 3x4 */
.profile-box {
    background-color: #a0bbe1;
    border: 4px solid #000;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-pic-sm {
    width: 50px;
    height: 65px;
    object-fit: cover;
    border: 3px solid #000;
    border-radius: 8px;
}

/* MAIN CONTENT AREA */
.main-content {
    margin-left: 350px;
    padding: 50px;
    width: calc(100% - 350px);
}

/* LAYOUT KONTEN SIMETRIS */
.stats-row {
    display: flex;
    gap: 25px;
    align-items: stretch;
    margin-bottom: 25px;
}

.box-statistik, .box-grafik, .box-bawah {
    border: 4px solid #000;
    border-radius: 35px;
    padding: 30px;
    background: #fff;
}

.box-statistik { flex: 1; }
.box-grafik { flex: 2; min-height: 350px; }

/* TYPOGRAPHY */
.stat-label { font-weight: 800; font-size: 14px; text-transform: uppercase; }
.stat-number { font-size: 70px; font-weight: 800; line-height: 1; margin: 15px 0; }

/* TABEL - Rapi & Bold */
.table-responsive { border-radius: 25px; overflow: hidden; border: 3px solid #000; }
.table { margin: 0; width: 100%; border-collapse: collapse; }
.table thead { background-color: #000; color: #fff; }
.table th { padding: 20px; font-weight: 800; text-transform: uppercase; border: none; }
.table td { padding: 18px; border-bottom: 2px solid #eee; font-weight: 600; vertical-align: middle; }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .sidebar-container { position: relative; width: 100%; height: auto; left: 0; padding: 20px; flex-direction: row; flex-wrap: wrap; }
    .main-content { margin-left: 0; width: 100%; padding: 20px; }
    .stats-row { flex-direction: column; }
}