/* toast.css — shared toast notification system */
.toast-stack {
    position: fixed; top: 20px; right: 20px; z-index: 9999;
    display: flex; flex-direction: column; gap: 10px;
    max-width: 360px;
}
.toast {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 14px; border-radius: 10px;
    background: #0b1628; border: 1px solid #1e2d45;
    color: #e2e8f0; font-size: 13.5px; line-height: 1.4;
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
    opacity: 0; transform: translateX(24px);
    transition: opacity .2s ease, transform .2s ease;
}
.toast.visible { opacity: 1; transform: none; }
.toast-icon { flex-shrink: 0; font-size: 15px; }
.toast-success .toast-icon { color: #22c55e; }
.toast-error .toast-icon { color: #ef4444; }
.toast-info .toast-icon { color: #22d3ee; }
.toast-msg { flex: 1; }
.toast-close {
    flex-shrink: 0; background: none; border: none; cursor: pointer;
    color: #64748b; font-size: 12px; padding: 2px;
}
.toast-close:hover { color: #e2e8f0; }

[data-theme="light"] .toast { background: #ffffff; border-color: #e2e8f0; color: #0f172a; box-shadow: 0 12px 32px rgba(0,0,0,.12); }
[data-theme="light"] .toast-close { color: #94a3b8; }
[data-theme="light"] .toast-close:hover { color: #0f172a; }

@media (max-width: 480px) {
    .toast-stack { left: 12px; right: 12px; top: 12px; max-width: none; }
}
