/* ============================================================
   PropLocate — auth.css
   Sign in / Sign up page styles
   ============================================================ */

.auth-bg {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #52525b 0%, #3f3f46 55%, #27272a 100%);
  padding: 24px;
  position: relative; overflow: hidden;
}

/* Decorative radial glow */
.auth-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 65% 40%, rgba(255,255,255,.08) 0%, transparent 65%);
  pointer-events: none;
}
/* Subtle grid texture */
.auth-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.auth-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px 40px;
  width: 100%; max-width: 480px;
  box-shadow: 0 32px 80px rgba(0,0,0,.2);
  position: relative; z-index: 1;
}

/* ── Logo ── */
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo__icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  background: rgba(124,58,237,.08);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.auth-logo__text {
  font-family: var(--font-serif); font-size: 21px; font-weight: 700; color: var(--navy);
}
.auth-logo__text em { color: var(--navy); font-style: normal; }

/* ── Heading ── */
.auth-heading { font-family: var(--font-serif); font-size: 27px; color: var(--navy); margin-bottom: 5px; }
.auth-sub     { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

/* ── Divider ── */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 6px 0 16px; color: var(--muted); font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── Switch link ── */
.auth-switch {
  text-align: center; margin-top: 20px;
  font-size: 14px; color: var(--muted);
}
.auth-switch__btn {
  color: var(--navy); font-weight: 600; cursor: pointer;
  text-decoration: underline; background: none; border: none;
}
.auth-switch__btn:hover { color: #c084fc; text-decoration: underline; }

/* ── Password strength bar ── */
.pw-strength { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.pw-strength__bar { height: 100%; transition: width .3s, background .3s; }

/* ── Checkbox ── */
@media (max-width: 540px) {
  .auth-card { padding: 32px 24px; }
}
