.tools {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.tools__title {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px white solid;
    border-color: var(--opacity-color);
}

.tools__mini {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.tools__mini > * {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background-color: var(--dark-color);
    border-radius: 5px;
}

.tools__result {
    background-color: var(--dark-color2);
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.tools__mini > * {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background-color: var(--dark-color);
    border-radius: 5px;
    width: 302px;
}

.tools__mini-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.tools__titles, .tools__add, .tools__table-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
}

.tools__manager {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tools__table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tools__table-row {
    overflow: hidden;
    max-height: 10em;
    transition: 1s max-height ease;  
}

.tools__table-row.deleted {
    max-height: 0;
}

.tools__cell.tools__cell--count {
    flex-basis: 40px;
    text-align: center;
}

.tools__cell.tools__cell--name {
    flex-basis: 20%;
}

.tools__cell.tools__cell--group {
    flex-basis: 18%;
}

.tools__cell.tools__cell--number {
    flex-basis: 100px;
    text-align: center;
}

.tools__cell.tools__cell--comment {
    flex-basis: 15%;
}

.tools__cell.tools__cell--category {
    flex-basis: 12%;
}

.tools__cell.tools__cell--buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 300px;
    flex-basis: 300px;
}

.tools__titles span {
    width: 100%;
    display: block;
    text-align: center;
}

.tools__cell--buttons .button {
    width: 140px;
    max-width: 140px;
    min-width: 140px;
}

.error  {
    background: var(--red);
    box-shadow: 0px 0px 19px red;
}