

/* Start:/bitrix/templates/poligon/css/contract-form/blocks/dynamic-form-rows.css?17846298591719*/
.dynamic-form-rows {
    --columns: 44px 1.3fr 2.2fr 1.2fr 1.2fr 40px;

    width: 100%;
    margin-top: 24px;
}

.dynamic-form-rows__wrapper {
    overflow-x: auto;
}

.dynamic-form-rows__head,
.dynamic-form-rows__row,
.dynamic-form-rows__footer {
    display: grid;
    grid-template-columns: var(--columns);
    gap: 12px;
    align-items: center;
    min-width: 720px;
}

.dynamic-form-rows__head {
    margin-bottom: 12px;
    padding-bottom: 12px;

    border-bottom: 1px solid #ececec;

    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;

    color: #777;
}

.dynamic-form-rows__row {
    margin-bottom: 16px;
}

.dynamic-form-rows__number {
    text-align: center;
    color: #777;
}

.dynamic-form-rows__remove {
    width: 36px;
    height: 36px;

    border: none;
    border-radius: 6px;

    background: #f5f5f5;

    color: #d9534f;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition: .2s;
}

.dynamic-form-rows__remove:hover {
    background: #ffe9e9;
}

.dynamic-form-rows__footer {
    margin-top: 16px;
    padding-top: 16px;

    border-top: 1px solid #ececec;

    font-weight: 700;
}

.dynamic-form-rows__footer-label {
    text-align: left;
}

.dynamic-form-rows__footer-total {
    color: #08AD6B;
}

.dynamic-form-rows__add {
    margin-top: 14px;
    padding: 12px 18px;

    border: 1px solid #08AD6B;
    border-radius: 6px;

    background: #fff;

    color: #08AD6B;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}

.dynamic-form-rows__add:hover {
    background: #08AD6B;
    color: #fff;
}
/* End */


/* Start:/bitrix/templates/poligon/css/contract-form/blocks/search-suggestion-list.css?17847077531160*/
.search-suggestion-list {
    position: absolute;

    z-index: 998;

    max-width: 100vw;

    overflow: hidden;

    pointer-events: none;
}


.search-suggestion-list__wrapper {

    width: 100%;

    max-width: 100%;

    box-sizing: border-box;

    background: #fff;

    border: 1px solid #dcdcdc;

    border-radius: 8px;

    box-shadow: 0 8px 20px rgba(0,0,0,.08);

    max-height: 260px;

    overflow-y: auto;

    pointer-events: auto;

}


.search-suggestion-list__item {

    display: block;

    width: 100%;

    padding: 12px 16px;

    background: transparent;

    border: 0;

    text-align: left;

    cursor: pointer;

    transition: background .2s;

}


.search-suggestion-list__item:hover {

    background: #f6f6f6;

}


.search-suggestion-list__item:not(:last-child) {

    border-bottom: 1px solid #ececec;

}


.search-suggestion-list__code {

    margin-bottom: 4px;

    font-size: 14px;

    font-weight: 600;

    color: #2b2b2b;

}


.search-suggestion-list__name {

    font-size: 13px;

    line-height: 1.4;

    color: #777;

}
/* End */


/* Start:/bitrix/templates/poligon/css/contract-form/contract-form.css?178636156810585*/
.main_part.main_part--contract-form {
    padding: 20px 32px;
}

.main_part.main_part--contract-form .wrap h1 {
    padding-bottom: 8px;
}

.contract-form-page .contract-form-desc {
    font-size: 16px;
    line-height: 1.55;
    color: rgb(111, 111, 111);
    margin-bottom:  28px;
    max-width: 760px;
}

.contract-form-page .contract-form-desc span {
    color: rgb(224, 72, 61);
    font-family: sans-serif;
}

.contract-section {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(228, 228, 228);
    border-radius: 6px;
    padding: 30px 34px;
    margin-bottom: 20px;
}

.contract-section__header {
    margin-bottom: 24px;
}

.contract-section__header--flush {
    margin-bottom: 0;
}

.contract-section__header--col2 {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.contract-section__title {
    font-size: 23px;
    font-weight: 700;
    color: rgb(43, 43, 43);
}

.contract-section__title--mb {
    margin-bottom: 8px;
}

.contract-section__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contract-section__heading .contract-section__desc {
    padding-left: 36px;
    margin-bottom: 0;
}

.contract-section__desc {
    font-size: 15px;
    color: rgb(122, 122, 122);
    margin: 0px 0px 18px;
    line-height: 1.5;
}

.contract-section__applicant-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    background: #f3f3f3;
    border-radius: 8px;
}

.contract-section__notice {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.6;
    color: rgb(154, 154, 154);
}

.applicant-switch__item {
    position: relative;
    display: block;
    cursor: pointer;
}

.applicant-switch__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.applicant-switch__button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 4px;
    color: #666666;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: all .2s ease;
}

.applicant-switch__input:checked + .applicant-switch__button {
    background: #08AD6B;
    border-color: #08AD6B;
    color: #ffffff;
}

