/* Согласие 152-ФЗ и прикрепление файлов — во всех формах */
section[id^="mpc"] .nrgm-files, section[id^="mpc"] .nrgm-consent { margin-bottom: 14px; text-align: left; }
.nrgm-files__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nrgm-files__add { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 600; color: #0A2538; border: 1px dashed #7E7E7E; padding: 8px 14px; background: rgba(255, 255, 255, .6); }
.nrgm-files__add:hover { border-color: #56D8E8; }
.nrgm-files__icon { font-size: 15px; }
.nrgm-files__hint { font-size: 12px; color: #7E7E7E; margin: 6px 0 0 !important; }
.nrgm-files__list { list-style: none; margin: 0 0 8px !important; padding: 0 !important; font-size: 14px; }
.nrgm-files__list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); word-break: break-all; }
.nrgm-files__del { background: none !important; border: 0 !important; color: #b32d2e !important; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px !important; min-height: 0 !important; }
.nrgm-consent__label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; cursor: pointer; }
.nrgm-consent__input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0 !important; accent-color: #0A2538; }
.nrgm-consent__label a, section[id^="mpc"] .nrgm-consent__label a { text-decoration: underline; color: inherit !important; }
section[id^="mpc"] .nrgm-files.error .nrgm-files__add, section[id^="mpc"] .nrgm-consent.error .nrgm-consent__label { color: #b32d2e; }
section[id^="mpc"] .nrgm-files .form__error, section[id^="mpc"] .nrgm-consent .form__error { color: #b32d2e; font-size: 13px; margin: 6px 0 0; }

/* Формы на страницах ([nrgm_form]) */
.nrgm-lead-form { font-family: "Gil", sans-serif; color: inherit; }
.nrgm-lead-form .form__item { margin-bottom: 16px; }
.nrgm-lead-form .form__item_styled-content p { font-size: 22px; text-transform: uppercase; margin: 0 0 8px; }
.nrgm-lead-form__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.nrgm-lead-form .form__label { font-size: 14px; margin: 0 0 6px; font-weight: 600; }
.nrgm-lead-form .form__label_required::after { content: " *"; color: #56D8E8; }
.nrgm-lead-form .nrgm-opt { font-weight: 400; opacity: .7; }
.nrgm-lead-form .form__input { width: 100%; box-sizing: border-box; border: 1px solid #C7C7C7; background: #fff; color: #2B2B2B; padding: 13px 14px; font-size: 16px; font-family: inherit; border-radius: 0; }
.nrgm-lead-form textarea.form__input { resize: vertical; min-height: 96px; }
.nrgm-lead-form .form__input:focus { outline: none; border-color: #56D8E8; }
.nrgm-lead-form .error .form__input { border-color: #e05252; }
.nrgm-lead-form .form__error { display: none; color: #e05252; font-size: 13px; margin: 6px 0 0; }
.nrgm-lead-form .form__button { background: #56D8E8; color: #0A2538; border: 0; padding: 16px 40px; font-weight: 700; font-size: 15px; text-transform: uppercase; cursor: pointer; font-family: inherit; border-radius: 0; }
.nrgm-lead-form .form__button:hover { background: #fff; }
.nrgm-lead-form .form__button:disabled { opacity: .6; cursor: wait; }
.nrgm-lead-form .success { display: none; }
.nrgm-lead-form .nrgm-files__add { background: #fff; }
.nrgm-form-wrap .nrgm-lead-form .nrgm-files__add { color: #0A2538; }
.nrgm-form-wrap .nrgm-files__list li { border-color: rgba(255, 255, 255, .2); }
.nrgm-form-wrap .nrgm-files__hint { color: rgba(255, 255, 255, .65); }
.nrgm-form-wrap .nrgm-consent__label { color: rgba(255, 255, 255, .85); }
.nrgm-form-wrap .nrgm-lead-form .form__item_styled-content p { color: #fff; }

@media (max-width: 767px) {
    .nrgm-lead-form__grid { grid-template-columns: 1fr; }
    .nrgm-lead-form .form__button { width: 100%; }
}
