/* Email auth skin (2026-09-05): the sign-in, register and password pages join
   the landing and the brand loader. Flat #11131a canvas with the slow inset
   glow, the ribbon export, #1c1f2a / #2f3441 panels, #181b24 inputs, a white
   primary button. 02-email-auth.css keeps the layout; this file only overrides
   the look. */

.email-auth-page {
  background: #11131a;
  color: #ffffff;
}

.email-auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  animation: nf-brand-loader-glow 5s linear infinite;
}

.email-auth-aurora {
  display: none;
}

.email-auth-brand {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.46);
  font: 500 12px/16px var(--nf-font-ui, Inter, system-ui, sans-serif);
  letter-spacing: 0.08em;
}

.email-auth-brand:hover {
  color: #ffffff;
}

.email-auth-logo {
  width: 56px;
  height: 39px;
  margin-bottom: 16px;
}

.email-auth-card {
  max-width: 400px;
  padding: 24px 16px;
  border: 1px solid #2f3441;
  border-radius: 22px;
  background: rgba(24, 27, 36, 0.96);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.email-auth-title {
  font: 800 20px/24px var(--nf-font-ui, Inter, system-ui, sans-serif);
  letter-spacing: -0.15px;
}

.email-auth-subtitle {
  color: rgba(255, 255, 255, 0.55);
  font: 400 13px/18px var(--nf-font-ui, Inter, system-ui, sans-serif);
}

.email-auth-label {
  color: rgba(255, 255, 255, 0.8);
  font: 500 12px/16px var(--nf-font-ui, Inter, system-ui, sans-serif);
}

.email-auth-input {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #2f3441;
  border-radius: 12px;
  background: #1c1f2a;
  color: #ffffff;
  font: 400 14px/20px var(--nf-font-ui, Inter, system-ui, sans-serif);
}

.email-auth-input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.email-auth-input:focus {
  border-color: rgba(124, 92, 255, 0.34);
}

.email-auth-submit {
  min-height: 46px;
  border-radius: 12px;
  background: #ffffff;
  color: #000000;
  box-shadow: none;
  font: 600 14px/normal var(--nf-font-ui, Inter, system-ui, sans-serif);
}

.email-auth-submit:hover {
  background: #f1f2f5;
  box-shadow: none;
}

.email-auth-forgot-btn {
  min-height: 46px;
  border: 1px solid #2c303e;
  border-radius: 12px;
  background: #181b24;
  color: #ffffff;
  font: 600 14px/normal var(--nf-font-ui, Inter, system-ui, sans-serif);
}

.email-auth-forgot-btn:hover {
  background: #232734;
}

.email-auth-footer,
.email-auth-checkbox {
  color: rgba(255, 255, 255, 0.55);
}

.email-auth-footer a {
  color: #818cf8;
}

.email-auth-errors,
.email-auth-success {
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .email-auth-page::before {
    animation: none;
  }
}
