/* SIKIA — halaman masuk.
   Pola editorial dua kolom: form satu kolom yang tenang + foto tepi-ke-tepi tanpa elemen di atasnya.
   Label selalu terlihat di atas input, error di bawah kolom terkait, toggle kata sandi berupa teks. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --danger: #b91c1c;
}
html, body { margin: 0; height: 100%; }
body { background: #fff; color: var(--text); font: 15px/1.5 'Inter', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }

.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-main { display: flex; flex-direction: column; padding: 40px 56px; }
.auth-logo { align-self: flex-start; }
.auth-logo img { display: block; height: 34px; width: auto; }

.auth-form-wrap { width: 100%; max-width: 380px; margin: auto; padding: 48px 0; }
.auth-title { margin: 0 0 8px; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 700; font-size: 28px; letter-spacing: -.02em; color: var(--ink); }
.auth-sub { margin: 0 0 32px; color: var(--muted); }
.auth-notice { margin: 0 0 20px; padding: 10px 12px; border-left: 3px solid #10b981; background: #f0fdf4; color: #065f46; font-size: 14px; }

.auth-field { margin-bottom: 20px; }
.auth-field label, .auth-label-row label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; }
.auth-field input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; transition: border-color .15s, box-shadow .15s; }
.auth-field input:hover { border-color: #9ca3af; }
.auth-field input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(37 99 235 / .15); }
.auth-field input[aria-invalid="true"] { border-color: var(--danger); }
.auth-field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgb(185 28 28 / .12); }
.auth-error { margin: 6px 0 0; font-size: 13.5px; color: var(--danger); }
.auth-hint { margin: 6px 0 0; font-size: 13.5px; color: #92400e; }
.auth-toggle { padding: 0; border: 0; background: none; color: var(--blue); font: 500 13.5px 'Inter', sans-serif; cursor: pointer; }
.auth-toggle:hover { text-decoration: underline; }

.auth-check { display: flex; align-items: center; gap: 8px; margin: 4px 0 24px; font-size: 14px; color: var(--text); cursor: pointer; }
.auth-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }

.auth-submit { width: 100%; height: 44px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font: 600 15px 'Inter', sans-serif; cursor: pointer; transition: background .15s; }
.auth-submit:hover { background: var(--blue-600); }
.auth-submit:disabled { opacity: .75; cursor: progress; }
.auth-submit:focus-visible, .auth-toggle:focus-visible, .auth-foot a:focus-visible, .auth-logo:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.auth-help { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.auth-foot { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: #9ca3af; }
.auth-foot a { color: var(--muted); text-decoration: none; }
.auth-foot a:hover { color: var(--ink); }
.auth-foot span { margin-left: auto; }

.auth-media { position: relative; background: #efe9e1; }
.auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth-media { display: none; }
  .auth-main { padding: 28px 24px; min-height: 100vh; }
  .auth-form-wrap { padding: 40px 0; }
}
