/* ===== Dasar ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

body {
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f3f4f6;
  color: #1f2937;
}

.header {
  background: #1e293b;
  color: white;
  text-align: center;
  padding: 24px 16px;
}

.header h1 {
  font-size: 26px;
  margin-bottom: 4px;
}

.header p {
  font-size: 14px;
  color: #cbd5e1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* ===== Dashboard ===== */
.dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #64748b;
}

.card-kosong { border-top-color: #22c55e; }
.card-terisi { border-top-color: #3b82f6; }
.card-uang   { border-top-color: #f59e0b; }

.card-label {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 6px;
}

.card-number {
  font-size: 36px;
  font-weight: bold;
}

.card-uang-angka {
  font-size: 24px;
  line-height: 1.6;
}

/* ===== Banner pengingat ===== */
.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fef3c7;
  border-left: 5px solid #f59e0b;
  color: #92400e;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
}

.banner-tombol {
  display: flex;
  gap: 8px;
}

.btn-banner { background: #f59e0b; color: white; }
.btn-banner-nanti { background: transparent; color: #92400e; }

/* ===== Download / Import ===== */
.alat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-alat {
  background: white;
  border: 2px solid #cbd5e1;
  color: #334155;
}

.btn-alat:hover {
  background: #e2e8f0;
}

.info-cadangan {
  font-size: 13px;
  color: #6b7280;
}

.pesan-info {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.pesan-info.sukses { background: #dcfce7; color: #166534; }
.pesan-info.gagal  { background: #fee2e2; color: #b91c1c; }

/* ===== Tab ===== */
.tab {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #cbd5e1;
  margin: 16px 0;
}

.tab-btn {
  padding: 10px 18px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
}

.tab-btn:hover { color: #1e293b; }

.tab-btn.aktif {
  color: #1e293b;
  border-bottom-color: #1e293b;
}

/* ===== Filter Tower ===== */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.filter-btn {
  padding: 10px 16px;
  border: 2px solid #cbd5e1;
  background: white;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  color: #334155;
  font-family: inherit;
}

.filter-btn:hover { background: #e2e8f0; }

.filter-btn.aktif {
  background: #1e293b;
  border-color: #1e293b;
  color: white;
}

/* ===== Keterangan warna ===== */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 4px;
}

.dot-kosong  { background: #22c55e; }
.dot-lunas   { background: #3b82f6; }
.dot-tunggak { background: #ef4444; }

/* ===== Grid Kamar ===== */
.tower-judul {
  font-size: 18px;
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #cbd5e1;
}

.tower-judul span {
  font-size: 13px;
  font-weight: normal;
  color: #6b7280;
  margin-left: 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.kamar {
  border: none;
  border-radius: 10px;
  padding: 12px 6px;
  color: white;
  cursor: pointer;
  text-align: center;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  transition: transform 0.1s, box-shadow 0.1s;
  font-family: inherit;
}

.kamar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.kamar.kosong  { background: #22c55e; }
.kamar.lunas   { background: #3b82f6; }
.kamar.tunggak { background: #ef4444; }

.kamar-kode {
  font-size: 20px;
  font-weight: bold;
}

.kamar-nama {
  font-size: 12px;
  word-break: break-word;
  line-height: 1.2;
}

.kamar-status {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
}

/* ===== Riwayat ===== */
.riwayat-info {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}

.tabel-bungkus {
  overflow-x: auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tabel th {
  text-align: left;
  background: #f1f5f9;
  padding: 12px;
  font-size: 13px;
  color: #475569;
  white-space: nowrap;
}

.tabel td {
  padding: 12px;
  border-top: 1px solid #e5e7eb;
}

.tabel tbody tr {
  cursor: pointer;
}

.tabel tbody tr:hover {
  background: #f8fafc;
}

.teks-kosong {
  text-align: center;
  color: #6b7280;
  padding: 40px 0;
}

/* ===== Popup umum ===== */
.modal-latar {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10;
}

.modal {
  background: white;
  border-radius: 14px;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-lebar {
  max-width: 560px;
}

.modal h2 {
  margin-bottom: 2px;
}

.modal-sub {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}

/* ===== Formulir ===== */
.seksi {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
}

.seksi-judul {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin-bottom: 12px;
}

.baris {
  margin-bottom: 14px;
}

.baris:last-child {
  margin-bottom: 0;
}

.baris > label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.baris input[type="text"],
.baris input[type="tel"],
.baris input[type="date"],
.panel-checkout input[type="date"] {
  width: 100%;
  padding: 11px 12px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: white;
}

.baris input:focus,
.panel-checkout input:focus {
  outline: none;
  border-color: #3b82f6;
}

.huruf-besar {
  text-transform: uppercase;
}

.dua-kolom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dua-kolom .baris:last-child {
  margin-bottom: 14px;
}

.input-rp {
  display: flex;
  align-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.input-rp:focus-within {
  border-color: #3b82f6;
}

.input-rp span {
  background: #f1f5f9;
  padding: 11px 12px;
  font-weight: 600;
  color: #475569;
}

.input-rp input {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
}

/* Unggah foto / KTP */
.unggah {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.foto-preview {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #e2e8f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  color: #64748b;
  flex-shrink: 0;
}

.ktp-preview {
  width: 150px;
  height: 96px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  color: #64748b;
  flex-shrink: 0;
}

.foto-preview img,
.ktp-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.unggah-tombol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.btn-kecil {
  padding: 8px 14px;
  font-size: 13px;
  background: #e0f2fe;
  color: #0369a1;
}

.btn-kecil-hapus {
  background: #fee2e2;
  color: #b91c1c;
}

/* Pilihan (Bekerja/Mahasiswa, Kendaraan, Lunas/Belum Bayar) */
.segmen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.segmen.tiga {
  grid-template-columns: 1fr 1fr 1fr;
}

.segmen input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmen label {
  text-align: center;
  padding: 11px 6px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  color: #475569;
  font-size: 14px;
}

.segmen input:checked + .seg-lunas {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
}

.segmen input:checked + .seg-belum {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
}

.segmen input:checked + .seg-netral {
  background: #1e293b;
  border-color: #1e293b;
  color: white;
}

.segmen input:focus-visible + label {
  outline: 3px solid #93c5fd;
}

.pesan-error {
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  margin: 14px 0;
}

.pesan-peringatan {
  background: #fef3c7;
  color: #92400e;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 14px;
}

.modal-tombol {
  display: flex;
  gap: 8px;
}

.btn {
  padding: 11px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-simpan { background: #3b82f6; color: white; flex: 1; }
.btn-batal  { background: #e5e7eb; color: #374151; }
.btn-wa     { background: #22c55e; color: white; flex: 1; }
.btn-hapus  { background: #fee2e2; color: #b91c1c; }
.btn-hapus.konfirmasi { background: #ef4444; color: white; }

/* ===== Profil penghuni ===== */
.pf-kepala {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.pf-foto {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #475569;
  font-size: 34px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.pf-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bisa-klik {
  cursor: zoom-in;
}

.pf-nama {
  font-size: 22px;
  margin-bottom: 2px;
  word-break: break-word;
}

.pf-kamar {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 6px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  color: white;
}

.b-lunas  { background: #3b82f6; }
.b-tunggak { background: #ef4444; }
.b-keluar { background: #64748b; }

.pf-seksi {
  border-top: 1px solid #e5e7eb;
  padding: 12px 0;
}

.pf-seksi h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 8px;
}

.pf-baris {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
  font-size: 14px;
  padding: 3px 0;
}

.pf-label {
  color: #6b7280;
}

.pf-nilai {
  font-weight: 600;
  word-break: break-word;
}

.pf-ktp {
  width: 240px;
  max-width: 100%;
  min-height: 60px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #6b7280;
  background: #f8fafc;
}

.pf-ktp img {
  width: 100%;
  display: block;
  cursor: zoom-in;
}

.aksi-baris {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.panel-checkout {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 14px;
  margin-top: 10px;
  font-size: 14px;
}

.panel-checkout p {
  margin-bottom: 10px;
}

.panel-checkout label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ===== Perbesar gambar ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: zoom-out;
  padding: 16px;
}

.lightbox img {
  max-width: 95vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  background: white;
}

.lightbox p {
  color: #cbd5e1;
  font-size: 13px;
}

/* ===== Layar HP ===== */
@media (max-width: 700px) {
  .dashboard { grid-template-columns: repeat(2, 1fr); }
  .card-number { font-size: 28px; }
  .card-uang-angka { font-size: 20px; line-height: 2; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
  .dua-kolom { grid-template-columns: 1fr; gap: 0; }
  .pf-baris { grid-template-columns: 110px 1fr; }
  .modal { padding: 18px; }
}

/* ===== Keterangan lantai & pindah kamar ===== */
.lantai-judul {
  font-size: 14px;
  color: #334155;
  margin: 16px 0 8px;
  padding-left: 10px;
  border-left: 4px solid #94a3b8;
}

.lantai-judul span {
  font-size: 12px;
  font-weight: normal;
  color: #6b7280;
  margin-left: 8px;
}

.btn-pindah {
  background: #fef3c7;
  color: #92400e;
}

.panel-pindah {
  background: #fffbeb;
  border-color: #fde68a;
}

.panel-pindah select {
  width: 100%;
  padding: 11px 12px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: white;
  margin-bottom: 4px;
}

.panel-pindah select:focus {
  outline: none;
  border-color: #3b82f6;
}

.aksi-baris {
  flex-wrap: wrap;
}

/* ===== Nama aplikasi, DP, deposit ===== */
.header .sub {
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.card-ket {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.kamar.dp { background: #d97706; }
.dot-dp   { background: #d97706; }
.b-dp     { background: #d97706; }

.segmen input:checked + .seg-dp {
  background: #d97706;
  border-color: #d97706;
  color: white;
}

.sub-baris {
  margin-top: 12px;
}

.sub-baris label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.sisa-dp {
  font-size: 13px;
  font-weight: 600;
  color: #b45309;
  margin-top: 6px;
}

.petunjuk-kecil {
  font-size: 12px;
  color: #6b7280;
  margin-top: 6px;
}

.checkout-deposit {
  background: #fef3c7;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 10px;
  color: #92400e;
}

.checkout-deposit p {
  margin-bottom: 8px;
}

.checkout-deposit .cek {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 0;
  cursor: pointer;
}

.checkout-deposit .cek input {
  width: 18px;
  height: 18px;
}

/* ===== Header dengan logo Kayas ===== */
.header {
  background: #d2cabe;
  color: #2b211a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: left;
  padding: 16px;
  border-bottom: 4px solid #b07c47;
}

.header .logo {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  display: block;
}

.header h1 {
  color: #2b211a;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.header p {
  color: #5b4a3a;
}

.header .sub {
  color: #7a5226;
  font-weight: 600;
}

/* ===== Perbaikan kamar ===== */
.kamar-bungkus {
  position: relative;
  display: flex;
}

.kamar-bungkus .kamar {
  width: 100%;
}

.kamar.perbaikan { background: #64748b; }
.dot-perbaikan   { background: #64748b; }

.kamar-alat {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kamar-alat:hover {
  background: rgba(255, 255, 255, 0.6);
}

.kamar-alat.aktif {
  background: #fbbf24;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.baris textarea {
  width: 100%;
  padding: 11px 12px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  resize: vertical;
}

.baris textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.panel-selesai {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.panel-selesai label {
  margin-top: 8px;
}

.panel-selesai input[type="date"] {
  width: 100%;
  padding: 11px 12px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
}

.riwayat-perbaikan {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.riwayat-perbaikan h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 8px;
}

.rp-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}

.rp-rincian {
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 600px) {
  .header { text-align: center; }
  .header .logo { width: 84px; height: 84px; }
  .header h1 { font-size: 22px; }
}

/* ===== Pemasukan & Pengeluaran ===== */
.tab { overflow-x: auto; }
.tab-btn { white-space: nowrap; }

.keu-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.keu-filter select,
.baris select {
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: white;
}

.baris select {
  width: 100%;
  font-size: 16px;
  padding: 11px 12px;
}

.baris select:focus {
  outline: none;
  border-color: #3b82f6;
}

.keu-jenis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keu-chip {
  padding: 9px 16px;
  border: 2px solid #cbd5e1;
  background: white;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  color: #334155;
  font-family: inherit;
}

.keu-chip:hover { background: #e2e8f0; }

.keu-chip.aktif {
  background: #1e293b;
  border-color: #1e293b;
  color: white;
}

.card-masuk  { border-top-color: #22c55e; }
.card-keluar { border-top-color: #ef4444; }
.card-saldo  { border-top-color: #1e293b; }

.keu-angka {
  font-size: 24px;
  line-height: 1.6;
}

.negatif { color: #b91c1c; }

.keu-tombol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.btn-keluar { background: #ef4444; color: white; }

.b-masuk       { background: #16a34a; }
.b-pengeluaran { background: #dc2626; }

.jml-masuk  { color: #166534; font-weight: 700; white-space: nowrap; }
.jml-keluar { color: #b91c1c; font-weight: 700; white-space: nowrap; }

.cek {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0;
  cursor: pointer;
}

.cek input {
  width: 18px;
  height: 18px;
}

@media (max-width: 700px) {
  .keu-angka { font-size: 20px; line-height: 2; }
}

/* ===== Login, akun, dan pembatasan peran ===== */
body.perlu-login .header,
body.perlu-login .container {
  display: none;
}

body:not(.perlu-login) .layar-login {
  display: none;
}

/* Elemen khusus pemilik disembunyikan untuk admin */
body.peran-admin .hanya-pemilik {
  display: none !important;
}

body.peran-admin #dashboard-utama {
  grid-template-columns: repeat(3, 1fr);
}

body.peran-admin #keu-ringkasan {
  grid-template-columns: repeat(2, 1fr);
}

.layar-login {
  position: fixed;
  inset: 0;
  background: #d2cabe;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 50;
}

.kotak-login {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(43, 33, 26, 0.2);
}

.login-logo {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  margin-bottom: 8px;
}

.kotak-login h1 {
  font-size: 22px;
  color: #2b211a;
  letter-spacing: 1px;
}

.kotak-login p {
  font-size: 14px;
  color: #6b7280;
  margin: 4px 0 16px;
}

.kotak-login label {
  display: block;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0 6px;
}

.kotak-login input {
  width: 100%;
  padding: 11px 12px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
}

.kotak-login input:focus {
  outline: none;
  border-color: #b07c47;
}

.kotak-login .pesan-error {
  text-align: left;
  color: #b91c1c;
  margin: 14px 0 0;
}

.kotak-login .btn-simpan {
  width: 100%;
  margin-top: 18px;
  background: #b07c47;
}

.akun-bar {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
}

.akun-info {
  color: #5b4a3a;
  font-weight: 600;
}

.status-sinkron {
  font-weight: 600;
  font-size: 12px;
}

.sinkron-ok     { color: #166534; }
.sinkron-proses { color: #92400e; }
.sinkron-gagal  { color: #b91c1c; }

.akun-bar .btn {
  padding: 7px 12px;
  font-size: 13px;
}

.tabel-statis tbody tr {
  cursor: default;
}

.tabel-statis tbody tr:hover {
  background: transparent;
}

input[readonly] {
  background: #f1f5f9;
  color: #64748b;
}

.keu-tombol .btn {
  flex: 1;
  min-width: 160px;
}

@media (max-width: 700px) {
  .keu-filter select { font-size: 16px; }
}

button,
label,
.tabel tbody tr {
  -webkit-tap-highlight-color: transparent;
}
