/* MindMap styling */
.mindmap-container {
    overflow: auto;
    max-width: 100%;
    border: 1px solid #e5e7eb;
}
.mindmap {
    width: 100%;
    height: 100%;
    min-height: 500px;
}
.node {
    cursor: pointer;
    transition: all 0.3s ease;
}

.node:hover rect, .node:hover circle {
    filter: brightness(0.9);
}

.node text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    fill: #333;
}

.node rect {
    rx: 6;
    ry: 6;
}

.node--active rect {
    stroke-width: 2px;
}

.link {
    fill: none;
    stroke: #d1d5db;
    stroke-width: 2px;
}

/* Tooltip styling */
.tooltip {
    position: absolute;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 100;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mindmap-container {
        padding: 1rem;
    }
    
    .controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .controls button {
        width: 100%;
    }
}