/* ================================================================
   ASAPSMS — Auth Page (Login / Register)
   ================================================================ */

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

.auth-side {
  flex: 1.1;
  position: relative;
  padding: 56px 64px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, #0d1a2e, #060a12 55%, #0a101e);
  border-right: 1px solid var(--border);
}
.auth-side::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(640px 480px at 10% 15%, rgba(59,126,255,.09), transparent 60%);
  pointer-events: none;
}
.auth-side-content { position: relative; }
.auth-quote {
  font-family: var(--font-display); font-size: 32px; line-height: 1.35; font-weight: 500;
  max-width: 460px; margin-top: 60px;
}
.auth-quote em { color: var(--accent-l); font-style: italic; }
.auth-features { position: relative; display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.auth-feature { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.auth-feature i { color: var(--success-l); }

.auth-main {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.auth-card { width: 100%; max-width: 420px; }
.auth-tabs {
  display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 4px; margin-bottom: 32px;
}
.auth-tab {
  flex: 1; padding: 10px; border: none; background: transparent; border-radius: 8px;
  color: var(--text-3); font-size: 13.5px; font-weight: 600; transition: all var(--fast) var(--ease);
}
.auth-tab.active { background: var(--surface-2); color: var(--text); box-shadow: var(--shadow-sm); }

.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card > p { color: var(--text-3); font-size: 13.5px; margin-bottom: 28px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-error {
  display: none;
  background: rgba(221,91,95,.1); border: 1px solid rgba(221,91,95,.3); color: var(--danger);
  border-radius: var(--r-md); padding: 11px 14px; font-size: 13px;
}
.auth-error.show { display: block; }

.auth-footer-link { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 24px; }
.auth-footer-link a { color: var(--accent-l); font-weight: 600; }

.auth-back { position: absolute; top: 32px; left: 32px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.auth-back:hover { color: var(--text); }

@media (max-width: 900px) {
  .auth-side { display: none; }
}
