/* ───────── MODAL ───────── */

#message-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#message-modal.hidden {
  display: none;
}

#message-modal>div {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  text-align: center;
  border: 1px solid rgba(5, 150, 105, 0.1);
}

#modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

#modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

#modal-message {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
}

#modal-close-button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #059669;
  color: white;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

#modal-close-button:hover {
  background: #047857;
}

/* Icon Colors */

#modal-icon.success {
  background: #dcfce7;
  color: #16a34a;
}

#modal-icon.error {
  background: #fee2e2;
  color: #dc2626;
}

#modal-icon.warning {
  background: #fef3c7;
  color: #d97706;
}

#modal-icon.info {
  background: #dbeafe;
  color: #2563eb;
}