
body {
    margin: 0;
    padding: 0;
    background-color: #1e1e2f;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.navbar {
    z-index: 1050;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;.custom-navbar {
    background-color: #1e1e2f !important;
}
}
.navbar-brand { font-weight: bold; font-size: 1.25rem; }
footer {
    font-size: 0.9rem;
    background-color: #1f2937;
    color: #14b8a6;
    padding: 10px 0;
    text-align: center;
    /* no fixed-bottom */
}
.btn { border-radius: 0.5rem; }
.table th, .table td { vertical-align: middle !important; }
.sidebar {
    height: 100vh;
    position: fixed;
    top: 56px; /* height navbar */
    left: 0;
    width: 220px;
    background-color: #1e1e2f;
    padding-top: 20px;
    overflow-y: auto;
    z-index: 1000;
}
.sidebar a {
    display: block;
    color: #14b8a6;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
}
.sidebar a:hover { background-color: #374151; }
.content {
    margin-left: 220px;
    padding: calc(56px + 20px) 20px 20px 20px;
    background: url('../img/bg.png') no-repeat center center fixed;
    background-size: cover;
    min-height: calc(100vh - 56px);
    color: #fff;
    flex: 1;
}

.content h2 {
    margin-top: 0;
}
.bg-overlay {
    background: url('../img/bg.png') no-repeat center center fixed;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.6);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-box {
    background-color: rgba(31, 41, 55, 0.9);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    max-width: 400px;
    width: 100%;
}
.login-box h3 { color: #14b8a6; }
.form-control {
    background-color: #374151;
    border: none;
    color: #fff;
}
.form-control::placeholder { color: #9ca3af; }
.btn-login {
    background-color: #14b8a6;
    color: #fff;
    font-weight: bold;
    border-radius: 0.5rem;
    border: none;
}
.btn-login:hover {
    background-color: #12a097;
    color: #fff;
}
.input-group-text {
    background-color: #374151;
    border: none;
    color: #9ca3af;
}
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
    }
    .content { margin-left: 0; }
}
.custom-card {
    display: block;
    background-color: #374151 !important;
    color: #fff !important;
    border-radius: 0.5rem !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    padding: 2rem 1rem; /* Add padding supaya nampak card */
    text-align: center;
    text-decoration: none !important;
    height: 150px; /* fix height supaya semua card sama tinggi */
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-card:hover {
    background-color: #475569 !important;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4) !important;
}

.custom-card .card-title {
    color: #14b8a6 !important;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
}

