#sitemap-items {
    margin: 20px 0;
}

.sitemap-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.sitemap-section h5 {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 5px;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.checkbox-item:hover {
    background-color: #f8f8f8;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 8px;
}

.checkbox-label {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Scrollbar styling */
.checkbox-grid::-webkit-scrollbar {
    width: 8px;
}

.checkbox-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.checkbox-grid::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.checkbox-grid::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    .checkbox-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 480px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}