/* ====================== 04-TREE.CSS ====================== */
/* Основные стили контейнера дерева и ul/li */

.tree-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
    min-height: 300px;
}

body.theme-dark .tree-container {
    background: #2d2d2d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.tree ul {
    list-style: none;
    padding-left: 20px;
}

.tree li {
    margin: 6px 0;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.tree li:hover {
    background-color: #f1f3f5;
}

body.theme-dark .tree li:hover {
    background-color: #3a3a3a;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.status {
    margin-top: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

body.theme-dark .status {
    color: #aaa;
}