/* =========================================================
   CUSTOMER LOGIN — LUXURY MEMBER PORTAL
   ========================================================= */
.auth-body { cursor: none; background: var(--c-white); }

.auth {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 100vh;
}

/* ---------- Visual Side ---------- */
.auth__visual {
  position: relative;
  overflow: hidden;
  background: var(--c-black);
}
.auth__visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.auth__visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0.75) 0%, rgba(11,11,12,0.25) 45%, rgba(11,11,12,0.85) 100%);
}
.auth__logo { position: absolute; top: 44px; left: 48px; z-index: 2; }
.auth__logo .logo__img { height: 95px; width: auto; }

.auth__quote {
  position: absolute;
  left: 48px; right: 48px; bottom: 140px;
  z-index: 2; margin: 0;
}
.auth__quote p {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--c-white);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: var(--space-sm);
}
.auth__quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.auth__float-card {
  position: absolute;
  left: 48px; bottom: 48px;
  z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: var(--blur-glass);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}
.auth__float-card i { width: 22px; height: 22px; color: var(--c-gold); }
.auth__float-card strong { display: block; color: var(--c-white); font-size: 0.9rem; }
.auth__float-card span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* ---------- Form Side ---------- */
.auth__form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--gutter);
  background: var(--c-white);
}
.auth__form-wrap { width: 100%; max-width: 420px; }

.auth__mobile-logo { display: none; margin-bottom: var(--space-lg); }
.auth__mobile-logo .logo__img { height: 95px; width: auto; }

.auth__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-black);
  margin: var(--space-xs) 0 var(--space-sm);
}
.auth__subtitle { color: var(--c-grey-700); margin-bottom: var(--space-lg); font-size: 0.98rem; }

.auth__demo {
  display: flex; align-items: center; gap: 12px;
  background: var(--c-ivory);
  border: 1px solid var(--c-line-dark);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}
.auth__demo i { width: 20px; height: 20px; color: var(--c-gold-dim); flex-shrink: 0; }
.auth__demo strong { display: block; font-size: 0.85rem; }
.auth__demo span { font-size: 0.8rem; color: var(--c-grey-700); }

/* ---------- Form Fields ---------- */
.auth-form { display: flex; flex-direction: column; gap: var(--space-md); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--c-black); }
.field__input {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  transition: border-color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.field__input i { width: 18px; height: 18px; color: var(--c-grey-500); flex-shrink: 0; }
.field__input input {
  border: none; outline: none; flex: 1;
  padding: 14px 0;
  font-size: 0.95rem;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: transparent;
}
.field__input:focus-within {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 4px rgba(232,185,35,0.12);
}
.field.is-error .field__input { border-color: #D64545; }
.field__error { font-size: 0.78rem; color: #D64545; min-height: 1em; }

.field__toggle { display: flex; align-items: center; padding: 6px; }
.field__toggle i { width: 18px; height: 18px; color: var(--c-grey-500); }

.auth-form__row { display: flex; align-items: center; justify-content: space-between; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--c-grey-700); cursor: none; }
.checkbox input { accent-color: var(--c-gold); width: 16px; height: 16px; }
.auth-form__forgot { font-size: 0.85rem; font-weight: 600; color: var(--c-gold-dim); }
.auth-form__forgot:hover { text-decoration: underline; }

.auth-form__note {
  text-align: center;
  font-size: 0.85rem;
  min-height: 1.2em;
  color: var(--c-grey-700);
}
.auth-form__note.is-success { color: #1E8E5A; }
.auth-form__note.is-error { color: #D64545; }

.auth__switch { text-align: center; margin-top: var(--space-lg); font-size: 0.9rem; color: var(--c-grey-700); }
.auth__switch a { font-weight: 600; color: var(--c-black); }
.auth__switch a:hover { color: var(--c-gold-dim); }

/* ---------- Button loading state ---------- */
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading { pointer-events: none; position: relative; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: var(--c-black);
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .auth { grid-template-columns: 1fr; }
  .auth__visual { display: none; }
  .auth__mobile-logo { display: inline-flex; }
  .auth__form-side { padding: var(--space-xl) var(--gutter); min-height: 100vh; }
}
