/* ==========================================================================
   MY WELL — Auth (Login / Register)
   Glassmorphism card on luxury split layout
   ========================================================================== */

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--black);
}

/* ---- Brand / visual side ---- */
.auth__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4rem);
  background: radial-gradient(
      700px 400px at 30% 20%,
      rgba(212, 175, 55, 0.18),
      transparent 60%
    ),
    linear-gradient(160deg, #060606, #121212);
  overflow: hidden;
}

.auth__aside::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--gold-gradient);
  filter: blur(120px);
  opacity: 0.25;
}

.auth__brand {
  position: relative;
  z-index: 1;
}

.auth__brand img {
  height: 52px;
}

.auth__pitch {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.auth__pitch h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin-bottom: 1rem;
}

.auth__pitch p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.auth__trust {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.auth__trust li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.auth__trust svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.auth__aside-foot {
  position: relative;
  z-index: 1;
  color: var(--muted-dark);
  font-size: 0.82rem;
}

/* ---- Form side ---- */
.auth__main {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

/* .auth__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(212, 175, 55, 0.06) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  opacity: 0.5;
} */

/* Glass card */
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow-md);
}

.auth-card__mobile-brand {
  display: none;
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-card__mobile-brand img {
  height: 44px;
  margin-inline: auto;
}

.auth-card h1 {
  font-size: var(--fs-h3);
  margin-bottom: 0.4rem;
}

.auth-card__sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.8rem;
}

.auth-card .field input {
  background: rgba(255, 255, 255, 0.04);
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  font-size: 0.85rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.auth-link {
  color: var(--gold);
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease);
}

.auth-link:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.6rem 0;
  color: var(--muted-dark);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ink-line);
}

.auth-foot {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Password strength */
.pw-meter {
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--ink-line);
  margin-top: 0.6rem;
  overflow: hidden;
}

.pw-meter__bar {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  transition: width var(--dur) var(--ease), background var(--dur) var(--ease);
}

.pw-hint {
  font-size: 0.78rem;
  color: var(--muted-dark);
  margin-top: 0.4rem;
}
