.left-sidebar {
    flex: 0 0 297px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}
.lk-header {
    margin-bottom: 24px;
    color: #000;
    font-family: Neris;
    font-size: 24px;
    font-weight: 600;
    line-height: normal; 
}
.left-sidebar__block {
    position: relative;
    padding: 15px 19px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 16px;
    background: #E2E2E2;
    color: #000;
    font-family: Neris;
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
}
.block-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.left-sidebar__block .block-title {
    flex: 1 0 100%;
    margin-bottom: 9px;
    color: #000;
    font-family: Neris;
    font-size: clamp(18px,2.5vw,22px);
    font-weight: 900;
    line-height: normal; 
}
.left-sidebar__block .user-phone,
.left-sidebar__block .user-mail {
    color: #000;
    font-family: Neris;
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    text-decoration: none;
    transition: 0.2s;
}
.left-sidebar__block .my-profile a {
    color: #48AC82;
    font-family: Neris;
    font-size: 12px;
    font-weight: 600;
    line-height: 100%;
    text-decoration-line: underline;
    transition: 0.2s;
}
.left-sidebar__block .user-phone:hover,
.left-sidebar__block .user-mail:hover,
.left-sidebar__block .my-profile a:hover {
    color: #2B4EA1;
}
.left-sidebar__block .block-icon {
    flex: 0 0 40px;
    height: 46px;
    align-self: flex-end;
    display: flex;
    align-items: flex-end;
}
.left-sidebar__block .total-count,
.left-sidebar__block .total-summa .number {
    color: #000;
    font-family: Neris;
    font-size: clamp(20px,3.5vw,27px);
    font-weight: 600;
    line-height: 100%;
}

.left-sidebar__block .manager-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}
.left-sidebar__block .manager-item {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}
.left-sidebar__block .manager-item .category {
    color: #000;
    font-family: Neris;
    font-size: 14px;
    font-weight: 900;
    line-height: 100%;
}

.left-sidebar .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-table {
    flex-wrap: nowrap;
    gap: 17px;
}
.history__wrap  {
    position: relative;
    width: auto;
    flex: 1 1 auto;
    display: flex;
    overflow: hidden;
}

@media screen and (max-width: 1100px) {
    .history-table {
        flex-direction: column;
    }
    .left-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        flex: none;
    }
    .left-sidebar__block {
        flex: 0 1 48%;
    }
    .left-sidebar__block:nth-child(3) .block-info {
        row-gap: 4vw;
    }
    .left-sidebar .buttons {
        flex: 1 0 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .history-orders-wrap .order>div a {
        height: 21px !important;
    }
}
@media screen and (max-width: 768px) {
    .history-table__header {
        display: none;
    }
    .history-orders-wrap .order {
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 13px;
        flex-wrap: wrap;
    }
    .history-orders-wrap .order>div {
        flex: auto;
        display: flex;
        flex-direction: column;
    }
    .history-orders-wrap .order>div:before {
        content: attr(data-label) ':';
        text-transform: uppercase;
        text-align: center;
        color: #000;
        font-family: Neris;
        font-size: 14px;
        font-weight: 600;
        line-height: normal;
        white-space: nowrap; 
    }
    .history-orders-wrap .order-summa {
        margin-top: 10px;
        position: relative;
        flex-direction: row !important;
        column-gap: 4px;
    }
    .history-orders-wrap .order-summa::before {
        position: absolute;
        top: -15px;
    }

}
@media screen and (max-width: 567px) {
    .left-sidebar__block .block-icon {
        position: absolute;
        bottom: 5px;
        right: 5px;
        width: 30px;
        height: 37px;
    }
    .left-sidebar__block .block-icon svg {
        object-fit: contain;
    }
    .left-sidebar__block {
        flex: 1 1 48%;
    }
    .left-sidebar__block:nth-child(3) .block-info {
        flex-direction: row;
        column-gap: 20px;
        justify-content: space-around;
    }
    .left-sidebar__block:nth-child(4) {
        flex: 1 0 100%;
    }
}

@media screen and (max-width: 375px) {
    .left-sidebar__block:nth-child(3) .block-info {
        flex-direction: column;
    }
}