/* ============================================================
   SPPG JEUNGJING — PORTAL RELAWAN
   Stylesheet khusus Portal (index.html) & halaman placeholder.
   Sengaja dipisah dari style.css agar halaman Absensi & Admin
   yang sudah berjalan tidak tersentuh sama sekali.
   Memakai variabel warna/radius/shadow yang sama dari style.css
   (di-load lebih dulu) supaya identitas visual tetap konsisten.
============================================================ */

.portal-main {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* --- Kartu sapaan --- */
.portal-greeting {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 18px;
}
.portal-greeting-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.portal-greeting h2 {
  font-size: 17px;
  margin: 0;
  color: var(--color-navy);
}
.portal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-success-bg);
  color: var(--color-success);
  white-space: nowrap;
}
.portal-status-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
}
.portal-greeting p {
  margin: 0;
  font-size: 13.5px;
  color: var(--color-text-muted);
}

/* --- Identitas satuan --- */
.portal-identity {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin: -6px 0 20px;
  line-height: 1.5;
}
.portal-identity strong { color: var(--color-navy); }

/* --- Akses cepat: Absensi --- */
.portal-quick-action {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--color-sky) 0%, var(--color-sky-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: #fff;
  transition: transform .15s ease;
}
.portal-quick-action:active { transform: scale(0.98); }
.portal-quick-action-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portal-quick-action-icon svg { width: 24px; height: 24px; }
.portal-quick-action-text h3 { margin: 0 0 2px; font-size: 15px; }
.portal-quick-action-text p { margin: 0; font-size: 12.5px; opacity: 0.88; }
.portal-quick-action-arrow { margin-left: auto; flex-shrink: 0; opacity: 0.8; }

/* --- Judul seksi --- */
.portal-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 10px 4px;
}

/* --- Grid menu --- */
.portal-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.portal-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 8px;
  text-decoration: none;
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.portal-menu-item:active { transform: scale(0.96); }
.portal-menu-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--color-sky-soft);
  color: var(--color-sky-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portal-menu-item-icon svg { width: 20px; height: 20px; }
.portal-menu-item span {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
}
.portal-menu-item--logout .portal-menu-item-icon {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

/* --- Info/pengumuman --- */
.portal-info-card {
  background: var(--color-gold-soft);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.portal-info-card svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-gold-deep); margin-top: 1px; }
.portal-info-card h4 { margin: 0 0 3px; font-size: 13.5px; color: var(--color-navy); }
.portal-info-card p { margin: 0; font-size: 12.5px; color: var(--color-text-muted); line-height: 1.5; }

@media (min-width: 640px) {
  .portal-main { max-width: 620px; padding-top: 28px; }
  .portal-menu-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
}

/* ============================================================
   HALAMAN PLACEHOLDER (Profil, Riwayat, Jadwal, dst.)
============================================================ */
.placeholder-main {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}
.placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-sky-soft);
  color: var(--color-sky-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.placeholder-icon svg { width: 30px; height: 30px; }
.placeholder-main h2 { font-size: 18px; margin: 0 0 8px; color: var(--color-navy); }
.placeholder-main p { font-size: 13.5px; color: var(--color-text-muted); margin: 0 0 24px; line-height: 1.6; }
.placeholder-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-sky);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
}

/* ============================================================
   LOGIN & PROFIL RELAWAN
============================================================ */
.auth-main {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px 40px;
}
.auth-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
}
.auth-card h2 { margin: 0 0 4px; font-size: 17px; color: var(--color-navy); }
.auth-card .auth-sub { margin: 0 0 18px; font-size: 13px; color: var(--color-text-muted); }

.password-field { position: relative; }
.password-toggle {
  position: absolute;
  right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; padding: 8px;
  color: var(--color-text-muted); font-size: 12px; font-weight: 700;
  cursor: pointer;
}

.profile-identity-list { margin-bottom: 18px; }
.profile-identity-row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--color-border);
  font-size: 13.5px;
}
.profile-identity-row:last-child { border-bottom: none; }
.profile-identity-row span:first-child { color: var(--color-text-muted); }
.profile-identity-row span:last-child { font-weight: 700; color: var(--color-navy); text-align: right; }

.profile-section-title {
  font-size: 13px; font-weight: 700; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: .04em;
  margin: 22px 0 10px 2px;
}
.btn-outline {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.btn-danger-outline {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-danger);
  background: transparent;
  color: var(--color-danger);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
}
.must-change-banner {
  background: var(--color-gold-soft);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--color-navy);
  margin-bottom: 16px;
  line-height: 1.5;
}
.toast.toast-success { background: var(--color-success); }

