#toast-container {
    position: fixed;
    top: 60px;
    right: 5px;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    z-index: 99999;
}

.sm-toast {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
    background-color: grey;
    border-radius: 10px;
    margin: 0.3rem;
    border: 1px solid rgba(30, 30, 37, 0.4);
    transition: 0.3s ease-in;
    min-width: 15vw;
    max-width: 40vw;
}

.sm-notif-wrapper {
    display: flex;
    align-items: center;
}

.sm-toast.slide {
    transform: translateX(100vw);
}

.toast-title {
    font-size: 1rem;
    font-weight: 500;
    padding-left: 0.5rem;
    align-self: start;
}


.sm-toast-body {
    font-size: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.sm-toast-info {
    display: none;
    max-height: 0px;
    font-size: 1rem;
    flex: 0 0 100%;
    padding-left: 0.5rem;
    transition: max-height 1s ease-in;
}

.sm-toast-info.show{
    display: block;
    max-height: 100%;
}

.sm-toast hr {
    border: 1px solid rgba(30, 30, 37, 0.4);
    width: 98%;
    border-radius: 1px;
    margin: 0;
    align-self: center;
    justify-self: center;
}

.toast-close {
    align-self: start;
    margin: auto;
    float: right;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding-right: 0.5rem;
    color: #138db3;
}

.sm-toast.toast-info {
    color: #138db3;
    border: 2px solid #138db3;
    background-color: white;
}

.sm-toast.toast-success {
    color: #155724;
    background-color: #D9FFDF;
}

.sm-toast.toast-warning {
    color: #856404;
    background-color: #FFFFCF;
}

.sm-toast.toast-error {
    color: #721c24;
    background-color: #FFDCD1;
}


@media screen and (max-width: 1920px) {

    .sm-toast-body, .toast-title, .toast-close, .sm-toast-info {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1280px) {

    #toast-container {
        position: fixed;
        width: 100%;
        top: 50px;
        right: 0px;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    
    .sm-toast {
        max-width: 100%;
    }

    .sm-toast-body, .toast-title, .toast-close, .sm-toast-info {
        font-size: 1rem;
    }
}
