.toasts {

    position: fixed;
    display: flex;
    flex-direction: column;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    height: auto;
    width: auto;

}

.toast {
    background: white;
    color: black;
    transition: 0.8s;
    transform-origin: right;
    transform: scaleX(0);
    position: relative;
    border: 1px solid #9e9e9e59;
    display: grid;
    grid-template-columns: 50px auto 50px;
    margin-right: -50%;
}

.toast.atv {

    margin-right: 0;
    transform: scaleX(1);
}

.toast>div {
    gap: 5px;
    display: flex;
    place-content: center;
    place-items: center;
    padding: 5px;
}

.toast>div>svg {
    max-height: 40px;
    width: 50%;
}

.toast>.icon {
    border-right: 1px solid #9e9e9e59;
}

.toast>.icon>svg {
    padding: 6.5px;
    background: var(--state);
    border-radius: 50%;
    color: white;
    --size: 20px;
    max-width: var(--size);
    max-height: var(--size);
    min-width: var(--size);
    min-height: var(--size);
}

.toast>.body {
    flex-direction: column;
}

.toast>.body>div {
    padding-bottom: 5px;
    width: 100%;
    font-weight: bolder;
    text-align: center;
    color: var(--state);
    border-bottom: 1px solid var(--state);
}

.toast>.close {
    border-left: 1px solid #9e9e9e59;
    color: grey;
}

.toast>.close>svg {}