/* Toast Notifications System */

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 400px;
}

.toast {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  border: 1px solid var(--border-mid);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), var(--glow-sm);
  pointer-events: auto;
  animation: slideInRight 0.3s ease;
  min-width: 250px;
  word-wrap: break-word;
}

.toast-info {
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, var(--bg-panel) 0%, rgba(0, 180, 255, 0.1) 100%);
}

.toast-success {
  border-color: var(--accent-green);
  background: linear-gradient(135deg, var(--bg-panel) 0%, rgba(0, 255, 157, 0.1) 100%);
}

.toast-error {
  border-color: var(--accent-red);
  background: linear-gradient(135deg, var(--bg-panel) 0%, rgba(255, 51, 85, 0.1) 100%);
}

.toast-warning {
  border-color: var(--accent-amber);
  background: linear-gradient(135deg, var(--bg-panel) 0%, rgba(255, 140, 0, 0.1) 100%);
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.toast.removing {
  animation: slideOutRight 0.3s ease forwards;
}
