:root {
    --primary-color: #0b2545;
    --secondary-color: #134074;
    --accent-color: #0077b6;
    --highlight-color: #e0fbfc;
    --text-dark: #1d3557;
    --white: #ffffff;
    --gray-bg: #f1f5f9;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { color: var(--text-dark); background: var(--gray-bg); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }

header { background: var(--primary-color); color: var(--white); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.1); position: sticky; top: 0; z-index: 1000; }
.logo-area { display: flex; align-items: center; gap: 15px; color: inherit; text-decoration: none; }
.logo-img { width: 45px; height: 45px; object-fit: contain; }
.logo-text h1 { font-size: 1.1rem; font-weight: 700; letter-spacing: .5px; }
.logo-text span { font-size: .8rem; color: #90e0ef; }
nav ul { display: flex; list-style: none; gap: 18px; align-items: center; }
nav ul li a { color: var(--white); text-decoration: none; font-size: .88rem; font-weight: 500; white-space: nowrap; }
nav ul li a:hover { color: #90e0ef; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 1100px) {
    .menu-toggle { display: block; }
    nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary-color); padding: 20px 5%; box-shadow: 0 5px 15px rgba(0,0,0,.3); }
    nav.active { display: block; }
    nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
}

.wrap { width: 100%; max-width: 460px; margin: 50px auto; padding: 0 20px; flex: 1; }
.wrap-wide { width: 100%; max-width: 1200px; margin: 35px auto; padding: 0 20px; flex: 1; }

.card { background: var(--white); border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,.08); padding: 32px; border-top: 4px solid var(--accent-color); margin-bottom: 24px; }
.card h2 { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.card h2 i { color: var(--accent-color); }
.card .sub { color: #64748b; font-size: .9rem; margin-bottom: 22px; }
.card h3 { font-size: 1.05rem; color: var(--primary-color); margin-bottom: 14px; }

label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: #334155; }
input[type=text], input[type=email], input[type=password], input[type=tel], select {
    width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 7px; font-size: .92rem; margin-bottom: 16px; background: #fff;
}
input:focus, select:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(0,119,182,.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.hint { font-size: .78rem; color: #64748b; margin: -10px 0 16px; }
.hp { position: absolute; left: -9999px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent-color); color: #fff; border: 0; border-radius: 7px; padding: 11px 18px; font-size: .92rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--secondary-color); }
.btn-block { width: 100%; }
.btn-sm { padding: 5px 10px; font-size: .75rem; border-radius: 5px; }
.btn-green { background: #059669; } .btn-green:hover { background: #047857; }
.btn-red { background: #dc2626; } .btn-red:hover { background: #b91c1c; }
.btn-gray { background: #64748b; } .btn-gray:hover { background: #475569; }
.btn-amber { background: #d97706; } .btn-amber:hover { background: #b45309; }

.alt { text-align: center; margin-top: 18px; font-size: .88rem; color: #475569; }
.alt a { color: var(--accent-color); font-weight: 600; text-decoration: none; }

.alert { padding: 12px 15px; border-radius: 8px; font-size: .88rem; margin-bottom: 18px; border: 1px solid; }
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 7px 14px; border-radius: 20px; background: #e2e8f0; color: #334155; text-decoration: none; font-size: .82rem; font-weight: 600; }
.tabs a.on { background: var(--primary-color); color: #fff; }
.tabs .count { background: #dc2626; color: #fff; border-radius: 10px; padding: 0 7px; margin-left: 4px; font-size: .72rem; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .83rem; }
th { text-align: left; background: #f8fafc; color: #475569; font-size: .74rem; text-transform: uppercase; letter-spacing: .4px; padding: 10px; border-bottom: 2px solid #e2e8f0; }
td { padding: 10px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
td .muted { color: #64748b; font-size: .76rem; }
td form { display: inline; }
.actions { display: flex; gap: 5px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: .72rem; font-weight: 700; }
.b-aktif { background: #dcfce7; color: #166534; }
.b-menunggu { background: #fef3c7; color: #92400e; }
.b-nonaktif { background: #e2e8f0; color: #475569; }
.b-admin { background: #dbeafe; color: #1e40af; }

dl.info { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; font-size: .9rem; }
dl.info dt { color: #64748b; }
dl.info dd { font-weight: 500; }

.mini-footer { text-align: center; padding: 20px; font-size: .8rem; color: #94a3b8; background: var(--primary-color); }
