/* ============================================================
   EMAIL REQUIRED - Modal bloqueante
   2026-09-23
   ============================================================ */

.email-required-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ercFadeIn .3s ease-out;
}

@keyframes ercFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.email-required-card {
  background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 32px 28px 24px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(128, 224, 255, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: ercSlideUp .4s cubic-bezier(.34, 1.56, .64, 1);
  text-align: center;
}

@keyframes ercSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.email-required-card .erc-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2) 0%, #40a0d0 100%);
  color: #04121a;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(128, 224, 255, 0.35);
  animation: ercPulse 2s ease-in-out infinite;
}

@keyframes ercPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(128, 224, 255, 0.35); }
  50%      { transform: scale(1.05); box-shadow: 0 12px 32px rgba(128, 224, 255, 0.55); }
}

.email-required-card .erc-title {
  font-size: 22px;
  color: var(--accent);
  letter-spacing: .5px;
  margin: 0 0 10px;
  font-weight: 800;
}

.email-required-card .erc-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 10px;
}

.email-required-card .erc-text b {
  color: var(--accent-2);
  font-weight: 800;
}

.email-required-card .erc-note {
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 20px;
  padding: 8px 12px;
  background: rgba(128, 224, 255, 0.05);
  border-left: 3px solid var(--accent-2);
  border-radius: 6px;
  text-align: left;
}

.email-required-card form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.email-required-card label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-dim);
  font-weight: 800;
  margin-bottom: 6px;
}

.email-required-card input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.email-required-card input[type="email"]:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(128, 224, 255, 0.15);
}

.email-required-card .erc-error {
  font-size: 12px;
  color: var(--red);
  min-height: 18px;
  margin: 8px 0 4px;
  text-align: center;
  font-weight: 700;
}

.email-required-card .erc-btn {
  width: 100%;
  padding: 14px;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--accent-2) 0%, #40a0d0 100%);
  border: none;
  border-radius: 10px;
  color: #04121a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .8px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}

.email-required-card .erc-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(128, 224, 255, 0.4);
}

.email-required-card .erc-btn:disabled {
  opacity: .6;
  cursor: wait;
}

.email-required-card .erc-footer {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 16px;
  line-height: 1.4;
}

@media (max-width: 500px) {
  .email-required-card {
    padding: 24px 20px 18px;
    border-radius: 14px;
  }
  .email-required-card .erc-icon { width: 60px; height: 60px; font-size: 30px; }
  .email-required-card .erc-title { font-size: 19px; }
  .email-required-card .erc-text { font-size: 13px; }
}