/* ═══════════════════════════════════════════════════════════════════
   Cuarenta 40 · Toasts / mensajes flash.
   ═══════════════════════════════════════════════════════════════════ */

.c-toast-stack {
  position: fixed;
  top: 18px; right: 18px;
  z-index: 90;
  width: 360px;
  max-width: calc(100vw - 36px);
  display: flex; flex-direction: column; gap: 10px;
}
.c-toast {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 14px;
  background: var(--ink-800);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--indigo-500);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text);
  animation: toast-in .28s cubic-bezier(.2,.8,.2,1);
}
.c-toast > span { flex: 1; min-width: 0; }
.c-toast--success { border-left-color: var(--green); }
.c-toast--warning { border-left-color: var(--amber); }
.c-toast--error   { border-left-color: var(--rose); }
.c-toast__icon { font-size: 17px; flex-shrink: 0; display: inline-flex; align-items: center; }
.c-toast--success .c-toast__icon { color: var(--green); }
.c-toast--warning .c-toast__icon { color: var(--amber); }
.c-toast--error   .c-toast__icon { color: var(--rose); }
.c-toast--info    .c-toast__icon { color: var(--indigo-400); }
.c-toast__close {
  margin-left: auto; flex-shrink: 0;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; border-radius: 6px;
  color: var(--text-faint); cursor: pointer; font-size: 18px;
  padding: 0; line-height: 1;
  transition: color .14s ease, background .14s ease;
}
.c-toast__close:hover { color: var(--text); background: var(--ink-700); }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

