/* ============================================
   Auth Pages — Bold split-screen (Green Edition)
   ============================================ */
body.auth-page {
  display: flex; min-height: 100vh; background: var(--bg);
}

/* ---- Brand Panel (Tünd Yaşıl Panel) ---- */
.auth-brand {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 46%; min-height: 100vh; padding: 3rem;
  background: #064E3B; /* Navy-900 yerinə Tünd Meşə Yaşılı */
  color: #fff;
  position: relative; overflow: hidden;
}
.auth-brand::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 85%, rgba(16,185,129,0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 15%, rgba(16,185,129,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: 380px; }

.auth-brand .brand-logo {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 3rem;
}
.brand-logo-icon {
  width: 44px; height: 44px; background: var(--brand); /* Emerald Yaşılı */
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.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: #fff;
}

.auth-brand h2 {
  font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.2;
  margin-bottom: 1rem; letter-spacing: -0.03em;
}
.auth-brand p { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

.auth-trust-signals { display: flex; gap: 1.5rem; margin-top: 3rem; justify-content: center; }
.auth-trust-item {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.6875rem; color: rgba(255,255,255,0.35); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.auth-trust-item svg { width: 14px; height: 14px; opacity: 0.5; }

/* ---- 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;
  color: var(--text-1);
}
.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);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-1);
}

/* Inputa fokus olanda yaşıl rəng çıxsın */
.auth-input-group input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
.auth-input-group input:focus ~ .input-icon { color: var(--brand); }

/* Submit düyməsi */
.auth-form-container button[type="submit"] {
  width: 100%; height: 50px; font-size: 0.9375rem; border-radius: var(--r-md); margin-top: 0.5rem;
  background: #065F46; /* Tünd yaşıl düymə */
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
  border: none;
}
.auth-form-container button[type="submit"]:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.auth-links { text-align: center; }
.auth-links a {
  font-size: 0.875rem; color: var(--text-3); transition: color var(--dur-fast) ease;
  font-weight: 600;
}
.auth-links a:hover { color: var(--brand); } /* Linklər yaşıl olur */
.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; }
}
