body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
}

/* --- LOGIN PAGE --- */
.login-bg {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}
.login-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    width: 320px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}
.login-box input {
    width: 90%;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 6px;
}
.login-box button {
    width: 95%;
    padding: 10px;
    background: #00bcd4;
    border: none;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}
.login-box button:hover {
    background: #0097a7;
}
.error { color: #ff6666; }

/* --- DASHBOARD --- */
.dashboard-bg {
    display: flex;
    background: #f3f4f6;
    min-height: 100vh;
}
.sidebar {
    width: 220px;
    background: #1e293b;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.sidebar a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 8px 0;
    display: block;
}
.sidebar a:hover {
    color: #00bcd4;
}
.sidebar .logout {
    margin-top: auto;
    color: #ef4444;
}
.main-content {
    flex: 1;
    padding: 20px;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background: #0f172a;
    color: white;
}
.progress {
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}
.bar {
    color: white;
    text-align: center;
    font-size: 12px;
    height: 20px;
}
.bar.ontrack { background: #10b981; }  /* Hijau */
.bar.delay { background: #f87171; }    /* Merah */
.bar.done { background: #3b82f6; }     /* Biru */
.ontrack { color: #10b981; font-weight: bold; }
.delay { color: #ef4444; font-weight: bold; }
.done { color: #3b82f6; font-weight: bold; }

