/* Toast notification animations */
@keyframes shrink-width {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.animate-shrink-width {
  animation: shrink-width linear forwards;
}

/* Enhanced flash message animations */
.flash-message {
  animation: flash-enter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes flash-enter {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Toast container positioning */
#toast-container {
  pointer-events: none;
}

#toast-container > * {
  pointer-events: auto;
}

/* Modern notification styling improvements */
.notification-shadow {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Hover effects for interactive elements */
.notification-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

/* Progress bar styling */
.notification-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: currentColor;
  opacity: 0.3;
  transition: width linear;
  border-radius: 0 0 8px 8px;
}
