@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@400;500;700;900&display=swap');

:root {
    --utama: #2196f3;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Lexend Deca', sans-serif;
    background: aliceblue;
    color: #222;
}

.header-blue {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 160px;
    background: var(--utama);
    z-index: -1;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

.page-title {
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    padding-top: 20px;
    margin-bottom: 20px;
}

.card {
    background: #fff;
    border-radius: 15px;
    padding: 18px;
    margin-bottom: 14px;
    border-bottom: 3px solid #f1f1f1;
}

.card h3 {
    margin: 0 0 4px;
    font-weight: 900;
    font-size: 15px;
}

.card p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 14px;
    background: #fafafa;
}

.btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--utama);
    color: #fff;
    font-weight: 700;
    padding: 13px;
    border-radius: 12px;
    border: none;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.btn:active { opacity: 0.85; }

.btn-outline {
    background: #fff;
    color: var(--utama);
    border: 1px solid var(--utama);
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 14px;
}

.alert-error {
    background: #fdecea;
    color: #c62828;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.badge-hadir, .badge-selesai, .badge-aktif { background: #e8f5e9; color: #2e7d32; }
.badge-telat, .badge-proses, .badge-pending { background: #fff8e1; color: #f9a825; }
.badge-alpha, .badge-ditolak, .badge-nonaktif { background: #fdecea; color: #c62828; }
.badge-izin, .badge-belum { background: #e3f2fd; color: var(--utama); }

.saldo-box {
    background: var(--utama);
    color: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 16px;
}

.saldo-box .label { font-size: 12px; opacity: 0.85; }
.saldo-box .angka { font-size: 26px; font-weight: 900; margin-top: 4px; }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.menu-item {
    background: #fff;
    border-radius: 15px;
    padding: 14px 8px;
    text-align: center;
    text-decoration: none;
    color: #222;
    border-bottom: 3px solid #f1f1f1;
    font-size: 12px;
    font-weight: 700;
}

.menu-item .icon { font-size: 22px; display: block; margin-bottom: 6px; }