/* Tampilan halaman Masuk / Daftar / Masuk Admin / Lengkapi Profil -- satu desain untuk semua (UPDATE KE-148) */
:root { --pk: #f70487; --ink: #2b2420; --muted: #7a6f68; --border: #e7ddd4; --brown: #8a5a44; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body.auth-page {
  font-family: 'DM Sans', 'Poppins', sans-serif;
  background: linear-gradient(160deg, #f70487 0%, #5c0239 55%, #000000 100%);
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; color: var(--ink);
}
.auth-wrap { width: 100%; max-width: 560px; background: #fff; border-radius: 28px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35); padding: 48px 56px; position: relative; }
.auth-wrap, .auth-wrap * { font-family: 'DM Sans', 'Poppins', sans-serif; font-weight: 700; }
.auth-back { position: absolute; top: 32px; right: 40px; font-size: 13px; color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.auth-back:hover { color: var(--pk); }
.auth-inner { max-width: 400px; width: 100%; margin: 0 auto; }
.auth-logo { display: block; text-align: center; text-decoration: none; margin-bottom: 26px; }
.auth-logo img { max-height: 56px; max-width: 100%; }
.auth-badge { display: table; margin: -10px auto 14px; background: #fde3f0; color: #a3035a; font-size: 11px; letter-spacing: .12em; padding: 4px 12px; border-radius: 999px; }
.auth-title { font-size: 26px; text-align: center; line-height: 1.25; }
.auth-sub { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 8px; line-height: 1.6; }
.auth-form { margin-top: 26px; }
.auth-form label { font-size: 13px; display: block; margin-bottom: 6px; }
.auth-field { position: relative; margin-bottom: 18px; }
.auth-field input {
  width: 100%; padding: 13px 14px 13px 42px; border: 1px solid var(--pk); border-radius: 12px; font-size: 14px; background: #fff; outline: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.auth-field input::placeholder { color: #9b9096; }
.auth-field input:focus { box-shadow: 0 0 0 3px rgba(247, 4, 135, .15); }
.auth-field .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 15px; opacity: .55; pointer-events: none; }
.auth-field small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 5px; font-weight: 500; }
.auth-eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; font-size: 12px; color: var(--muted); padding: 6px; }
.auth-btn {
  width: 100%; background: var(--pk); color: #fff; border: none; padding: 14px; border-radius: 999px; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; transition: opacity .15s;
}
.auth-btn:hover { opacity: .92; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-google {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--border); background: #fff; padding: 12px; border-radius: 999px;
  font-size: 13.5px; color: var(--ink); text-decoration: none; transition: background .15s, border-color .15s;
}
.auth-google:hover { background: #faf6f2; border-color: #d8c7ba; }
.auth-google svg { width: 17px; height: 17px; flex-shrink: 0; }
.auth-switch { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.auth-switch a { color: var(--brown); text-decoration: none; }
.auth-switch a:hover { color: var(--pk); }
.auth-alert { font-size: 13px; padding: 10px 14px; border-radius: 10px; margin-top: 16px; text-align: center; line-height: 1.5; }
.auth-alert.err { background: #fdecec; border: 1px solid #f3c2c2; color: #a13a3a; }
.auth-alert.ok { background: #eaf6ee; border: 1px solid #bfe4cb; color: #2f7a45; }
.auth-alert a { color: inherit; }
@media (max-width: 600px) {
  body.auth-page { padding: 16px; }
  .auth-wrap { padding: 22px 22px 32px; border-radius: 24px; }
  .auth-back { position: static; display: inline-flex; margin-bottom: 14px; }
  .auth-title { font-size: 23px; }
}
