.toast-container {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: calc(100vw - 44px);
}

.toast {
    position: relative;
    background: rgba(12,12,12,0.96);
    border: 1px solid var(--border);
    padding: 14px 16px;
    border-radius: 6px;
    color: var(--text-primary);
    font-weight: 600;
    animation: toastIn 0.3s var(--ease) both;
    max-width: 420px;
    overflow: hidden;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.toast-hide {
    animation: toastOut 0.25s ease both;
}

.toast-text {
    padding-right: 8px;
}

.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    animation: toastProgress 3.2s linear forwards;
}

.toast-success { border-left: 3px solid var(--success); }
.toast-success .toast-progress { background: var(--success); }

.toast-error { border-left: 3px solid var(--danger); }
.toast-error .toast-progress { background: var(--danger); }

.toast-warning { border-left: 3px solid var(--warning); }
.toast-warning .toast-progress { background: var(--warning); }

.toast-info { border-left: 3px solid var(--info); }
.toast-info .toast-progress { background: var(--info); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(28px) scale(0.98); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to { opacity: 0; transform: translateX(28px) scale(0.98); }
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}