/* ══════════════════════════════════════════
   RELAY — Toast notifications
   ══════════════════════════════════════════ */

.toast-container {
  position: fixed;
  bottom: calc(var(--relay-player-h) + 12px);
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--relay-surface-2);
  border: 1px solid var(--relay-border);
  border-radius: var(--relay-radius-sm);
  color: var(--relay-text);
  font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  animation: toastIn 0.25s ease;
  max-width: 280px;
}

.toast.toast-success {
  border-color: rgba(6, 182, 212, 0.4);
}

.toast.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.toast i {
  font-size: 0.9rem;
  color: var(--relay-cyan);
  flex-shrink: 0;
}

.toast.toast-error i {
  color: #ef4444;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
