.custom-alert {
    display: flex;
    gap: 10px;
    position: fixed;
    display: flex;
    gap: 10px;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 8px;
    color: #FFF;
    z-index: 1000; 
    margin-top: 10px;
    animation: slideIn 0.5s ease-out;
    transition: top 0.5s ease-out;
    max-width: calc(100% - 300px);
}

.success {
    background-color: #4BB543;
}

.error {
    background-color: #FF3333;
}

.info {
    background-color: #0099ff;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.slide-out {
    animation: slideOut 0.5s ease-out;
}