body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

#inventory-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inventory-table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    width: auto;
    margin-bottom: 20px;
}

.inventory-table th,
.inventory-table td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: left;
}

.inventory-table th {
    background-color: #f4f4f4;
}

.inventory-table input[type="text"] {
    width: 100%;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.inventory-table input[type="text"]:focus {
    outline: none;
    border-bottom: 1px solid #000;
}

.inner-table {
    margin-top: 10px;
}

.inner-table td {
    padding-left: 20px;
}


.add-button, .delete-button, .add-root-button {
    margin-top: 10px;
    padding: 5px 10px;
    color: white;
    border: none;
    cursor: pointer;
}

.add-button, .add-root-button{
	background-color: #4CAF50;
}

.delete-button{
	background-color: red;
}

.add-button:hover, .delete-button:hover, .add-root-button:hover {
    background-color: #45a049;
}

.category-row, .status-row, .delete-row, .contents-row{
    background-color: #f2f2f2;
}

.name-row	{
	font-weight: 900;
	background-color: white;
}

.id-cell {
    background-color: #e0e0e0;
    font-weight: bold;
    color: #333;
}

/* Initially hide the contents */
.hidden {
    display: none;
}

.contents-div {
    margin-left: 20px;
}
