.page-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 1200px;
    margin: auto;
}

.category-row {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr 1.2fr 1fr auto auto auto;
    gap: 0.5rem;
    background-color: #1F2C3C;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    align-items: center;
    color: white;
}

.category-row.new {
    background-color: #2E3C4F;
    border: 2px dashed #6a0dad;
}

.category-row input[type="text"],
.category-row input[type="color"],
.category-row input:not([type="checkbox"]) {
    padding: 0.4rem;
    border: none;
    border-radius: 6px;
    background-color: #334155;
    color: #fefefe;
    width: 100%;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #ddd;
    justify-content: center;
}

.row-actions {
    display: flex;
    gap: 0.5rem;
}

.row-actions button {
    background-color: #6a0dad;
    border: none;
    color: white;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
}

.row-actions button.delete {
    background-color: #ef4444;
}

.row-actions i {
    pointer-events: none;
}

.name-with-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-preview {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #6a0dad;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    border: 2px solid #ffffff22;
}

.meal-count {
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .category-row {
        grid-template-columns: 1fr;
    }

    .meal-count {
        text-align: left;
        margin-top: 0.25rem;
    }
}