﻿@import "consts.css";
@import "fonts.css";

.popup-background {
    background: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    align-items: center;
    visibility: visible;
    transition: all linear 0.2s;
    top: 0;
    left: 0;
}

.popup-background.qr {
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
}

.popup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 50%;
    width: fit-content;
    height: fit-content;
    margin: 0 37px 0 35px;
    padding: 15px;
    border-radius: 4px;
    background: white;
    box-shadow: 0px 5px 10px var(--grey__grey_200);
    z-index: 3000;
}

.notify-popup {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    padding: 30px;
    height: fit-content;
    color: var(--text__main);
    border: none;
    border-radius: 4px;
    background: var(--white-background);
    box-shadow: 0px 5px 10px var(--grey__grey_200);
    word-wrap: normal;
    transition: opacity 1s;
}

/*NEW POPUP*/
/*Work with JS*/
.popup-background-extend {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000c2;
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.popup-foreground-extend {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: fit-content;
    margin: 0 10px;
    padding: 15px;
    font-family: var(--base-font-family);
    border-radius: 4px;
    background: white;
    transform: scale(0);
    transition: all cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.popup-buttons_yesno {
    display: flex;
    gap: 5px;
    justify-content: center;
}