
header{
    background-color: #F5F5F5;
}

@media (max-width: 768px) {
    .poof {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .woof {
        display: none !important;
    }
}



/*colors*/
.color-0 {color: #107ACA}
.color-1 {color: #0A5DB3}
.color-2 {color: #E6F0FA}
.color-3 {color: #E8F6F3}
.color-4 {color: #FFFFFF}
.color-5 {color: #F5F7FA}
.color-6 {color: #E1E6EF}
.color-7 {color: #1A1A1A}
.color-8 {color: #6B7280}

/* Верхняя панель */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Блок фильтров */
.filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/*filter block*/
.filters__title {
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: .05em;
    margin-right: 6px;
}

.filter-chip input {
    display: none;
}

.filter-chip label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all .15s ease;
    user-select: none;
}

.filter-chip label:hover {
    background: #f6f6f6;
}

.filter-chip input:checked + label {
    background: #111;
    color: #fff;
    border-color: #111;
}

.filter-chip input:checked + label::before {
    content: "✓";
    font-size: 12px;
}

/* Reset */
.reset-btn {
    background: none;
    border: none;
    color: #777;
    font-size: 13px;
    cursor: pointer;
    margin-left: 8px;
    transition: color .15s ease;
}

.reset-btn:hover {
    color: #111;
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.filters__title {
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: .05em;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.reset-btn {
    transition: color .15s ease, transform .08s ease;
}
.reset-btn:hover {
    color: #111;
}

.reset-btn:active {
    transform: scale(0.95);
}
.table-settings {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 6px 28px 6px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;

    font-size: 14px;
    color: #111;
    cursor: pointer;
    transition: all .15s ease;
}

.select-wrapper select:hover {
    border-color: #bbb;
    background: #fafafa;
}

.select-wrapper select:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.select-wrapper::after {
    content: "▾";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #777;
    pointer-events: none;
    transition: transform .15s ease;
}

.select-wrapper select:focus + ::after {
    transform: translateY(-50%) rotate(180deg);
}
/*filter block end*/

/*table*/
/* table card */
.table-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    padding: 10px 14px 6px;
    /*overflow-x: auto;*/
}

/* table */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;

    table-layout: fixed;
}
/*table label*/
.table thead th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #8a8a8a;
    font-weight: 600;
    padding: 14px 12px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    position: sticky;
    top: 0;
}
/*table string*/
.table tbody tr {
    transition: background .12s ease;
}

.table tbody tr:hover {
    background: #fafafa;
}

.table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: top;
}

/*table inputs*/
.table input.form-control,
.table select.form-control {
    border: 1px solid #e6e6e6;
    background: #f9f9f9;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 14px;
    transition: all .15s ease;
}

/*table inputs*//* hover */
.table input.form-control:hover,
.table select.form-control:hover {
    background: #f4f4f4;
    border-color: #dcdcdc;
}

/*table inputs*//* focus */
.table input.form-control:focus,
.table select.form-control:focus {
    outline: none;
    background: #fff;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.table input::placeholder {
    color: #b5b5b5;
}
/*table select*/
.table select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23777' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 14px;
    padding-right: 24px;
}
/*table search*/
tbody tr.poof {
    background: #fcfcfc;
}

tbody tr.poof td {
    border-bottom: 1px solid #eee;
}