/* ============================================================
   RIWAYAT ABSENSI (Modul Dashboard Relawan #2)
============================================================ */
.riwayat-list { display: flex; flex-direction: column; gap: 8px; }
.riwayat-item {
  display: flex; gap: 14px; align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.riwayat-item-date { flex-shrink: 0; width: 56px; text-align: center; }
.riwayat-day-name { display: block; font-size: 10.5px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .03em; }
.riwayat-day-num { display: block; font-size: 15px; font-weight: 800; color: var(--color-navy); margin-top: 1px; }
.riwayat-item-detail { flex: 1; min-width: 0; }
.riwayat-item-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.riwayat-item-jam { font-size: 12px; color: var(--color-text-muted); }
.riwayat-item-ket { font-size: 11.5px; color: var(--color-text-muted); font-style: italic; margin-top: 2px; }

.riwayat-badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; }
.riwayat-badge.hadir { background: var(--color-success-bg); color: var(--color-success); }
.riwayat-badge.terlambat { background: var(--color-warning-bg); color: var(--color-warning); }
.riwayat-badge.izin { background: var(--color-info-bg); color: var(--color-info); }
.riwayat-badge.sakit { background: var(--color-danger-bg); color: var(--color-danger); }
.riwayat-badge.tidak-hadir { background: var(--color-muted-bg); color: var(--color-muted-text); }

/* ============================================================
   BANTUAN
============================================================ */
.bantuan-group-title { font-size: 13px; font-weight: 800; color: var(--color-navy); margin: 20px 4px 8px; }
.bantuan-group-title:first-child { margin-top: 0; }
.bantuan-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
.bantuan-item summary {
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
}
.bantuan-item summary::-webkit-details-marker { display: none; }
.bantuan-item summary::after { content: '+'; float: right; color: var(--color-text-muted); font-weight: 700; }
.bantuan-item[open] summary::after { content: '−'; }
.bantuan-item-body { padding: 0 14px 14px; font-size: 13px; color: var(--color-text-muted); line-height: 1.6; }
.bantuan-contact {
  background: var(--color-sky-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-top: 6px;
}
.bantuan-contact p { margin: 0 0 10px; font-size: 13px; color: var(--color-navy); }

/* ============================================================
   INFORMASI (Modul #4)
============================================================ */
.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.info-card-date { font-size: 11px; color: var(--color-text-muted); margin-bottom: 4px; }
.info-card-title { font-size: 14px; font-weight: 700; color: var(--color-navy); margin: 0 0 6px; }
.info-card-body { font-size: 13px; color: var(--color-text); line-height: 1.6; white-space: pre-wrap; }

/* ============================================================
   JADWAL & PENUGASAN (Modul #5)
============================================================ */
.jadwal-card {
  display: flex; gap: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.jadwal-card-date { flex-shrink: 0; width: 58px; text-align: center; }
.jadwal-card-day { display: block; font-size: 10.5px; color: var(--color-text-muted); text-transform: uppercase; }
.jadwal-card-num { display: block; font-size: 15px; font-weight: 800; color: var(--color-navy); margin-top: 1px; }
.jadwal-card-time { display: block; font-size: 11px; color: var(--color-sky-deep); font-weight: 700; margin-top: 4px; }
.jadwal-card-body { flex: 1; min-width: 0; }
.jadwal-card-title { font-size: 13.5px; font-weight: 700; color: var(--color-navy); margin: 0 0 4px; }
.jadwal-card-ket { font-size: 12px; color: var(--color-text-muted); margin: 0 0 6px; }
.jadwal-card-status { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 10.5px; font-weight: 700; }
.jadwal-card-status.Terjadwal { background: var(--color-info-bg); color: var(--color-info); }
.jadwal-card-status.Selesai { background: var(--color-success-bg); color: var(--color-success); }
.jadwal-card-status.Dibatalkan { background: var(--color-muted-bg); color: var(--color-muted-text); }

/* ============================================================
   MENU PENGATURAN (kartu pilihan, dipakai di Profil & Pengaturan Akun)
============================================================ */
.settings-section-title {
  font-size: 13px; font-weight: 700; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: .04em;
  margin: 18px 4px 10px;
}
.settings-menu-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.settings-menu-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--color-text);
  transition: transform .12s ease;
}
.settings-menu-item:active { transform: scale(0.98); }
.settings-menu-item-icon {
  flex-shrink: 0; width: 42px; height: 42px;
  border-radius: var(--radius-pill);
  background: var(--color-sky-soft);
  color: var(--color-sky-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.settings-menu-item-text { flex: 1; min-width: 0; }
.settings-menu-item-title { font-size: 14px; font-weight: 700; color: var(--color-navy); margin: 0; }
.settings-menu-item-desc { font-size: 12px; color: var(--color-text-muted); margin: 2px 0 0; }
.settings-menu-item-arrow { flex-shrink: 0; color: var(--color-text-muted); font-size: 16px; }

/* ============================================================
   SUBHEADER NAVIGASI (untuk halaman turunan, mis. Pengaturan Akun, Ganti Password)
============================================================ */
.page-subheader {
  display: flex; align-items: center; gap: 12px;
  max-width: var(--max-width); margin: 0 auto;
  padding: 16px 16px 0;
  position: relative; z-index: 1;
}
.page-subheader-back {
  display: inline-flex; align-items: center; gap: 5px;
  flex-shrink: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  color: var(--color-navy);
  font-size: 12.5px; font-weight: 700;
  text-decoration: none;
}
.page-subheader-title { font-size: 16px; font-weight: 800; color: var(--color-navy); margin: 0; }

/* ============================================================
   ABSENSI — SELFIE + GPS (Fase 5)
============================================================ */
.absensi-card { margin-bottom: 16px; }
.absensi-identity { display: flex; align-items: center; gap: 12px; }
.absensi-identity-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-sky), var(--color-sky-deep));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
}
.absensi-identity-text strong { display: block; color: var(--color-navy); font-size: 14.5px; }
.absensi-identity-text span { font-size: 12px; color: var(--color-text-muted); }

