/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.toast-container .toast-notification {
  pointer-events: auto;
}

.toast-notification {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  display: flex !important;
  align-items: center;
  gap: 1rem;
  min-width: 300px;
  max-width: 500px;
  border-left: 4px solid;
  animation: slideIn 0.3s ease-out;
  transition: all 0.3s ease;
  opacity: 1 !important;
}

.toast-notification.hiding {
  animation: slideOut 0.3s ease-in;
  opacity: 0;
  transform: translateX(100%);
}

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

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

.toast-notification.success {
  border-left-color: var(--color-accent);
}

.toast-notification.error {
  border-left-color: var(--color-accent-2);
}

.toast-notification.info {
  border-left-color: var(--color-secondary);
}

.toast-notification.warning {
  border-left-color: #FFA500;
}

.toast-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.toast-notification.success .toast-icon {
  background: rgba(166, 255, 214, 0.2);
  color: var(--color-accent);
}

.toast-notification.error .toast-icon {
  background: rgba(255, 203, 194, 0.2);
  color: var(--color-accent-2);
}

.toast-notification.info .toast-icon {
  background: rgba(205, 233, 255, 0.2);
  color: var(--color-secondary);
}

.toast-notification.warning .toast-icon {
  background: rgba(255, 165, 0, 0.2);
  color: #FFA500;
}

.toast-content {
  flex: 1;
}

.toast-message {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toast-close:hover {
  background: var(--color-neutral-light);
  color: var(--color-text-primary);
}

/* Responsive */
@media (max-width: 767px) {
  .toast-container {
    top: 1rem;
    right: 1rem;
    left: 1rem;
  }
  
  .toast-notification {
    min-width: auto;
    width: 100%;
  }
}

