/* Toast Notifications - Bottom Left */
.toast-container {
  position: fixed;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  color: var(--text-primary);
  max-width: 320px;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.toast-exit {
  opacity: 0;
  transform: translateX(-20px);
}

.toast-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}

.toast-success .toast-icon {
  background: var(--green);
  color: #000;
}

.toast-error .toast-icon {
  background: var(--red);
  color: #fff;
}

.toast-warn .toast-icon {
  background: var(--yellow);
  color: #000;
}

.toast-info .toast-icon {
  background: var(--blue);
  color: #fff;
}

.toast-message {
  flex: 1;
  line-height: 1.4;
  word-break: break-word;
}

.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.toast-close:hover {
  opacity: 1;
}

/* Subtle border accent based on type */
.toast-success {
  border-left: 3px solid var(--green);
}

.toast-error {
  border-left: 3px solid var(--red);
}

.toast-warn {
  border-left: 3px solid var(--yellow);
}

.toast-info {
  border-left: 3px solid var(--blue);
}
