@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* global */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    outline: none;
}

::-webkit-input-placeholder {
    color: #aaa;
}

::-moz-placeholder {
    color: #aaa;
}

:-ms-input-placeholder {
    color: #aaa;
}

::-ms-input-placeholder {
    color: #aaa;
}

::placeholder {
    color: #aaa;
}

img {
    width: 100%;
    height: auto;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: -o-linear-gradient(top, #00bedf, #fff 30%, #fff);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#00bedf), color-stop(30%, #fff), to(#fff));
    background-image: linear-gradient(to bottom, #00bedf, #fff 30%, #fff);
    background-repeat: no-repeat;
}

.hidden {
    display: none !important;
}

/* loader */

.loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.loader img {
    width: 50px;
}

.loader p {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.loader--active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

/* header */

.header {
    -ms-flex-item-align: start;
        align-self: flex-start;
    padding: 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: #eee;
    text-align: left;
}

.header span {
    display: block;
    font-size: 12px;
    letter-spacing: 5.6px;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

/* main */

.main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}

/* form */

.form {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 90vw;
    max-width: 400px;
}

.flow__step:not(.flow__step--active) {
    display: none;
}

.flow__operator:not(.flow__operator--active) {
    display: none;
}

.suggested__block--active { 
  display: none !important;
}

.form__image {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 100%;
    width: 135px;
    margin-bottom: 35px;
}

@media (max-height: 630px) {
    .form__image {
        display: none;
    }
}

.form__heading,
.form__subheading,
.error {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ff5300;
    text-align: center;
}

.form__subheading {
    color: #333;
}

.error {
    display: none;
    color: #f00;
}

.error--active {
    display: block;
}

.form__input-wrapper {
    position: relative;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: auto;
    margin-bottom: 10px;
}

.form__input-wrapper:not(.form__input-wrapper--pin)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    width: 26px;
    height: 26px;
    background-image: url("../img/flag.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.form input {
    width: 240px;
    padding: 10px 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: #333;
    border: none;
    border-bottom: 1px solid #ccc;
    text-align: right;
    background-color: transparent;
}

#input_pin, #input_pin5 {
    width: 100px;
    text-align: center;
}


.form__slogan {
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    margin-top: 25px;
    font-size: 14px;
    color: #00b58a;
    text-align: center;
}

/* button */

.btn-wrapper {
    position: relative;
    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;
    width: 100%;
}

.btn {
    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;
    width: 90vw;
    max-width: 400px;
    height: 100px;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
    letter-spacing: -1px;
    border-radius: 1000px;
    border: none;
    background-color: #00bedf;
    overflow: hidden;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

/* agreement */

.agreement__box {
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
}

.form__agreement-checkbox {
    display: none;
}

.form__agreement {
    position: relative;
    display: inline-block;
    padding-left: 24px;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
    color: #bbb;
}

.form__agreement a {
    color: inherit;
}

.form__agreement::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    width: 16px;
    height: 16px;
    border: 1px solid #bbb;
    border-radius: 5px;
}

.form__agreement::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%) scale(0);
    -ms-transform: translateY(-50%) scale(0);
    transform: translateY(-50%) scale(0);
    display: block;
    width: 10px;
    height: 10px;
    margin-left: 3px;
    background-color: #bbb;
    border-radius: 2px;
    opacity: 0;
    -webkit-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

.form__agreement-checkbox:checked+.form__agreement::after {
    -webkit-transform: translateY(-50%) scale(1);
    -ms-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.sum {
    display: block;
    font-size: 12px;
    margin-top: 10px;
    color: #bbb;
    text-align: center;
}

/* footer */

.footer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 2px;
    background-color: #fff;
}

.footer__text {
    font-size: 10px;
    color: #aaa;
    text-align: center;
}

.footer__text a {
    color: inherit;
}