body {
    font-family: 'Arial';
    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;
    height: 100vh;
    margin: 0;
    padding: 0;
}

h1 {
    color: #000;
    font-size: 26px;
    font-weight: 700;
    margin-top: 22px;
    margin-bottom: 20px;
    font-family: 'Roboto';
}

h3 {
    color: #000;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 10px;
}

main {
    
    height: 100%;
    width: 100%;
    margin: auto;
    background: #fff;
    position: relative;
}

.flex-center {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.f-cul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

/* Header */
header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.logo {
    margin-top: 42px;
    height: 50px;
    width: 50px;
}

.back-button {
    position: absolute;
    top: 30px;
    left: 120px;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: none;
    z-index: 100;
}
.back-button svg {
    width: 100%;
    height: 100%;
}

.back-button:hover path {
    stroke: #3BAB1F;
}

/* Forms */
.login-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 20px;
}

.auth-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

}

.verification-section {
    display: none;
    margin: 0 20px;
}

.verification-message {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.user-callback {
    display: none;
}
.user-callback .checkbox-group input {
    width: 18px;
    margin-right: 1px;
}

.app-completed {
    display: none;
}

.app-completed-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 30px;
}

#recaptcha-v2-container {
    margin: 200px 200px;
    display: none;
    position: absolute;
}

.g-recaptcha {
    display: inline-block;
    margin: 500px auto;
}

/* Inputs */
.input-group, .form-section, .verification-code-container {
    position: relative;
    margin-bottom: 20px;
}
.form-section {
    margin: 20px 0 5px 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

input {
    width: 350px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid #5D5D5D;
    padding-left: 18px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    background-color: white;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding-right: 40px;
}
input:focus {
    outline: none;
}

.form-section input {
    width: 350px;
}

.verification-code-container input {
    margin-top: 32px;
}

.input-group label, .form-section_label, .verification-form_label {
    position: absolute;
    color: #989898;
    font-size: 12px;
    font-weight: 400;
    background-color: #fff;
    padding: 0 8px;
}

.input-group label {
    top: 22px;
    left: 18px;
    font-size: 14px;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

.form-section_label {
    top: -9px;
    left: 24px;
    /* width: 90px; */
    text-align: center;
}

.verification-form_label {
    top: 23px;
    left: 25px;
    width: 70px;
}

.input-group input:not(:-moz-placeholder-shown) + label {
    top: -5px;
    left: 15px;
    font-size: 12px;
}

.input-group input:not(:-ms-input-placeholder) + label {
    top: -5px;
    left: 15px;
    font-size: 12px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: -5px;
    left: 15px;
    font-size: 12px;
}

.input-group.valid::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300AA00"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>');
    background-repeat: no-repeat;
    opacity: 1;
}

/* Validation */
input.valid {
    border-color: #58D75A;
}
input.invalid, .input-group.touched input.invalid {
    border-color: #FF3737;
}
.input-group input.invalid + label {
    color: #FF3737;
    border-radius: 4px;
}
.verification-form_label.invalid {
    color: #FF3737;
}

.error-message {
    color: #FF3737;
    font-size: 13px;
    margin: 5px 0 6px 5px;
    display: none;
    -webkit-animation: shake 0.5s;
            animation: shake 0.5s;
}
.callback-agree-error {
    color: #FF3737;
    font-size: 13px;
    margin: -10px 0 6px 5px;
    display: none;
    -webkit-animation: shake 0.5s;
            animation: shake 0.5s;
}

/* Buttons */
.submit-btn, .user-get__code, .app-comp__btn-green {
    width: 100%;
    width: 350px;
    height: 60px;
    padding: 20px 50px;
    margin-top: 20px;
    background: #8BE574;
    color: #fff;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.submit-btn:disabled {
    background-color: #ccc;
}

.user-callback__btn, .app-comp__btn-black {
    width: 100%;
    max-width: 350px;
    height: 60px;
    padding: 20px 76px;
    margin-top: 12px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.app-comp__btn-black {
    text-decoration: none;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.user-get__new-code {
    width: 350px;
    height: 60px;
    padding: 20px 50px;
    margin-top: 12px;
    background: #F5F5F5;
    color: #989898;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
}

.dif-number {
    width: 350px;
    height: 60px;
    padding: 20px 50px;
    margin-top: 7px;
    background: #fff;
    color: #000;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Checkboxes */
.checkbox-group {
    width: 100%;
    max-width: 350px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 8px;
}
.checkbox-group input[type="checkbox"]::before {
    display: block;
    font-size: 14px;
    width: 32px;
}

.custom-checkbox {
    display: none;
    height: 18px;
    width: 30px;
    background: #58D75A;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 5px;
}
.custom-checkbox__callback {
    display: none;
    height: 18px;
    width: 18px;
    background: #58D75A;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 5px;
}

.checkbox-group input {
    width: 32px;
    height: 18px;
    margin-right: 0;
}
.checkbox-group label, .checkbox-group label a {
    color: #000;
    font-size: 12px;
    line-height: 130%;
}

/* Links */
.underline-link {
    text-decoration: none;
    color: #3BAB1F;
    position: relative;
}
.underline-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 1px;
    background-color: #3BAB1F;
}

.users-help {
    display: none;
    margin-top: 50px;
}


@media (max-width: 768px) {
    main {
        height: 100vh;
        width: 100%;
        border-radius: 0;
        background: #fff;
        position: relative;
    }
    .back-button {
        position: absolute;
        top: 42px;
        left: 20px;
        width: 24px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: none;
        z-index: 100;
    }
    
    .back-button svg {
        width: 100%;
        height: 100%;
    }
    
    .back-button:hover path {
        stroke: #3BAB1F;
    }
}

@media (max-width: 355px) {
    input, button {
        max-width: 300px;
    }
    .submit-btn {
        padding: 0;
    }
}

@supports (-webkit-touch-callout: none) {
    main {
        height: 100%;
    }
    input[type="checkbox"] {
      line-height: normal; 
      padding-top: 0;
      padding-bottom: 0;
      margin: 0;
      margin-right: -41px;
      margin-left: 5px;
    }
    
  }


    /* Прелоадер!!!!!!!!!!!!!!!!!!!!!!!! */    
    .btn-text {
        transition: all 0.3s;
        position: relative;
        z-index: 1;
    }
    
    .progress-circle {
        width: 60px;
        height: 60px;
        position: absolute;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .progress-circle-back {
        fill: none;
        stroke: rgba(0, 0, 0, 0.1);
        stroke-width: 8;
    }
    
    .progress-circle-fill {
        fill: none;
        stroke: #8BE574;
        stroke-width: 7;
        stroke-linecap: butt;
        stroke-dasharray: 125.6;
        stroke-dashoffset: 125.6;
        transition: stroke-dashoffset 0.3s;
        transform: rotate(-90deg);
        transform-origin: 50% 50%;
    }
    
    .progress-text {
        fill: #525252;
        font-size: 12px;
        font-weight: normal;
        font-family: Arial, sans-serif;
        text-anchor: middle;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .loading .btn-text {
        opacity: 0;
    }
    
    .loading .progress-circle,
    .loading .progress-text {
        opacity: 1;
    }