.applicant-switch__input:focus-visible + .applicant-switch__button {
    box-shadow: 0 0 0 3px rgba(8, 173, 107, .2);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group--period {
    max-width: 280px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: rgb(68, 68, 68);
}

.form-label.required::after {
    content: " *";
    color: #e53935;
    font-family: sans-serif;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d5d7db;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-input.form-input--error {
    border-color: red;
}

span.form-input--error {
    color: red;
}

.form-input:focus {
    outline: none;
    border-color: #23a455;
}

.file-field {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;

    min-height: 44px;

    padding: 12px 16px;

    border: 1px solid #d8d8d8;
    border-radius: 8px;

    background: #fff;

    cursor: pointer;

    transition: border-color .2s;
}

.file-field--error {
    margin-bottom: 3px;
}

.file-field:hover {
    border-color: #08AD6B;
}

.file-field__input {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;
    padding: 0;

    border: 0;

    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);

    white-space: nowrap;
}

.file-field__button {
    flex-shrink: 0;

    padding: 10px 18px;

    border-radius: 6px;

    background: #08AD6B;

    color: #fff;

    font-size: 14px;
    font-weight: 600;
}

.file-field__text {
    color: #8a8a8a;
    font-size: 14px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.is-hidden {
    display: none !important;
}


/* section-toggle start */

.section-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.section-toggle--error {
    margin-bottom: 3px;
}

.section-toggle--sm .section-toggle__control {
    width: 15px;
    height: 15px;
}

.section-toggle--sm .section-toggle__input:checked + .section-toggle__control::after {
    left: 4px;
    top: 0px;
    width: 4px;
    height: 9px;
}

.section-toggle__input {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;
    padding: 0;

    border: 0;

    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);

    white-space: nowrap;
}

.section-toggle__control {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;

    border: 2px solid #08AD6B;
    border-radius: 4px;
    background: #fff;

    transition: .2s;
}

.section-toggle__input:checked + .section-toggle__control {
    background: #08AD6B;
}

.section-toggle__input:checked + .section-toggle__control::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 12px;
    border-right: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(45deg);
}

.section-toggle__title {
    color: rgb(43, 43, 43);
}

.section-toggle__title--bold {
    font-weight: 700;
}

.section-toggle__title--required::after {
    content: " *";
    color: #e53935;
    font-family: sans-serif;
}

/* section-toggle end */

.dynamic-form-rows.dynamic-form-rows--transport {
    --columns: 44px 2fr 1.3fr 1.2fr 1.5fr 40px;
}

.dynamic-form-rows.dynamic-form-rows--container-rental {
    --columns: 44px 1.2fr 2fr 1.8fr 1.1fr 1fr 40px;
}

.required-service__section-toggle {
    padding: 16px 18px;
    border: 1.5px solid rgb(226, 226, 226);
    border-radius: 8px;
    background: rgb(255, 255, 255);
}

.required-service__section-toggle:has(.section-toggle__input:checked) {
    border-color: rgb(35, 164, 85);
    background: rgb(241, 250, 244);
}

.service-card__container {
    margin-top: 20px;
}

.service-card__inner {
    padding: 22px 24px;
    background: rgb(247, 250, 248);
    border: 1px solid rgb(220, 237, 227);
    border-radius: 8px;
}

.service-card__title {
    font-weight: 700;
    color: rgb(43, 43, 43);
    font-size: 15px;
    margin-bottom: 4px;
}

.service-card__form-label {
    color: rgb(85, 85, 85);
    font-size: 13px;
}

.attached-documents__items {
    display: grid;
    gap: 12px;
}

.attached-documents__inner-doc {
    margin-top: 12px;
}

.contract-section__title--required::after {
    content: " *";
    color: #e53935;
    font-family: sans-serif;
}

/* «Другое» в прилагаемых документах */

.other-documents__list {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.other-documents__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 32px;
    align-items: start;
    gap: 12px;
}

.other-documents__cell {
    min-width: 0;
}

.other-documents__row span.form-input--error,
.dynamic-form-rows__row span.form-input--error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
}

.other-documents__remove {
    width: 32px;
    height: 44px;
    padding: 0;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    color: #c34a41;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.other-documents__remove:hover {
    background: #fdeceb;
    border-color: #f0c4c0;
}

.other-documents__add {
    padding: 10px 18px;
    border: 1px solid #08AD6B;
    border-radius: 6px;
    background: #fff;
    color: #08AD6B;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.other-documents__add:hover {
    background: #08AD6B;
    color: #fff;
}

@media (max-width: 767px) {
    .other-documents__row {
        grid-template-columns: minmax(0, 1fr) 32px;
    }

    .other-documents__cell--title {
        grid-column: 1 / -1;
    }
}


/* Actions */

.contract-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contract-actions__button {
    height: 56px;
    padding: 0 32px;
    border: 0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}

.contract-actions__button:active {
    transform: translateY(1px);
}

.contract-actions__button--submit {
    min-width: 230px;
    background: #08AD6B;
    color: #fff;
    box-shadow: 0 4px 10px rgba(8, 173, 107, .25);
}

.contract-actions__button--submit:hover {
    background: #079b60;
}

.contract-actions__button--reset {
    min-width: 140px;
    background: #f5f5f5;
    color: #555;
}

.contract-actions__button--reset:hover {
    background: #ebebeb;
}

.contract-actions__info {
    margin: 0;
    font-size: 15px;
    color: #9b9b9b;
}

.contract-actions__link {
    color: inherit;
    text-decoration: none;
}

.contract-actions__link:hover {
    color: #08AD6B;
}

.error-container {
    margin-top: 20px;
}

.error-message,
.success-message {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.error-message {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
}

.success-message {
    color: #0f5132;
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
}

.error-message ul {
    margin: 0;
    padding-left: 20px;
}

.error-message li + li {
    margin-top: 4px;
}

@media (max-width: 480px) {
    .main_part.main_part--contract-form {
        padding: 20px 15px;
    }

    .contract-section {
        padding: 15px 19px;
    }
}
/* End */
/* /bitrix/templates/poligon/css/contract-form/blocks/dynamic-form-rows.css?17846298591719 */
/* /bitrix/templates/poligon/css/contract-form/blocks/search-suggestion-list.css?17847077531160 */
/* /bitrix/templates/poligon/css/contract-form/contract-form.css?178636156810585 */
