.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 300px;
  width: 90%;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.2s ease-in-out;
}

.modal-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
}

.modal-buttons button {
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}

#confirmYes { background: #4CAF50; color: white; }
#confirmNo { background: #f44336; color: white; }

.modal-buttons button:hover {
  opacity: 0.85;
}

@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}