.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #fff;
  max-width: 420px;
  width: 90%;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}

.modal-box h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #222;
}

.modal-box p {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
  white-space: pre-line;
}

.modal-actions {
  display: flex;
  justify-content: center;
}

.btn-primary {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
