/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

.notification {
    visibility: hidden;
    position: fixed;
    width: 350px;
    min-height: 56px;
    padding: 16px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, "Open Sans", "Helvetica Neue", "Roboto Rouble", sans-serif;
    font-weight: 400;
    line-height: 1.2;
    border-radius: 8px;
    transition: -webkit-transform 0.2s ease-out;
    transition: transform 0.2s ease-out;
    transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
    z-index: 9999;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    color: #fff;
    background: #0b1f35;
    box-shadow: 0 4px 16px rgba(11, 31, 53, 0.12),
        0 1px 2px rgba(11, 31, 53, 0.24);
}

.notification,
    .notification *,
    .notification *:before,
    .notification *:after {
        box-sizing: border-box;
    }

.notification_stick-to_left {
        left: 12px;
        -webkit-transform: translate(-350px, 0);
                transform: translate(-350px, 0);
    }

.notification_stick-to_right {
        right: 12px;
        -webkit-transform: translate(350px, 0);
                transform: translate(350px, 0);
    }

.notification_theme_alfa-on-color {
        color: rgba(11, 31, 53, 0.95);
        background: #fff;
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.12),
            0 1px 2px rgba(255, 255, 255, 0.24);
    }

.notification_theme_alfa-light {
        color: #fff;
        background: #121212;
        box-shadow: var(--shadow-s);
    }

.notification_theme_alfa-dark {
        color: #000;
        background: #fff;
        box-shadow: var(--shadow-s);
    }

.notification_has-closer {
        padding-right: 50px;
    }

.notification__title {
        font-size: 16px;
        line-height: 1.2;
        font-weight: 700;
    }

.notification__content {
        font-size: 13px;
        line-height: 1.2;
        font-weight: 400;
    }

.notification__title + .notification__content {
        margin-top: 8px;
    }

.notification__icon,
    .notification__closer {
        position: absolute;
    }

.notification__icon {
        display: none;
        top: 16px;
        left: 16px;
    }

.notification__closer {
        opacity: 0.6;
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        cursor: pointer;
        transition: opacity 200ms;
    }

.notification__closer:hover {
            opacity: 1;
        }

.notification_status_fail .notification__icon_theme_alfa-on-white, .notification__closer_theme_alfa-on-white {
            color: #fff;
        }

.notification_status_fail .notification__icon_theme_alfa-light, .notification__closer_theme_alfa-light {
            color: #f3f4f5;
        }

.notification_status_fail .notification__icon_theme_alfa-on-color, .notification__closer_theme_alfa-on-color {
            color: #0b1f35;
        }

.notification_status_fail .notification__icon_theme_alfa-dark, .notification__closer_theme_alfa-dark {
            color: #1c1c1e;
        }

.notification_status_ok,
    .notification_status_error,
    .notification_status_fail {
        padding-left: 52px;
    }

.notification_status_ok .notification__icon,
    .notification_status_error .notification__icon,
    .notification_status_fail .notification__icon {
        display: block;
    }

.notification_visible {
        visibility: visible;
        -webkit-transform: translate(0, 0);
                transform: translate(0, 0);
    }

@media (max-width: 599px) {
    .notification {
        width: calc(100% - 24px);
        min-height: 48px;
        padding: 12px;
        -webkit-transform: translate(0, -500px);
                transform: translate(0, -500px);
    }

        .notification_visible {
            -webkit-transform: translate(0, 0);
                    transform: translate(0, 0);
        }

        .notification_has-closer {
            padding-right: 46px;
        }

        .notification__icon {
            top: 12px;
            left: 12px;
        }

        .notification__closer {
            top: 4px;
            right: 4px;
        }

        .notification_status_ok,
        .notification_status_error,
        .notification_status_fail {
            padding-left: 56px;
        }
}

/*# sourceMappingURL=notification.css.map */
