/* ========================================================
   LiGaMu Auth Pages v1.0 (Fase 4)
   Login, Daftar, Lupa Password, Reset Password
   ======================================================== */

.auth-wrap {
  min-height: calc(100vh - 56px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px 60px;
  background:
    radial-gradient(circle at 0% 0%, rgba(27, 77, 62, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(212, 165, 116, 0.06) 0%, transparent 50%),
    var(--neutral-warm);
}
.auth-wrap-wide { padding-top: 30px; }

.auth-card {
  width: 100%; max-width: 440px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
}
.auth-card-wide { max-width: 720px; }

.auth-head {
  text-align: center; margin-bottom: 24px;
}
.auth-logo {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 14px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.auth-logo::after {
  content: ''; position: absolute;
  bottom: 6px; right: 6px;
  width: 12px; height: 12px;
  background: var(--accent-gold);
  border-radius: 0 8px 0 8px;
}
.auth-head h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.5rem; margin: 0 0 4px;
}
.auth-head p {
  color: var(--ink-soft); font-size: .9375rem;
  margin: 0;
}

.auth-form {
  display: flex; flex-direction: column;
  max-width: 100%;
}
.auth-form .form-group { margin-bottom: 14px; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-mute); font-size: .75rem;
  margin: 18px 0; text-transform: uppercase;
  letter-spacing: .08em; font-weight: 500;
}
.auth-divider::before,
.auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.auth-foot {
  text-align: center; margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: .875rem;
}
.auth-foot a {
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 4px;
}
.auth-foot a:hover { color: var(--brand); }

/* Form grid (register) */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 12px;
}
.form-section-title {
  font-size: .6875rem; color: var(--brand);
  text-transform: uppercase; letter-spacing: .08em;
  font-weight: 600; margin: 18px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--brand-light);
}
.form-section-title:first-child { margin-top: 0; }

.req { color: var(--danger); margin-left: 2px; }

/* Responsive */
@media (max-width: 640px) {
  .auth-wrap { padding: 20px 12px 40px; }
  .auth-card { padding: 24px 18px; }
  .auth-card-wide { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .auth-head h1 { font-size: 1.25rem; }
}

/* Pwd toggle button - hilangkan default styling */
.input-group button[data-pwd-toggle] {
  background: transparent !important;
  border-left: 1px solid var(--border) !important;
}
