/* Toast Notification Styles */

/* Container */
.toastify-container {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  pointer-events: none;
}

@media (min-width: 1280px) {
  .toastify-container {
    left: auto;
    right: 1rem;
    width: 24rem;
  }
}

/* Toast Item */
.toastify-item {
  pointer-events: auto;
  margin-bottom: 1rem;
  transform: translateX(100%);
  transition: all 0.3s ease-in-out;
  opacity: 0;
}

.toastify-item.show {
  opacity: 1;
  transform: translateX(0);
}

.toastify-item.hide {
  opacity: 0;
  transform: translateX(100%);
}

/* Toast Content */
.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #D2D2D2;
}

/* Toast Icon */
.toast-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #C79854;
}

/* Toast Message */
.toast-message {
  flex: 1;
  font-size: 0.875rem;
  color: #231F20;
  line-height: 1.625;
}

/* Toast Close Button */
.toast-close {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #656565;
  transition: color 0.2s;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
}

.toast-close:hover {
  color: #231F20;
}

/* Toast Variants */
.toastify-item.success .toast-icon {
  color: #10b981;
}

.toastify-item.error .toast-icon {
  color: #ef4444;
}

.toastify-item.warning .toast-icon {
  color: #f59e0b;
}

.toastify-item.info .toast-icon {
  color: #3b82f6;
}

/* Animation Keyframes */
@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Additional animation classes for dynamic usage */
.toast-slide-in {
  animation: toastSlideIn 0.3s ease-in-out;
}

.toast-slide-out {
  animation: toastSlideOut 0.3s ease-in-out;
} 