/* Toast Container */
#toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  cursor: pointer;
}

/* Toast Base Style */
.toast {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #fff;
  font-family: "Arial", sans-serif;
  font-size: 16px;
  width: 300px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Toast Types */
.info-toast {
  background-color: #17a2b8;
} /* Info - Teal */
.success-toast {
  background-color: #28a745;
} /* Success - Green */
.warning-toast {
  background-color: #ffc107;
  color: #333;
} /* Warning - Yellow */
.error-toast {
  background-color: #dc3545;
} /* Error - Red */

/* Toast Icon */
.toast-icon {
  margin-right: 10px;
  font-size: 20px;
}

/* Toast Message */
.toast-message {
  flex: 1;
}

/* Show Toast Animation */
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hide Toast Animation */
.toast.hide {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Optional: Add a transition to the container if needed */
#toast-container {
  transition: opacity 0.5s ease;
}
