/* Portal Orang Tua - tampilan sederhana, ramah cetak */
* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 24px 16px 48px;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 14px;
  color: #1f2933;
  background: #eef2f7;
}

.kartu {
  max-width: 520px;
  margin: 32px auto;
  background: #fff;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
}

.kartu.lebar { max-width: 900px; }

h1 { font-size: 20px; margin: 0 0 4px; }
h2 { font-size: 15px; margin: 22px 0 8px; color: #334e68; }
.sub { margin: 0 0 18px; color: #627d98; font-size: 13px; }

label { display: block; margin: 14px 0 4px; font-weight: 600; font-size: 13px; }

input[type=text] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bcccdc;
  border-radius: 6px;
  font-size: 15px;
}

button, .tombol {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: #2f80ed;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

button:hover, .tombol:hover { background: #1c6fd6; }

.pesan-galat {
  margin: 12px 0;
  padding: 10px 12px;
  background: #fdecea;
  border: 1px solid #f5c2c0;
  border-radius: 6px;
  color: #a01722;
}

.kepala { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.aksi button, .aksi .tombol { margin-top: 0; }
.aksi .tombol { background: #627d98; }
.aksi .tombol:hover { background: #486581; }

.tabel, .identitas { width: 100%; border-collapse: collapse; margin-top: 6px; }
.identitas td { padding: 4px 6px; vertical-align: top; }
.identitas td.label { width: 150px; color: #627d98; }

.tabel th, .tabel td { border: 1px solid #d7dee8; padding: 8px 10px; text-align: left; vertical-align: top; }
.tabel th { background: #f0f4f8; font-size: 13px; }
.tabel td.nilai { white-space: nowrap; }
.tabel td.label { color: #334e68; }
.tabel td.ket { color: #627d98; font-size: 13px; }
.kode { font-family: Consolas, monospace; font-size: 15px; letter-spacing: .5px; }

.status { margin: 16px 0 4px; padding: 12px 14px; border-radius: 6px; font-size: 15px; }
.status.lunas { background: #e6f4ea; border: 1px solid #b7e1c1; color: #17663a; }
.status.belum { background: #fdecea; border: 1px solid #f5c2c0; color: #a01722; }

.kecil { color: #829ab1; font-size: 12px; margin-top: 18px; }

@media print {
  body { background: #fff; padding: 0; }
  .kartu { margin: 0; box-shadow: none; border: 0; max-width: none; }
  .aksi { display: none; }
}
