button {
    border: none;
}

body { 
    font-family: sans-serif; 
    max-width: 900px; 
    margin: 20px auto; 
    padding: 0 15px;
}

.container { 
    margin-bottom: 30px; 
    padding: 20px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    position: relative;
}

form { 
    display: grid; 
    gap: 15px; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    align-items: end;
}

.form__clear {
    position: absolute;
    display: none;
    width: 24px;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.form__clear.show {
    display: block;
}

.filter__clear {
    display: none;
}

.filter__clear.show {
    display: block;
}

.full-width { 
    grid-column: 1 / -1; 
}

input, select, button {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    margin-top: 4px;
}

.button {
    cursor: pointer;
    background-color: #0056b3;
    color: white;
    border: none;
    font-weight: bold;
}

table { 
    width: 100%; 
    table-layout: auto;
    border-collapse: collapse; 
    margin-top: 10px;
}

th, td { 
    border: 1px solid #ddd; 
    padding: 10px; 
    text-align: left; 
}

th { 
    background-color: #f4f4f4; 
}

.table__head {
    
}

.table__row {

}

.table__header {
    white-space: nowrap;
}

.table__sort-icon {
    max-width: 20px;
    min-width: 20px;
}

.table__actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.table__action {
    cursor: pointer;
    min-width: 16px;
    margin: 0;
    padding: 0;
    color: hsl(0 0 30);
    border: none;
    background-color: transparent;
}

.table__action * {
    pointer-events: none;
}

.table__sort-button {
    display: inline-flex;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    margin-block: auto;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
}

.table__header[aria-sort="ascending"] .table__sort-button,
.table__header[aria-sort="descending"] .table__sort-button {
    background-color: hsl(214, 80%, 70%);
    border-radius: 4px;
}

.table__header[aria-sort="descending"] .table__sort-button {
    transform: rotate(180deg);
}

.table__sort-button * {
    pointer-events: none;
}

.table__sort-icon {
    color: black
}