.custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.custom-alert-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.custom-alert-box {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  min-width: 300px;
  max-width: 90%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.custom-alert-overlay.visible .custom-alert-box {
  transform: scale(1);
}

.custom-alert-message {
  margin-bottom: 1rem;
  font-size: 16px;
}

.custom-alert-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.custom-alert-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    background-color: #4f46e5;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.custom-alert-buttons button:hover {
    background-color: #4f46e5;
}

.custom-alert-buttons .cancel {
background-color: #4f46e5;
}

.custom-alert-buttons .cancel:hover {
    background-color: #4f46e5;
}