.wave-alert-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}

.wave-alert-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wave-alert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
}

.wave-alert-modal-panel {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.2s ease;
}

.wave-alert-modal.is-open .wave-alert-modal-panel {
  transform: scale(1);
}

.wave-alert-modal-head {
  padding: 22px 20px 10px;
  text-align: center;
}

.wave-alert-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.wave-alert-modal--success .wave-alert-modal-icon {
  background: #dcfce7;
  color: #16a34a;
}

.wave-alert-modal--error .wave-alert-modal-icon {
  background: #fee2e2;
  color: #dc2626;
}

.wave-alert-modal--warn .wave-alert-modal-icon {
  background: #fef3c7;
  color: #d97706;
}

.wave-alert-modal--info .wave-alert-modal-icon {
  background: #ede9fe;
  color: #7c3aed;
}

.wave-alert-modal-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
}

.wave-alert-modal-body {
  padding: 4px 20px 18px;
  text-align: center;
}

.wave-alert-modal-message {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
}

.wave-alert-modal-foot {
  padding: 0 20px 20px;
}

.wave-alert-modal-btn {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: #7c3aed;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.wave-alert-modal--success .wave-alert-modal-btn {
  background: #16a34a;
}

.wave-alert-modal--error .wave-alert-modal-btn {
  background: #dc2626;
}

.wave-alert-modal--warn .wave-alert-modal-btn {
  background: #d97706;
}

.wave-alert-modal-btn:active {
  transform: scale(0.98);
}