.absensi-jenis-label {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 11.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  background: var(--color-sky-soft); color: var(--color-sky-deep); margin-bottom: 8px;
}

.absensi-camera-box {
  position: relative; width: 100%; aspect-ratio: 3/4; max-height: 340px;
  border-radius: var(--radius-md); overflow: hidden; background: #0b1520;
  display: flex; align-items: center; justify-content: center;
}
.absensi-camera-box video, .absensi-camera-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.absensi-camera-placeholder { color: rgba(255,255,255,0.75); font-size: 13px; text-align: center; padding: 20px; line-height: 1.6; }
.absensi-camera-actions { display: flex; gap: 10px; margin-top: 10px; }
.absensi-camera-actions button { flex: 1; }

.absensi-gps-row {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--color-muted-bg); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 13px; color: var(--color-text); line-height: 1.5;
}
.absensi-gps-row.ok { background: var(--color-success-bg); color: var(--color-success); }
.absensi-gps-row.bad { background: var(--color-danger-bg); color: var(--color-danger); }
.absensi-gps-retry { background: none; border: none; text-decoration: underline; font-weight: 700; cursor: pointer; color: inherit; font-size: 12.5px; padding: 0; margin-top: 4px; }

.absensi-zone-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px;
  border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; margin-top: 8px;
}
.absensi-zone-badge.ok { background: var(--color-success-bg); color: var(--color-success); }
.absensi-zone-badge.bad { background: var(--color-danger-bg); color: var(--color-danger); }

.absensi-empty { text-align: center; padding: 30px 16px; color: var(--color-text-muted); font-size: 13.5px; line-height: 1.6; }

.absensi-detail-photos { display: flex; gap: 12px; margin-top: 10px; }
.absensi-detail-photo { flex: 1; text-align: center; }
.absensi-detail-photo img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
}
.absensi-detail-photo span { display: block; font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }

.absensi-izin-link {
  display: block; text-align: center; font-size: 12.5px; color: var(--color-text-muted);
  text-decoration: underline; margin-top: 4px; background: none; border: none; width: 100%; cursor: pointer;
  font-family: var(--font-main);
}

.absensi-textarea {
  width: 100%; box-sizing: border-box; padding: 12px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border); font-family: var(--font-main); font-size: 13.5px;
  resize: vertical; min-height: 64px;
}

.absensi-pill-choice {
  flex: 1; padding: 11px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-border);
  background: transparent; color: var(--color-text); font-weight: 700; font-size: 13.5px; cursor: pointer;
  font-family: var(--font-main);
}
.absensi-pill-choice.selected { border-color: var(--color-sky-deep); background: var(--color-sky-soft); color: var(--color-sky-deep); }
.absensi-section-title {
  font-size: 13px; font-weight: 700; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: .04em;
  margin: 22px 0 10px 2px;
}

/* ================================================================
   MODUL STOK & PERSEDIAAN (BARU) — aditif, tidak mengubah gaya lain
   ================================================================ */

.stok-subtab.active { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }

