/* ============================================
   Auth Pages — Bold split-screen
   ============================================ */
body.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #FFFFFF;
  background: linear-gradient(135deg, #F8F9FB 0%, #F0F4F9 100%);
}

/* ---- Brand Panel ---- */
.auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: 2rem 3rem;
  background: transparent;
  color: var(--text-1);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.auth-brand::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 85%, rgba(0,123,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 15%, rgba(0,123,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.auth-brand::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}

.auth-brand-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.auth-brand .brand-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0;
  width: 100%;
}
.brand-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.brand-logo-icon img {
  width: 100px !important;
  height: auto !important;
  display: block;
}
.brand-logo-icon svg { width: 24px; height: 24px; color: #fff; }
.brand-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
  text-align: center;
  margin-top: 0;
}

.auth-brand h2 {
  display: none;
}
.auth-brand p {
  display: none;
}

.auth-trust-signals {
  display: none;
}

/* ---- Form Panel ---- */
.auth-form-panel {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 2rem; position: relative;
}
.auth-form-container { width: 100%; max-width: 400px; }
.auth-form-container h1 {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 800;
  margin-bottom: 0.375rem; letter-spacing: -0.03em;
}
.auth-form-container .auth-subtitle {
  font-size: 0.9375rem; color: var(--text-3); margin-bottom: 2rem;
}
.auth-form-container form { margin-bottom: 1.5rem; }

.auth-input-group { position: relative; margin-bottom: 1.25rem; }
.auth-input-group .input-icon {
  position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-4); pointer-events: none;
  transition: color var(--dur-fast) ease;
}
.auth-input-group input {
  padding-left: 2.75rem; height: 50px; font-size: 0.9375rem; border-radius: var(--r-md);
}
.auth-input-group input:focus ~ .input-icon { color: var(--brand); }

.auth-form-container button[type="submit"] {
  width: 100%; height: 50px; font-size: 0.9375rem; border-radius: var(--r-md); margin-top: 0.5rem;
}

.auth-links { text-align: center; }
.auth-links a {
  font-size: 0.875rem; color: var(--text-3); transition: color var(--dur-fast) ease;
}
.auth-links a:hover { color: var(--brand); }
.auth-links a + a { display: inline-block; margin-top: 0.5rem; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  body.auth-page { flex-direction: column; }
  .auth-brand { width: 100%; min-height: auto; padding: 2.5rem 2rem 2rem; }
  .auth-brand h2 { font-size: 1.5rem; }
  .auth-form-panel { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .auth-brand { padding: 2rem 1.25rem 1.5rem; }
  .auth-trust-signals { flex-direction: column; align-items: center; gap: 0.5rem; }
  .auth-form-panel { padding: 1.5rem 1.25rem; }
  .auth-form-container h1 { font-size: 1.375rem; }
}
