.cost-page-add {
    margin: 0 auto;
    max-width: 1225px;
    margin-bottom: 24px;
    padding: 36px 15px;
}
.cost-page-add.cost-page-add__new .js-crm-delete-car,
.cost-page-add.cost-page-add__new .cost-page-add__link{
    display: none;
}
.cost-page-add__back-link {
    font-size: 14px;
    font-size: 14px;
    width: auto;
    display: inline-flex;
}
.cost-page-add__back-link::before {
    content: '←';
    position: relative;
    top: -2px;
    margin-right: 8px;
}



.cost-page-add__section {
    display: flex;
    flex-direction: column;
    border: 1px solid #0000000f;
    border-radius: 16px;
    box-shadow: 0 4px 24px #0000000a;
    padding: 24px;
    margin-bottom: 24px;
}

.cost-page-add__header {
    align-items: center;
    display: flex;
    width: 100%;
    margin-bottom: 24px;
}
.cost-page-add__header-text-wrapper {
    flex-grow: 1;
}
.cost-page-add__header-title {
    font-size: 23px;
    font-weight: 700;
    line-height: 28px;
    margin-top: 0;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cost-page-add__header-description-row {
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cost-page-add__header-description {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.cost-page-add__header-divider:not(:last-child)::after {
    content: '•';
    display: inline-block;
    margin: 0px 7px;
    font-size: 16px;
    line-height: 0px;
    color: #ccc;
    transform: translateY(1px);
}
.cost-page-add__header-btn {
    margin-left: 10px;
    font-size: inherit;
    line-height: inherit;
}

.cost-page-add__header-img {
    width: 52px;
}
.cost-page-add__body-section {
    margin-bottom: 15px;
}
.cost-page-add__body-section-title {
    font-size: 23px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 16px;
    margin-top: 0;
}
.cost-page-add .hidden-blocks-btn--hide {
    display: none !important;
}
.cost-page-add__body-section--border{
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-bottom: 25px;
}
.cost-page-add__body-section-header {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.cost-page-add__body-section-header.active {
    cursor: pointer;
}
.cost-page-add__body-section-header-title {
    flex: 0 0 auto;
    max-width: 70%;
    font-size: 15px;
    line-height: 20px;
    color: grey;
}
.cost-page-add__body-section-header-value {
    flex: 1 0 auto;
    max-width: 60%;
    font-size: 15px;
    line-height: 20px;
    text-align: right;
    padding-right: 20px;
}
.cost-page-add__body-section-header-value::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../img/shevron.svg');
    transition: transform .3s ease-in-out;
}
.cost-page-add__body-section-header.show .cost-page-add__body-section-header-value::after {
    transform: translateY(-45%) rotate(-180deg);
}
.cost-page-add__body-section-header:not(.active) .cost-page-add__body-section-header-value::after{
    display: none;
}
.cost-page-add__body-section-photo .field-filearea__zone,
.cost-page-add__body-section-files .field-filearea__zone {
    min-height: 70px;
}
.cost-page-add__body-section-body {
    padding-top: 15px;
}

.cost-page-add__save {
    margin-bottom: 10px;
}
.crm-car-edit-btns {
    display: flex;
    flex-direction: column;
}
.crm-car-edit-btn {
    margin-bottom: 15px;
}
.crm-car-edit-delete-btn {
    margin-top: 40px;
    font-size: 15px;
    color: #999;
}
.crm-car-edit-delete-btn .svg-bin {
    transform: translate(0, 2px);
}
.cost-page-add-row__title {
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 16px;
}



.crm-car-add__error-message-text {
    color: red;
    font-size: 14px;
}
.crm-car-add__error-message-desc {
    font-size: 13px;
    color: gray;
    margin-bottom: 10px;
}

.crm-car-add__error-message-checkbox .span-checkbox{
    font-size: 15px;
}
.crm-car-add__error-message-checkbox .svg-info{
    margin-left: 6px;
    transform: translateY(1px);
}
.crm-car-add__error-message-checkbox-desc {
    color: gray;
}
.crm-car-add__error-message-checkbox .span-checkbox:before, 
.crm-car-add__error-message-checkbox .field-checkbox:checked+span:after {
    top: 0;
}

.crm-car-add__balance-block {
    display: none;
}

.cost-page-add__form.balance-error .crm-car-add__balance-block {
    display: flex;
}

@media (min-width: 992) {
    .cost-page-add__col-center {
        padding-left: 40px;
    }
    .cost-page-add__col-right {
        padding-left: 53px;
    }
}

@media (max-width: 1199.98px) {
    .crm-car-add__error-message-checkbox .span-checkbox {
        font-size: 13px;
    }
}

@media (max-width: 767.98px) { 

    .crm-car-edit-btns {
        position: fixed;
        top: auto;
        padding: 0;
        bottom: 5px;
        left: 15px;
        right: 15px;
        flex-direction: row;
        z-index: 8;
        justify-content: space-between;
    }
    .crm-car-edit-btn {
        flex: 0 0 48%;
        width: 48%;
    }
    .crm-car-edit-delete-btn {
        display: none;
    }
}
@media (max-width: 575.98px) {
    .crm-car-add__data {
        order: 1;
    }
}