.stok-summary-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px;
}
@media (min-width: 640px) { .stok-summary-grid { grid-template-columns: repeat(4, 1fr); } }
.stok-summary-card {
  background: #f7f8fa; border-radius: var(--radius-md); padding: 14px; text-align: center;
}
.stok-summary-card span { display: block; font-size: 24px; font-weight: 800; color: var(--color-navy); }
.stok-summary-card p { font-size: 11.5px; color: var(--color-text-muted); margin: 4px 0 0; }
.stok-card-aman { background: #e8f6ee; }
.stok-card-aman span { color: #1a7a4c; }
.stok-card-menipis { background: #fff8e1; }
.stok-card-menipis span { color: #b28900; }
.stok-card-habis { background: #fdeaea; }
.stok-card-habis span { color: #b23a3a; }

.stok-badge {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
}
.stok-badge-aman { background: #e8f6ee; color: #1a7a4c; }
.stok-badge-menipis { background: #fff8e1; color: #b28900; }
.stok-badge-habis { background: #fdeaea; color: #b23a3a; }

.stok-perhatian-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-radius: var(--radius-md); background: #f7f8fa; margin-bottom: 8px;
}
.stok-perhatian-row p { margin: 0; font-weight: 700; font-size: 13.5px; color: var(--color-navy); }
.stok-perhatian-row small { color: var(--color-text-muted); font-size: 12px; }

.stok-item-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; align-items: center;
  background: #f7f8fa; border-radius: var(--radius-sm); padding: 8px;
}
.stok-item-row .stok-item-cari { flex-basis: 100%; }
.stok-item-row .stok-item-barang { flex: 2 1 160px; }
.stok-item-row .stok-item-jumlah { flex: 1 1 80px; }
.stok-item-row select, .stok-item-row input { width: 100%; box-sizing: border-box; }
.stok-item-row button {
  border: none; background: var(--color-danger-bg); color: var(--color-danger);
  border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer; font-weight: 700;
}

/* ================================================================
   MODUL SHIFT & KOREKSI (BARU) — aditif
   ================================================================ */
.shift-subtab.active { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }

.shift-koreksi-row {
  background: #f7f8fa; border-radius: var(--radius-md); padding: 14px; margin-top: 12px;
}
.shift-koreksi-row .profile-identity-list { margin: 10px 0; }
/* --- Konfirmasi sebelum kamera/GPS aktif --- */
.absensi-confirm-banner {
  border-radius: var(--radius-md); padding: 16px; display: flex; align-items: center; gap: 12px;
  border: 1.5px solid; background: #eef6ff;
}
.absensi-confirm-banner.jenis-masuk { background: #e8f6ee; border-color: #1a7a4c; }
.absensi-confirm-banner.jenis-pulang { background: #fdf0e4; border-color: #b25b16; }
.absensi-confirm-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800;
}
.jenis-masuk .absensi-confirm-icon { background: #1a7a4c; }
.jenis-pulang .absensi-confirm-icon { background: #b25b16; }
.absensi-confirm-title { font-weight: 800; font-size: 15px; margin: 0 0 2px; color: var(--color-navy); }
.absensi-confirm-sub { font-size: 12.5px; color: var(--color-text-muted); margin: 0; }

/* Label jenis di dalam form dibuat jadi banner penuh + lengket di atas,
   supaya tetap kelihatan walau halaman di-scroll ke bawah (kamera/GPS/kirim). */
.absensi-jenis-label {
  display: block; width: 100%; text-align: center; box-sizing: border-box;
  position: sticky; top: 0; z-index: 4;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  background: var(--color-sky-soft); color: var(--color-sky-deep); margin-bottom: 10px;
}
.absensi-jenis-label.jenis-masuk { background: #1a7a4c; color: #fff; }
.absensi-jenis-label.jenis-pulang { background: #b25b16; color: #fff; }

/* --- Layar sukses setelah submit --- */
.absensi-success-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(10, 20, 35, 0.55);
  display: flex; align-items: flex-end; justify-content: center;
}
.absensi-success-overlay.is-hidden { display: none; }
.absensi-success-card {
  background: #fff; width: 100%; max-width: 480px; border-radius: 22px 22px 0 0;
  padding: 30px 22px 26px; text-align: center; box-shadow: 0 -10px 40px rgba(0,0,0,0.25);
}
.absensi-success-circle {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; color: #fff; font-size: 34px;
  display: flex; align-items: center; justify-content: center;
}
.absensi-success-circle.jenis-masuk { background: #1a7a4c; }
.absensi-success-circle.jenis-pulang { background: #b25b16; }
.absensi-success-title { font-size: 18px; font-weight: 800; color: var(--color-navy); margin: 0 0 4px; }
.absensi-success-sub { font-size: 13px; color: var(--color-text-muted); margin: 0; }
