.alert-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  animation: alertFadeIn 0.2s ease-out;
}

.alert-modal {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 24px 20px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: alertScale 0.2s ease-out;
}

.alert-modal--error {
  border-top: 4px solid #ef4444;
}

.alert-modal--success {
  border-top: 4px solid #22c55e;
}

.alert-modal--warning {
  border-top: 4px solid #f59e0b;
}

.alert-modal--info {
  border-top: 4px solid #3b82f6;
}

.alert-modal__title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  padding-right: 24px;
}

.alert-modal__body {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.alert-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}

.alert-modal__close:hover {
  color: #111827;
  background-color: #f3f4f6;
}

@keyframes alertFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes alertScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}