.popup.popup-registration {
    font-size: var(--text-small-size);
}

/* headers */

.reg-header {
    color: var(--text-color-black);
    padding-inline: 22px;
    font-size: var(--text-medium-size);
    font-weight: 700;
    text-align: center;
}

.reg-header-light {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 32px;
    position: relative;
}


/* tabs */

.reg-tabs {
    padding-inline: 22px;
    padding-block: 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.reg-tab {
    line-height: 20px;
}

.reg-tab-link {
    font-weight: bold;
}


/* form-content */

.reg-form {
    padding-inline: 22px;
}

.reg-content {
    padding-block: 32px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-width: 380px;
    margin-inline: auto;
}

.reg-content div {
    position: relative;
}

.cloudflare-turnstile:not(:has(.widget > div > *)) {
    display: none;
}

.reg-content .reg-popup-message,
.reg-content .message-confrm {
    font-size: var(--text-small-size);
    line-height: 16px;
    text-align: left;
    padding-left: 3px;
}

.reg-content .message-confrm {
    padding-block: 12px;
}

.reg-content .reg-popup-message.reg-popup-error {
    padding-block: 4px;
    font-style: italic;
    color: var(--text-color-error);
    position: relative;
}


.reg-content .reg-popup-checkbox label {
    display: block;
    color: var(--text-color-grey-light);
    font-size: var(--text-small-size);
    padding-bottom: 7px;
}

.reg-content input[type="text"],
.reg-content input[type="password"] {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
    color: var(--text-color-black);
    font-family: var(--font-family), sans-serif;
    font-size: var(--text-size);
    border: 1px solid var(--borders-half-black);
    border-radius: 4px;
    background-clip: padding-box;
    background-color: var(--common-white);
    position: relative;
    -webkit-appearance: none;
}

.reg-content .reg-popup-error-act {
    display: block;
}

.reg-content .reg-popup-form-check {
    background-image: url(/images2019/design/micro-elements/form-yes-no-msg.svg);
    position: absolute;
    top: 13px;
    right: 6px;
    width: 19px;
    height: 19px;
    background-repeat: no-repeat;
    display: none;
}

.reg-content .reg-popup-form-yes {
    display: block;
    background-position: 0 bottom;
}

.reg-content .reg-popup-form-no {
    display: block;
    background-position: 0 5px;
}

.reg-forgot {
    margin-bottom: 12px;
    text-align: right;
    align-self: flex-end;
}


/* buttons */

.reg-btnbox {
    margin-top: 24px;
    padding-bottom: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 18px;
}

.reg-btnbox.reg-btnbox-column {
    flex-direction: column;
}

.reg-skip {
    font-size: var(--text-small-size);
    font-weight: bold;
    align-self: center;
    margin: 11px 10px 9px 10px;
}

.reg-end-btnbox {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 18px;
    padding-inline: 22px;
}

.reg-end-btnbox + .link-back {
    padding-block: 6px 12px;
    padding-inline: 22px;
}

#popup-registration #login-step1 .reg-end-btn,
#popup-registration #reg-step1 .reg-end-btn {
    min-width: 380px;
    padding-inline: 0;
}

@media only screen and (min-width: 1025px) {
    .reg-end-btnbox .btn-medium {
        padding-inline: 40px;
    }
}

@media only screen and (max-width: 450px) {
    .reg-end-btnbox {
        flex-direction: column;
        align-items: stretch;
    }
}



/* policy */

.reg-policy {
    padding-block: 32px 8px;
    text-align: center;
    font-size: var(--text-small-size);
}

.reg-policy a,
.reg-policy a:hover {
    text-decoration: none;
    border-bottom: solid 1px var(--borders-link-color-blue);
}

.reg-policy a:hover {
    border-bottom: solid 1px transparent;
}


/* step 2 */

.reg-step,
.login-step {
    min-height: 251px;
}

#reg-step2,
#register-step2,
#login-step2 {
    padding: 0 22px 20px;
    text-align: center;
    position: relative;
}

#reg-step2::before,
#register-step2::before,
#login-step2::before {
    position: absolute;
    display: block;
    content: "";
    background: url(/images2019/design/sketch-cats-etc/reg-popup-step2.png) 0 0 no-repeat;
    width: 151px;
    height: 151px;
    top: calc(100% - 158px);
    left: 21px;
}

