
/*
    * AlertJS
    * Version: 1.0.0
*/

.toast-js-container {
    position: fixed;
    z-index: 9999;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.top-left {
    top: 0;
    left: 0;
    align-items: flex-start;
}

.top-right {
    top: 0;
    right: 0;
    align-items: flex-end;
}

.bottom-left {
    bottom: 0;
    left: 0;
    align-items: flex-start;
}

.bottom-right {
    bottom: 0;
    right: 0;
    align-items: flex-end;
}


.toast-js-container .toast{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-width: 1px;
    border-style: solid;
    border-radius: 0.25rem;
    padding: 1rem 1rem;
    position: relative;
    margin-bottom: 1rem;
    width: 100vw;
    max-width: 300px;
}

@media screen and (min-width: 1720px){
    .toast-js-container .toast{
        max-width: 400px;
    }
}

.toast-js-container .toast .toast-icon {
    margin-right: 1rem;
}

.toast-js-container .toast-danger {
    color: #58151c;
    background-color: #f8d7da;
    border-color: #dab0b5;
    box-shadow: 2px 2px 15px rgba(88, 21, 28, 0.1);
    border-left: 4px solid #dab0b5;
}

.toast-js-container .toast-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #91d09f;
    box-shadow: 2px 2px 15px rgba(21, 87, 36, 0.1);
    border-left: 4px solid #91d09f;
}

.toast-js-container .toast-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #c0b07f;
    box-shadow: 2px 2px 15px rgba(133, 100, 4, 0.1);
    border-left: 4px solid #c0b07f;
}

.toast-js-container .toast-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #8fc7d0;
    box-shadow: 2px 2px 15px rgba(12, 84, 96, 0.1);
    border-left: 4px solid #8fc7d0;
}

.toast .close{
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.75;
    transition: 0.3s;
}
.toast .close:hover{
    opacity: 1;
}
/* AlertJS */
@media screen and (max-width: 768px){
    .toast-js-container {
        width: 100%;
        padding: 0 1rem;
    }
}

@keyframes toast-slide-in-right {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes toast-slide-out-right {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

@keyframes toast-slide-in-left {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes toast-slide-out-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}