/* ============================================================
   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.
   ============================================================ */


/* =================== SSO buttons =================== */

.login-sso {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.login-sso form {
  width: 100%;
}

/* Composing on top of .btn--secondary — adds icon gap and adjusts height */
.login-sso__btn {
  gap: 9px;
  padding: 11px 14px;
  height: auto;
  font-size: var(--font-size-small);
}

.login-sso__btn:hover {
  transform: translateY(-1px);
}

.login-sso__btn:active {
  transform: translateY(0);
}

.login-sso__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* =================== 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 */
