/* Flash messages under the header, and the transient toast. */

.message-stack {
  padding: 0 var(--space-8) var(--space-3);
}

.flash {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-md);
  background: var(--success-soft);
  color: var(--text-success);
  font-size: var(--text-sm);
}

.flash.error {
  border-color: var(--danger-border);
  background: var(--danger-soft);
  color: var(--text-danger);
}

.toast {
  position: fixed;
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--surface-inverse);
  box-shadow: var(--shadow-md);
  color: var(--text-inverse);
  opacity: 0;
  pointer-events: none;
}
