/* Network Nodes - Original Positions */

/* Position Builder node a bit to the left */
.node-wrapper:has([data-brand="builder"]) {
    position: absolute !important;
    top: 20% !important;
    left: 20% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

/* Position Hotel node a bit to the right side */
.node-wrapper:has([data-brand="hotel"]) {
    position: absolute !important;
    top: 25% !important;
    right: 20% !important;
    transform: translate(50%, -50%) !important;
    margin: 0 !important;
}

/* Position Resort node even more lower */
.node-wrapper:has([data-brand="resort"]) {
    position: absolute !important;
    bottom: 8% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
}

/* Alternative specific targeting - Hotel moved right */
.node-wrapper[data-brand="builder"],
.node-wrapper:nth-child(1) {
    position: absolute !important;
    top: 20% !important;
    left: 20% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

.node-wrapper[data-brand="hotel"],
.node-wrapper:nth-child(2) {
    position: absolute !important;
    top: 25% !important;
    right: 20% !important;
    transform: translate(50%, -50%) !important;
    margin: 0 !important;
}

.node-wrapper[data-brand="resort"],
.node-wrapper:nth-child(3) {
    position: absolute !important;
    bottom: 8% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
}

/* Override inline styles for node positioning */
.nodes-horizontal-container .node-wrapper[style] {
    position: absolute !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

/* Specific positioning for each node - Resort moved even more lower */
.nodes-horizontal-container .node-wrapper:nth-child(1) {
    top: 20% !important;
    left: 20% !important;
    transform: translate(-50%, -50%) !important;
}

.nodes-horizontal-container .node-wrapper:nth-child(2) {
    top: 25% !important;
    right: 20% !important;
    transform: translate(50%, -50%) !important;
}

.nodes-horizontal-container .node-wrapper:nth-child(3) {
    bottom: 8% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Responsive adjustments - Resort moved even more lower */
@media (max-width: 768px) {
    .node-wrapper:nth-child(1) {
        top: 15% !important;
        left: 15% !important;
    }
    
    .node-wrapper:nth-child(2) {
        top: 20% !important;
        right: 15% !important;
    }
    
    .node-wrapper:nth-child(3) {
        bottom: 4% !important;
        left: 50% !important;
    }
}

@media (max-width: 480px) {
    .node-wrapper:nth-child(1) {
        top: 12% !important;
        left: 12% !important;
    }
    
    .node-wrapper:nth-child(2) {
        top: 15% !important;
        right: 10% !important;
    }
    
    .node-wrapper:nth-child(3) {
        bottom: 2% !important;
        left: 50% !important;
    }
}
