body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden; /* Mencegah scroll horizontal */
}

#wrapper {
    display: flex;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    transition: margin .25s ease-out;
    width: 15rem;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

#sidebar-wrapper .sidebar-heading {
    padding: 1.25rem;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

#sidebar-wrapper .list-group {
    width: 100%;
}

#sidebar-wrapper .list-group-item {
    padding: 1rem 1.25rem;
    color: rgba(255,255,255,.7);
    border-color: rgba(255,255,255,.1);
}

#sidebar-wrapper .list-group-item.active {
    background-color: #0d6efd !important; /* Warna biru Bootstrap */
    color: white !important;
    font-weight: 500;
}

#sidebar-wrapper .list-group-item:hover {
    color: white;
    background-color: #495057;
}

#page-content-wrapper {
    min-width: 100vw;
    flex-grow: 1;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }
    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }
    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

/* Card Styling */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: none;
}

.card-header {
    background-color: #0d6efd;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 600;
}

/* Table Styling */
.table {
    font-size: 0.9rem;
}

.table thead th {
    background-color: #e9ecef;
    color: #495057;
    font-weight: 600;
}

/* Form Styling */
.form-control, .btn {
    border-radius: 8px;
}

/* Alert Styling */
.alert {
    border-radius: 8px;
    font-size: 0.95rem;
}

/* Login Page Specific Styling */
.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
}
.login-box h2 {
    color: #0d6efd;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}
.login-box .form-control {
    height: 48px;
    font-size: 1.1rem;
}
.login-box .btn-primary {
    height: 50px;
    font-size: 1.2rem;
    font-weight: 600;
}