/* alerts.css */

#toast-container {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none; /* Allow clicks to go through container */
}

#toast-container > div {
  pointer-events: auto; /* Allow toast to be clickable */
}

.toast {
  pointer-events: auto;
  display: block;
  min-width: 250px;
  max-width: 400px;
  margin-bottom: 12px;
  padding: 12px 20px;
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  border-left: 6px solid #0d6efd;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  cursor: pointer;
}

.toast-info    { border-left-color: #0d6efd; }
.toast-success { border-left-color: #198754; }
.toast-warning { border-left-color: #ffc107; }
.toast-danger,
.toast-failure { border-left-color: #dc3545; }

.toast span {
  display: inline-block;
}

#loading-spinner {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  pointer-events: none;
}

#loading-spinner .spinner-border {
  width: 3rem;
  height: 3rem;
}

