@charset "UTF-8";
.form-wrap {
    max-width: 800px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: Montserrat-Regular, sans-serif;
}

.input-wrap input,
.input-wrap select {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.submit {
    -webkit-appearance: none;
    line-height: 1;
    text-transform: uppercase
}

@media (max-width:767px) {
    .bc-form {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .input-wrap .button-wrap {
        border: none
    }
    .form-wrap {
        padding: 0 15px;
        margin: 0 auto
    }
    .checkbox-terms {
        color: #000
    }
    .checkbox-wrap {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start
    }
    .checkbox-wrap .checkbox {
        width: 40px
    }
    .phone-wrap .phone-code {
        width: 23%
    }
    .phone-wrap .phone-number {
        width: 72%
    }
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    position: relative
}

@font-face {
    font-family: Montserrat-Regular;
    font-weight: 400;
    font-style: normal;
    src: url(../fonts/Montserrat/Regular/Montserrat-Regular.woff) format("woff"), url(../fonts/Montserrat/Regular/Montserrat-Regular.woff) format("woff");
}

@font-face {
    font-family: Montserrat-Light;
    font-weight: 300;
    font-style: normal;
    src: url(../fonts/Montserrat/Light/Montserrat-Light.woff) format("woff"), url(../fonts/Montserrat/Light/Montserrat-Light.woff) format("woff");
}

@font-face {
    font-family: Montserrat-Bold;
    font-weight: 700;
    font-style: normal;
    src: url(../fonts/Montserrat/Bold/Montserrat-Bold.woff) format("woff"), url(../fonts/Montserrat/Bold/Montserrat-Bold.woff) format("woff");
}

.form-wrap {
    max-width: 400px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
}

.bc-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.input-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 20px
}

label.error {
    position: absolute;
    left: 0;
    top: -18px;
    width: 100%;
    color: red;
    font-size: 11px
}

.page-form-title {
    color: #2d2f32;
    font-family: Montserrat-Bold, sans-serif;
    font-size: 36px;
    margin-bottom: 18px
}

.input-wrap input,
.input-wrap select {
    font-size: 14px;
    height: 54px;
    border: 1px solid #bababa;
    width: 100%;
    padding: 0 10px;
    border-radius: 3px
}

.phone-wrap .phone-code {
    width: 23%
}

.phone-wrap .phone-number {
    width: 72%
}

.phone-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.submit {
    width: 100%;
    -webkit-appearance: none;
    font-size: 17px;
    color: #ffffff;
    background: #474747;
    display: inline-block;
    font-weight: 600;
    border-radius: 3px;
    text-align: center;
    -webkit-transform: scale(1, 1) translate3d(0, 0, 0);
    transform: scale(1, 1) translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform .2s linear;
    transition: transform .2s linear, -webkit-transform .2s linear;
    border: none;
    height: 54px;
    cursor: pointer
}

input.error {
    border: 1px solid #dc8d99 !important;
    color: #d85030
}

.checkbox-wrap .checkbox {
    width: 20px;
    height: 20px;
    margin: 2px 5px 0 2px;
    float: left;
    vertical-align: middle;
    cursor: pointer
}

.checkbox-terms {
    font-family: 'schrift', Arial, sans-serif;
    font-size: 14px;
    vertical-align: middle;
    color: #ffffff !important
}

.checkbox-terms a {
    color: #ffffff !important;
    text-decoration: underline !important
}

a:active,
a:hover,
button,
input,
select,
textarea {
    outline: 0
}

.checkbox-wrap {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.submit-btn-error {
    position: absolute;
    left: 0;
    top: -18px;
    width: 100%;
    color: red;
    font-size: 12px
}

@media (min-width:768px) and (max-width:860px) {
    .bc-form {
        padding: 0 15px
    }
}

@media (max-width:767px) {
    .bc-form {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .input-wrap .button-wrap {
        border: none
    }
    .form-wrap {
        padding: 0 15px
    }
    .checkbox-terms {
        color: #000
    }
    .checkbox-wrap {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start
    }
    .checkbox-wrap .checkbox {
        width: 40px
    }
    .phone-wrap .phone-code {
        width: 23%
    }
    .phone-wrap .phone-number {
        width: 72%
    }
    .input-wrap .select-country {
        height: 54px
    }
}

input[type=checkbox] {
    opacity: 0;
    position: absolute;
    left: -99999px
}

label {
    cursor: default;
    vertical-align: middle
}

.checkbox-wrap label:before {
    content: "";
    display: inline-block;
    margin-right: 30px;
    position: relative;
    text-align: center;
    text-indent: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ffffff;
    border-radius: 6px;
    -o-border-image: initial;
    border-image: initial;
    vertical-align: middle;
    margin-bottom: 30px;
    float: left
}

input:checked~label:before {
    content: "";
    background: url(../images/icon_checkbox_form.png) center no-repeat;
    background-size: cover;
    float: left;
    margin-bottom: 30px
}

.page-form-block_modal .page-form-title {
    font-size: 28px;
    text-align: center;
    margin-top: 20px
}

.page-form-block_modal .section-video-lesson-block-button__text_steps {
    text-align: center;
    margin-bottom: 20px
}

.checkbox-wrap input.error~.checkbox-terms {
    color: red !important
}

#privacyPolicy-error {
    display: none !important
}

@media all and (max-width:767px) {
    .checkbox-terms {
        text-align: left;
        font-size: 13px
    }
}

@media (max-width:479px) {
    .checkbox-wrap label:before {
        margin-right: 20px
    }
    .checkbox-terms {
        font-size: 12px
    }
    .form-wrap {
        padding: 0
    }
    .page-form-block_modal .form-wrap {
        padding: 0 15px
    }
    .submit {
        font-size: 15px
    }
}

@media (max-width:340px) {
    .page-form-title {
        font-size: 20px
    }
    input:checked+label:before {
        margin-bottom: 38px
    }
    .checkbox-terms {
        font-size: 11px
    }
}

/* ============================================= */

/* ========== transition to three fields ======= */

.bc-form {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-direction: column;
    flex-direction: column
}

.input-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 18px
}

label.error {
    position: absolute;
    left: 0;
    top: -16px;
    width: 100%;
    color: red;
    font-size: 12px
}

.input-wrap input,
.input-wrap select {
    width: 100%;
    color: #ffffff;
    border-radius: 5px;
    background-color: transparent;
    font-size: 14px;
    padding: 0 10px;
    box-sizing: border-box
}

.phone-wrap .phone-code {
    width: 23%
}

.phone-wrap .phone-number {
    -webkit-flex: 1;
    flex: 1
}

.phone-wrap {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    justify-content: space-between
}

.checkbox {
    -webkit-appearance: checkbox
}

.checkbox-wrap input.error~.checkbox-terms a {
    color: red
}

input.error {
    border: 1px solid #dc8d99;
    color: #d85030
}

.checkbox-wrap .checkbox {
    width: 20px;
    height: 20px;
    float: left;
    vertical-align: middle;
    cursor: pointer;
    margin: 2px 10px 0 2px
}

.checkbox-terms {
    font-size: 14px;
    vertical-align: middle;
    color: #fff !important;
    opacity: .7
}

a:active,
a:hover,
button,
input,
select,
textarea {
    outline: 0
}

.checkbox-wrap {
    width: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center
}

.checkbox-terms a {
    text-decoration: underline
}

.submit-btn-error {
    position: absolute;
    left: 0;
    top: -16px;
    width: 100%;
    color: red;
    font-size: 12px
}

.popUp-form-register-phone {
    display: -webkit-flex;
    display: flex;
    width: 100%
}

.popUp-form-register-phone .popUp-form-register-phone-wrap {
    box-sizing: border-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    position: relative;
    width: 100%;
    height: 54px
}

.popUp-form-register-phone .popUp-form-register-phone-wrap:after {
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    bottom: -14px;
    color: red;
    content: attr(data-error);
    left: 100px;
    position: absolute;
    right: 0;
    text-align: start
}

.popUp-form-register-phone .popUp-form-register-phone-wrap input {
    border-radius: 4px;
    height: 100%;
    padding-left: 115px
}

.popUp-form-register-phone .selected-country-arrow {
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center
}

.popUp-form-register-phone .selected-country-arrow .select__icon:focus {
    outline: 0;
    outline-offset: 0;
}

.popUp-form-register-phone .custom-countryElem:hover {
    background-color: #5e5f5f
}

.popUp-form-register-phone .select-drop-menu-hidden .custom-select-wrap {
    max-height: 0;
    transition: all .4s ease-in-out
}

.popUp-form-register-phone .select-drop-menu-hidden .selected-country-arrow {
    transition: all .4s ease-in-out
}

.popUp-form-register-phone .select-drop-menu-show .custom-select-wrap {
    max-height: 200px;
    transition: all .4s ease-in-out
}

.popUp-form-register-phone .select-drop-menu-show .selected-country-arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: all .4s ease-in-out
}

