* {
    -webkit-appearance: none;
    box-sizing: border-box;
}

html,
body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

.back-button {
    margin-bottom: 40px;
}

/* popup */
.overlay {
    z-index: 100;
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgb(52, 55, 58, 0.8);
}

.popup {
    z-index: 150;
    width: 30%;
    padding: 24px 40px 40px;
    background: #FFFFFF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    box-sizing: border-box;
}

.popup__button-section {
    display: flex;
    justify-content: flex-end;
}

.popup__button_close {
    cursor: pointer;
}

.two-buttons-layout {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 24px;
    margin-top: 24px;
}

.two-buttons-layout .submit {
    width: 46%;
}

/* main */

.h1 {
    font-family: 'iD-header', sans-serif;
    font-size: 39px;
    line-height: 48px;
    letter-spacing: -0.24px;
    font-style: normal;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 24px;
}

.h1 .form,
.h1 .form-text {
    margin-bottom: 40px;
}

.popup .h1 {
    margin-top: 10px;
}

.popup .form-text {
    margin-top: 24px;
}

.page {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
}

.column {
    width: 50%;
    overflow: hidden;
}

.column-form {
    background: #FFFFFF;
}

.column-logo__pre-reg-content-mobile {
    display: none;
}

.column-logo {
    background: #10A45E;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: url(../images/logo-bg.svg);
    background-position-y: top;
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: cover;
}

