.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 1rem;
  max-width: 350px;
}

@media (max-width: 600px) {
  .toast-container {
    right: 50%;
    transform: translateX(50%);
    align-items: center;
    width: 100%;
  }
}

.toast {
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 90vw;
  word-wrap: break-word;
  font-size: 14px;
}

/* Base appearance */
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Variants */
.toast-success {
  background-color: #28a745;
}
.toast-error {
  background-color: #dc3545;
}
.toast-info {
  background-color: #17a2b8;
}
.toast-warn {
  background-color: #ffc107;
  color: black;
}

.toast-default {
  background-color: #000;
  color: white;
}
