/**
 * SVGaze - Toast Notifications Styles
 */

/* === Toast Container === */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

/* === Toast === */
.toast {
  min-width: 250px;
  max-width: 400px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease-out;
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

/* === Toast Types === */
.toast-success {
  border-left: 4px solid #10b981;
  background: var(--card);
}

.toast-error {
  border-left: 4px solid #ef4444;
  background: var(--card);
}

.toast-warning {
  border-left: 4px solid #f59e0b;
  background: var(--card);
}

.toast-info {
  border-left: 4px solid #3b82f6;
  background: var(--card);
}

/* === Dark Theme === */
[data-theme="dark"] .toast {
  background: #1f2937;
  border-color: #374151;
  color: #f9fafb;
}

/* === Mobile === */
@media (max-width: 600px) {
  .toast-container {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .toast {
    width: 100%;
    max-width: 100%;
  }
}