.column-form-content {
    width: 52%;
    margin: 14% auto 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.column-form-pre-reg {
    align-items: center;
}

.form {
    width: 100%;
    height: 100%;
}

.column-form-pre-reg .form,
.column-logo-pre-reg {
    align-items: center;
}

.form-text {
    font-family: 'iD', sans-serif;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.24px;
    color: #1C1C1C;
    margin-bottom: 40px;
    width: 100%;
}

.form-text__error {
    font-family: 'iD', sans-serif;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: -0.24px;
    color: #D23E44;
}

.input {
    padding: 16px 50px 16px 16px;
    border: 1px solid #DBDCE1;
    border-radius: 12px;
    font-family: 'iD', sans-serif;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.24px;
    color: #1C1C1C;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: 0.2s;
    background-color: none !important;
}

.input:focus {
    border: 1px solid #10A45E;
    background: #E7F6EF;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-container__error .input {
    border: 1px solid #D23E44;
}

.input-label {
    font-family: 'iD-bold', sans-serif;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.24px;
    color: #000000;
    align-self: flex-start;
    margin: 10px 0 4px;
    display: block;
    word-wrap: break-word;
}

.input-label__inline {
    display: inline;
}

.input-label__margin-top {
    margin-top: 24px;
}

.show-password-label {
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 15px;
    right: 16px;
    cursor: pointer;
    background-image: url(../images/shown-password.svg);
}

.input-container__error .show-password-label {
    right: 44px;
}

.show-password-label__hidden {
    background-image: url(../images/hidden-password.svg);
}

.clear-input-label {
    display: none;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 17px;
    right: 16px;
    cursor: pointer;
    background-image: url(../images/clear-input.png);
}

.input-container__error .clear-input-label {
    display: block;
}

.show-password-button {
    display: none;
    position: absolute;
    top: 0;
}

.clear-input-button {
    display: none;
    position: absolute;
    top: 0;
}

.submit {
    background: #0099D6;
    font-family: 'iD-bold', sans-serif;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    letter-spacing: -0.24px;
    color: #FFFFFF;
    padding: 14px;
    border-radius: 12px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}

.submit_non-branded {
    background: #FFFFFF;
    border: 2px solid #0099D6;
    color: #0099D6;
    margin-bottom: 0 !important;
}

.submit__inactive {
    opacity: 0.5;
    cursor: auto;
}

.submit-email,
.submit-password {
    margin-top: 41px;
}

.popup__submit {
    margin-top: 24px;
}

.requiredInput {
    width: 100%;
}

.popup__submit .popup__submit {
    margin-top: 12px;
}

.logo {
    margin: auto;
    width: 55%;
    z-index: 30;
}

.logo-bg {
    background: url(../images/logo-bg.svg) no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 20;
}

.link-flex {
    display: flex;
    cursor: pointer;
}

.link-wrapper {
    display: flex;
    align-self: flex-start;
}

.link-wrapper_inactive {
    cursor: auto;
}

.link-wrapper_inactive .link-sign {
    color: #7fccea;
}

.link_resend {
    margin: 40px auto 0;
}

.link-wrapper__align-right {
    display: flex;
    justify-content: flex-end;
}

.back-arrow {
    margin: 18.5px 0 18.5px 3.5px;
}

.link-sign {
    margin: 18.5px 0 18.5px 15px;
    font-family: 'iD-bold', sans-serif;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.24px;
    color: #0099D6;
    cursor: pointer;
}

.link_resend .link-sign {
    margin: 0;
}

/* ERROR */
.error-box {
    display: flex;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin: 40px 0 0 0;
    cursor: pointer;
}

.error-icon-box {
    display: flex;
    background: #D23E44;
    justify-content: center;
    align-items: center;
}

.error-icon {
    margin: 12px;
}

.error-message-box {
    background: #F2E3E4;
    flex-grow: 1;
    padding: 12px 0 12px 16px;
}

.error-label {
    font-family: 'iD-bold', sans-serif;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: -0.24px;
    color: #1C1C1C;
}

.error-text {
    font-family: 'iD', sans-serif;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.24px;
    color: #1C1C1C;
    word-wrap: break-word;
}

.error-arrow-box {
    padding: 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F2E3E4;
}

/* INFO */
.info-box {
    display: flex;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin: 40px 0 0 0;
    -webkit-box-shadow: 0px 2px 5px 4px #F2F2F2;
    box-shadow: 0px 2px 5px 4px #F2F2F2;
}

.info-icon-box {
    display: flex;
    background: #107CBC;
    justify-content: center;
    align-items: center;
}

.info-icon {
    margin: 12px;
}

.info-message-box {
    background: #FFFFFF;
    flex-grow: 1;
    padding: 12px;
    text-align: start;
}

.info-label {
    font-family: 'iD', sans-serif;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: -0.24px;
    color: #1C1C1C;
}

.info-text {
    font-family: 'iD', sans-serif;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.24px;
    color: #1C1C1C;
    word-wrap: break-word;
}

.pre-reg-girl-image {
    width: 17vw;
    align-self: center;
}

.column-form-pre-reg .h1,
.column-form-pre-reg .form-text {
    width: 100%;
    text-align: center;
}

.column-logo__pre-reg-content-desktop {
    display: flex;
    width: 100%;
}

.otp-box {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.otp-box .input {
    width: 53px;
    height: 56px;
    padding: 20px;
}

.otp-box+.input::-webkit-outer-spin-button,
.otp-box+.input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.otp-box+.input[type=number] {
    -moz-appearance: textfield;
}

.password-policies {
    margin-top: 24px;
}

.tag {
    padding: 8px;
    border-radius: 44px;
    border: 1px solid #DBDCE1;
    display: inline-block;
    margin: 5px 3px 0px;
}

.tag_active {
    border: 1px solid #70C89E;
}

.tag-text {
    font: 12px/16px 'iD', sans-serif;
}

.tag-icon {
    width: 10px;
}

.icon-inactive {
    fill: #1C1B1F;
}

.icon-active {
    fill: #10A45E;
}

.icon-error {
    fill: #D23E44;
}

.pre-fegistration-page h1,
.pre-fegistration-page .form-text {
    text-align: center;
}

.pre-reg-queue {
    height:100vh;
}

.form_inputs {
    width: 100%;
}

.form-text__error +.input-label.display-none + .input-container {
    margin-top: 24px;
}

.password-policies + .input-label.display-none + .input-container {
    margin-top: 24px;
}

.link-wrapper + .input-label.display-none + .input-container {
    margin-top: 24px;
}

.form-container {
    display: flex;
    flex-direction: column;
}

.form-login-padding {
    height: auto;
    margin-top: 26%;
}

@media (max-width:980px) {
    .page:not(.page-pre-reg) {
    }

    .column-form {
        display: flex;
        width: 100%;
        margin-top: 60px;
    }

    .column-logo:not(.column-logo-pre-reg) {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        justify-content: flex-start;
        padding: 16px 28px 17px;
        background-image: none;
        background-color: #10A45E;
    }

    .column-logo:not(.column-logo-pre-reg) .logo {
        width: 109px;
        margin: 0;
    }

    .column-logo {
        display: none;
    }

    .column-logo-pre-reg {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .column-form-content {
        width: 49%;
    }

    .column-logo__pre-reg-content-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 14% auto 50px;
        width: 90%;
    }

    .column-logo__pre-reg-content-desktop {
        display: none;
    }

    .pre-reg-girl-image {
        width: 100%;
    }

    .column-logo-pre-reg .h1,
    .column-logo-pre-reg .form-text {
        text-align: center;
        color: #FFF;
    }

    .column-logo .submit {
        background-color: #FFFFFF;
        color: #0099D6;
    }

    .popup {
        width: 70%;
    }

    .h1 {
        margin-bottom: 12px;
    }
    
    .h1 .form,
    .h1 .form-text {
        margin-bottom: 32px;
    }
}

@media (max-width:768px) {
    .page:not(.page-pre-reg) {
    }

    .column-form {
        width: 100%;
        flex-grow: 1;
    }

    .column-logo:not(.column-logo-pre-reg) {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        padding: 16px 16px 17px;
    }

    .column-logo {
        display: none;
    }

    .column-logo-pre-reg {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .column-form-content {
        width: 90%;
    }

    .column-logo__pre-reg-content-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .column-logo__pre-reg-content-desktop {
        display: none;
    }

    .pre-reg-girl-image {
        width: 85vw;
    }

    .column-logo-pre-reg .h1,
    .column-logo-pre-reg .form-text {
        text-align: center;
        color: #FFF;
    }

    .column-logo .submit {
        background-color: #FFFFFF;
        color: #0099D6;
    }

    .popup {
        width: 85%;
        padding: 24px 16px;
    }

    .two-buttons-layout {
        display: flex;
        flex-direction: column-reverse;
    }

    .two-buttons-layout .submit {
        width: 100%;
        margin-bottom: 16px;
    }

    .form-container {
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        min-height: 100%;
    }

    .back-button {
        margin-bottom: 12px;
    }

    .h1 {
        margin-bottom: 12px;
    }

    .h1 .form,
    .h1 .form-text {
        margin-bottom: 40px;
    }

    .mobile-keyboard-opened {
        justify-content: flex-start;
    }

    .lift-button {
        justify-content: flex-start;
    }
}

.hidden {
    visibility: hidden;
}

.display-none {
    display: none;
}

.visibility-hidden {
    visibility: hidden;
}

@font-face {
    font-family: 'iD';
    src: url('../fonts/ConfigRoundedLight.ttf');
}

@font-face {
    font-family: 'iD-bold';
    src: url('../fonts/ConfigRoundedSemibold.ttf');
}
@font-face {
    font-family: 'iD-header';
    src: url('../fonts/iD-Mobile-Font-Headline.ttf');
    font-weight: 600;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

input::-ms-reveal {
    display: none;
}
