/* ============================================================
   LyfSy — Auth Page Styles
   ============================================================ */

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Left decorative panel ── */
.auth-left {
  width: 420px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #4F46E5 0%, #7C3AED 60%, #4338CA 100%);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  color: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Decorative orb */
.auth-left::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  bottom: -80px; right: -80px;
  pointer-events: none;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}
.auth-brand-mark {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.auth-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.auth-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.auth-subline {
  opacity: .8;
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.auth-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .875rem;
  position: relative;
  z-index: 1;
}
.auth-feat-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
}
.auth-footer-note {
  margin-top: auto;
  font-size: .72rem;
  opacity: .4;
  position: relative;
  z-index: 1;
}

/* ── Right form panel ── */
.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  overflow-y: auto;
  min-height: 100vh;
}
.auth-form-wrap {
  width: 100%;
  max-width: 420px;
}

/* ── Password toggle ── */
.password-input-wrap { position: relative; }
.password-toggle {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: .9rem;
  padding: 4px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

/* ── Mobile ── */
@media (max-width: 820px) {
  .auth-body { display: block; }
  .auth-left { display: none; }
  .auth-right {
    min-height: 100svh;
    padding: 28px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }
  .auth-form-wrap {
    max-width: 100%;
    padding-top: 8px;
  }
}

/* ── Prevent iOS input zoom ── */
@media (max-width: 768px) {
  .auth-form-wrap input,
  .auth-form-wrap select,
  .auth-form-wrap textarea {
    font-size: 16px !important;
  }
}
