/* Phone input css */
.iti__flag {background-image: url("/redirect-flow/static/intl-tel-input/flags.webp");}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {background-image: url("/redirect-flow/static/intl-tel-input/flags@2x.webp");}
}

.iti { width: 100%; }

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

.form-group.has-error .input-holder .iti.iti--allow-dropdown {
    margin-bottom: 16px;
}

/* End Phone input css */

label {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    margin-bottom: 14px;
    color: #1B2124;
    display: inline-block;
    max-width: 100%;
}

.content {
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-self: center;
    padding: 40px 0 40px 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.login {
    width: 400px;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    align-self: center;
}

.logo-wrap {
    margin-bottom: 30px;
    text-align: center;
}

.logo-wrap img {
    max-width: 100%;
    height: auto;
}

.form-wrap {
    padding: 10px;
}

.form-group {
    /*padding: 10px 0;*/
    margin-bottom: 32px;
}

/*.form-group.field-phone*/
.form-group.has-error:not(.checkbox) {
    margin-bottom: 12px;
}

.form-group.has-error.checkbox {
    margin-bottom: 28px;
}

.form-group.checkbox .input-holder .checkbox-holder {
    display: flex;
}

.form-group .input, .form-group .btn {
    width: 100%;
}

.input {
    height: 35px;
    font-size: 21px;
}

.btn {
    height: 30px;
    font-size: 18px;
}

.button-holder {
    margin-top: 32px;
}

.mt-0 {
    margin-top: 0;
}

.login-form {
    margin-top: 40px;
}

.has-success .control-label {
    color: #3c763d;
}

.has-error .control-label {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: #EB5757;
    /*margin-top: -12px;*/
}

.has-error .form-control {
    border-color: #EB5757;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 25%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 25%);
}

.has-error .form-control:focus {
    border-color: #EB5757;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 25%), 0 0 6px #eb5757;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 25%), 0 0 6px #eb5757;
}

.has-success .control-label {
    color: #3c763d;
}

.has-success .form-control:focus {
    border-color: #2b542c;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 6px #67b168;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 6px #67b168;
}

.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #737373;
}

.has-error .help-block {
    color: #EB5757;
    font-size: 14px;
    margin-top: -12px;
    font-weight: 400;
}

.help-block-error {
    color: #EB5757;
    font-size: 14px;
    margin-top: -12px;
    font-weight: 400;
}

.has-error .help-block-error {
    color: #EB5757;
    font-size: 12px;
    line-height: 16px;
}

input:not([type='checkbox']).form-control {
    display: block;
    font-weight: 400;
    line-height: 20px;
    background-color: #fff;
    background-clip: padding-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    border: 1px solid #CED4DA;
    border-radius: 4px;
    color: #1B2124;
    height: 48px;
    font-size: 16px;
    padding: 0 12px 0 48px;
    width: 100%;
    box-shadow: 0 0 0 0 #ced4da;
    margin-bottom: 16px;
}

.form-control[type=checkbox] {
    display: inline-block;
    line-height: 20px;
    margin-bottom: 16px;
}

.form-control:focus {
    color: #1B2124;
    background-color: #fff;
    border-color: #357bf2;
    outline: 0;
    box-shadow: 0 0 0 4px rgb(53 123 242 / 25%);
}

.form-control.name {
    background-image: url(/redirect-flow/static/img/user.svg);
    background-position: 14px center;
    background-repeat: no-repeat;
}

.form-control.email {
    background-image: url(/redirect-flow/static/img/email.svg);
    background-position: 14px center;
    background-repeat: no-repeat;
}

.form-control.code {
    background-image: url(/redirect-flow/static/img/code.svg);
    background-position: 14px center;
    background-repeat: no-repeat;
}

.button-gradient.disabled {
    background: linear-gradient(91.41deg, rgba(107, 45, 208, 0.5) 16.39%, rgba(154, 111, 222, 0.5) 98.86%);
    box-shadow: 0 4px 10px rgb(152 107 222 / 50%);
    pointer-events: none;
}

.button-gradient:active,
.button-gradient:focus,
.button-gradient:hover {
    background-position: 100%;
}

.button-gradient {
    background: linear-gradient(122.2deg, #6C2ED1 5.9%, #9568DD 50%, #6C2ED1 94.1%);
    background-size: 200%;
    background-position: 0;
    transition: background-position 0.3s;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
}

.btn-link {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #6C2ED1;
    display: inline-block;
    border-radius: 0;
}

.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
    border-color: transparent;
}

.btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled], fieldset[disabled] .btn-link {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn-link:hover, .btn-link:focus {
    color: #6B2DD0;
    text-decoration: underline;
    background-color: transparent;
}

.modal-wrap {
    display: none;
    background-color: rgba(182, 182, 182, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
}

.modal-wrap.visible {
    display: flex;
}

.terms-modal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background-color: #fff;
    color: #333;
    z-index: 99999;
}

.terms-modal .terms-header {
    display: flex;
    height: 40px;
    padding: 5px 15px;
    font-size: 20px;
    font-weight: bold;
}

.terms-modal .terms-content {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 16px;
}

.terms-modal .footer {
    padding: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.close-modal-btn {
    font-size: 18px;
    width: 300px;
}

.disable-scroll {
    overflow: hidden;
}

/* Preloader */
.preloader-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 333;
    background: rgba(255, 255, 255, 0.6);
}

.preloader-wrap.show-preloader {
    display: flex;
}

.preloader {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 30%;
    left: 0;
    right: 0;
    color: black;
    z-index: 3000;
}
.preloader.show-preloader {
    display: flex;
}
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #333;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #333 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* End preloader */