:root {
    --text-main: #1f2d3d;
    --border-color: #dde3eb;

    --success-bg: #eaf8ed;
    --success-text: #249447;
    --success-border: #bfe5c8;

    --warning-bg: #fff4e5;
    --warning-text: #d87500;
    --warning-border: #f5d09d;
}

.heating-houses {
    margin-top: 10px;
}

/* Панель с прогрессом */
.heating-houses__summary-card {
    min-width: 300px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(31, 45, 61, 0.03);
}

.heating-houses__summary-card__count {
    width: 110px;
    justify-content: space-between;
    align-items: baseline;
}

.heating-houses__summary-progress {
    height: 8px;
    overflow: hidden;
    background: #e2e7ef;
    border-radius: 20px;
}

.heating-houses__summary-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 20px;
    transition: width 0.4s ease;
}

#progressPercent {
    padding: 0px 10px;
}

/* Фильтры */
.heating-houses__filter_form{
    width: 530px;
}

.heating-houses__filter {
    justify-content: space-between;
    margin-bottom: 20px;
}

.filter-button {
    min-height: 46px;
    padding: 0px 10px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-weight: 500;
}

.filter-button:hover,
.filter-button.active {
    color: var(--primary);
    border-color: #b7caef;
    background: #f8faff;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 24px;
    margin-left: 7px;
    padding: 0 8px;
    background: #edf0f4;
    border-radius: 12px;
    font-size: 13px;
}

.heating-houses__search-clean {
    position: absolute;
    right: 80px;
    top: 7px;
}

.heating-houses__search-clean:hover {
    cursor: pointer;
    width: 26px;
    height: 26px;
    right: 79px;
    top: 6px;
} 

.heating-houses__table-info {
    justify-content: end;
}

.heating-houses__table-info p {
    margin-bottom: 0;
    color: red;
}

/* Таблица */
.houses-table {
    margin-bottom: 0;
    border: 1px solid var(--border-color) !important;
}

.houses-table th {
    padding: 17px 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    color: #344257;
    font-size: 14px;
    font-weight: 600;
}

.houses-table td {
    border-color: #e6eaf0;
    font-size: 14px;
    font-weight: 500;
    padding: 5px !important;
}

.houses-table tbody tr:hover {
    background: #fbfcfe;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
}

.status-connected {
    color: var(--success-text);
    background: var(--success-bg);
    border-color: var(--success-border);
}

.status-disconnected {
    color: var(--warning-text);
    background: var(--warning-bg);
    border-color: var(--warning-border);
}

.date-fields .form-control {
    min-width: 125px;
    height: 25px;
    font-size: 13px;
}

.btn-confirm {
    min-width: 130px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    padding: 3px;
}

.fixed-text {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #57667a;
}

.empty-message {
    text-align: center;
    padding: 50px;
}