/* css/email-verify-gate.css */

#emailVerifyGate[hidden] {
  display: none !important;
}

#emailVerifyGate {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: block;
}

.email-verify-gate__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(21, 132, 63, 0.18), transparent 40%),
    rgba(6, 10, 16, 0.82);
  backdrop-filter: blur(10px);
}

.email-verify-gate__card {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 460px);
  background: linear-gradient(180deg, #18222d 0%, #10171f 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  padding: 24px 20px 18px;
}

.email-verify-gate__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 28px;
  border-radius: 16px;
  background: rgba(21, 132, 63, 0.18);
  border: 1px solid rgba(21, 132, 63, 0.38);
}

.email-verify-gate__title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 24px;
  line-height: 1.15;
}

.email-verify-gate__text {
  margin: 0 0 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.email-verify-gate__email {
  margin: 0 0 12px;
  text-align: center;
  font-weight: 700;
  color: #9fe3b8;
  word-break: break-word;
}

.email-verify-gate__hint {
  margin: 0 0 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.74);
}

.email-verify-gate__hint[data-error="1"] {
  color: #ffb4b4;
}

.email-verify-gate__actions {
  display: grid;
  gap: 10px;
}

.email-verify-gate__btn {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    opacity 0.12s ease,
    filter 0.12s ease;
}

.email-verify-gate__btn:hover {
  transform: translateY(-1px);
}

.email-verify-gate__btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.email-verify-gate__btn--primary {
  background: #15843f;
  color: #ffffff;
}

.email-verify-gate__btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.email-verify-gate__btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 480px) {
  .email-verify-gate__card {
    width: min(94vw, 460px);
    padding: 20px 16px 16px;
    border-radius: 18px;
  }

  .email-verify-gate__title {
    font-size: 22px;
  }
}
