.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal{background:white;padding:20px;border-radius:5px;box-shadow:0 2px 10px #0000004d;z-index:1001;width:400px}.form-title h2{margin-bottom:15px;text-align:left;font-size:22px}.form-group{margin-bottom:15px}.form-group label{display:block;margin-bottom:5px}.form-group input,.form-group textarea{width:95%;padding:8px;border:1px solid #ccc;border-radius:4px}.form-group textarea{height:100px;resize:vertical}.buttons{display:flex;justify-content:flex-end}.buttons button{margin-left:8px}.selection-page{padding:0;background-color:#eff1fb;min-height:100vh;box-sizing:border-box}.header{background-color:#fff;color:#fff;padding:3px;border-bottom:2px solid rgba(0,0,0,.2);display:flex;justify-content:space-between;align-items:center;position:relative;margin-top:0;z-index:2000}.content{display:flex;height:calc(100vh - 81px);overflow:hidden}.side-panel{width:200px;background-color:#fff;border-right:1px solid #ccc;overflow-y:auto;padding:20px}.main-content{flex-grow:1;overflow-y:auto;padding:20px;background-color:#eff1fb}.side-panel-item{margin-bottom:10px;cursor:pointer;padding:10px;border-radius:5px;transition:background-color .3s ease}.side-panel-item:hover{background-color:#e0e0e0}.side-panel-item.active{background-color:#d0d0d0}.new-canvas-button{background-color:#f0f0f0;color:#333;padding:20px;border:1px solid #ccc;border-radius:8px;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 8px #0003;transition:all .3s ease;text-align:center}.new-canvas-button:hover{background-color:#e0e0e0;box-shadow:0 6px 12px #0000004d}.canvas-thumbnail img{max-width:60%;max-height:100%;object-fit:contain}.saved-canvas-thumbnail{display:flex;align-items:center;justify-content:center}.saved-canvas-thumbnail img{max-width:75%;object-fit:contain}.saved-canvases h2{margin:0 0 15px}.canvas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-gap:15px;margin:50px}.published-icon{position:absolute;bottom:10px;right:10px;height:24px}.canvas-item{background-color:#c5cfff;border:1px solid #ccc;border-radius:10px;padding:10px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;position:relative}.canvas-item:hover{transform:translateY(-5px);box-shadow:0 4px 8px #0003}.canvas-name{font-size:16px;font-weight:500;color:#333;margin-top:15px}.canvas-created-by{font-size:15px;color:#333}.delete-button{display:none;border:none;background:none;cursor:pointer;padding:5px;position:absolute;top:10px;right:10px;transition:transform .3s ease}.delete-button:hover{transform:scale(1.2);display:none;border:none;background:none}.canvas-item:hover .delete-button{display:block}.delete-button img{height:20px}.header{background-color:#fff;color:#fff;padding:3px;border-bottom:2px solid rgba(0,0,0,.2);display:flex;justify-content:space-between;align-items:center;position:relative;margin-top:0}.header-logo{height:75px}.header-title{color:#000;margin:0;font-size:26px;position:absolute;left:50%;transform:translate(-50%)}.header-user-profile{color:#242f57;font-size:16px;margin-left:auto;margin-right:5px;cursor:pointer;position:relative;display:flex;align-items:center}.user-initials{width:35px;height:35px;border-radius:50%;background-color:#242f57;color:#fff;display:flex;justify-content:center;align-items:center;font-size:14px;margin-right:10px}.dropdown-icon{height:20px;margin-left:5px}.dropdown-menu{position:absolute;right:0;top:100%;background-color:#271757;padding:5px;border-radius:5px;z-index:1000}.logout-button{color:#fff;background:none;border:none;cursor:pointer;font-size:14px}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:rgba(255,255,255,.5);padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-path,.react-flow__edge-marker{stroke:#6c5dd3;stroke-width:3px}.chat-container{padding:0;margin-top:10px;margin-left:10px;overflow-y:auto;overflow-x:hidden;border-radius:10px}.App-link{color:#61dafb}.question-container{display:inline-block;flex-direction:column;align-items:flex-start;width:fit-content;max-width:100%;padding:10px;border-radius:12px;box-shadow:0 0 5px #0003;background-color:#fff}.question-note{background-color:#e0e0e0;border-radius:10px;padding:8px;margin-bottom:10px}.question-label{font-family:Inter,sans-serif;font-weight:400;font-size:14px;white-space:nowrap;color:#1d2939}.answers-container{margin-top:20px;margin-bottom:20px;margin-right:300px;text-align:left}.prompt-container{display:flex;flex-direction:column;align-items:flex-start;width:fit-content;max-width:80%;margin-bottom:20px;margin-left:10px;padding:25px;border-radius:12px;box-shadow:0 0 5px #0003;background-color:#e6f7ff}.prompt-container p{font-size:1.08rem;color:#1d2939;margin:0}.button{font-family:Roboto,sans-serif;font-size:14px;font-weight:medium;background-color:#dfdfdf;color:#000;border:none;border-radius:22px;padding:10px 20px;cursor:pointer;transition:background-color .3s,color .3s;margin-right:10px;margin-bottom:10px}.button:last-child{margin-right:0}.button:hover,.selected-button{background-color:#000;color:#fff}:root{font-family:Outfit,Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400}html,body,#root{height:100%;margin:0}.react-flow-container{width:100%;height:100%;background-color:#fff;z-index:1}.title-publish-container{position:absolute;top:142px;left:5px;background-color:#f9f9f9;display:flex;align-items:center;gap:15px;z-index:10}.canvas-title{background-color:#fffc;padding:5px 10px;border-radius:0;border:none;box-shadow:0 2px 4px #0000001a;z-index:10;font-family:Roboto,sans-serif;font-weight:bolder;font-style:italic;font-size:.98em;display:flex;justify-content:space-between;align-items:center;width:100%}.updating-status{color:#007bff;font-size:.95em;font-weight:700;position:fixed;top:102px;right:180px;z-index:1000;display:flex;align-items:center;justify-content:center}.saving-status{color:#00802b;font-size:.95em;font-weight:700;position:fixed;top:102px;right:180px;z-index:1000;display:flex;align-items:center;justify-content:center}.publish-status{text-align:center;font-size:12px;margin-left:8px;z-index:10}.unpublished{color:#ff4500}.published{color:#3cb371}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.updating-status,.saving-status{animation:fadeIn 1s ease-in-out}.options-toolbox{position:fixed;left:0;top:50%;transform:translateY(-50%);background-color:#f0f0f0;border-right:1px solid #ddd;padding:10px;box-shadow:2px 0 5px #0000001a;z-index:1000}.options-toolbox button{display:block;margin-bottom:10px;width:100%}.home-icon{position:absolute;top:96px;left:10px;z-index:5000}.home-icon img{width:32px;height:32px;transition:width .3s ease,height .3s ease}.home-icon img:hover{width:36px;height:36px}.undo-redo-container{position:absolute;top:9px;left:370px;z-index:1000;display:flex;gap:5px}.undo-icon,.redo-icon{cursor:pointer;width:42px;height:auto;transition:transform .2s}.undo-icon:hover,.redo-icon:hover{transform:scale(1.1)}.undo-icon:hover:after,.redo-icon:hover:after{content:attr(title);position:absolute;bottom:100%;left:50%;transform:translate(-50%);white-space:nowrap;background-color:#000;color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;z-index:1001}.autolayout-button,.preview-button,.publish-button,.unpublish-button{position:fixed;top:90px;padding:10px 20px;width:150px;background-color:#fff;color:#271757;font-size:14px;border:2px solid #271757;border-radius:100px;cursor:pointer;box-shadow:0 2px 4px #0003;z-index:100}.autolayout-button:hover,.preview-button:hover{background-color:#271757;color:#fff}.autolayout-button{left:210px}.preview-button{left:50px}.publish-button,.unpublish-button{right:10px;background-color:#fff;color:#ff4500;border:2px solid #ff4500}.publish-button:hover,.unpublish-button:hover{background-color:#ff4500;border:2px solid #ff4500;color:#fff}.options-toolbox{display:flex;justify-content:center;gap:10px;padding:10px}button,.button,.node-button{margin:2px;border:2px solid #271757;color:#271757;background-color:#fff;padding:10px 15px;border-radius:5px;cursor:pointer;transition:all .2s ease-in-out}button:hover,.button:hover,.node-button:hover{background-color:#271757;color:#fff}.delete-icon{position:absolute;top:2px;right:2px;cursor:pointer}.delete-icon img{width:16px;height:16px;transition:all .2s ease-in-out}.delete-icon img:hover{width:20px;height:20px}.add-notes-icon,.add-category-icon{width:24px;height:24px}.custom-node{border:2px solid #333;padding:10px;min-width:250px;background-color:#271757e6;box-shadow:0 4px 8px #0000001a;border:1px solid rgba(0,0,0,.2);border-radius:9px;text-align:center;color:#fff}.question-node{background-color:#322c62cc;border:1px solid rgba(0,0,0,.2)}.node-header{position:absolute;top:0;left:0;margin:0;font-size:12px;font-weight:500;color:#fff;padding:2px 5px;border-radius:5px}.custom-textarea,.answer-input{font-family:Outfit,Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;margin-bottom:10px}.custom-textarea{width:86%;height:4.7em;margin-top:20px;border-radius:5px;border:1px solid #ccc;box-shadow:0 2px 5px #0000001a;padding:10px;font-size:1.5em;line-height:1.5;resize:none;background-color:#fffffff7}.answer-node{background-color:#251889cc;border:1px solid rgba(0,0,0,.2)}.answer-input{width:90%;margin-top:20px;padding:5px;border:1px solid #ccc;border-radius:5px;box-shadow:0 2px 5px #0000001a;font-size:1em;line-height:1.5}.prompt-node{background-color:#4f1357cc;border:1px solid rgba(0,0,0,.2)}iframe{width:100%;height:calc(100% - 30px);border:none}.iframe-container{position:fixed;top:200px;right:10px;width:400px;height:550px;z-index:1000;border:1px solid rgba(39,23,87,.2);border-radius:12px;overflow:hidden;box-shadow:0 4px 8px #0000001a;background-color:#fff}.iframe-header{display:flex;justify-content:flex-end;padding:5px;background-color:#271757e6;color:#fff}.iframe-header button{margin-left:10px;background-color:transparent;border:none;color:#fff;cursor:pointer}.sidebar{display:flex;flex-direction:column;justify-content:space-between;position:absolute;left:0;top:200px;width:330px;height:60%;background-color:#fff;transform:translate(-90%);transition:transform .3s ease;z-index:1000;padding:20px;border-right:2px solid #ECECEC}.sidebar.expanded{transform:translate(0)}.toggle-button img{width:35px;height:35px}.toggle-button{position:absolute;left:340px;top:5%;transform:translateY(-50%);background-color:transparent;color:#fff;border:none;border-radius:0;padding:10px;cursor:pointer}.prompt-box{margin-top:auto;width:100%;display:flex;justify-content:space-between;align-items:right}.prompt-box textarea{width:100%;height:150px;margin-bottom:10px}.prompt-box button{background-color:#5d52d9;color:#fff;border:none;border-radius:20px;padding:10px 20px;cursor:pointer;margin-left:10px}.chat-box{display:flex;flex-direction:column;height:100%}.messages{flex:1;overflow-y:auto;padding:10px}.message-bubble{background-color:#f0f0f0;border-radius:15px;padding:10px;margin-bottom:10px;max-width:80%}.loading-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fffc;display:flex;justify-content:center;align-items:center;z-index:100}.spinner{border:5px solid #f3f3f3;border-top:5px solid #3498db;border-radius:50%;width:50px;height:50px;animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.react-flow__attribution{font-size:0px}.react-flow__handle{background-color:#eef0ff}.flow-component-container{display:flex;flex-direction:column;height:100vh}.react-flow-container{flex-grow:1;overflow:auto}
