
#toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.toast-item {
    background: #ffffff;
    color: #0f172a;
    padding: 13px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    animation: toastIn 0.36s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 220px;
    max-width: 380px;
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.04),
        0 13px 27px -5px rgba(50, 50, 93, 0.1),
        0 8px 16px -8px rgba(0, 0, 0, 0.1);
}

.toast-item.success { border-left: 3px solid #16a34a; }
.toast-item.error   { border-left: 3px solid #dc2626; }
.toast-item.info    { border-left: 3px solid #3b82f6; }

.toast-item.fade-out {
    animation: toastOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)     scale(1);    }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0)      scale(1);    }
    to   { opacity: 0; transform: translateY(-10px)  scale(0.97); }
}
