/* Success */
.successAlert{
    background: rgb(137, 253, 137);
    padding: 20px 40px;
    min-width: 400px;
    position: absolute;
    right: 0;
    top: 10px;
    border-radius: 4px;
    border-left: 10px solid rgb(0, 194, 0);
    overflow: hidden;
    animation: show_slide 0.8s ease forwards;
} 

.successAlert .bi-check-circle-fill{
    position: absolute;
    left: 20px;
    top: 25;
    transform: translateY(-25%);
    color: rgb(0, 94, 0);
    font-size: 30px;
}

.successAlert .success_msg{
    padding: 0 20px;
    font-size: 18px;
    color: rgb(36, 100, 36);
    display: flex;
    align-items: center;
}

/* Error */
.errorAlert{
    background: rgb(253, 137, 137);
    padding: 20px 40px;
    min-width: 400px;
    position: absolute;
    right: 0;
    top: 10px;
    border-radius: 4px;
    border-left: 10px solid rgb(194, 0, 0);
    overflow: hidden;
    animation: show_slide 0.8s ease forwards;
}

.errorAlert .bi-exclamation-circle-fill{
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(94, 0, 0);
    font-size: 30px;
}

.errorAlert .error_msg{
    padding: 0 20px;
    font-size: 18px;
    color: rgb(100, 36, 36);
    display: flex;
    align-items: center;
}


@keyframes show_slide {
    0%{
        transform: translateX(100%);
    }
    40%{
        transform: translateX(-10%);
    }
    80%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(-10px);
    }
}
