.honest-sign {
    padding: 0 0 100px;
}

.honest-sign__card {
    background: #fff;
    box-shadow: 0 10px 40px rgba(35, 42, 54, 0.08);
    padding: 100px 150px 30px;
}

.honest-sign__card-title {
    color: #232a36;
    font-size: 45px;
    font-weight: 700;
    line-height: 55px;
    margin: 0 0 50px;
}

.honest-sign-form {
    display: block;
    width: 100%;
}

.honest-sign-form span {
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    margin-bottom: 0;
    width: auto;
}

.honest-sign-form__honeypot {
    display: none !important;
}

.honest-sign-form__fields {
    max-width: 1004px;
    width: 100%;
}

.honest-sign-form__row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.honest-sign-form__field {
    box-sizing: border-box;
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
    min-width: 0;
    position: relative;
    width: 100%;
}

.honest-sign-form__placeholder {
    color: #7a7a7a;
    font-size: 17px;
    font-weight: 400;
    left: 20px;
    line-height: 24px;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    right: 48px;
    text-overflow: ellipsis;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
}

.honest-sign-form__field_full .honest-sign-form__placeholder {
    top: 20px;
    transform: none;
}

.honest-sign-form__req {
    color: #fa5500;
}

.honest-sign-form__field input:not(:placeholder-shown) ~ .honest-sign-form__placeholder,
.honest-sign-form__field input:focus ~ .honest-sign-form__placeholder,
.honest-sign-form__field:has(select option:checked:not([value=""])) > select ~ .honest-sign-form__placeholder {
    display: none;
}

.honest-sign-form__field_full {
    flex: 1 1 100%;
    margin-bottom: 30px;
    max-width: 100%;
}

.honest-sign-form__field input,
.honest-sign-form__field select,
.honest-sign-form__field textarea {
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    box-sizing: border-box;
    color: #232a36;
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    height: 64px;
    line-height: 24px;
    margin: 0;
    padding: 18px 20px;
    width: 100%;
}

.honest-sign-form__field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a7a7a' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-position: right 20px center;
    background-repeat: no-repeat;
    cursor: pointer;
    padding-right: 48px;
}

.honest-sign-form__field textarea {
    height: 130px;
    margin-bottom: 0;
    resize: vertical;
}

.honest-sign-form__field input::placeholder,
.honest-sign-form__field textarea::placeholder {
    color: #7a7a7a;
}

.honest-sign-form__field select:invalid {
    color: #7a7a7a;
}

.honest-sign-form__field select option {
    color: #232a36;
}

.honest-sign-form .messages {
    margin-bottom: 20px;
}

.honest-sign-form__footer {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.honest-sign-form__footer .btn,
.honest-sign-form__footer input.btn {
    flex: 0 0 auto;
    height: auto;
    min-width: 179px;
    width: auto;
}

.honest-sign-form__footer .form__submit-checkbox {
    flex: 1 1 420px;
    margin-left: 0;
}

.honest-sign-form .form__checkbox label span {
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .honest-sign__card {
        padding: 48px 40px;
    }

    .honest-sign__card-title {
        font-size: 35px;
        line-height: 43px;
        margin-bottom: 32px;
    }

    .honest-sign-form__field,
    .honest-sign-form__field_full {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .honest-sign-form__row {
        gap: 16px;
        margin-bottom: 16px;
    }

    .honest-sign-form__field_full {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .honest-sign {
        padding-bottom: 48px;
    }

    .honest-sign__card {
        padding: 28px 16px;
    }

    .honest-sign__card-title {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 24px;
    }

    .honest-sign-form__footer .btn,
    .honest-sign-form__footer input.btn {
        width: 100%;
    }

    .honest-sign-form__field input,
    .honest-sign-form__field select,
    .honest-sign-form__field textarea {
        height: 56px;
        padding: 14px 16px;
    }

    .honest-sign-form__field textarea {
        height: 130px;
    }
}
