:root {
    --q-auth-primary: #6835F2;
    --q-auth-text-on-primary: #FFFFFF;
    --q-auth-text: #8584AD;
    --q-auth-inactive: #B0B0B0;
    --q-auth-inactive-background: rgba(176, 176, 176, 0.50);
    --q-auth-error: #FB396B;
    --q-auth-error-background: rgba(251, 57, 107, 0.12);
}

.popup__modal .q-auth-modal.popup__body {
    max-width: initial !important;
    min-width: initial !important;
    width: 360px;
    height: 665px;
    padding: 0;
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.popup__modal .q-auth-modal.popup__body .popup__heading {
    display: none;
}

.popup__modal .q-auth-modal.popup__body .popup__close {
    position: absolute;
    top: 9.8px;
    right: 10px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.popup__modal .q-auth-modal.popup__body .popup__close::before,
.popup__modal .q-auth-modal.popup__body .popup__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 2px;
    background: var(--q-auth-text-on-primary);
    border-radius: 2px;
}

.popup__modal .q-auth-modal.popup__body .popup__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.popup__modal .q-auth-modal.popup__body .popup__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.popup__modal .q-auth-modal.popup__body .popup__close:hover {
    opacity: 0.8;
}

.popup__modal .q-auth-modal.popup__body .popup__content {
    height: 100%;
}

.qa-modal {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.qa-modal__tabs {
    height: 100%;
}

.qa-modal__tab {
    display: none;
    flex-direction: column;
    height: 100%;
}

.qa-modal__tab.active {
    display: flex;
}

.qa-modal__header {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 12px;
    position: relative;
    padding: 24px 24px 12px;
    background: var(--q-auth-primary);
}

.qa-modal__back {
    display: block;
    position: absolute;
    top: 9.8px;
    left: 10px;
    width: 24px;
    height: 24px;
    color: var(--q-auth-text-on-primary);
}

.qa-modal__back:hover {
    opacity: 0.8;
}

.qa-modal__image {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}

.qa-modal__image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qa-modal__title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 500;
    color: var(--q-auth-text-on-primary);
}

.qa-modal__description {
    font-size: 15px;
    line-height: 1.4;
    color: var(--q-auth-text-on-primary);
}

.qa-modal__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    height: 100%;
    background-color: #ffffff;
}

.qa-modal__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: auto 0;
}

.qa-modal__form-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    color: #3F3C4D;
}

.qa-modal__field {
    display: flex;
    align-items: center;
    position: relative;
    height: 48px;
    gap: 8px;
    padding: 0 12px 0 20px;
    font-size: 16px;
    font-weight: 500;
    color: #8584AD;
    background-color: #F5F5F9;
    border: 1px solid #F5F5F9;
    border-radius: 12px;
}

.qa-modal__input {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    background-color: transparent;
    border: 0;
    outline: none;
}

.qa-modal__field .qa-modal__input::placeholder {
    color: #8584AD;
}

.qa-modal__field .qa-modal__input:-webkit-autofill,
.qa-modal__field .qa-modal__input:-webkit-autofill:hover,
.qa-modal__field .qa-modal__input:-webkit-autofill:focus,
.qa-modal__field .qa-modal__input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #F5F5F9 inset;
}

.qa-modal__field:has(.qa-modal__input:focus) {
    border-color: var(--q-auth-primary);
}

.qa-modal__field--error {
    border-color: var(--q-auth-error) !important;
    background-color: var(--q-auth-error-background) !important;
    box-shadow: none !important;
}

.qa-modal__field--error:after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23eb1743' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M10 6.667V10m0 3.333h.008M2.5 6.618v6.764c0 .286 0 .428.042.556a.8.8 0 0 0 .179.303c.09.099.215.168.465.307l6.166 3.426c.237.13.355.197.48.222.11.023.225.023.336 0 .125-.026.243-.091.48-.222l6.166-3.426c.25-.139.375-.208.465-.307a.8.8 0 0 0 .179-.303c.042-.128.042-.27.042-.556V6.618c0-.286 0-.428-.042-.556a.8.8 0 0 0-.178-.303c-.091-.099-.216-.168-.466-.307l-6.166-3.426c-.237-.13-.355-.197-.48-.222a.8.8 0 0 0-.336 0c-.125.025-.243.091-.48.222L3.186 5.452c-.25.139-.375.208-.465.307a.8.8 0 0 0-.179.303c-.042.128-.042.27-.042.556'/%3E%3C/svg%3E");
}

.qa-modal__error {
    margin-top: -8px;
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    text-align: center;
    color: var(--q-auth-error);
}

.qa-modal__phone-code {
    flex-shrink: 0;
    position: relative;
}

