* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', system-ui, Arial, sans-serif; background: #f2f4f8; color: #1a2433; }

.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 220px; flex: none; background: #15314e; color: #dce7f2;
  padding: 18px 0; position: sticky; top: 0; height: 100vh;
}
.brand { padding: 0 18px 14px 18px; border-bottom: 1px solid #2a4a6b; margin-bottom: 10px; }
.brand h1 { font-size: 16px; margin: 0; color: #fff; }
.brand small { color: #8fb4d6; }
.nav button {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  color: #cfe0ef; padding: 11px 18px; font-size: 14px; cursor: pointer;
}
.nav button:hover { background: #1d3f63; }
.nav button.aktif { background: #2e6da4; color: #fff; font-weight: 600; }
.sidebar .foot { position: absolute; bottom: 12px; left: 18px; right: 18px; font-size: 11px; color: #7da2c4; }

.main { flex: 1; padding: 22px 26px; max-width: 1100px; }
.view { display: none; }
.view.aktif { display: block; }
h2 { margin: 0 0 4px 0; font-size: 20px; }
.sub { color: #5b6b7d; margin: 0 0 18px 0; font-size: 13px; }

.cards { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.card {
  background: #fff; border-radius: 10px; padding: 14px 18px; min-width: 150px;
  box-shadow: 0 1px 3px rgba(20,40,70,.08);
}
.card .angka { font-size: 26px; font-weight: 700; color: #15314e; }
.card .ket { font-size: 12px; color: #5b6b7d; }

.panel { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(20,40,70,.08); margin-bottom: 16px; }
.panel h3 { margin: 0 0 10px 0; font-size: 15px; }

.btn {
  display: inline-block; background: #2e6da4; color: #fff; border: 0; border-radius: 7px;
  padding: 9px 16px; font-size: 14px; cursor: pointer; margin: 2px 6px 2px 0;
}
.btn:hover { background: #255a88; }
.btn.sekunder { background: #e4ebf2; color: #15314e; }
.btn.sekunder:hover { background: #d3deea; }
.btn.hijau { background: #2e8b57; }
input[type=file] { display: none; }

label.f { display: block; font-size: 12.5px; color: #44556a; margin: 8px 0 3px 0; }
input[type=text], select {
  width: 100%; max-width: 420px; padding: 8px 10px; border: 1px solid #c4cfdb;
  border-radius: 6px; font-size: 14px; background: #fff;
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; max-width: 900px; }

table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th { text-align: left; background: #eef2f7; padding: 7px 9px; border-bottom: 2px solid #d6dfe9; }
table.data td { padding: 6px 9px; border-bottom: 1px solid #edf1f6; }
table.data tr:hover td { background: #f6f9fc; }
table.data input, table.data select { max-width: none; padding: 5px 7px; font-size: 13px; }

.status-info { font-size: 13px; color: #2e6da4; margin-top: 8px; min-height: 18px; }
.peringatan { background: #fff6e0; border: 1px solid #efd48a; color: #7a5b00; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.cetak-ctrl { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.cetak-ctrl > div { min-width: 180px; }
.badge { display: inline-block; background: #e4ebf2; border-radius: 20px; padding: 2px 10px; font-size: 12px; margin: 2px 4px 2px 0; }
