.site-toasts-root {
    --site-toast-font: Arial, Helvetica, sans-serif;
    --site-toast-bg: #ffffff;
    --site-toast-text: #222222;
    --site-toast-accent: #0086a8;
    font-family: var(--site-toast-font);
    pointer-events: none;
    position: relative;
    z-index: 9999;
}

.site-toast {
    background: var(--site-toast-bg);
    border-left: 4px solid var(--site-toast-accent);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
    color: var(--site-toast-text);
    display: none;
    font-size: 15px;
    line-height: 1.45;
    margin: 12px;
    max-width: 420px;
    min-width: 260px;
    padding: 16px 48px 16px 18px;
    pointer-events: auto;
    position: fixed;
}

.site-toast.is-visible {
    display: block;
}

.site-toast--top_left {
    left: 12px;
    top: 12px;
}

.site-toast--top_center {
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
}

.site-toast--top_right {
    right: 12px;
    top: 12px;
}

.site-toast--bottom_left {
    bottom: 12px;
    left: 12px;
}

.site-toast--bottom_center {
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.site-toast--bottom_right {
    bottom: 12px;
    right: 12px;
}

.site-toast__close {
    background: transparent;
    border: 0;
    color: var(--site-toast-text);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    opacity: 0.65;
    padding: 4px 10px;
    position: absolute;
    right: 6px;
    top: 6px;
}

.site-toast__close:hover,
.site-toast__close:focus {
    opacity: 1;
}

.site-toast__message p:last-child {
    margin-bottom: 0;
}

.site-toast__link {
    color: var(--site-toast-accent);
    display: inline-block;
    font-weight: 700;
    margin-top: 10px;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .site-toast {
        left: 12px;
        margin: 0;
        max-width: none;
        min-width: 0;
        right: 12px;
        width: auto;
    }

    .site-toast--top_center,
    .site-toast--bottom_center {
        transform: none;
    }

    .site-toast--top_left,
    .site-toast--top_center,
    .site-toast--top_right {
        top: 12px;
    }

    .site-toast--bottom_left,
    .site-toast--bottom_center,
    .site-toast--bottom_right {
        bottom: 12px;
    }
}