.qa-modal__phone-code-button {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.qa-modal__phone-code-button:hover {
    opacity: 0.8;
}

.qa-modal__phone-code-flag {
    display: block;
    width: 22px;
    height: 14px;
    object-fit: cover;
}

.qa-modal__phone-code-icon {
    width: 20px;
    height: 20px;
    color: #3F3C4D;
}

.qa-modal__phone-code-tooltip {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 15.5px);
    left: -20px;
    width: 195px;
    padding: 12px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 91px 25px 0 rgba(0, 0, 0, 0.00), 0 58px 23px 0 rgba(0, 0, 0, 0.01), 0 33px 20px 0 rgba(0, 0, 0, 0.05), 0 15px 15px 0 rgba(0, 0, 0, 0.09), 0 4px 8px 0 rgba(0, 0, 0, 0.10);
    z-index: 1;
}

.qa-modal__phone-code.open .qa-modal__phone-code-tooltip {
    display: flex;
}

.qa-modal__phone-code-item {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 40px;
    padding: 0 8px;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    color: #4C4860;
}

.qa-modal__phone-code-item:hover {
    opacity: 0.8;
}

.qa-modal__phone-code-item-flag {
    display: block;
    width: 26px;
    height: 18px;
    object-fit: cover;
}

.qa-modal .qa-modal__button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin: 0;
    padding: 0 20px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
}

.qa-modal .qa-modal__button:hover {
    opacity: 0.8;
}

.qa-modal .qa-modal__button--primary {
    color: var(--q-auth-text-on-primary);
    background-color: var(--q-auth-primary);
}

.qa-modal .qa-modal__button--outline {
    color: var(--q-auth-primary);
    background-color: transparent;
    border: 1px solid var(--q-auth-primary);
}

.qa-modal .qa-modal__button[disabled] {
    color: var(--q-auth-inactive);
    background-color: var(--q-auth-inactive-background);
    opacity: 1 !important;
}

.qa-modal__password-control {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%234c4860' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M8.952 4.244q.51-.076 1.048-.077c4.255 0 7.046 3.754 7.984 5.239.113.18.17.27.202.408a1 1 0 0 1 0 .372c-.032.139-.089.23-.203.41-.25.396-.631.952-1.136 1.554M5.604 5.596c-1.802 1.222-3.025 2.92-3.586 3.808-.114.18-.171.271-.203.41a1 1 0 0 0 0 .372c.032.139.088.229.202.408.938 1.485 3.73 5.24 7.983 5.24 1.716 0 3.193-.611 4.407-1.437M2.5 2.5l15 15M8.233 8.232a2.5 2.5 0 0 0 3.536 3.536'/%3E%3C/svg%3E") center no-repeat;
}

.qa-modal__password-control:hover {
    opacity: 0.8;
}

.qa-modal__password-control.view {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%234c4860' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M2.017 10.594c-.114-.18-.17-.27-.202-.408a1 1 0 0 1 0-.372c.032-.139.088-.229.202-.408.938-1.485 3.73-5.24 7.983-5.24 4.255 0 7.046 3.755 7.984 5.24.113.18.17.27.202.408a1 1 0 0 1 0 .372c-.032.139-.089.229-.202.408-.938 1.485-3.73 5.24-7.984 5.24s-7.045-3.755-7.983-5.24'/%3E%3Cpath stroke='%234c4860' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M10 12.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5'/%3E%3C/svg%3E") center no-repeat;
}

.qa-modal__field--error .qa-modal__password-control {
    display: none;
}

.qa-modal__agree-input {
    display: none;
}

.qa-modal__agree-label {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.qa-modal__agree-label:before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-color: #E9E9F0;
    border-radius: 4px;
    cursor: pointer;
}

.qa-modal__agree:has(.qa-modal__agree-input:checked) .qa-modal__agree-label:before {
    background: #E9E9F0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath stroke='%234c4860' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1.5 5.75 4.663 9 11 2.5'/%3E%3C/svg%3E") center no-repeat;
}

.qa-modal__agree-label:hover:before {
    opacity: 0.8;
}

.qa-modal__agree-text {
    text-align: left;
    font-size: 12px;
    line-height: 16px;
    color: #8584AD;
}

.qa-modal__agree-text a {
    text-decoration: underline;
    color: var(--q-auth-primary);
}

.qa-modal__agree-text a:hover {
    text-decoration: none;
}

.qa-modal__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.qa-modal__remember-input {
    display: none;
}

.qa-modal__remember-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    color: var(--q-auth-text);
    cursor: pointer;
}

.qa-modal__remember-label:before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-color: #E9E9F0;
    border-radius: 4px;
    cursor: pointer;
}

.qa-modal__remember-input:checked + .qa-modal__remember-label:before {
    background: #E9E9F0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath stroke='%234c4860' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1.5 5.75 4.663 9 11 2.5'/%3E%3C/svg%3E") center no-repeat;
}

