﻿#snackbar {
    visibility: hidden;
    position: fixed;
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(12px);
    z-index: 99999;
    min-width: 260px;
    max-width: min(560px, calc(100vw - 32px));
    /* R3H13 - neutral notification surface, inverted from the active theme. */
    background: var(--zen-theme-text, #323232);
    color: var(--zen-theme-surface, #fff);
    border: 1px solid var(--zen-theme-border-strong, #555);
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

    #snackbar.show {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
        transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
    }

    #snackbar.hide {
        visibility: hidden;
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
        pointer-events: none;
        transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
    }
/*#snackbar {
    visibility: hidden;
    min-width: 250px;*/
    /*    margin-left: -125px;*/
    /*transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    z-index: 99999;
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s*/ /*, fadeout 0.5s 2.5s; */
        /*animation: fadein 0.5s*/ /*, fadeout 0.5s 2.5s; */
    /*}

    #snackbar.hide {
        visibility: hidden;
        -webkit-animation:*/ /*fadein 0.5s, */ /*fadeout 0.5s 2.5s;
        animation:*/ /*fadein 0.5s,*/ /*fadeout 0.5s 2.5s;
    }


@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}*/