.popUp-form-register-phone .custom-select-wrap {
    background-color: #fff;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    max-height: 300px;
    overflow-y: scroll;
    position: absolute;
    top: 120%;
    width: 100%;
    z-index: 3
}

.popUp-form-register-phone .selected-country {
    -webkit-align-items: center;
    align-items: center;
    border-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: #fff;
    display: -webkit-flex;
    display: flex;
    height: 100%;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 0 10px;
    position: absolute;
    left: 0;
    width: 90px;
}

.popUp-form-register-phone .selected-country-flag {
    -webkit-order: 1;
    order: 1;
    margin-top: 5px;
}

.popUp-form-register-phone .selected-country-arrow {
    -webkit-order: 3;
    order: 3
}

.popUp-form-register-phone .selected-country-code {
    -webkit-order: 2;
    order: 2;
    color: inherit;
    opacity: 0.7;
}

.popUp-form-register-phone-wrap.success.select-drop-menu-show .selected-country-code {
    color: inherit;
}

.popUp-form-register-phone .selected-country-flag img {
    height: 18px;
    width: 24px
}

.popUp-form-register-phone .custom-countryElem {
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-flex;
    display: flex;
    padding: 10px 0 10px 12px;
    color: #000
}

.popUp-form-register-phone .custom-countryElem img {
    height: 18px;
    margin-right: 12px;
    width: 24px
}

