
.mental-map {} 
  #mental-map {padding-bottom: 50px;}
  .mental-map #promo-wrap { height: auto; padding-top: 5%;}

	#container {position:relative; max-width: 90%;background-color: #fff;margin: auto; height: auto; margin-top: 30px; margin-bottom:50px;padding-bottom:30px;}

    #container-wrap{margin:0px auto;position:relative;}

        
        .container {
            margin: 0 auto;
            background-color: white;
			 height: 95vh;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }
       
        
        .toolbar {
            display: flex;
            gap: 10px;
            padding: 15px 20px;
            background: #f8f9fa;
            border-bottom: 1px solid #e9ecef;
            flex-wrap: wrap;
        }
        
        button {
            padding: 8px 15px;
            border: none;
            border-radius: 6px;
            background: #4a6fa5;
            color: white;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        button:hover {
            background: #3a5a80;
            transform: translateY(-2px);
        }
        
        button:active {
            transform: translateY(0);
        }
        
        .export-btn {
            background: #28a745;
        }
        
        .export-btn:hover {
            background: #218838;
        }
        
        .reset-btn {
            background: #dc3545;
        }
        
        .reset-btn:hover {
            background: #c82333;
        }
        
        .workspace {
            flex: 1;
            position: relative;
            overflow: auto;
			
            height: 90vh;
            background: #f8f9fa;
            cursor: grab;
        }
        
        .workspace.grabbing {
            cursor: grabbing;
        }
        
        #mindmap {
            position: relative;
            width: 5000px;
            height: 5000px;
            transform-origin: 0 0;
            transition: transform 0.2s;
        }
        
        .node {
            position: absolute;
            min-width: 120px;
            min-height: 40px;
            background: white;
            border: 2px solid #4a6fa5;
            border-radius: 8px;
            padding: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            cursor: move;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-weight: 500;
            z-index: 10;
            user-select: none;
            transition: box-shadow 0.2s, transform 0.2s;
            resize: none;
            overflow: hidden;
        }
        
        .node:hover {
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        
        .node.dragging {
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
            transform: scale(1.05);
            z-index: 100;
        }
        
        .node.selected {
            border-color: #ff9800;
            border-width: 3px;
        }
        
        .node.resizing {
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }
        
        .node-input {
            width: 100%;
            height: 100%;
            border: none;
            outline: none;
            background: transparent;
            text-align: center;
            font-weight: 500;
            font-size: 14px;
            resize: none;
            overflow: auto;
            cursor: text;
        }
        
        #connections {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }
        
        .connection-handle {
            position: absolute;
            width: 16px;
            height: 16px;
            background: #4a6fa5;
            border-radius: 50%;
            cursor: crosshair;
            z-index: 20;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 10px;
            transition: all 0.2s;
            opacity: 0;
        }
        
        .node:hover .connection-handle {
            opacity: 1;
        }
        
        .connection-handle:hover {
            transform: scale(1.2);
            background: #ff9800;
        }
        
        .connection-handle.top {
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .connection-handle.right {
            right: -8px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .connection-handle.bottom {
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .connection-handle.left {
            left: -8px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .resize-handle {
            position: absolute;
            width: 10px;
            height: 10px;
            background: #4a6fa5;
            border-radius: 50%;
            z-index: 30;
            opacity: 0;
            transition: opacity 0.2s, background 0.2s;
        }
        
        .node.selected .resize-handle {
            opacity: 1;
        }
        
        .resize-handle:hover {
            background: #ff9800;
            transform: scale(1.2);
        }
        
        .resize-handle.top-left {
            top: -5px;
            left: -5px;
            cursor: nw-resize;
        }
        
        .resize-handle.top-right {
            top: -5px;
            right: -5px;
            cursor: ne-resize;
        }
        
        .resize-handle.bottom-left {
            bottom: -5px;
            left: -5px;
            cursor: sw-resize;
        }
        
        .resize-handle.bottom-right {
            bottom: -5px;
            right: -5px;
            cursor: se-resize;
        }
        
        .temp-connection {
            stroke: #ff9800;
            stroke-width: 2;
            stroke-dasharray: 5,5;
            fill: none;
        }
        
        .connection {
            cursor: pointer;
            transition: stroke 0.2s;
            pointer-events: all;
        }
        
        .connection:hover {
            stroke: #ff9800;
            stroke-width: 3;
        }
        
        .zoom-controls {
            position: absolute;
            bottom: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            background: white;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .zoom-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: bold;
        }
        
        .status {
            padding: 10px 20px;
            background: #e9ecef;
            font-size: 14px;
            color: #6c757d;
            border-top: 1px solid #dee2e6;
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            max-width: 500px;
            width: 90%;
        }
        
        .modal h2 {
            margin-bottom: 15px;
            color: #4a6fa5;
        }
        
        .modal textarea {
            width: 100%;
            height: 200px;
            padding: 10px;
            border: 1px solid #ced4da;
            border-radius: 6px;
            resize: vertical;
            font-family: monospace;
            margin-bottom: 15px;
        }
        
        .modal-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }
        
        .help-text {
            margin-top: 10px;
            font-size: 13px;
            color: #6c757d;
        }
        
        .context-menu {
            position: absolute;
            background: white;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            display: none;
            min-width: 150px;
            overflow: hidden;
        }
        
        .context-menu-item {
            padding: 10px 15px;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .context-menu-item:hover {
            background: #f8f9fa;
        }
        
        .context-menu-item.delete {
            color: #dc3545;
        }
        
        .context-menu-item.delete:hover {
            background: #f8d7da;
        }