.reg-alert-overlay{
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 38, 0.58);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
}

.reg-alert-overlay.show{
  display: flex;
}

.reg-alert-box{
  position: relative;
  width: min(520px, 100%);
  background: #ffffff;
  border-radius: 22px;
  padding: 34px 30px 28px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  border: 1px solid rgba(30,90,168,.14);
  animation: regAlertIn .28s ease;
}

@keyframes regAlertIn{
  from{ opacity: 0; transform: translateY(18px) scale(.98); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

.reg-alert-close{
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.reg-alert-close:hover{
  background: #e2e8f0;
}

.reg-alert-icon{
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaf4ff, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 1px solid #d7e6f7;
}

.reg-alert-box h2{
  margin: 0 0 12px;
  font-size: 1.55rem;
  color: #0f172a;
}

.reg-alert-box p{
  margin: 10px 0;
  color: #475569;
  line-height: 1.55;
  font-size: .98rem;
}

.reg-alert-button{
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  padding: 12px 26px;
  background: #1e5aa8;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30,90,168,.20);
}

.reg-alert-button:hover{
  filter: brightness(.96);
}
