font.errortext {
    display: none;
}

.popup-form-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.popup-form-item input,
.popup-form-item textarea {
    font-family: "Fira Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    background: #F1F2F4;
    border: unset;
    width: 100%;
    padding: 11px 10px;
}

.popup-form-item label {
    font-family: "Fira Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.form_cv {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


/* Скрыть стандартное поле выбора файла */

input[type="file"] {
    display: none;
}


/* Стили для кнопки */

button.btn-file-upload {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-family: "Fira Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    background: #F1F2F4;
    padding: 11px 31px;
    border: none;
    width: 100%;
}


/* Иконка перед текстом */

button.btn-file-upload:before {
    content: url(/local/templates/generator/assets/img/vakansii/paperclip.svg);
    margin-top: 5px;
}


/* При клике на кнопку имитируем клик по полю input[type="file"] */

button.btn-file-upload:hover {
    background-color: #e0e0e0;
}

input.cv-btn {
    font-family: "Fira Sans", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 33.6px;
    padding: 20px;
    background: #DA2B2B;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    width: 100%;
    margin-top: 5px;
    cursor: pointer;
}

.popup-policy input {
    width: 19px;
    height: 19px;
    border: 1px solid #1C1C264D;
    border-radius: 2px;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
}

.popup-policy span,
.popup-policy a {
    font-family: "Fira Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: #1C1C264D;
}

.popup-policy label.checkbox {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 5px;
}

input[type="checkbox"]:checked::before {
    content: " ✔";
    color: #1C1C264D;
    line-height: 19px;
    text-align: center;
}

input[type="checkbox"]::before {
    content: "";
    width: 19px;
    height: 19px;
    vertical-align: unset;
    border: 1px solid #1C1C264D;
    background-color: #FFFFFF;
    margin-right: 0;
}

.popup-policy label.checkbox a:hover {
    color: #DA2B2B;
}

.form_service {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.form_service label.popup-form-item-label {
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
    margin-bottom: 20px;
}

.form_service .popup-form-item {
    width: 455px;
    max-width: 100%;
}

.form-note-service {
    margin-top: 15px;
}

.autoservice-banner-title {
    line-height: 130%;
}

.autoservice-banner-title {
    font-family: "Fira Sans", sans-serif;
    "Fira Sans",
    font-family: sans-serif;
}

h1,
h2 {
    font-family: "Fira Sans", sans-serif;
}

.form_service .popup-form-item input {
    height: 74px;
    border-radius: 5px;
    font-family: Roboto;
    font-weight: 300;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-left: 60px;
}

.form_service .popup-form-submit {
    width: 455px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

span.checkbox-text,
span.checkbox-text a {
    font-family: Roboto;
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    color: #fff;
    white-space: nowrap;
}

span.checkbox-text a {
    text-decoration: underline;
}

.form_service .popup-policy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.form_service .popup-policy label.checkbox {
    height: 74px;
    margin: 0px;
    align-items: baseline;
    padding-top: 10px;
}

.form_service input.cv-btn {
    font-family: Roboto;
    font-weight: 700;
    font-size: 24px;
    height: 74px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #15B52F;
}

.form_service input.cv-btn:hover {
    background: #DA2B2B;
}

.form_service .popup-policy label.checkbox span.checkbox-box {
    width: 12px;
    height: 12px;
    position: relative;
    border: 1px solid #FFFFFF;
    border-radius: 1px;
}

.form_service .popup-policy label.checkbox span.checkbox-box input[type="checkbox"] {
    opacity: 0;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 2;
    cursor: pointer;
}

.form_service .popup-policy label.checkbox span.checkbox-box input[type="checkbox"]:checked+b {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('/local/templates/generator/components/bitrix/form.result.new/autoservice-form/checkbox.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.autoservice-m-form-content .form_service {
    flex-direction: column;
    gap: 0px;
}

.form-note-service {
    color: #15B52F;
    font-weight: 600;
    font-size: 18px;
}

@media (max-width: 1200px) {
    .form_service .popup-form-item input {
        width: 320px;
        max-width: 100%;
        padding-left: 20px;
    }
    .form_service .popup-form-item {
        width: 320px;
    }
    .form_service .popup-form-submit {
        width: 320px;
    }
    .form_service {
        justify-content: flex-start;
    }
    .form_service .popup-policy label.checkbox {
        width: 320px;
        max-width: 100%;
    }
    .autoservice-m-form-content .form_service span.checkbox-text,
    .autoservice-m-form-content .form_service span.checkbox-text a {
        white-space: normal;
    }
    .form_service .popup-policy label.checkbox span.checkbox-box {
        min-width: 12px;
    }
}