﻿/*Статусы компании в шапке для карточки компании и создания из шаблона*/
.company-form-status-header .status-header {
    overflow: visible;
}

.content__header.status-header {
    overflow: visible;
}

.company-form-status-header .ant-page-header-heading,
.company-draft-header {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: start;
    gap: 8px;
    overflow: visible;
}

.company-draft-header {
    padding: 0 20px;
}

.ant-modal-content .charity-menu-dropdown {
    transform: translate(25px, -44px) !important;
}

.company-form-status-header .ant-page-header-heading-left, 
.company-draft-header-left {
    min-width: 0;
    flex: 1000 1 auto;
    overflow: visible;
}

.company-form-status-header .ant-page-header-heading-title, 
.company-draft-header-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-form-status-header .ant-page-header-heading-tags,
.company-draft-header .company-draft-header-statuses {
    min-width: 0;
    flex-shrink: 100000;
    display: flex;
    align-items: center;
    overflow: visible;
}

.company-form-status-header .ant-page-header-heading-extra, 
.company-draft-header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.company-form-status-header .status-list-wrapper, 
.company-draft-header .status-list-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.company-form-status-header .status-list-items, 
.company-draft-header .status-list-items {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow: hidden;
    flex-shrink: 1000000;
    min-width: 0;
}

.company-form-status-header .company-status-tag, 
.company-draft-header .company-status-tag {
    flex-shrink: 0;
    white-space: nowrap;
}

.company-form-status-header .status-item-add-button, 
.company-draft-header .status-item-add-button {
    flex-shrink: 0;
    white-space: nowrap;
}

.company-draft-modal .ant-modal-close-x {
    height: 25px;
}

/*Кнопки для нового дизайна*/
button.charity-new-icon-button {
    color: black !important;
    border-color: #d9d9d9 !important;
    padding: 0px 0px;
    height: 24px;
    width: 24px;
    border-color: #d9d9d9;
}


button.charity-new-button {
    color: black !important;
    border-color: #d9d9d9 !important;
    padding: 0px 7px;
    height: 24px;
    border-color: #d9d9d9;
}

/*Cтили формы компании*/

.company-form .ant-divider-horizontal,
.contact-person-card-modal .ant-divider-horizontal {
    margin: 4px 0px;
}

.company-form .ant-card {
    background: #F5F5F5;
}

.company-form .ant-card-small > .ant-card-body {
    padding: 7px;
}

.company-form .ant-collapse-content > .ant-collapse-content-box {
    padding: 8px 8px;
}

.company-form .ant-card-head-title {
    font-size: 16px;
}

.company-collapse.ant-collapse .ant-collapse-header {
    background-color: #F5F5F5;
    font-weight: 500;
    padding: 7px 9px;
    font-size: 16px;
}

    .company-collapse.ant-collapse .ant-collapse-header .ant-collapse-arrow.anticon {
        font-size: 14px;
        vertical-align: -2px;
    }

.company-form-popover .charity-select-input-placeholder {
    width: 156px;
}

/*Cтили формы контакта */

.contact-person-card-label {
    color: var(--charity-secondary45);
    width: 150px;
    font-weight: bold;
    flex-shrink: 0;
}

.receiving-methods-with-title-button {
    width: 28px;
    height: 24px;
    padding: 0;
}

.receiving-methods-combined-button {
    height: 24px;
    padding: 0 8px;
}

    .receiving-methods-combined-button span.anticon {
        padding-right: 3px;
    }

.receiving-methods-with-title-label {
    min-width: 88px;
    font-weight: bold;
}

.company-form-item-content {
    min-width: 323px;
    flex: 1;
}

.company-form-item-label-text {
    font-weight: bold;
    font-size: 14px;
    text-wrap: nowrap;
}

.company-form-item-label {
    display: flex;
    min-width: auto;
    flex: 1;
}

.company-form-item .ant-row-middle {
    align-items: start;
}

@media (max-width: 1920px) {
    .company-form-item-label {
        min-width: 200px;
    }

    .company-form-item-content {
        min-width: 100%;
    }
}