/**
 * pages/auth.css — login, register, forgot-password, reset-password
 */
.auth-page { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

.auth-brand {
  position: relative; overflow: hidden; padding: var(--space-10) var(--space-8);
  background: linear-gradient(160deg, #1a1508, #0a0908);
  color: #fff; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-brand__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35; }
.auth-brand__orb--1 { width: 320px; height: 320px; background: var(--color-primary-light); top: -80px; right: -80px; }
.auth-brand__orb--2 { width: 260px; height: 260px; background: var(--color-primary); bottom: -60px; left: -60px; }

.auth-brand__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; position: relative; z-index: 1; }
.auth-brand__logo-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); font-weight: 700; }
.auth-brand__logo-apex, .auth-brand__logo-medical { font-size: 1.1rem; letter-spacing: 0.05em; }
.auth-brand__logo-medical { color: var(--color-primary-light); }

.auth-brand__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-8); margin-top: var(--space-10); }
.auth-brand__headline { font-size: var(--text-3xl); line-height: 1.15; }
.auth-brand__headline-accent { color: var(--color-primary-light); }
.auth-brand__desc { color: rgba(255,255,255,0.7); margin-top: var(--space-4); line-height: var(--leading-relaxed); }

.auth-brand__card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: var(--space-5); }
.auth-brand__card-quote { font-style: italic; color: rgba(255,255,255,0.85); margin: 0 0 var(--space-3); font-size: var(--text-sm); }
.auth-brand__card-author { display: flex; align-items: center; gap: var(--space-3); }
.auth-brand__card-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--color-primary-light); color: #1a1508; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-xs); }
.auth-brand__card-name { font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.auth-brand__card-role { font-size: var(--text-xs); color: rgba(255,255,255,0.6); }

.auth-brand__stats { display: flex; gap: var(--space-8); }
.auth-brand__stat-value { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--color-primary-light); }
.auth-brand__stat-label { font-size: var(--text-xs); color: rgba(255,255,255,0.6); }

.auth-brand__footer { position: relative; z-index: 1; font-size: var(--text-xs); color: rgba(255,255,255,0.4); margin-top: var(--space-8); }

.auth-form-panel { display: flex; align-items: center; justify-content: center; padding: var(--space-8); background: var(--color-surface); }
.auth-form-wrapper { width: 100%; max-width: 400px; }

.auth-mobile-logo { display: none; align-items: center; gap: 10px; text-decoration: none; margin-bottom: var(--space-6); }
.auth-mobile-logo-apex, .auth-mobile-logo-medical { font-family: var(--font-display); font-weight: 700; }
.auth-mobile-logo-medical { color: var(--color-primary); }

.auth-form-header { margin-bottom: var(--space-6); }
.auth-form-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-primary); text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-bottom: var(--space-2); }
.auth-form-title { font-size: var(--text-2xl); margin-bottom: 6px; }
.auth-form-subtitle { color: var(--color-muted); font-size: var(--text-sm); }

.auth-forgot { display: block; text-align: right; font-size: var(--text-xs); color: var(--color-primary); text-decoration: none; margin: -8px 0 var(--space-4); }
.auth-submit { margin-top: var(--space-2); }
.auth-form-footer { text-align: center; margin-top: var(--space-6); font-size: var(--text-sm); color: var(--color-muted); }

.auth-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); }
.auth-success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--color-success-bg); color: var(--color-success); display: flex; align-items: center; justify-content: center; }
.auth-success__title { font-size: var(--text-xl); }
.auth-success__desc { color: var(--color-muted); font-size: var(--text-sm); }

@media (max-width: 860px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-mobile-logo { display: flex; }
}