.popUp-form-register-phone .custom-select-country {
    width: 50px
}

@media (max-width:767px) {
    .bc-form {
        -webkit-flex-direction: column;
        flex-direction: column
    }
    .input-wrap {
        width: 100%
    }
    .checkbox-wrap {
        -webkit-align-items: flex-start;
        align-items: flex-start
    }
    .checkbox-wrap .checkbox {
        width: 46px
    }
}

@media (max-width:650px) {
    .tooltip:after {
        top: -15px
    }
}

@media (max-width:599px) {
    .popUp-form-register-phone .popUp-form-register-phone-wrap input {
        width: 204px;
        max-width: 100%;
    }
}

@media (max-width: 479px) {
    .bc-form-second .popUp-form-register-phone .popUp-form-register-phone-wrap {
        height: 56px;
    }
    .popUp-form-register-phone .selected-country {
        width: 90px;
    }
}

@media (max-width:359px) {
    .tooltip:after {
        font-size: 10px
    }
}

.sticky-header-img {
    height: auto;
    width: 40px !important;
    position: relative;
    bottom: 5px;
}

.tn-atom.logo {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
}

.tn-atom.logo span {
    color: rgb(120, 181, 255);
    font-family: inherit;
    text-align: center;
    display: inline-block;
    font-family: "Montserrat", Arial, sans-serif;
}

@media (max-width: 575px) {
    .tn-atom.logo .tn-atom__img.t-img.loaded {
        width: auto;
    }
    .tn-atom.logo .tn-atom__img.t-img.mobile.loaded {
        width: 40px;
    }
}

/* ============================================= */
/* ========== SMS Verification Styles ========== */
/* ============================================= */

/* Preloader flex fix */
#preloader[style*="block"] {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* Error placeholder readability */
input.error::placeholder {
    color: #d85030;
    opacity: .6;
}

/* Form validation errors — below inputs, readable on dark bg */
/* Override ID-based rules from addelements.css */
.bc-form #name-error,
.bc-form #email-error,
.bc-form #phone-error {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: block !important;
    margin: 4px 0 0 2px !important;
    color: #ff6b6b;
    font-size: 12px;
    font-family: 'Montserrat', Arial, sans-serif;
    background: transparent !important;
}

.bc-form .input-wrap {
    margin-bottom: 14px;
}

/* Phone error inside .iti — absolute to not shift flag */
.iti #phone-error {
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
    margin: 2px 0 0 2px !important;
    color: #ff6b6b;
    font-size: 12px;
    font-family: 'Montserrat', Arial, sans-serif;
    background: transparent !important;
}

/* Popup dark theme overrides — match main form modal (#000) */
.popup_content {
    background: #000000;
    border: none;
    border-radius: 10px;
}

