/**
 * Enhanced toast notification styling - SCSS
 * Compatible with both fixed position and container-based notifications
 */
/* Container for notifications */
.notification-container {
  position: relative;
  width: 100%;
  pointer-events: none; /* Allow clicks to pass through container */
}

/* Base toast styling */
.toast {
  position: fixed;
  padding: 12px 16px;
  width: 100%;
  background-color: white;
  color: #333;
  border-radius: 0 0 ww4px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
  pointer-events: auto; /* Re-enable pointer events on the toast itself */
  justify-content: flex;
  gap: 2em;
}

/* Fixed positioning for toasts directly in body */
body > .toast {
  position: fixed;
  top: 0;
}

/* Container positioning for toasts in specific containers */
.notification-container .toast {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
}

/* Message content area */
.toast-message {
  justify-content: center;
  max-width: -moz-fit-content;
  max-width: fit-content;
  font-size: 1em;
  line-height: 1.4;
  display: flex;
  justify-content: center;
  order: 2;
}

/* Animation container */
.lottie-container {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  order: 1;
}

/* Toast type-specific styling */
.success {
  border-left: 4px solid #4CAF50;
  background-color: #ADEBCC;
  color: #0a5a36;
}

.toast.error {
  border-left: 4px solid #F44336;
  background-color: #FBB6B1;
  color: #9a1f1f;
}

.toast.warning {
  border-left: 4px solid #FF9800;
  background-color: #FFE08C;
  color: #805e00;
}

.toast.info {
  border-left: 4px solid #2196F3;
  background-color: #C5E2FC;
  color: #0a558c;
}

/* Close button styling */
.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  color: #888;
  opacity: 0.7;
  transition: opacity 0.2s;
  order: 3;
}
.toast-close:hover {
  opacity: 1;
}

/* Animation keyframes */
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}
/* Animation classes */
.toast-enter {
  animation: toast-in 0.3s ease forwards;
}

.toast-exit {
  animation: toast-out 0.3s ease forwards;
}

/* Responsive styling */
@media (max-width: 768px) {
  .toast-message {
    font-size: 1rem;
  }
  .lottie-container {
    width: 2.2em;
    height: 2.2em;
  }
}/*# sourceMappingURL=toast.css.map */