.mindmapping-container { padding: 20px; background-color: white; display: flex; flex-direction: column; gap: 20px; } .toolbar { display: flex; justify-content: space-between; align-items: center; padding: 12px; background-color: #f8fafc; border: 1px solid #e5e7eb; border-radius: 8px; } .toolbar-selects { display: flex; gap: 12px; flex: 1; } .template-select, .format-select, .model-select { padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 6px; background-color: white; color: #333; font-size: 14px; min-width: 180px; cursor: pointer; } .template-select:hover, .format-select:hover, .model-select:hover { border-color: #cbd5e1; } .template-select:focus, .format-select:focus, .model-select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1); } .toolbar-buttons { display: flex; gap: 8px; } .toolbar-buttons button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #e5e7eb; border-radius: 6px; background-color: white; color: #333; cursor: pointer; transition: all 0.2s; } .toolbar-buttons button:hover:not(:disabled) { background-color: #f1f5f9; border-color: #cbd5e1; } .toolbar-buttons button:disabled { opacity: 0.5; cursor: not-allowed; } .toolbar-buttons button svg { width: 18px; height: 18px; } .flip-horizontal { transform: scaleX(-1); } .input-section { margin-bottom: 20px; } .prompt-input { width: 100%; min-height: 60px; padding: 12px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; color: #333; background-color: white; resize: vertical; margin-bottom: 12px; } .create-button { padding: 8px 16px; background-color: #22c55e; color: white; border: none; border-radius: 6px; font-size: 14px; cursor: pointer; transition: background-color 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 140px; } .create-button:hover:not(:disabled) { background-color: #16a34a; } .create-button:disabled { opacity: 0.7; cursor: not-allowed; } .output-container { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; } .output-section { background-color: white; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; } .output-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background-color: #f8fafc; border-bottom: 1px solid #e5e7eb; } .section-title { font-size: 16px; font-weight: 500; color: #1f2937; margin: 0; } .output-controls { display: flex; gap: 8px; } .control-button { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid #e5e7eb; border-radius: 6px; background-color: white; color: #6b7280; cursor: pointer; transition: all 0.2s ease; } .control-button:hover:not(:disabled) { background-color: #f8fafc; border-color: #d1d5db; color: #1f2937; } .control-button:disabled { opacity: 0.5; cursor: not-allowed; } .output-content { padding: 16px; } .output-text { width: 100%; min-height: 120px; max-height: 300px; overflow-y: auto; padding: 12px; margin: 0; background-color: #f8fafc; border: 1px solid #e5e7eb; border-radius: 6px; font-family: 'Courier New', monospace; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; } .error-message { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; margin: 12px 0; background-color: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; color: #dc2626; } .error-icon { flex-shrink: 0; font-size: 18px; } .error-content { font-size: 14px; line-height: 1.5; } .mindmap-preview { min-height: 400px; padding: 16px; background-color: white; border-radius: 6px; overflow: hidden; } /* Scrollbar styles for output text */ .output-text::-webkit-scrollbar { width: 6px; } .output-text::-webkit-scrollbar-track { background: #f8fafc; } .output-text::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; } .output-text::-webkit-scrollbar-thumb:hover { background: #94a3b8; } /* Chat dialog styles */ .chat-dialog { position: fixed; bottom: 20px; right: 20px; width: 320px; max-width: 90vw; background-color: white; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); z-index: 1000; } .debug-info { padding: 15px; background-color: #1f2937; border-radius: 4px; margin: 10px 0; border: 1px solid #374151; } .debug-info h4 { color: #e2e8f0; margin: 0 0 10px 0; } .debug-info pre { background-color: #111827; padding: 10px; border-radius: 4px; color: #e2e8f0; overflow-x: auto; font-size: 14px; } .code-section { background-color: #1f2937; padding: 15px; border-radius: 4px; } .code-section h3 { color: #e2e8f0; margin: 0 0 10px 0; } .code-display { background-color: #111827; padding: 10px; border-radius: 4px; color: #e2e8f0; overflow-x: auto; font-size: 14px; white-space: pre-wrap; } .raw-output { margin: 10px 0; background-color: #1f2937; border-radius: 4px; padding: 15px; } .raw-output-text { width: 100%; min-height: 150px; padding: 10px; background-color: #111827; color: #e2e8f0; border: none; border-radius: 4px; font-family: monospace; font-size: 14px; resize: vertical; } .mindmap-section { background-color: #1f2937; padding: 15px; border-radius: 4px; min-height: 400px; } .mindmap-section h3 { color: #e2e8f0; margin: 0 0 10px 0; } .help-overlay, .settings-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; } .help-content, .settings-content { background-color: white; padding: 24px; border-radius: 12px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; } .help-content h2, .settings-content h2 { color: #333; margin: 0 0 16px 0; font-size: 20px; } .settings-group { margin-bottom: 24px; } .settings-group label { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #4b5563; font-size: 14px; } .settings-group input[type="range"] { flex: 1; } .settings-group input[type="number"] { width: 100px; padding: 4px 8px; border: 1px solid #e5e7eb; border-radius: 4px; } .settings-info { padding: 16px; background-color: #f8fafc; border-radius: 8px; margin-bottom: 20px; } .settings-info h3 { color: #333; margin: 0 0 8px 0; font-size: 16px; } .settings-info p { color: #4b5563; margin: 0 0 8px 0; font-size: 14px; } .help-content ol { margin: 0; padding-left: 20px; } .help-content li { color: #4b5563; margin-bottom: 12px; line-height: 1.5; } .help-content button, .settings-content button { margin-top: 20px; padding: 8px 16px; background-color: #3b82f6; color: white; border: none; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; } .help-content button:hover, .settings-content button:hover { background-color: #2563eb; } /* Format-specific styles */ .mermaid-mindmap, .plantuml-mindmap, .markdown-mindmap { width: 100%; height: 100%; min-height: 400px; padding: 20px; background-color: white; overflow: auto; } .markdown-content { font-family: monospace; white-space: pre-wrap; margin: 0; padding: 0; } /* Responsive Design */ @media (max-width: 768px) { .toolbar { flex-direction: column; gap: 12px; } .toolbar-selects { flex-direction: column; width: 100%; } .template-select, .format-select, .model-select { width: 100%; min-width: unset; } .toolbar-buttons { width: 100%; justify-content: space-between; } .settings-group label { flex-direction: column; align-items: flex-start; gap: 8px; } .settings-group input[type="range"] { width: 100%; } } @media (max-width: 480px) { .mindmapping-container { padding: 12px; } .help-content, .settings-content { padding: 16px; } }