.form {
    width: 100%;
    background: #090958;
    box-sizing: border-box;
    padding: 15px;
    color: #fff;
    position: relative;
}

.form--controlWrapper {
    margin-bottom: 18.8px;
    position: relative;
    vertical-align: middle;
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    border-color: #a94442;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form--controlWrapper-half {
    width: calc(50% - 5px);
}

.form--title {
    font-family: Roboto, sans-serif;
    font-weight: 500;
    text-align: center;
    color: #fff;
    font-size: 28px;
    text-transform: uppercase;
    margin: 0;
}

.form--top {
    margin: 0;
    padding: 3px 0 33px 0;
}

.form--title-yellow {
    color: #fafafa;
}

.form--row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.form--input {
    width: 100%;
    border: 2px solid #fff;
    box-sizing: border-box;
    border-radius: 3px;
    height: 37.7px;
    color: #000;
    background-color: transparent;
    padding: 12px 30px 12px 10px;
    text-overflow: ellipsis;
    outline-style: none;
}

.form--input:focus {
    box-shadow: 0px 0px 12px 5px #f6b2023d;
}

.form--floatingLabel {
    position: absolute;
    z-index: 1;
    transition: .3s ease all;
    font-size: 10px;
    line-height: 10px;
    color: #fff;
    pointer-events: none;
    left: 10px;
    top: -13px;
    padding: 1px 3px;
    outline-style: none;
}

.form--input:placeholder-shown:not(:focus)~.form--floatingLabel {
    top: .6em;
    font-style: normal;
    color: #555;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    background-color: transparent;
}

.form--row-pass {
    justify-content: center;
}

.form--row-pass label.error {
    display: none !important;
}

.password {
    width: 66.6%;
    border-radius: 3px 0 0 3px;
}

.form--btnPasword {
    width: 33.4%;
    border-radius: 0 3px 3px 0;
    box-sizing: border-box;
    height: 37.7px;
    border: none;
    outline-style: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 9px;
    line-height: 11px;
    text-align: center;
    /* text-transform: uppercase; */
    font-family: inherit;
    border: 2px solid #fff;
    background-color: #fff;
    transition: color .5s ease, background .5s ease;
    color: #090958;
    text-transform: uppercase;
}

.form--btnPasword:hover {
    color: #000;
    background-color: transparent;
}

.form .form--btn {
    width: 100%;
    padding: 14.13px;
    box-sizing: border-box;
    font-weight: 400;
    color: #fff;
    font-size: 14px;
    line-height: 16px;
    background-color: #41ca04;
    box-shadow: inset 0 3px 5px rgb(0 0 0 / 13%);
    border-color: #266f05 ;
    text-shadow: 0 0 6px black;
}

