body {
    background-color: #f4f6f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.layout-container {
    height: calc(100vh - 100px);
}

.tree-card {
    border-radius: 8px;
    border: none;
    background-color: #ffffff;
}

.custom-scrollbar {
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}

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

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #c1c1c1; 
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; 
}

/* Custom Tree Icons Context */
.jstree-default .jstree-themeicon-custom {
    background-size: contain;
}

/* Custom icons colors overriding default theme */
.icon-empresa { color: #0d6efd !important; }
.icon-canal { color: #198754 !important; }
.icon-cliente { color: #6c757d !important; }

/* Enhancements for jsTree */
.jstree-default .jstree-anchor {
    font-size: 15px;
    padding: 2px 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.jstree-default .jstree-clicked {
    background: #e9ecef;
    border-radius: 4px;
    box-shadow: none;
}

.jstree-default .jstree-hovered {
    background: #f8f9fa;
    border-radius: 4px;
    box-shadow: none;
}
