.wb-docs__layout { display: grid; grid-template-columns: 320px 1fr; gap: 24px; }
.wb-docs__aside { background: #f6f6f6; border-radius: 12px; padding: 18px; }


.wb-docs__filter-block{
    background-color: var(--white);
    padding: 16px;
    border-radius: var(--theme-button-border-radius);
}

.wb-docs__filter-block:not(:last-child){
    margin-bottom: 16px;
}

.wb-docs__filter-title { font-weight: 600; margin: 0 0 12px; color: #1f1f1f; }
.wb-docs__check{
    display: block;
}
.wb-docs__check {padding: 8px 0; cursor: pointer; }
.wb-docs__check input { width: 16px; height: 16px; }
.wb-docs__reset{
    margin-top: 16px;
    width: 100%;
}
/*.wb-docs__reset { width: 100%; margin-top: 16px; padding: 10px 12px; border-radius: 10px; border: 1px solid #c7d1a3; background: transparent; cursor: pointer; }*/
.wb-docs__main { background: #fff; border-radius: 12px; padding: 0; }
.wb-docs__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.wb-docs__search { position: relative; flex: 1; max-width: 620px; }
.wb-docs__search input { width: 100%; padding: 12px 44px 12px 14px; border-radius: 10px; border: 1px solid #d8d8d8; }
.wb-docs__search button { position: absolute; right: 10px; top: 8px; border: 0; background: transparent; cursor: pointer; font-size: 18px;  color: inherit}
.wb-docs__selected { color: #6b7a2a; font-weight: 500; }

.wb-docs__table { border-top: 1px solid #eee; }

.wb-docs__thead, .wb-docs__tr {
    display: grid;
    grid-template-columns: 1fr 130px 70px 60px 60px;
    gap: 16px;
    align-items: center;
}
.wb-docs__thead {
    background: var(--grey-60);
    /*padding: 12px 16px;*/
    font-weight: 500;
    color: var(--black);
}

.wb-docs__tbody .wb-docs__tr {
    font-weight: 300;
    border-bottom: 1px solid var(--light-grey);
    cursor: pointer;
}


.wb-docs__thead>div:first-child,
.wb-docs__tr>div:first-child{
    padding-left: 16px;
}

.wb-docs__thead>div:not(:last-child),
.wb-docs__tr>div:not(:last-child){
    border-right: 1px solid var(--light-grey);
    padding-top: 16px;
    padding-bottom: 16px;
}

.wb-docs__thead>div:first-child,
.wb-docs__tr>div:first-child{
    border-right: 0;
}

.wb-docs__cb-wrap{
    display: flex;
    gap: 12px;
    padding: 16px 0;
    padding-right: 16px;
}

.wb-docs__cb-wrap input[type=checkbox]{
    margin-right: 0 !important;
    flex: none;
}

.wb-docs__name{
    flex: 1;

}

.wb-docs__name-main {
    line-height: 1.2;
}

.wb-docs__name-sub { font-size: 12px; color: #777; margin-top: 2px; }
.wb-docs__ext {
    color: var(--theme-base-color);
}

.wb-docs__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; }
.wb-docs__download {
    /*padding: 16px;*/
    /*padding: 12px 16px;*/
    /*border-radius: 10px;*/
    /*border: 0;*/
    /*background: #7b8f2e;*/
    /*color: #fff;*/
    /*cursor: pointer;*/
}
.wb-docs__download:disabled { opacity: .45; cursor: not-allowed; }
.wb-docs__more {
    /*padding: 12px 16px;*/
    /*border-radius: 10px;*/
    /*border: 1px solid #c7d1a3;*/
    /*background: #fff;*/
    /*cursor: pointer;*/
}


.wb-docs__tr.is-selected .wb-docs__name{
    font-weight: 500;
}


.wb-docs__date,
.wb-docs__size,
.wb-docs__format{
    font-size: 14px;
}

@media screen and (max-width: 991px){
    .wb-docs__table{
        background-color: transparent;
    }
    .wb-docs__layout{
        grid-template-columns: 1fr;
    }

    .wb-docs__aside{
        padding: 0;
    }

    .wb-docs__table{

    }

    .wb-docs__thead{
        display: none !important;
    }

    .wb-docs__thead>div:not(:last-child), .wb-docs__tr>div:not(:last-child){
        border: 0;
        padding: 0;
    }

    /**/

    .wb-docs__tr{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; /* чекбокс + всё остальное */
        grid-template-areas:
            "name name name name"
            "date size format download";
        gap: 6px 12px;
        align-items: center;
        padding: 12px 16px;

    }

    .wb-docs__tr .wb-docs__cb-wrap{
        grid-area: name;
        grid-column: span 4;
        /*outline: 1px solid red;*/
    }
    .wb-docs__tr .wb-docs__date{
        grid-area: date;
        /*outline: 1px solid red;*/
        grid-column: span 1;
    }
    .wb-docs__tr .wb-docs__size{
        grid-area: size;
        /*outline: 1px solid red;*/
        grid-column: span 1;
    }
    .wb-docs__tr .wb-docs__format{
        grid-area: format;
        /*outline: 1px solid red;*/
        grid-column: span 1;
    }
    .wb-docs__tr .wb-docs__download{
        grid-area: download;
        /*outline: 1px solid red;*/

    }

    /* чтобы текст даты/размера и т.п. стал нормальным в две колонки/одну */
    .wb-docs__tr > div:nth-child(n+3){
        text-align: left; /* если не нужно по центру */
    }






}