/* Halaman auth (masuk & daftar). Layar terbelah seperti rdp.sh: kiri panel brand,
   kanan form. Token warna mengikuti dashboard: hitam murni, kartu #171719,
   garis #1d1d20, teks redup #6f717b. */

.auth-body {
  --d-card: #171719;
  --d-border: #1d1d20;
  --d-surface2: #101011;
  background: #000;
  color: #f5f5f5;
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-ui, 'Geist Variable', ui-sans-serif, system-ui, sans-serif);
}

.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

/* ---------- panel kiri: brand + apa yang BENAR-BENAR kita punya ---------- */
.auth-kiri {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px; border-right: 1px solid var(--d-border);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(59,130,246,.06), transparent 60%),
    #000;
}
.auth-kiri::before {           /* pola titik halus, sama semangatnya dengan rdp.sh */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.auth-kiri > * { position: relative; }

.auth-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display, inherit);
  font-weight: 600; font-size: 20px; color: #fff; text-decoration: none; }
.auth-brand img { width: 28px; height: 28px; }

.auth-tagline { font-family: var(--font-display, inherit); font-weight: 500; font-size: 28px;
  line-height: 1.25; letter-spacing: -.02em; max-width: 18ch; margin: 0 0 32px; }

.auth-fitur { border-top: 1px solid var(--d-border); }
.auth-fitur-baris {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--d-border);
}
.auth-fitur-baris b { font-size: 14px; font-weight: 500; }
.auth-fitur-baris span { font-size: 13px; color: #6f717b; text-align: right; }
.auth-fitur-baris .segera { font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .05em; color: #eab308; }

.auth-bayar { margin-top: 28px; }
.auth-bayar-judul { font-size: 11px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: #6f717b; margin-bottom: 10px; }
.auth-bayar-daftar { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-bayar-daftar span {
  font-size: 12px; color: #a3a3a3; padding: 5px 10px;
  border: 1px solid var(--d-border); border-radius: 100px; background: var(--d-surface2);
}

/* ---------- panel kanan: form ---------- */
.auth-kanan { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-kotak { width: 100%; max-width: 360px; }

.auth-judul { font-family: var(--font-display, inherit); font-weight: 500; font-size: 30px;
  letter-spacing: -.02em; margin: 0 0 6px; }
.auth-sub { font-size: 14px; color: #6f717b; margin: 0 0 28px; }

.auth-field { margin-bottom: 16px; }
.auth-label { display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.auth-label a { font-size: 13px; font-weight: 400; color: #6f717b; text-decoration: none; }
.auth-label a:hover { color: #fff; }

.auth-input-bungkus { position: relative; display: flex; }
.auth-input {
  width: 100%; box-sizing: border-box; height: 42px; padding: 0 12px;
  background: var(--d-surface2); border: 1px solid var(--d-border); border-radius: 10px;
  color: #f5f5f5; font: inherit; font-size: 14px; outline: none;
  transition: border-color .15s;
}
.auth-input::placeholder { color: #4a4b52; }
.auth-input:focus { border-color: rgba(255,255,255,.25); }
.auth-input.salah { border-color: #ef4444; }
.auth-mata {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #6f717b; cursor: pointer; border-radius: 8px;
}
.auth-mata:hover { color: #fff; }

.auth-centang { display: flex; align-items: flex-start; gap: 10px; font-size: 13px;
  color: #a3a3a3; margin-bottom: 18px; cursor: pointer; }
.auth-centang input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #3b82f6;
  flex-shrink: 0; cursor: pointer; }
.auth-centang a { color: #f5f5f5; }

.auth-tombol {
  width: 100%; height: 44px; border: 0; border-radius: 10px; cursor: pointer;
  background: #ededed; color: #0a0a0a; font: inherit; font-size: 14px; font-weight: 500;
  transition: background .15s;
}
.auth-tombol:hover:not(:disabled) { background: #cfcfcf; }
.auth-tombol:disabled { opacity: .55; cursor: not-allowed; }

.auth-pesan {
  display: none; margin-bottom: 16px; padding: 10px 12px; border-radius: 10px;
  font-size: 13px; line-height: 1.5;
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); color: #fca5a5;
}
.auth-pesan.tampil { display: block; }
.auth-pesan.sukses { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.25); color: #86efac; }

.auth-kaki { margin-top: 22px; text-align: center; font-size: 13px; color: #6f717b; }
.auth-kaki a { color: #f5f5f5; font-weight: 500; text-decoration: none; }
.auth-kaki a:hover { text-decoration: underline; }

.auth-turnstile { margin-bottom: 16px; min-height: 0; }
.auth-turnstile:empty { display: none; }

/* kunci API ditampilkan SEKALI setelah daftar -- tidak bisa dilihat lagi nanti */
.auth-kunci {
  display: none; margin: 18px 0; padding: 14px; border-radius: 10px;
  background: var(--d-surface2); border: 1px solid var(--d-border);
}
.auth-kunci.tampil { display: block; }
.auth-kunci b { display: block; font-size: 13px; margin-bottom: 8px; }
.auth-kunci code {
  display: block; font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px;
  word-break: break-all; color: #f5f5f5; background: #000; border: 1px solid var(--d-border);
  border-radius: 8px; padding: 10px; margin-bottom: 10px;
}
.auth-kunci p { font-size: 12px; color: #6f717b; margin: 0 0 10px; line-height: 1.5; }
.auth-salin {
  width: 100%; height: 34px; margin-bottom: 10px; cursor: pointer;
  background: #000; border: 1px solid var(--d-border); border-radius: 8px;
  color: #f5f5f5; font: inherit; font-size: 13px; transition: border-color .15s;
}
.auth-salin:hover { border-color: rgba(255,255,255,.25); }

@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-kiri { display: none; }          /* di ponsel, form yang diutamakan */
  .auth-kanan { min-height: 100vh; }
}

/* kotak isian kode OTP: angka besar & berjarak, gampang dicocokkan dengan email */
.auth-kode-input {
  text-align: center; font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 22px; letter-spacing: 8px; padding-left: 8px;
}

/* ---------- alur reset sandi tiga langkah ---------- */
.auth-langkah { display: flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.auth-langkah .titik {
  width: 7px; height: 7px; border-radius: 50%; background: var(--d-border);
  transition: background .2s;
}
.auth-langkah .titik.on { background: #3b82f6; }
.auth-langkah .garis { flex: 1; height: 1px; background: var(--d-border); max-width: 28px; }

.auth-hitung { font-size: 12px; font-weight: 400; color: #6f717b; font-variant-numeric: tabular-nums; }
.auth-hitung.habis { color: #fca5a5; }

.auth-bantu { font-size: 12px; margin: 7px 0 0; min-height: 1em; color: #6f717b; }
.auth-bantu.ok { color: #86efac; }
.auth-bantu.beda { color: #6f717b; }

#ulang-tunggu { color: #6f717b; font-variant-numeric: tabular-nums; }

.auth-sukses-ikon {
  width: 46px; height: 46px; margin: 4px auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,197,94,.12); color: #86efac;
}
.auth-sukses-ikon svg { width: 22px; height: 22px; }

.auth-sukses-ikon.gagal { background: rgba(239,68,68,.12); color: #fca5a5; font-size: 22px; font-weight: 600; }
