.site-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 99999;
}

.site-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
}

.site-modal-card {
  position: relative;
  width: min(100%, 420px);
  padding: 32px 28px 24px;
  border-radius: 16px;
  background: #1a1428;
  color: #ede9fe;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  text-align: center;
  z-index: 1;
  border: 1px solid #3b2f5a;
}

.site-modal-status {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.site-modal-status.success {
  background: #143524;
  color: #4ade80;
}

.site-modal-status.error {
  background: #3a1518;
  color: #f87171;
}

.site-modal-title {
  margin: 0 0 10px;
  color: #f5f3ff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.site-modal-text {
  margin: 0;
  color: #a89bc8;
  font-size: 16px;
  line-height: 1.6;
}

.site-modal-actions {
  margin-top: 22px;
}

.site-modal-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #7c3aed;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 22px;
  cursor: pointer;
}

.site-modal-button:hover {
  background: #5b21b6;
}