.qa-modal__remember-label:hover {
    opacity: 0.8;
}

.qa-modal__reset-password-link {
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    color: var(--q-auth-primary);
}

.qa-modal__reset-password-link:hover {
    opacity: 0.8;
}

.qa-modal__social {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 12px;
    margin-top: -12px;
    padding: 0 24px 24px;
    background-color: #ffffff;
    z-index: 1;
}

.qa-modal__social-text {
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    color: #8584AD;
}

.qa-modal__social-items {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qa-modal__social-item {
    display: block;
    width: 100%;
    height: 56px;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid var(--q-auth-primary);
    border-radius: 12px;
}

.qa-modal__social-item:hover {
    opacity: 0.8;
}

.qa-modal__social-item--google {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='27' viewBox='0 0 27 27' fill='none'%3E%3Cg clip-path='url(#clip0_1_613)'%3E%3Cpath d='M26.6668 13.6395C26.6668 12.7331 26.5918 11.8218 26.4319 10.9302H13.6009V16.0646H20.9486C20.6437 17.7205 19.664 19.1854 18.2294 20.1163V23.4478H22.6131C25.1873 21.1255 26.6668 17.6961 26.6668 13.6395Z' fill='%234285F4'/%3E%3Cpath d='M13.6008 26.6666C17.2697 26.6666 20.3637 25.4858 22.618 23.4477L18.2344 20.1162C17.0147 20.9295 15.4402 21.3901 13.6058 21.3901C10.0569 21.3901 7.04786 19.0433 5.9682 15.8882H1.44461V19.3226C3.75389 23.825 8.45742 26.6666 13.6008 26.6666Z' fill='%2334A853'/%3E%3Cpath d='M5.96319 15.8883C5.39337 14.2323 5.39337 12.4392 5.96319 10.7833V7.34888H1.44461C-0.484791 11.1164 -0.484791 15.5551 1.44461 19.3227L5.96319 15.8883Z' fill='%23FBBC04'/%3E%3Cpath d='M13.6008 5.27667C15.5402 5.24727 17.4146 5.96256 18.8192 7.27557L22.703 3.46884C20.2437 1.20538 16.9798 -0.039028 13.6008 0.000166096C8.45742 0.000166096 3.75389 2.84174 1.44461 7.34906L5.9632 10.7834C7.03786 7.62341 10.0519 5.27667 13.6008 5.27667Z' fill='%23EA4335'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1_613'%3E%3Crect width='26.6667' height='26.6667' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

.qa-modal__social-item--vk {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' fill='none' viewBox='0 0 48 48'%3E%3Cpath fill='%234680c2' fill-rule='evenodd' d='M39.246 15.96c.24-.729 0-1.26-1.05-1.26h-3.49c-.88 0-1.288.465-1.526.963 0 0-1.796 4.253-4.304 7.01-.812.795-1.186 1.062-1.626 1.062-.238 0-.542-.267-.542-.996v-6.81c0-.862-.272-1.262-1.018-1.262H20.2c-.54 0-.88.398-.88.797 0 .83 1.254 1.03 1.388 3.354v5.05c0 1.096-.202 1.294-.644 1.294-1.186 0-4.066-4.283-5.794-9.166-.34-.965-.678-1.33-1.56-1.33H9.186c-1.016 0-1.186.465-1.186.963 0 .898 1.186 5.414 5.524 11.395 2.88 4.085 6.98 6.276 10.676 6.276 2.236 0 2.508-.498 2.508-1.329v-3.087c0-.998.202-1.165.914-1.165.508 0 1.424.267 3.492 2.227 2.372 2.325 2.78 3.387 4.1 3.387h3.49c1.018 0 1.492-.497 1.22-1.46-.304-.964-1.456-2.358-2.948-4.018-.814-.931-2.034-1.96-2.406-2.46-.508-.665-.372-.93 0-1.53-.034 0 4.236-5.91 4.676-7.903' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.qa-modal__social-item--twich {

}

.qa-modal__social-item--facebook {

}

.qa-modal__tab--register .qa-modal__header {
    height: 119px;
    padding: 48px 24px 12px;
}

.qa-modal__tab--enter .qa-modal__header,
.qa-modal__tab--reset .qa-modal__header,
.qa-modal__tab--phone .qa-modal__header {
    height: 89px;
    padding: 48px 24px 12px;
}

.qa-modal__tab--enter .qa-modal__form-text,
.qa-modal__tab--reset .qa-modal__form-text,
.qa-modal__tab--phone .qa-modal__form-text {
    min-height: 60px;
}

.qa-modal__tab--phone .qa-modal__input {
    color: #3F3C4D;
}

.popup__modal .q-auth-modal.popup__body:has(.qa-modal__tab--reset-confirm.active) .popup__close::before,
.popup__modal .q-auth-modal.popup__body:has(.qa-modal__tab--reset-confirm.active) .popup__close::after {
    background-color: #4C4860;
}

.qa-modal__tab--reset-confirm .qa-modal__header {
    padding: 48px 24px 12px;
    background-color: #ffffff;
}

.qa-modal__tab--reset-confirm .qa-modal__title {
    color: #3F3C4D;
}

.qa-modal__tab--reset-confirm .qa-modal__content {
    padding: 0 24px 12px;
}

.qa-modal__tab--reset-confirm .qa-modal__reset-confirm {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.qa-modal__tab--reset-confirm .qa-modal__reset-confirm-img {
    display: block;
    width: 270px;
    height: 275px;
    margin: auto;
}

.qa-modal__tab--reset-confirm .qa-modal__reset-confirm-text {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--q-auth-text);
}

.popup__modal .q-auth-modal.popup__body:has(.qa-modal__tab--reset-confirm.active) .qa-modal__social {
    display: none;
}

.popup__modal .q-auth-modal.popup__body:has(.qa-modal__tab--phone-confirm.active) .popup__close::before,
.popup__modal .q-auth-modal.popup__body:has(.qa-modal__tab--phone-confirm.active) .popup__close::after {
    background-color: #4C4860;
}

.qa-modal__tab--phone-confirm .qa-modal__header {
    padding: 48px 24px 12px;
    background-color: #ffffff;
}

.qa-modal__tab--phone-confirm .qa-modal__title {
    white-space: nowrap;
    color: #3F3C4D;
}

.qa-modal__tab--phone-confirm .qa-modal__content {
    padding-top: 0;
}

.qa-modal__tab--phone-confirm .qa-modal__phone-confirm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qa-modal__tab--phone-confirm .qa-modal__phone-confirm-img {
    display: block;
    width: 211px;
    height: 213px;
    margin: 0 auto;
}

.qa-modal__tab--phone-confirm .qa-modal__phone-confirm-text {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
    color: var(--q-auth-text);
}

.qa-modal__tab--phone-confirm .qa-modal__phone-confirm-phone {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
    text-decoration: underline;
    white-space: nowrap;
    color: var(--q-auth-text);
}

.qa-modal__tab--phone-confirm .qa-modal__phone-confirm-phone a {
    color: var(--q-auth-text);
}

.qa-modal__tab--phone-confirm .qa-modal__phone-confirm-help {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
    color: var(--q-auth-text);
}

.popup__modal .q-auth-modal.popup__body:has(.qa-modal__tab--phone-confirm.active) .qa-modal__social {
    padding-bottom: 16px;
}

.qa-modal-image {
    display: none;
}

.qa-loading {
    position: relative;
    cursor: initial;
    opacity: 0.8;
}

.qa-loading:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.8em;
    height: 1.8em;
    margin-top: -0.9em;
    margin-left: -0.9em;
    border-radius: 50%;
    border-top: .2em solid var(--q-auth-text-on-primary);
    border-right: .2em solid #fff0;
    box-sizing: border-box;
    animation: qa-loading 1s linear infinite;
    will-change: transform;
    z-index: 2;
}

@keyframes qa-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 1280px) {

    .q-auth-modal.popup__body:has(.qa-modal-image) {
        width: 1027px;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .popup__content {
        display: flex;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal-image {
        display: block;
        flex-shrink: 0;
        width: 519.5px;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal-image > img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal {
        width: 100%;
        margin-left: -12px;
        border-radius: 12px;
        overflow: hidden;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__header {
        padding: 24px 64px 12px;
        border-radius: 0 12px 0 0;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__content {
        padding: 24px 64px;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__social {
        padding: 0 64px 24px;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__tab--register .qa-modal__header {
        padding: 48px 64px 12px;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__tab--enter .qa-modal__header,
    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__tab--reset .qa-modal__header,
    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__tab--phone .qa-modal__header {
        padding: 48px 64px 12px;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__tab--reset-confirm .qa-modal__header {
        padding: 48px 64px 12px;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__tab--reset-confirm .qa-modal__content {
        padding: 0 64px 12px;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__tab--phone-confirm .qa-modal__header {
        padding: 48px 64px 12px;
    }

    .q-auth-modal.popup__body:has(.qa-modal-image) .qa-modal__tab--phone-confirm .qa-modal__content {
        padding-top: 0;
    }

    .popup__modal .q-auth-modal.popup__body:has(.qa-modal__tab--phone-confirm.active):has(.qa-modal-image) .qa-modal__social {
        padding-bottom: 12px;
    }
}