/* Поисковый ввод */
#search-input {
    width: 100%;
}

#no-results,
#list-error {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

#address-form {
    min-height: calc(100vh - 330px);
}

/* Стили для элементов списка адресов */
#address-list li {
    margin-top: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

#address-list li:hover {
    color: var(--color-blue);
}

/* Белый фон карточки адреса */
.uk-card-adresses {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    width: 100%;
    box-sizing: border-box;
}

/* Карточка информации */
.info-card {
    min-height: 400px;
    position: relative;
    width: 500px;
}

/* Для дополнительной информации по адресу в мкд-карте */
.info-card-mkd {
    position: relative;
    width: 500px;
}

.info-card-content.spinner {
    position: relative;
}

.info-card-content.spinner > span {
    position: absolute;
    width: 150px;
    height: 150px;
}

/* Форма фильтров */
#filterForm {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

#filterForm > div.uk-margin-small-bottom {
    width: 100%;
}

/* Статусы и кнопка сворачивания сайдбара */
.sidebar-statuses {
    flex-direction: row-reverse;
    height: 40px;
}

/* Кнопки фильтров и тоггл сайдбара */
#resetFilter,
.sidebar-toggle-button {
    background-color: #fafafa !important;
    border: 1px solid #e5e5e5 !important;
    color: #333 !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

#resetFilter:hover,
.sidebar-toggle-button:hover {
    border-color: #999 !important;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4) !important;
}

#applyFilter {
    padding: 0 20px;
    width: 185px;
}

/* Элементы списка адресов */
.address_list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 25px;
}

.address_list > div {
    display: flex;
    line-height: 15px;
}

.addres,
.listInfo {
    line-height: 15px;
    display: flex;
    align-items: center;
}

.name {
    line-height: 15px;
    display: flex;
    align-items: center;
}

/* для МКД модуля */
.close-link {
    display: block;
    text-align: right;
    margin-bottom: 20px;
}

.fz16 {
    font-weight: 500;
    font-size: 16px;
    line-height: 17px;
    padding: 5px 0px;
}

.fz16strong {
    font-size: 16px;
    font-weight: 700;
}

.fz25strong {
    line-height: 25px;
    font-size: 25px;
    font-weight: 700;
}

.management-flex {
    display: flex;
    flex-direction: column;
}

.management-flex div {
    display: flex;
    align-items: center;
}

.management-flex div img {
    padding-right: 10px;
}

.actions-flex {
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.action-item button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 60px;
    background: #f5f6f7;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.action-item span {
    margin-top: 8px;
}

.suppliers-block {
    padding: 15px 20px;
    background: #f5f6f7;
    border-radius: 10px;
}

.suppliers-block .suppliers-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.work-status-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.mkd-divider,
.suppliers-block,
.work-status-block,
.management-block {
    margin: 5px 0;
}

.board-block {
    padding: 20px;
    background: rgba(255, 206, 8, 0.2);
    border-radius: 10px;
    margin: 15px 0px 0px;
}

.board-block .board-flex {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
}

.board-block .board-flex img {
    margin-right: 10px;
}

.close-link:hover {
    cursor: pointer;
    text-decoration: underline;
}

.date-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}
