body { background-color: #f4f6f9; overflow-x: hidden; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* Login Wrapper */
.login-wrapper { display: flex; justify-content: center; align-items: center; height: 100vh; background: #e9ecef; }

/* Sidebar */
.sidebar { width: 250px; height: 100vh; position: fixed; top: 0; left: 0; background: #343a40; color: white; z-index: 100; }
/*.sidebar-header { padding: 20px; font-size: 20px; font-weight: bold; background: #2c3136; border-bottom: 1px solid #444; text-align: center; }*/
.sidebar-header { 
    height: 60px; /* Samakan dengan tinggi topbar */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px; 
    font-weight: bold; 
    background: #2c3136; 
    border-bottom: 1px solid #444; 
}
/* Main Content */
.main-content { margin-left: 250px; min-height: 100vh; display: flex; flex-direction: column; }

/* Topbar */
.topbar { 
    height: 60px; 
    /* Perubahan No. 5: Warna Topbar RGB(249, 177, 21) */
    background-color: rgb(249, 177, 21); 
    color: #333; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px; 
    /* Menghilangkan margin-left karena main-content sudah punya margin-left */
    width: 100%; 
}
/* Tombol logout di topbar disesuaikan dengan warna background baru */
.topbar button.btn-outline-dark:hover { background: #333; color: rgb(249, 177, 21); }
/* Override tombol dropdown di topbar agar transparan */
.topbar .dropdown-toggle {
    box-shadow: none !important;
}
.topbar .dropdown-toggle:hover {
    opacity: 0.8;
}
/* Mengatur agar menu dropdown tidak terlalu lebar */
.dropdown-menu {
    min-width: 200px;
}
/* Content Area */
.content-area { padding: 20px; flex: 1; }

/* Custom Modal Overlay */
.custom-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 1050; }
.custom-modal-content { background: white; width: 90%; max-width: 600px; border-radius: 8px; padding: 25px; }