/* Email Gate Modal — injected dynamically by SA.showEmailGate() */

.sa-email-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: sa-fade-in 0.2s ease;
}

.sa-email-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 48, 0.6);
  backdrop-filter: blur(4px);
}

.sa-email-gate__dialog {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(26, 39, 68, 0.2);
  animation: sa-slide-up 0.3s ease;
}

.sa-email-gate__dialog h3 {
  font-family: var(--sa-font-heading);
  font-size: 1.444rem;
  color: var(--sa-navy);
  margin-bottom: 8px;
}

.sa-email-gate__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--sa-muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.sa-email-gate__close:hover {
  background: var(--sa-warm-gray);
  color: var(--sa-navy);
}

.sa-email-gate__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.sa-email-gate__privacy {
  font-size: 0.722rem;
  color: var(--sa-muted);
  margin-top: 12px;
  text-align: center;
}

.sa-email-gate__error {
  font-size: 0.833rem;
  color: var(--sa-error);
  text-align: center;
  margin-top: 8px;
}

@keyframes sa-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sa-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