.popup h3 {
    color: #ffffff;
    font-family: 'Montserrat', Arial, sans-serif;
}

.popup p {
    color: rgba(255,255,255,.7);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
}

.popup p #currPhone {
    color: #ffffff;
    font-weight: 600;
}

/* Popup inputs */
.popup .t-input,
.popup .f-input {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Montserrat', Arial, sans-serif;
    height: 54px;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.popup .t-input::placeholder,
.popup .f-input::placeholder {
    color: rgba(255,255,255,.5);
}

.popup .t-input:focus,
.popup .f-input:focus {
    border-color: rgba(255,255,255,.6);
    outline: none;
}

/* Popup buttons */
.popup .t-submit {
    width: 100%;
    height: 54px;
    background: #474747;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Montserrat', Arial, sans-serif;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background .2s ease;
}

.popup .t-submit:hover {
    background: #5a5a5a;
}

/* Popup layout helpers */
.popup .jhuy {
    margin-bottom: 20px;
    display: block;
    position: relative;
}

.popup .flex_uh {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup .change_phone {
    display: block;
    margin-top: 15px;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #686868;
    text-align: center;
    cursor: pointer;
}

.popup .change_phone:hover {
    color: #999;
}

/* Close button SVG on dark bg — match main form white X */
.popup .close_popup rect {
    fill: #ffffff;
}

.popup .close_popup:hover rect {
    fill: rgba(255,255,255,.7);
}

/* intlTelInput overrides for dark theme (scoped + global) */
.popup .iti__country-list,
.iti__country-list {
    background-color: #000000 !important;
    border-color: rgba(255,255,255,.2) !important;
    color: #ffffff;
}

.popup .iti__country-name,
.iti__country-name {
    color: #ffffff !important;
}

.popup .iti__dial-code,
.iti__dial-code {
    color: rgba(255,255,255,.6) !important;
}

.popup .iti__country.iti__highlight,
.iti__country.iti__highlight {
    background-color: rgba(255,255,255,.1) !important;
}

.popup .iti__country:hover,
.iti__country:hover {
    background-color: rgba(255,255,255,.08);
}

.popup .iti__divider,
.iti__divider {
    border-bottom-color: rgba(255,255,255,.15) !important;
}

.popup .iti__selected-flag,
.iti__selected-flag {
    background: transparent !important;
}

.popup .iti__selected-dial-code,
.iti__selected-dial-code {
    color: #ffffff;
}

.popup .iti__arrow,
.iti__arrow {
    border-top-color: rgba(255,255,255,.6) !important;
}

.popup .iti__arrow--up,
.iti__arrow--up {
    border-top-color: transparent !important;
    border-bottom-color: rgba(255,255,255,.6) !important;
}

.popup .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: rgba(255,255,255,.05) !important;
}

/* intlTelInput search input in dropdown */
.popup .iti__search-input,
.iti__search-input {
    background-color: #111111 !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.2) !important;
}

.popup .iti__search-input::placeholder,
.iti__search-input::placeholder {
    color: rgba(255,255,255,.5) !important;
}

/* Mobile fullscreen dropdown */
.iti-mobile .iti--container {
    background: #000000;
}

.iti-mobile .iti__country-list {
    background-color: #000000 !important;
}

.iti-mobile .iti__country {
    color: #ffffff;
}

/* intlTelInput padding for phone inputs */
#phone {
    padding-left: 64px;
}

.popup .iti .t-input,
.popup .iti .f-input {
    padding-left: 64px !important;
}

.popup .iti.iti--allow-dropdown {
    width: 100%;
}

/* Validation errors in popups — relative positioning */
.popup #codeError {
    position: relative !important;
    display: none;
    margin: 6px 0 0 0 !important;
    font-size: 12px;
    color: #ef4444;
    background: transparent !important;
}

.popup .iti #phone-error,
.popup .iti #phoneConfirm-error {
    position: absolute !important;
    left: 0;
    top: 100%;
    margin: 2px 0 0 0 !important;
    font-size: 11px;
    color: #ef4444;
    background: transparent !important;
}

/* Ensure phone-wrap has room for error text */
.input-wrap.phone-wrap {
    margin-bottom: 28px;
}

.popup .jhuy {
    margin-bottom: 28px;
}

@media (max-width: 575px) {
    .popup_content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
    }
    .popup_content form {
        width: 100%;
    }
}