body.es-auth-inline-feedback #es-toast-container,
body.es-auth-inline-feedback #esToastHost {
  display: none !important;
}

body.es-auth-inline-feedback #errorBanner {
  display: none !important;
}

.es-login-feedback {
  display: none;
  margin-top: 0.875rem;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(248, 113, 113, 0.38);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.98), rgba(255, 255, 255, 0.98));
  color: #b91c1c;
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.08);
}

.es-login-feedback.is-visible {
  display: block;
}

.es-login-feedback.is-success {
  border-color: rgba(16, 185, 129, 0.25);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.98), rgba(255, 255, 255, 0.98));
  color: #047857;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.08);
}

.es-login-feedback.is-info {
  border-color: rgba(59, 130, 246, 0.22);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
  color: #1d4ed8;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.es-verification-resend {
  display: grid;
  justify-items: center;
  gap: 0.62rem;
  width: 100%;
  margin-top: 0.75rem;
  border-radius: var(--lp-request-radius, 1.25rem);
  border: 1px solid var(--lp-border, var(--signup-border, var(--auth-border, rgba(15, 23, 42, 0.12))));
  background: var(--lp-card, var(--signup-card, var(--auth-surface, #ffffff)));
  color: var(--lp-text, var(--signup-ink, var(--auth-text, #0f172a)));
  padding: clamp(1rem, 3vw, 1.25rem);
  text-align: center;
  box-shadow: 0 20px 48px var(--lp-shadow, var(--auth-shadow, rgba(15, 23, 42, 0.1)));
  overflow-wrap: anywhere;
}

.es-verification-resend--success {
  margin-top: 0;
}

.es-verification-resend:focus {
  outline: none;
}

.es-verification-resend__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--lp-accent-border, color-mix(in srgb, var(--signup-brand, var(--auth-accent, #0f766e)) 28%, transparent));
  border-radius: 1rem;
  background: var(--lp-accent-soft, color-mix(in srgb, var(--signup-brand, var(--auth-accent, #0f766e)) 12%, transparent));
  color: var(--lp-accent, var(--signup-brand, var(--auth-accent, #0f766e)));
}

.es-verification-resend__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.es-verification-resend__copy {
  max-width: 32rem;
  margin: 0;
  color: var(--lp-text, var(--signup-ink, var(--auth-text, #0f172a)));
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
}

.es-verification-resend__title {
  margin: 0;
  color: var(--lp-text, var(--signup-ink, var(--auth-text, #0f172a)));
  font-size: clamp(1.2rem, 3vw, 1.42rem);
  font-weight: 800;
  line-height: 1.18;
}

.es-verification-resend__help {
  max-width: 31rem;
  margin: 0;
  color: var(--lp-muted, var(--signup-muted, var(--auth-muted, #64748b)));
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
}

.es-verification-resend__email {
  display: inline;
  color: var(--lp-accent, var(--signup-brand, var(--auth-accent, #0f766e)));
  font-weight: 850;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.es-verification-resend__button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.18rem;
  border: 1px solid var(--lp-border, var(--signup-border, var(--auth-border, rgba(15, 23, 42, 0.12))));
  border-radius: var(--lp-request-control-radius, 1rem);
  background: var(--lp-card-2, var(--signup-surface, var(--auth-surface-2, #f8fafc)));
  color: var(--lp-text, var(--signup-ink, var(--auth-text, #0f172a)));
  padding: 0 1rem;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.es-verification-resend__button:hover:not(:disabled) {
  border-color: var(--lp-accent-border, color-mix(in srgb, var(--signup-brand, var(--auth-accent, #0f766e)) 28%, transparent));
  background: var(--lp-request-field-bg-hover, color-mix(in srgb, var(--signup-brand, var(--auth-accent, #0f766e)) 7%, var(--lp-card-2, var(--signup-surface, #f8fafc))));
  color: var(--lp-accent, var(--signup-brand, var(--auth-accent, #0f766e)));
  box-shadow: 0 0 0 4px var(--lp-focus, color-mix(in srgb, var(--signup-brand, var(--auth-accent, #0f766e)) 18%, transparent));
  transform: translateY(-1px);
}

.es-verification-resend__button:focus-visible {
  outline: none;
  border-color: var(--lp-accent, var(--signup-brand, var(--auth-accent, #0f766e)));
  box-shadow: var(--lp-request-focus-shadow, 0 0 0 4px var(--lp-focus, color-mix(in srgb, var(--signup-brand, var(--auth-accent, #0f766e)) 18%, transparent)));
}

.es-verification-resend__button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

.es-verification-resend__status {
  min-height: 1.1rem;
  color: var(--lp-muted, var(--signup-muted, var(--auth-muted, #64748b)));
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.35;
}

.es-verification-resend__status[data-kind="success"] {
  color: var(--lp-accent, var(--signup-brand, var(--auth-accent, #0f766e)));
}

.es-verification-resend__status[data-kind="error"] {
  color: var(--es-error, #b91c1c);
}

@media (max-width: 520px) {
  .es-verification-resend {
    padding: 1rem;
  }

  .es-verification-resend__button {
    width: 100%;
  }
}

.es-login-feedback-animate {
  animation: es-login-feedback-in 220ms ease-out;
}

.es-login-loading-overlay {
  --auth-loader-bg: #f8fafc;
  --auth-loader-dot: #0f766e;
  --auth-loader-dot-muted: #0f766e;
  --auth-loader-text: #64748b;
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--auth-loader-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 130ms ease, visibility 130ms ease;
}

.es-login-loading-overlay[data-active="true"] {
  opacity: 1;
  visibility: visible;
}

.es-login-loading-shell {
  width: min(220px, 100%);
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  animation: es-login-fade-in 160ms ease-out both;
}

.es-login-loading-copy {
  color: var(--auth-loader-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.38;
}

.es-login-loading-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 12px;
}

.es-login-loading-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--auth-loader-dot);
  opacity: 0.34;
  animation: es-login-dot-breathe 1.35s ease-in-out infinite;
}

.es-login-loading-dots span:nth-child(2) {
  animation-delay: 150ms;
}

.es-login-loading-dots span:nth-child(3) {
  animation-delay: 300ms;
}

.es-login-loading-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes es-login-feedback-in {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes es-login-fade-in {
  0% {
    opacity: 0;
    transform: translateY(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes es-login-dot-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .es-login-loading-shell,
  .es-login-loading-dots span {
    animation: none;
  }

  .es-login-loading-dots span {
    opacity: 0.5;
  }
}
