@use '@/styles/breakpoints' as *;

.panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 420px;
    height: 100%;

    @include max-mobile {
        min-height: 280px;
    }
}

.toolbar {
    flex-shrink: 0;
}

.treeWrap {
    flex: 1;
    min-height: 360px;
    overflow: auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);

    @include max-mobile {
        min-height: 240px;
        max-height: min(55vh, 420px);
    }
}

.treeNode {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.treeIcon {
    color: var(--text-secondary, #8c8c8c);
    flex-shrink: 0;
}

.loadingWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}
