table {
    width: 95%;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
}

th, td {
    padding: 8px;
    text-align: left;
    border: 1px solid #444;
    background-color: #1e1e1e;
    color: white;
}

thead {
    position: -webkit-sticky;
    position: sticky;
    top: 43px;
}

th {
    cursor: pointer;
    position: relative;
    padding-right: 35px; /* Add extra space to the right for the icon */
    line-height: 1.5; /* Ensures enough height for text and icons */
    height: 40px; /* Sets a fixed height for the header row */
}

th.sortable:hover {
    background-color: #444;
}

.sort-icon {
    font-size: 0.8em;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%); /* Vertically center the icon */
}

.sort-icon.asc::before {
    content: '▲';
}

.sort-icon.desc::before {
    content: '▼';
}

.sort-icon.none::before {
    content: '▲▼';
}

.user-col {
    width: 20%;
    text-align: center;
}

.load-beers-container {
    margin-bottom: 20px;
}

#beerTable {
    margin-bottom: 20px;
}
