.delete-modal {
  position: fixed !important;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  padding: 20px; /* in case screen is small */
}

.delete-modal.hidden {
  display: none !important;
}

.delete-modal-content {
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 24px;
  border-radius: 10px;
  max-width: 90%;
  width: 360px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  text-align: center;
  font-family: system-ui, sans-serif;
  animation: fadeIn 0.3s ease-in-out;
}

.delete-modal-content h3 {
  margin-top: 0;
  font-size: 20px;
  font-weight: bold;
}

.delete-modal-content p {
  margin: 16px 0;
  font-size: 16px;
  color: #ccc;
}

.delete-modal-buttons {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.confirm-delete-btn,
.cancel-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.confirm-delete-btn {
  background-color: #d62828;
  color: white;
}
.confirm-delete-btn:hover {
  background-color: #c21414;
  transform: scale(1.03);
}

.cancel-btn {
  background-color: #444;
  color: #ccc;
}
.cancel-btn:hover {
  background-color: #555;
  transform: scale(1.03);
}

/* Optional animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}