.authentication-block .title-content {
    font-size: 60px;
    font-weight: 700;
    margin: 30px 0 20px 0;
    text-align: center;
    color: #1b1b1b;
    font-family: var(--font-family);
}
.authentication-block .description-content {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    color: #1b1b1b;
    margin-bottom: 60px;
    font-family: var(--font-family);
}
.authentication-block .image { text-align: center; }
.authentication-block form { display: flex; justify-content: center; }
.authentication-block .input {
    width: 580px;
    padding: 17px 14px 17px 50px;
    line-height: 24px;
    font-size: 20px;
    margin-right: 20px;
    background-image: url(/wa-data/public/shop/themes/megashop3_10_2025/webry_img/adobe-indesign.png) !important;
    background-size: 50px;
    background-position: left;
    background-repeat: no-repeat;
}
.authentication-block .btn {
    height: 59.79px;
    width: 140px;
    background-image: url(/wa-data/public/shop/themes/megashop3_10_2025/webry_img/поиск.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px;
}
.authentication-block .authentication-popup {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 10000;
    width: 100%;
}
.authentication-block .authentication-popup .content {
    position: absolute;
    width: 80%;
    max-width: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}
.authentication-block .authentication-popup .close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-image: url(/wa-data/public/shop/themes/megashop3_10_2025/webry_img/close-popup.png);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.authentication-block .authentication-popup .img {
    text-align: center;
    margin-bottom: 10px;
}
.authentication-block .authentication-popup .title {
    color: #000;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}
.authentication-block .authentication-popup .data {
    font-size: 15px;
    text-align: center;
    margin-bottom: 10px;
}
.authentication-block .authentication-popup .data span {
    margin-left: 10px;
}
.authentication-block .authentication-popup .code {
    font-size: 15px;
    text-align: center;
    margin-bottom: 10px;
}
.authentication-block .authentication-popup .description {
    font-size: 15px;
    color: #686868;
}
.authentication-block .authentication-popup.show { display: block; }
.authentication-block .instructions { margin-top: 50px; }
.authentication-block .text {
    margin: 0 9px 30px 10px;
    font-size: 20px;
    font-family: var(--font-family);
    line-height: 26px;
}
.authentication-block .instructions > p {
    display: inline-block;
    width: 100%;
    margin: 0 9px 0 10px;
    font-size: 20px;
    font-family: var(--font-family);
    line-height: 26px;
}
.authentication-block .image-block {
    display: flex;
    -webkit-flex-wrap: wrap-reverse;
    flex-wrap: wrap;
    justify-content: space-around;
}
.authentication-block .image-block > div {
    flex: 0 0 50%;
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .authentication-block .title-content {
        font-size: 40px;
        margin: 16px 0 10px 0;
    }
    .authentication-block .description-content {
        font-size: 20px;
        margin-bottom: 30px;
    }
    .authentication-block form {
        flex-direction: column;
        align-items: center;
    }
    .authentication-block .input {
        width: 80%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .authentication-block .image-block > div {
        flex: 0 0 100%;

    }
    .authentication-block .text,
    .authentication-block .instructions > p {
        font-size: 18px;
    }
}
@media (max-width: 500px) {
    .authentication-block .image {
        height: 60px;
    }
    .authentication-block .image img {
        max-height: 100%;
    }
    .authentication-block .title-content {
        font-size: 30px;
        line-height: 35px;
        margin: 16px 0 10px 0;
    }
    .authentication-block .description-content {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .authentication-block form {
        flex-direction: column;
        align-items: center;
    }
    .authentication-block .input {
        width: 100%;
    }
    .authentication-block .input {
       padding: 10px 10px 10px 50px;
       font-size: 16px;
    }
    .authentication-block .btn {
        height: 45.81px;
        width: 100px;
        background-size: 25px;
    }
    .authentication-block .authentication-popup .content {
        padding: 15px;
    }
    .authentication-block .authentication-popup .img {
        height: 70px;
    }
    .authentication-block .authentication-popup .img img {
        max-height: 100%;
    }
    .authentication-block .authentication-popup .close {
        width: 20px;
        height: 20px;
        top: 15px;
        right: 15px;
    }
    .authentication-block .authentication-popup .title {
        font-size: 17px;
    }
    .authentication-block .authentication-popup .description,
    .authentication-block .authentication-popup .data,
    .authentication-block .authentication-popup .code {
        font-size: 14px;
    }
    .authentication-block .text,
    .authentication-block .instructions > p {
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 20px;
    }
    .authentication-block .instructions > p {
        margin-bottom: 0;
    }
}