.preloader {
    display: none;
    background: white;
    position: absolute;
    top: 0%;
    bottom: 0;
    left: 0%;
    right: 0;
    z-index: 9995;
    background-image: url(../images/preloader.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    opacity: 0.5;
    border-radius: 2px;
}

.phone::placeholder {
    font-size: 12px;
    font-weight: bold;
    line-height: 12px;
    color: rgba(250, 250, 255, 0.5);
    font-style: italic;
}

.flag-container {
    background: #FAFAFF;
    border-radius: 3px 0px 0px 3px;
    height: 37.7px;
    color: #000;
    z-index: 3;
}

.selected-dial-code {
    font-weight: 700;
}

label.error {
    position: absolute;
    top: 35.7px;
    right: 0;
    z-index: 2;
    width: 75%;
    background: #FF003C url(../images/form-attention.svg) no-repeat;
    color: #FAFAFF;
    font-size: 10px;
    padding: 5px 5px 5px 35px;
    background-position: 10px 50%;
    background-size: 16px;
    border-radius: 0 0 3px 3px
}

.form--controlWrapper-half label.error {
    width: 100%;
    box-sizing: border-box;
}

input.error {
    background: rgba(255, 0, 60, 0.3) url(../images/form-invalid.svg) no-repeat 95% !important;
    border: 2px solid #FF003C !important;
    padding-right: 30px!important;
    text-overflow: ellipsis;
    -webkit-background-size: 13px 10px!important;
    background-size: 13px 10px!important;
}

input.valid {
    background: transparent url(../images/form-valid-colored.svg) no-repeat 95% !important;
    border: 2px solid #39B54A !important;
    padding-right: 30px!important;
    text-overflow: ellipsis;
}

.valid-block {
    position: absolute;
    background: #FAFAFF;
    border: 1px solid #FF003C;
    box-sizing: border-box;
    z-index: 9996;
    top: 36px;
    width: 100%;
    border-radius: 2px;
}

.valid-check {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.valid-check label {
    color: #f90201;
    padding: 5px 25px;
    position: relative;
    text-align: left;
    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    margin: 0;
}

.valid-check.check label {
    color: #39B54A !important;
}

.valid-check label::before {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 8px;
    width: 12px;
    height: 11px;
    background-image: url(../images/form-invalid.svg);
    background-size: 80%;
    background-position: 50%;
    background-repeat: no-repeat;
}

.valid-check.check label::before {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 8px;
    width: 12px;
    height: 11px;
    background-image: url(../images/form-valid.svg);
    background-size: 80%;
    background-position: 50%;
    background-repeat: no-repeat;
}

.form .checkbox-svg a {
    color: inherit;
    text-decoration: none;
}

.privacy-checkbox p {
    padding-top: 5px;
    color: #fafafa;
}

@media(max-width:767px) {
    .form {
        box-shadow: none;
        border-radius: 0;
        padding: 20px 15px;
        border: none;
    }
    .form--title {
        font-weight: 900;
        font-size: 32px;
        line-height: 37px;
    }
    .form--title br {
        display: none;
    }
    .form--input:placeholder-shown:not(:focus)~.form--floatingLabel {
        /* top: 1em; */
    }
    .form--controlWrapper {
        margin-bottom: 20px;
    }
    .form--btnPasword {
        font-size: 16px;
        line-height: 19px;
    }
    .form .form--btn {
        font-size: 31.2px;
        line-height: 37px;
    }
    .checkbox-svg p {
        font-size: 10.4px;
        line-height: 12px;
    }
    .checkbox-svg {
        padding-left: 16px;
    }
    .dataSafe--img {
        width: 62px;
    }
    .dataSafe--msg {
        width: calc(100% - 72px);
        font-size: 10px;
        line-height: 12px;
    }
    .privacy-checkbox {
        padding-left: 9% !important;
    }
}

@media(max-width:576px) {
    .form--input {
        height: 40px;
        font-size: 20px;
    }
    label.error {
        top: 58px;
    }
    .form--btnPasword {
        height: 60px;
    }
    .flag-container {
        height: 60px;
    }
    .valid-block {
        top: 58px;
    }
    .btn.form--btn {
        height: 90px;
    }
    .form--input:placeholder-shown:not(:focus)~.form--floatingLabel {
        font-size: 20px;
        line-height: 18px;
    }
    .phone::placeholder {
        font-size: 20px;
        line-height: normal;
    }
    input.error {
        background-position-x: 97.5% !important
    }
    .checked-svg svg {
        width: 32px !important;
        height: 32px !important;
    }
    .valid-check label {
        font-size: 15px;
    }
}

@media (max-width:425px) {
    .form--input:placeholder-shown:not(:focus)~.form--floatingLabel {
        font-size: 16px;
        line-height: 18px;
        /* top: 20px; */
    }
    .form--title {
        font-size: 26px;
        line-height: 30px;
    }
    .privacy-checkbox {
        padding-left: 11.5% !important;
    }
}

@media (max-width:400px) {
    .form--input:placeholder-shown:not(:focus)~.form--floatingLabel {
        font-size: 14px;
        line-height: 18px;
        /* top: 20px; */
    }
    .form--btnPasword {
        line-height: 13px;
        font-size: 10px;
    }
}