.form {
    max-width: 1240px;
    width: 100%;
    margin: 20px auto;
}

.form.sm {
    max-width: 600px;
}

.form label,
.form span {
    font-weight: 400;
}

.form__inner {
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #fff;
}

.form__header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
}

.form__header--title {
    margin: 0;
    display: flex;
    font-family: 'PT Sans', 'DejaVu Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    color: #333333;
}

.form__body {
    padding: 16px;
}

.form__footer {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.input__item--label {
    width: 100%;
    white-space: nowrap;
}

.input__item {
    margin-bottom: 16px;
}

.input__list {
    display: grid;
    grid-gap: 16px;
}

.input__list--3fr {
    grid-template-columns: 1fr 1fr 1fr;
}

.input__list--2fr {
    grid-template-columns: 1fr 1fr;
}

.input__list--4fr {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.input__list--5fr {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.input__list--6fr {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.input__list--2-2fr {
    grid-template-columns: 2fr 1fr;
}

.input__list--3-3fr {
    grid-template-columns: 3fr 1fr 1fr;
}

.input__list--3-3fr__last {
    grid-template-columns: 1fr 1fr 3fr;
}

.input__list--3-2fr {
    grid-template-columns: 4fr 1fr;
}

.input__list--1fr-3fr {
    display: grid;
    grid-template-columns: 24% 74.65%;
    grid-gap: 16px;
}

.input__list--plus-1fr {
    grid-template-columns: 1fr;
}

.input__list--plus-2fr {
    grid-template-columns: 0.79fr 3.31fr;
}

.input__list--plus-3fr {
    grid-template-columns: 0.79fr 2.27fr 1fr;
}

.input__list--plus-4fr {
    grid-template-columns: 0.79fr 1.21fr 1fr 1fr;
}

.input__list--triple--2fr {
    grid-template-columns: 2.2fr 0.8fr;
}

.input__list--sixfold--2fr {
    grid-template-columns: 3fr 0.5fr
}

.form .selectize-control {
    width: 100%;
}

.form .control-field-checkbox__input,
.form .control-field-checkbox__label:before {
    top: 10px;
}

.form .control-field-checkbox__label:after {
    top: 15px;
}

.form .error-label,
.form .hint-text {
    font: normal 400 11px/15px 'Roboto', sans-serif;
}

.show .input__item--field_span {
    background: #fff !important;
    padding: 7px !important;
    border-radius: 5px !important;
    min-height: 37px;
    display: block;
    word-break: break-all;
    box-sizing: border-box;
}

.show td {
    vertical-align: bottom;
}

.form .selectize-control {
    border-radius: 5px !important;
    background: #fff !important;
}

.show .selectize-input {
    margin-left: 8px !important;
}

.input__item .control-field-container--password {
    width: auto !important;
    display: block !important;
}

.form__separator {
    margin: 10px 0;
}

.field-with-button--input {
    position: relative;
    margin-right: 10px;
    width: 100%;
}

.form__separator + h3 {
    font: normal 400 20px/20px 'Roboto', sans-serif !important;
    margin-bottom: 5px;
}

.input__item--field .iti {
    display: block;
}

.flex__input {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.form.sm form .form__separator:first-of-type {
    display: none;
}

#multi-merchant-operator-head .input__item {
    margin: 0 !important;
}

textarea[disabled] {
    background: white;
}

.fixSearchInput .selectize-input input {
    width: 100% !important;
}

.fixSearchInput .selectize-input span ~ input {
    width: 4px !important;
}

.selectize-input.disabled {
    min-height: 37px;
}

.insert-form {
    background: #ebebeb;
}

.hardware-table--customMessages .hardware-table-cell,
.hardware-table--customErrors .hardware-table-cell {
    box-sizing: border-box;
}

.hardware-table--customMessages .hardware-table-cell:first-of-type,
.hardware-table--customErrors .hardware-table-cell:first-of-type {
    padding-left: 10px;
}

.table-separator ~ .page-content {
    position: absolute;
    width: 100%
}

.fieldSelect {
    border-radius: 5px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    background: #e7e7e7;
}

.fieldSelect__list {
    display: grid;
    grid-template-rows: 45px auto;
}


.fieldSelect__list--title {
    margin-bottom: 10px;
    word-break: break-word;
}

.fieldSelect__list--items {
    background: white;
    max-width: 150px;
}

.fieldSelect__list--item {
    padding: 2px;
    transition: background .3s ease;
    word-break: break-word;
}

.fieldSelect__list--item:hover {
    cursor: pointer;
}

.fieldSelect__list--item.active {
    color: white;
}

.fieldSelect__btns {
    align-self: center;
    margin: 10px;
    white-space: nowrap;
}

.fieldSelect__btns button {
    display: block;
    width: 35px;
    margin: 5px;
}

.form__body--wizard {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 20px;
    min-height: 600px;
}

.form__body--wizard #reader-key-list-head {
    min-width: auto;
    grid-column-start: 1;
}

.status__checkbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status__checkbox__title {
    font-family: 'PT Sans', 'DejaVu Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18.2px;
    color: #333;
    cursor: pointer;
}

.lock,
.unlock {
    display: flex;
    gap: 4px;
    align-items: center;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-family: 'PT Sans', 'DejaVu Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}

.lock {
    color: #333333;
    background: #F2F2F2;
    border: 1px solid #F2F2F2;
}

.switch__input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.switch__input label:first-of-type {
    font-family: 'PT Sans', 'DejaVu Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18.2px;
    color: #333;
    cursor: pointer;
}

.form__body--wizard .input__item {
    margin-bottom: 0;
}

.form__body--wizard form > .input__item {
    grid-column-start: 1;
}

.form__body--wizard form {
    display: grid;
    grid-row-gap: 10px;
    grid-template-columns: 1fr;
}


.form__body--wizard form.withActions {
    display: grid;
    grid-row-gap: 10px;
    grid-column-gap: 10px;
    grid-template-columns: 1fr 36px;
}

.form__body--wizard .control-field__input,
.form__body--wizard .selectize-control {
    height: 36px;
}

.form__body--wizard .control-field__button {
    align-self: end;
    padding: 6px;
    border-radius: 4px;
    height: 36px;
}

td .control-field__button {
    margin-top: 0 !important;
}

.form__body--wizard .withActions .control-field__button {
    align-self: start;
    margin-top: 19.19px;
    padding: 6px;
    border-radius: 4px;
    height: 36px;
}

.form__body--wizard .control-field__button {
    margin-top: 19px;
    padding: 6px;
    border-radius: 4px;
    height: 36px;
}

.form__body--wizard .input__item--label {
    color: #333333;
    font-family: 'PT Sans', 'DejaVu Sans', sans-serif;
    font-size: 14px;
    line-height: 18.2px;
    font-weight: 400;
    padding-bottom: 1px;
}

.form__body--wizard .input__icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.form__body--wizard .control-field-container--password input {
    padding-right: 44px;
}

.form__body--wizard .field-with-button--input {
    margin-right: 0;
}

.checkbox__input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px;
    font-family: 'PT Sans', 'DejaVu Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18.12px;
    color: #333;
}

.checkbox__icon {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-color);
    border-radius: 7px;
    transition: background-color .2s, border .2s;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.checkbox__input label {
    cursor: pointer;
}

.form__body--wizard > div {
    width: 100%;
    max-width: 360px;
}

.form__body--wizard #KeyForm {
    max-width: none;
}

.form__body--wizard #reader-key-list td {
    padding-bottom: 20px;
}

.form__block {
    display: grid;
    grid-row-gap: 20px;
}

#merchantInner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form__title {
    font-family: 'PT Sans', 'DejaVu Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 23.29px;
    color: black;
}

.form__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.form__actions .control-field__button {
    padding: 6px 10px;
}

.form__status__item .done {
    display: none;
}

.form__status {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    gap: 10px;
}

.form__status__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    font-family: 'PT Sans', 'DejaVu Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 15.53px;
    color: #A3A1A1;
    gap: 6px;
    cursor: pointer;
}

.form__status__item.done {
    cursor: pointer;
}

.form__status__item.done .disabled {
    display: none;
}

.form__status__item.done svg.done {
    display: block;
}

.form__status__item.done svg.done {
    display: block;
}

.form__status:has(.form__status__item.done) {
    background: rgba(240, 240, 240, 0.3);
}

.form.form__new-style {
    max-width: 1040px;

     form {
         display: grid;
         grid-template-columns: repeat(4, 1fr);
         grid-template-rows: auto;
         grid-gap: 14px;
    }

    .form__header, .form__footer {
        grid-column: 1 / 5;
    }
}

.form__block {
    border-radius: 15px;
    background-color: #fff;
    border: none !important;
    padding: 30px;
}

.form__body.form__block:nth-child(2) {
    grid-column: 1 / 4;
}