.toast-container {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    pointer-events: none;
    max-width: 360px;
    width: calc(100vw - 2rem);
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(20,20,20,0.95);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    pointer-events: all;
    opacity: 0;
    transform: translateX(110%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left-width: 3px;
}
.toast--in { animation: toastIn 0.4s cubic-bezier(0.175,0.885,0.32,1.275) forwards; }
.toast--out { animation: toastOut 0.25s ease-in forwards; }
.toast--success { border-left-color: var(--store-success); }
.toast--error   { border-left-color: var(--store-error); }
.toast--warning { border-left-color: var(--store-warning); }
.toast--info    { border-left-color: var(--store-secondary); }

.toast__icon { font-size: 1rem; flex-shrink: 0; }
.toast--success .toast__icon { color: var(--store-success); }
.toast--error   .toast__icon { color: var(--store-error); }
.toast--warning .toast__icon { color: var(--store-warning); }
.toast--info    .toast__icon { color: var(--store-secondary-light); }

.toast__message {
    flex: 1;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--store-text);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.toast__close {
    width: 22px; height: 22px;
    background: transparent;
    border: none;
    color: var(--store-text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-xs);
    flex-shrink: 0;
    font-size: 0.7rem;
    transition: color 0.2s;
}
.toast__close:hover { color: var(--store-text); }

@keyframes toastIn  { from{opacity:0;transform:translateX(110%)} to{opacity:1;transform:translateX(0)} }
@keyframes toastOut { from{opacity:1;transform:translateX(0)}    to{opacity:0;transform:translateX(110%)} }

@media (max-width: 576px) {
    .toast-container { right: 0.5rem; left: 0.5rem; bottom: 0.75rem; max-width: none; width: auto; }
    @keyframes toastIn  { from{opacity:0;transform:translateY(100%)} to{opacity:1;transform:translateY(0)} }
    @keyframes toastOut { from{opacity:1;transform:translateY(0)}     to{opacity:0;transform:translateY(100%)} }
}