/* =========================================================================
   HALAMAN LOGIN — LALA PSIKOLOG
   Memakai variabel dan tipografi dari styles.css situs utama.
   ========================================================================= */

.auth-body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.auth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}

.auth-blob--1 {
  width: 560px; height: 560px;
  top: -220px; left: -180px;
  background: radial-gradient(circle, rgba(255, 179, 198, .75), transparent 68%);
}

.auth-blob--2 {
  width: 480px; height: 480px;
  right: -160px; top: 18%;
  background: radial-gradient(circle, rgba(255, 255, 255, .85), transparent 66%);
}

.auth-blob--3 {
  width: 620px; height: 620px;
  left: 32%; bottom: -380px;
  background: radial-gradient(circle, rgba(251, 111, 146, .3), transparent 68%);
}

.auth-top {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(251, 111, 146, .3);
  background: rgba(255, 255, 255, .55);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 700;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.auth-back:hover {
  background: #fff;
  color: var(--accent-deep);
  transform: translateY(-2px);
}

.auth-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px 48px;
}

.auth-card {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251, 111, 146, .16);
  background: #fff;
  box-shadow: 0 44px 80px -42px rgba(74, 44, 59, .6);
}

.auth-card.shake { animation: authShake .42s cubic-bezier(.36, .07, .19, .97); }

@keyframes authShake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

.auth-intro {
  position: relative;
  overflow: hidden;
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(150deg, #FFD9E3 0%, #FFE5EC 46%, #FFF3F6 100%);
}

.auth-intro::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 111, 146, .22);
  box-shadow: 0 0 0 34px rgba(255, 255, 255, .22), 0 0 0 70px rgba(255, 255, 255, .14);
  pointer-events: none;
}

.auth-intro .eyebrow { margin-bottom: 0; position: relative; z-index: 1; }

.auth-intro h1 {
  position: relative;
  z-index: 1;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.auth-intro h1 em { font-style: italic; color: var(--accent-deep); }

.auth-intro p {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.auth-points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.auth-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}

.auth-points li span { color: var(--accent); font-size: 12px; margin-top: 2px; }

.auth-form-wrap {
  padding: 48px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-badge {
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.auth-form-wrap h2 {
  margin: 16px 0 6px;
  font-size: 34px;
  line-height: 1.1;
}

.auth-sub {
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.auth-form-wrap .field { margin-bottom: 16px; }

.auth-pass { position: relative; }
.auth-pass input { padding-right: 78px; }

.auth-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--accent-deep);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease;
}

.auth-toggle:hover { background: var(--bg-soft); }

.auth-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 14px;
  padding: 10px 12px;
  border: 1px solid #F2C9C4;
  border-radius: 12px;
  background: #FDECEA;
  color: #9C2C24;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.auth-error::before { content: "!"; font-weight: 800; }
.auth-error[hidden] { display: none; }

.auth-error.is-info {
  border-color: #F4DCE2;
  background: var(--bg-soft);
  color: var(--ink-soft);
}

.auth-error.is-info::before { content: "✦"; color: var(--accent); }

.auth-submit {
  width: 100%;
  margin-top: 4px;
  padding: 16px;
}

.auth-hint {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
}

.auth-foot {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

.auth-foot a { color: var(--accent-deep); font-weight: 800; }
.auth-foot a:hover { text-decoration: underline; }

.auth-copyright {
  position: relative;
  z-index: 1;
  padding: 0 20px 26px;
  color: var(--ink-faint);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 860px) {
  .auth-card { grid-template-columns: 1fr; max-width: 520px; }
  .auth-intro { padding: 32px 32px 30px; }
  .auth-intro h1 { font-size: 32px; }
  .auth-intro::after { width: 220px; height: 220px; right: -70px; bottom: -90px; }
  .auth-form-wrap { padding: 34px 32px 38px; }
}

@media (max-width: 620px) {
  .auth-top { padding: 18px 20px; }
  .auth-back { padding: 8px 14px; font-size: 12.5px; }
  .auth-back span { margin-right: -2px; }
  .auth-main { padding: 8px 16px 30px; }
  .auth-card { border-radius: 26px; }
  .auth-intro { padding: 26px 24px 24px; }
  .auth-intro h1 { font-size: 28px; }
  .auth-points { display: none; }
  .auth-form-wrap { padding: 28px 24px 30px; }
  .auth-form-wrap h2 { font-size: 29px; }
  .auth-copyright { padding-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-card.shake { animation: none; }
  .auth-back { transition: none; }
}
