#toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 8px;
    pointer-events: none;
    width: 100%; 
}

.toast-item {
    background: rgba(25, 27, 31, 0.95);
    backdrop-filter: blur(8px); 
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    pointer-events: auto;
    
    width: max-content; 
    max-width: 90vw;
    
    animation: toastIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
    opacity: 0;
    white-space: nowrap; 
}

.toast-item.hide {
    animation: toastOut 0.2s ease forwards;
}

@keyframes toastIn {
    from { transform: translateY(12px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes toastOut {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0.9); opacity: 0; }
}