.toast {
    max-width: 350px;
    overflow: hidden;
    font-size: 0.875rem;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.25rem 0.75rem rgba(20, 20, 31, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    border-radius: 0.25rem;
}

.toast:not(:last-child) {
    margin-bottom: 0.75rem;
}

.toast.showing {
    opacity: 1;
}

.toast.show {
    display: block;
    opacity: 1;
}

.toast.hide {
    display: none;
}

.toast-header {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    color: #888c9b;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.toast-body {
    padding: 0.75rem;
}

#toast-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    right: 0;
    left: 0;
    font-size: 0.875rem;
    height: 7vh;
}

#toast-container.toast-top-full-width > div:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#toast-container.toast-bottom-full-width > div:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

#toast-container.toast-top-center, #toast-container.toast-top-right, #toast-container.toast-top-left {
    top: 4.5rem;
}

#toast-container.toast-top-full-width {
    top: 3.5rem;
}

#toast-container.toast-bottom-center, #toast-container.toast-bottom-right, #toast-container.toast-bottom-left {
    bottom: 1rem;
}

#toast-container.toast-bottom-full-width {
    bottom: 0;
}

#toast-container.toast-top-left, #toast-container.toast-bottom-left {
    align-items: flex-start;
}

#toast-container.toast-top-right, #toast-container.toast-bottom-right {
    align-items: flex-end;
}

#toast-container > div {
    display: flex;
    padding: 1rem 3.25rem 1rem 1rem;
    margin: 0 !important;
    width: auto !important;
    min-width: 288px;
    max-width: 568px;
    opacity: 1;
    box-shadow: 0 2px 5px 0 rgba(20, 20, 31, 0.2);
}

#toast-container > div:hover {
    box-shadow: 0 2px 5px 0 rgba(20, 20, 31, 0.2);
}

#toast-container > div + div {
    margin-top: .5rem !important;
}

#toast-container > .toast-success,
#toast-container > .toast-info,
#toast-container > .toast-error,
#toast-container > .toast-warning {
    background-image: none !important;
}

.toast-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin-left: .5em;
    color: inherit;
    float: none;
    opacity: .4;
}

.toast-close-button:focus {
    color: #ffffff;
    opacity: .65;
}

.toast-close-button:hover {
    color: #ffffff;
    opacity: .65;
}

#toast-container > .toast-success,
.toast-success {
    background-color: #00A28A;
    color: #ffffff;
}

#toast-container > .toast-error,
.toast-error {
    background-color: #B76BA3;
    color: #ffffff;
}

#toast-container > .toast-info,
.toast-info {
    background-color: #222230;
    color: #ffffff;
}

#toast-container > .toast-warning,
.toast-warning {
    background-color: #EC935E;
    color: #363642;
}

.toast-progress {
    opacity: 0.15;
}

@media (max-width: 575.98px) {
    #toast-container {
        padding: 0;
    }
    #toast-container.toast-top-center, #toast-container.toast-top-right, #toast-container.toast-top-left, #toast-container.toast-bottom-center, #toast-container.toast-bottom-right, #toast-container.toast-bottom-left {
        left: 0;
        right: 0;
    }
    #toast-container.toast-top-center > div, #toast-container.toast-top-right > div, #toast-container.toast-top-left > div, #toast-container.toast-bottom-center > div, #toast-container.toast-bottom-right > div, #toast-container.toast-bottom-left > div {
        width: 100% !important;
        max-width: 100%;
    }
    #toast-container.toast-top-full-width > div, #toast-container.toast-bottom-full-width > div {
        width: 100% !important;
        max-width: 100%;
    }
    #toast-container.toast-top-full-width, #toast-container.toast-top-center, #toast-container.toast-top-right, #toast-container.toast-top-left {
        top: calc(3.5rem - 1px);
    }
    #toast-container.toast-bottom-center, #toast-container.toast-bottom-right, #toast-container.toast-bottom-left {
        bottom: 0;
    }
    #toast-container > div {
        padding: 1rem 3.25rem 1rem 1rem;
    }
    #toast-container > div.rtl {
        padding: 1rem 1rem 1rem 3.25rem;
    }
    #toast-container > div {
        border-radius: 0;
        margin-bottom: 0;
    }
    #toast-container .toast-close-button {
        top: 1rem;
        right: 1rem;
    }
    #toast-container .rtl .toast-close-button {
        right: auto;
        left: 1rem;
    }
}

.toast-top-full-width > div,
.toast-top-center > div {
    -webkit-animation: toastTop 300ms;
    animation: toastTop 300ms;
}

.toast-top-right > div {
    -webkit-animation: toastRight 300ms;
    animation: toastRight 300ms;
}

.toast-top-left > div {
    -webkit-animation: toastLeft 300ms;
    animation: toastLeft 300ms;
}

@media (max-width: 575.98px) {
    .toast-top-right > div,
    .toast-top-left > div {
        -webkit-animation: toastTop 300ms;
        animation: toastTop 300ms;
    }
}

.toast-bottom-full-width > div,
.toast-bottom-center > div,
.toast-bottom-right > div,
.toast-bottom-left > div {
    -webkit-animation: toastBottom 300ms;
    animation: toastBottom 300ms;
}

@-webkit-keyframes toastBottom {
    from {
        transform: translate3d(0, 100%, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes toastBottom {
    from {
        transform: translate3d(0, 100%, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes toastTop {
    from {
        transform: translate3d(0, -100%, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes toastTop {
    from {
        transform: translate3d(0, -100%, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes toastRight {
    from {
        transform: translate3d(100%, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes toastRight {
    from {
        transform: translate3d(100%, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes toastLeft {
    from {
        transform: translate3d(-100%, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes toastLeft {
    from {
        transform: translate3d(-100%, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}