@media (-webkit-min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 192dpi) {
    #reg-step2::before,
    #register-step2::before,
    #login-step2::before {
        background-image: url(/images2019/design/sketch-cats-etc/reg-popup-step2@x2.png);
        background-size: cover;
    }
}

@media only screen and (max-width: 610px) {
    #reg-step2,
    #register-step2,
    #login-step2 {background-position: center 93px;}

    #reg-step2::before,
    #register-step2::before,
    #login-step2::before {
        top: calc(100% - 70px);
    }
}


/* step 3 */

#reg-step3,
#register-step3,
#login-step3 {
    padding: 0;
    text-align: center;
    min-height: 272px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

#reg-step3 .reg-content,
#register-step3 .reg-content,
#login-step3 .reg-content {
    padding-top: 0;
    margin-block: 0;
    font-size: var(--text-size);
    max-width: 480px;
}

#reg-step3 .reg-header-light,
#register-step3 .reg-header-light,
#login-step3 .reg-header-light {
    position: relative;
    line-height: 28px;
    margin-block: -9px 23px;
}

#reg-step3 p.link-back,
#register-step3 p.link-back,
#login-step3 p.link-back {
    padding-top: 10px;
    font-size: var(--text-small-size);
    padding-bottom: 0;
}

#reg-step3 .reg-header-light::before,
#register-step3 .reg-header-light::before,
#login-step3 .reg-header-light::before {
    display: inline-block;
    content: "";
    background: url(/images2019/design/sketch-cats-etc/reg-popup-step3-icon.svg) 0 0 no-repeat;
    width: 40px;
    height: 40px;
    margin: 0 10px 0 0;
    position: relative;
    top: 9px;
}

#reg-step3 .reg-header-light::after,
#register-step3 .reg-header-light::after,
#login-step3 .reg-header-light::after {
    position: relative;
    display: block;
    content: "";
    background: url(/images2019/design/sketch-cats-etc/reg-popup-step3.svg) 0 0 no-repeat;
    width: 120px;
    height: 120px;
    margin-top: 37px;
    margin-inline: auto;
}

#reg-step3 .reg-content p:last-child,
#register-step3 .reg-content p:last-child,
#login-step3 .reg-content p:last-child {
    padding-bottom: 0;
}


/*
#reg-captcha {position: relative; margin: 47px auto 20px auto }

.recaptcha-message{
   color: var(--text-color-error);
   font-style: italic;
   font-size: 12px;
   text-align: center;
   position: relative;
   margin: 0 0 0 0;
   padding: 0 0 30px 0;
   }
*/

.reglogin-loader {
    display: block !important;
    border: 3px solid var(--color-grey);
    border-radius: 50%;
    border-top: 3px solid var(--borders-reglogin-loader);
    position: absolute !important;;
    top: 16px;
    right: 42px;
    width: 14px;
    height: 14px;
    -webkit-animation: reglogin 2s linear infinite; /* Safari */
    animation: reglogin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes reglogin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes reglogin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.reg-popup-checkbox {
    position: relative;
}

.reg-popup-checkbox input[type="checkbox"] {
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 4px 12px 0 0;
}


/* --- popup-auth only--- */
.head-step {
    position: absolute;
    bottom: calc(100% - 52px);
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    column-gap: 20px;
    row-gap: 8px;
}

.head-step li {
    position: relative;
    display: flex;
    flex-flow: nowrap row;
    align-items: center;
    gap: 8px;
    color: var(--color-black-03);
    font-size: var(--text-size);
    line-height: 23px;
}

.head-step li.step-act {
    color: var(--text-color-black);
    font-weight: bold;
}

.head-step li::before {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 999px;
    background: var(--color-black-01);
}

.head-step li.step-act::before {
    background: var(--color-blue);
    color: var(--text-color-white);
}

.head-step li.step-act::after {
    content: "";
    width: 24px;
    height: 1px;
    margin-left: 20px;
    background: var(--color-black-03);
}

.head-step li:nth-child(1)::before {content: "1";}
.head-step li:nth-child(2)::before {content: "2";}

@media only screen and (max-width: 610px) {
    .head-step {flex-direction: column; align-items: flex-start; bottom: calc(100% - 60px);}
    .head-step li.step-act::after {display: none;}
}