body {
    font-family: Arial, sans-serif;
    background: #121212;
    color: #f1f1f1;
    padding: 20px;
}

h1 {
    margin-bottom: 15px;
}

.button-container {
    margin-bottom: 20px;
    text-align: left;
}

button {
    padding: 10px 15px;
    margin-right: 5px;
    border: none;
    background: #1e88e5;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.3s ease;
}

button:hover {
    background: #1565c0;
}

table {
    border-collapse: collapse;
    margin-top: 10px;
    width: 80%;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    border: 1px solid #333; /* Adds vertical AND horizontal lines */
    text-align: center;
}

th {
    background-color: #1e88e5;
    /*background-color: white;*/
    color: white;
}

tr:hover {
    background-color: #2c2c2c;
}

button.active {
    background: #0d47a1; /* Darker blue */
    color: #fff;
}

button.active:hover {
    background: #0d47a1; /* Keep same color when hovered */
}

td.empty-cell {
    background: black;
}


.spec-box {
    display: inline-block;
    background-color: #007acc;
    color: white;
    padding: 3px 8px;
    margin: 2px 4px 2px 0;
    border-radius: 4px;
    font-size: 0.85em;
    white-space: nowrap;
    user-select: none;
}

.item-cell {
    align-items: center;   /* vertical centering */
    width: 300px;          /* fixed width for the whole column */
}

.item-icon {
    width: 48px;
    height: 48px;
    vertical-align: middle;
    horiz-align: left;
    margin-right: 8px;
}
