﻿.background-layer {
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .background-layer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: black;
        opacity: 0.6;
        z-index: -1;
    }

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    z-index: 1000;
    max-width: 527px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.5;
    transition: opacity 0.1s ease-in-out;
}
.popup-show {
    opacity: 1;
}
.popup-header {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 0;
    background-color: #f8f8f8;
    border-bottom: 1px solid #DDD;
    display: block;
    width: 100%;
    text-align: right;
    transition: color 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.popup-footer {
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 0;
    background-color: #f8f8f8;
    border-top: 1px solid #DDD;
    display: block;
    width: 100%;
    height: 10px;
    text-align: right;
    transition: color 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.popup .close-button {
    position: absolute;
    top: -12px;
    right: -12px;
    font-family: 'Arial', sans-serif;
    font-size: 31px;
    font-weight: bold;
    color: #fff;
    background: #605F61;
    border: 2px solid #AEAEAE;
    border-radius: 30px;
    line-height: 0;
    padding: 14px 6px;
    cursor: pointer;
    transition: color 0.3s ease;
    box-shadow: 0 1px -4px rgba(0, 0, 0, 0.1);
    user-select: none;
}

    .popup .close-button:hover {
        color: red;
    }

.popup label{
    letter-spacing: 0.7px;
}
@media only screen and (max-width: 756px) {
    .popup {
        width: 90%;
        font-size: 12px;
        padding-left: 20px;
        padding-right: 20px;
    }
}