/* ============================================================
   EveryChat — Login Page
   Login-specific styles only. The shared auth shell
   (.auth-root, .auth-card, .auth-form, .auth-input-wrap,
   .auth-error-toast, etc.) lives in layout.css §8.
   ============================================================ */


/* =================== Form fields =================== */

.login-field-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.login-field-header .field__label {
  margin-bottom: 0;
}

.login-field-link {
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-semibold);
  color: var(--color-blue);
  text-decoration: none;
}

.login-field-link:hover {
  color: var(--color-blue-dark);
  text-decoration: underline;
}

.login-pw-toggle {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  margin-right: -6px;
  flex-shrink: 0;
  transition: color var(--duration-fast), background var(--duration-fast);
}

.login-pw-toggle:hover {
  color: var(--color-text);
  background: var(--color-bg-off);
}

.login-pw-toggle svg {
  width: 16px;
  height: 16px;
}

.login-submit svg {
  width: 14px;
  height: 14px;
}


/* =================== Server banners =================== */
/* .auth-server-banner lives in layout.css §8 */
