﻿
.toast-container {
    position: fixed;
    z-index: 1090; /*greater than all other bootstrap components. So that always on top*/
    bottom: 0;
    width: 100%;
    max-width: 100%;
    pointer-events: none;
    margin-bottom: 32px;
}

.toast-container > .toast-custom {
    margin-bottom: 8px;
}

.toast-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--border-radius-default);
    background-color: rgba(var(--rgb-black),0.8) !important;
    padding: 24px;
    width: 1140px;
    max-width: 100%;
    pointer-events: auto;
    margin-left: auto;
    margin-right: auto;
    /*typography*/
    font-size: var(--font-size-large);
    line-height: var(--line-height-default);
    font-weight: var(--font-weight-light);
    color: var(--white);
    /*animation*/
    opacity: 1;
    transition: opacity 0.2s linear;
}

.toast-custom:not(.show) {
    display: none;
    opacity: 0;
}
.toast-custom.showing {
    opacity: 0;
}

@media (max-width: 768px) {
    .toast-custom {
        width: 351px;
        padding: 20px 16px;
    }
}

.toast-action {
    font-weight: var(--font-weight-regular);
    text-decoration-line: underline;
    cursor: pointer;
}


@media (min-height: 968px) {
    .toast-container {
        margin-bottom: 214px;
    }
}

/*linear gradient toasts*/
.toast-success {
    background-image: radial-gradient(circle at 35% 50%, rgba(0, 237, 81, 0.12) 16%, rgba(0, 237, 123, 0) 58%);
}

.toast-warning {
    background-image: radial-gradient(circle at 35% 50%, rgba(255, 212, 38, 0.12) 16%, rgba(255, 212, 38, 0) 58%)
}

.toast-danger {
    background: radial-gradient(circle at 35% 50%, rgba(240, 66, 72, 0.12) 16%, rgba(240, 66, 72, 0) 58%);
}
