﻿/*--Всплывающий элемент при успешном добавлении товара в корзину--*/
.alertPopup {
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    background-color: rgb(46, 125, 50);
    display: flex;
    padding: 6px 6px;
    color: rgb(255, 255, 255);
    position: fixed;
    z-index: 1400;
    align-items: center;
    justify-content: center;
    top: 24px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    visibility: hidden;
}

.alertPopupSuccess {
    background-color: #4caf50;
}

.alertPopupInfo {
    background-color: #2196f3;
}

.alertPopupError {
    background-color: #d32f2f;
}

.alertButtonClose {
    display: inline-flex;
    background-color: transparent;
    outline: 0px;
    border: 0px;
    cursor: pointer;
    padding: 5px;
    width: 22px;
}

.svgFilter {
    filter: invert(92%) sepia(100%) saturate(0%) hue-rotate(202deg) brightness(106%) contrast(106%);
}

.alertButtonClose:hover {
    cursor: pointer;
    color: #f2f2f2;
}

.alertText {
    padding: 8px 0;
    min-width: 0;
    overflow: auto;
}

.alertSvgWrapper {
    margin-right: 12px;
    padding: 7px 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    font-size: 22px;
    opacity: 0.9;
}

.alertSvg {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 1em;
    height: 1em;
    display: inline-block;
    fill: currentColor;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    font-size: 1.25rem;
    padding: 0 5px;
}
