*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5;overflow:hidden}#root{width:100vw;height:100vh}.workflow-node{min-width:200px;background:#fff;border:2px solid #ddd;border-radius:8px;box-shadow:0 2px 8px #0000001a;transition:all .2s ease;cursor:move}.workflow-node:hover{box-shadow:0 4px 16px #00000026}.workflow-node.selected{border-color:#0084ff;box-shadow:0 0 0 2px #0084ff33}.node-header{padding:8px 12px;color:#fff;font-weight:600;font-size:14px;display:flex;justify-content:space-between;align-items:center;border-radius:6px 6px 0 0}.node-title{display:flex;align-items:center;gap:6px;flex:1}.node-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.node-actions{display:flex;gap:4px;opacity:0;transition:opacity .2s}.workflow-node:hover .node-actions{opacity:1}.node-action-btn{background:#fff3;border:none;border-radius:4px;color:#fff;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.node-action-btn:hover{background:#ffffff4d}.test-btn:hover{background:#4caf504d}.delete-btn:hover{background:#f443364d}.node-body{padding:12px}.node-description{font-size:12px;color:#666;margin-bottom:8px;line-height:1.4}.node-status{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:4px;font-size:11px;font-weight:500}.status-ready{background:#f8f9fa;color:#6c757d}.status-running{background:#fff3cd;color:#856404}.status-success{background:#d4edda;color:#155724}.status-error{background:#f8d7da;color:#721c24}.status-icon{font-size:12px}.status-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workflow-node.trigger .node-header{background:#e74c3c}.workflow-node.cron_trigger .node-header{background:#e67e22}.workflow-node.read_edirectory .node-header{background:#f39c12}.workflow-node.read_entra .node-header{background:#0078d4}.workflow-node.read_random .node-header{background:#1abc9c}.workflow-node.write_entra .node-header{background:#27ae60}.workflow-node.write_rest .node-header{background:#16a085}.workflow-node.debug .node-header{background:#9b59b6}.workflow-node.update_entra .node-header{background:#8e44ad}.workflow-node.delete_entra .node-header{background:#dc3545}.workflow-node.filter .node-header{background:#28a745}.workflow-node.transform .node-header{background:#17a2b8}.cron-summary{margin-bottom:8px;padding:6px 8px;background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:4px}.cron-text{font-size:12px;line-height:1.3;font-weight:500}.cron-text.valid{color:#155724}.cron-text.invalid{color:#721c24}.debug-output{margin-bottom:10px;padding:8px;background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:4px;max-height:300px;overflow-y:auto}.debug-output h4{font-size:12px;margin:0 0 6px;color:#495057}.debug-output pre{margin:0;font-family:Courier New,monospace;font-size:11px;white-space:pre-wrap;color:#212529;line-height:1.4}.error-node{border-color:#dc3545;background:#f8d7da}.error-node .node-header{background:#dc3545}.node-handle{width:12px;height:12px;background:#555;border:2px solid white}.node-handle.connecting,.node-handle:hover{background:#0084ff}.node-palette{width:300px;background:#2c3e50;color:#fff;display:flex;flex-direction:column;height:100vh;overflow-y:auto}.palette-header{padding:20px;border-bottom:1px solid #34495e}.palette-header h2{margin:0 0 8px;font-size:18px;color:#ecf0f1}.node-count{font-size:12px;color:#bdc3c7;background:#34495e;padding:4px 8px;border-radius:12px;display:inline-block}.palette-section{padding:20px;border-bottom:1px solid #34495e}.palette-section h3{margin:0 0 15px;font-size:14px;color:#bdc3c7;text-transform:uppercase;letter-spacing:.5px}.node-list{display:flex;flex-direction:column;gap:12px}.palette-node-item{background:#34495e;border-radius:8px;border-left:4px solid transparent;cursor:grab;transition:all .2s ease;overflow:hidden}.palette-node-item:hover{background:#3d566e;transform:translate(4px)}.palette-node-item:active{cursor:grabbing}.palette-node-content{padding:12px}.palette-node-header{display:flex;align-items:center;gap:8px;margin-bottom:6px}.palette-node-icon{font-size:16px;flex-shrink:0}.palette-node-title{font-weight:600;font-size:14px;flex:1;color:#ecf0f1}.add-node-btn{background:#ffffff1a;border:none;border-radius:4px;color:#fff;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .2s}.palette-node-item:hover .add-node-btn{opacity:1}.add-node-btn:hover{background:#fff3}.palette-node-description{font-size:11px;color:#bdc3c7;line-height:1.4}.instructions{font-size:12px;color:#bdc3c7;line-height:1.6}.instructions ul{margin:0;padding-left:16px}.instructions li{margin-bottom:8px}.palette-node-item.dragging{opacity:.5;transform:rotate(2deg)}@media (max-width: 768px){.node-palette{width:250px}.palette-header,.palette-section{padding:16px}}.properties-panel{width:300px;background:#fff;border-left:1px solid #e0e0e0;display:flex;flex-direction:column;height:100%;max-height:100vh;box-sizing:border-box;overflow:hidden}.properties-header{padding:8px 12px;background:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;align-items:center;gap:6px;font-weight:600;color:#495057}.properties-header-content{display:flex;align-items:center;gap:8px}.node-icon{font-size:16px}.node-title{font-size:14px}.properties-content{flex:1;padding:16px;overflow-y:auto;min-height:0}.no-selection{color:#6c757d;font-style:italic;text-align:center;margin-top:20px}.error{color:#dc3545;font-weight:500}.properties-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:4px}.form-label{font-size:12px;font-weight:600;color:#495057;text-transform:uppercase;letter-spacing:.5px}.required{color:#dc3545;margin-left:2px}.form-input{padding:8px 12px;border:1px solid #ced4da;border-radius:4px;font-size:14px;transition:border-color .2s,box-shadow .2s}.form-input:focus{outline:none;border-color:#0084ff;box-shadow:0 0 0 2px #0084ff1a}.form-input:invalid{border-color:#dc3545}.form-textarea{padding:8px 12px;border:1px solid #ced4da;border-radius:4px;font-size:14px;font-family:inherit;resize:vertical;min-height:80px;transition:border-color .2s,box-shadow .2s}.form-textarea:focus{outline:none;border-color:#0084ff;box-shadow:0 0 0 2px #0084ff1a}.form-textarea:invalid{border-color:#dc3545}.form-select{padding:8px 12px;border:1px solid #ced4da;border-radius:4px;font-size:14px;background-color:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s}.form-select:focus{outline:none;border-color:#0084ff;box-shadow:0 0 0 2px #0084ff1a}.form-select:disabled{background-color:#f8f9fa;cursor:not-allowed;opacity:.6}.field-help{font-size:12px;color:#666;margin-top:4px;line-height:1.4}.form-checkbox{width:18px;height:18px;margin:0;cursor:pointer;accent-color:#0084ff}.radio-group{display:flex;flex-direction:column;gap:8px}.radio-option{display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 0}.form-radio{width:16px;height:16px;margin:0;cursor:pointer;accent-color:#0084ff}.radio-option span{font-size:14px;color:#495057}.form-actions{margin-top:20px;padding-top:16px;border-top:1px solid #e0e0e0}.test-button{width:100%;padding:10px 16px;background:#28a745;color:#fff;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .2s}.test-button:hover:not(:disabled){background:#218838}.test-button:disabled{background:#6c757d;cursor:not-allowed}.test-button.testing{background:#17a2b8}.test-result{margin-top:16px;padding:12px;border-radius:4px;font-size:12px}.test-result.success{background:#d4edda;border:1px solid #c3e6cb;color:#155724}.test-result.error{background:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.result-header{display:flex;align-items:center;gap:8px;font-weight:600;margin-bottom:8px}.result-icon{font-size:14px}.result-title{font-size:13px}.result-message{font-size:12px;line-height:1.4;margin-bottom:4px}.result-error{font-size:12px;line-height:1.4;font-family:Courier New,monospace;background:#0000000d;padding:8px;border-radius:4px;margin-top:8px}.react-flow{direction:ltr}.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:#ffffff80;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:#0059dc14;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__minimap svg{display:block}.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%}.workflow-builder{display:flex;height:100%;min-height:0;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.main-content{flex:1;display:flex;flex-direction:column;background:#f8f9fa;overflow:hidden;min-height:0}.toolbar{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:12px 16px;background:#fff;border-bottom:1px solid #e0e0e0;box-shadow:0 1px 3px #0000001a}.toolbar-button{display:flex;align-items:center;gap:6px;padding:8px 16px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.toolbar-button:disabled{opacity:.5;cursor:not-allowed}.save-button{background:#007bff;color:#fff}.save-button:hover:not(:disabled){background:#0056b3}.execute-button{background:#28a745;color:#fff}.execute-button:hover:not(:disabled){background:#1e7e34}.clear-button{background:#dc3545;color:#fff}.clear-button:hover:not(:disabled){background:#c82333}.load-button{background:#6f42c1;color:#fff}.load-button:hover:not(:disabled){background:#5a2d91}.workflow-name-section{display:flex;align-items:center;gap:8px;flex:1;min-width:200px}.workflow-name-label{font-size:14px;font-weight:500;color:#333;white-space:nowrap}.workflow-name-input{flex:1;padding:8px 12px;border:1px solid #e0e0e0;border-radius:4px;font-size:14px;background:#fff;transition:border-color .2s ease}.workflow-name-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff33}.workflow-name-input::placeholder{color:#999}.modal-content{background:#fff;border-radius:8px;padding:24px;min-width:400px;max-width:600px;max-height:80vh;overflow-y:auto;box-shadow:0 4px 20px #00000026}.modal-content h3{margin:0 0 20px;color:#333;font-size:18px;font-weight:600}.workflow-list{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.workflow-item{padding:16px;border:1px solid #e0e0e0;border-radius:6px;background:#f8f9fa;display:flex;align-items:center;justify-content:space-between;transition:all .2s ease}.workflow-item:hover{background:#e9ecef;border-color:#007bff}.workflow-content{flex:1;cursor:pointer;padding-right:12px}.workflow-name{font-weight:600;color:#333;margin-bottom:4px}.workflow-date{font-size:12px;color:#666}.workflow-delete-btn{background:#dc3545;color:#fff;border:none;border-radius:4px;padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease;min-width:36px;height:36px}.workflow-delete-btn:hover{background:#c82333}.modal-close-button{padding:8px 16px;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.modal-close-button:hover{background:#545b62}.flow-wrapper{flex:1;position:relative;background:#f8f9fa;min-height:0}.react-flow__node{font-family:inherit}.react-flow__edge{stroke:#b1b1b7;stroke-width:2}.react-flow__edge.selected{stroke:#0084ff}.react-flow__edge-path{stroke:inherit;stroke-width:inherit;fill:none}.react-flow__connection-line{stroke:#0084ff;stroke-width:2}.react-flow__controls{bottom:20px;left:20px}.react-flow__controls button{background:#fff;border:1px solid #ddd;color:#333;width:32px;height:32px;border-radius:4px;font-size:16px}.react-flow__controls button:hover{background:#f8f9fa}.react-flow__minimap{background:#fff;border:1px solid #ddd;border-radius:4px}.react-flow__minimap-mask{fill:#0084ff1a;stroke:#0084ff;stroke-width:2}.react-flow__minimap-node{fill:#ddd;stroke:none}.react-flow__handle{background:#555;border:2px solid white;width:10px;height:10px}.react-flow__handle.connecting,.react-flow__handle:hover{background:#0084ff}.react-flow__pane{cursor:grab}.react-flow__pane:active{cursor:grabbing}.react-flow__node.selected{outline:2px solid #0084ff;outline-offset:2px}.react-flow__background{background-color:#f8f9fa}@media (max-width: 768px){.toolbar{padding:12px 16px;gap:12px;flex-wrap:wrap;min-height:auto}.toolbar-button{min-width:90px;padding:10px 16px;font-size:13px}.workflow-name-section{min-width:180px;order:-1;width:100%;margin-bottom:8px}.workflow-name-label,.workflow-name-input{font-size:13px}}@media (max-width: 480px){.toolbar{padding:10px 12px;gap:8px}.toolbar-button{min-width:80px;padding:8px 12px;font-size:12px}}.react-flow__attribution{font-size:10px;background:#fffc;padding:2px 6px;border-radius:3px;margin:8px}@media (max-width: 1024px){.workflow-builder{flex-direction:column}.main-content{height:calc(100vh - 200px)}}@media (max-width: 768px){.toolbar{flex-wrap:wrap;gap:8px;padding:8px 12px}.toolbar-button{font-size:12px;padding:6px 12px}}.clear-logs-checkbox{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:#333;cursor:pointer;-webkit-user-select:none;user-select:none}.clear-logs-checkbox input[type=checkbox]{width:16px;height:16px;cursor:pointer}.welcome-screen{padding:2rem;text-align:center;background:var(--background, #f8f9fa);border-radius:12px;box-shadow:0 2px 8px #0000000a;margin:2rem auto;max-width:600px}.welcome-screen h1{font-size:2.2rem;margin-bottom:1rem}.welcome-screen p{font-size:1.1rem;margin-bottom:1.5rem}.welcome-screen ul{text-align:left;display:inline-block;margin-bottom:1.5rem}.welcome-screen li{font-size:1rem;margin-bottom:.5rem}.connections-manager{width:100%}.connections-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.connections-header h3{margin:0;font-size:1.2rem;color:#333}.header-actions{display:flex;gap:1rem;align-items:center}.upload-area{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#28a745;color:#fff;border:2px dashed transparent;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .2s;position:relative}.upload-area:hover{background:#218838}.upload-area.drag-over{background:#1e7e34;border-color:#fff;border-style:dashed}.create-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background-color .2s}.create-btn:hover:not(:disabled){background:#0056b3}.create-btn:disabled{opacity:.6;cursor:not-allowed}.connections-list{display:flex;flex-direction:column;gap:1rem}.empty-state{text-align:center;padding:3rem 1rem;color:#666;background:#f8f9fa;border-radius:8px}.empty-state button{margin-top:1rem;padding:.5rem 1rem;background:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer}.connection-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#fff;border:1px solid #e9ecef;border-radius:8px;box-shadow:0 1px 3px #0000001a}.connection-info{flex:1;min-width:0}.connection-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}.connection-icon{font-size:1.2rem;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:#f8f9fa;border-radius:50%}.connection-header h4{margin:0;font-size:1rem;font-weight:600;color:#333}.connection-type{font-size:.85rem;color:#666;margin-left:.5rem}.status-badge{padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500;margin-left:auto}.status-badge.active{background:#d4edda;color:#155724}.status-badge.inactive{background:#f8d7da;color:#721c24}.connection-description{margin:0;font-size:.9rem;color:#666;line-height:1.4}.test-result{display:flex;align-items:center;gap:.5rem;margin-top:.5rem;padding:.5rem;border-radius:4px;font-size:.85rem}.test-result.success{background:#d4edda;color:#155724}.test-result.error{background:#f8d7da;color:#721c24}.connection-actions{display:flex;gap:.5rem;margin-left:1rem}.action-btn{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;transition:all .2s}.action-btn:hover:not(:disabled){background:#f8f9fa;border-color:#adb5bd}.action-btn:disabled{opacity:.6;cursor:not-allowed}.action-btn.test{color:#17a2b8}.action-btn.test:hover:not(:disabled){background:#e7f3ff;border-color:#17a2b8}.action-btn.download{color:#6f42c1}.action-btn.download:hover:not(:disabled){background:#f8f5ff;border-color:#6f42c1}.action-btn.edit{color:#ffc107}.action-btn.edit:hover:not(:disabled){background:#fff8e1;border-color:#ffc107}.action-btn.toggle{color:#28a745}.action-btn.toggle:hover:not(:disabled){background:#e8f5e8;border-color:#28a745}.action-btn.delete{color:#dc3545}.action-btn.delete:hover:not(:disabled){background:#ffeaea;border-color:#dc3545}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.connection-form-modal{background:#fff;border-radius:12px;width:90%;max-width:800px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 30px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e9ecef}.modal-header h3{margin:0;font-size:1.3rem;color:#333}.close-btn{background:none;border:none;cursor:pointer;color:#666;padding:.25rem;border-radius:4px;transition:background-color .2s}.close-btn:hover{background:#f8f9fa;color:#333}.connection-form{padding:1.5rem}.main-fields-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}@media (min-width: 768px){.main-fields-grid{grid-template-columns:1fr 1fr;gap:1.5rem 2rem}}.form-field{margin-bottom:1.5rem}.form-field label{display:block;margin-bottom:.5rem;font-weight:500;color:#333}.form-field input,.form-field select,.form-field textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:6px;font-size:1rem;transition:border-color .2s}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.form-field textarea{resize:vertical;min-height:4rem}.required{color:#dc3545}.field-description{display:block;margin-top:.25rem;font-size:.85rem;color:#666;line-height:1.4}.config-section{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e9ecef}.config-section h4{margin:0 0 1.5rem;font-size:1.1rem;color:#333}.config-fields-grid{display:grid;grid-template-columns:1fr;gap:1rem}@media (min-width: 768px){.config-fields-grid{grid-template-columns:1fr 1fr;gap:1.5rem 2rem}.config-field.full-width,.config-field.checkbox-field{grid-column:1 / -1}}.config-field{margin-bottom:0}.config-field label{display:block;margin-bottom:.25rem;font-weight:500;color:#333;font-size:.9rem}.config-field input{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem}.config-field input[type=checkbox]{width:auto;margin-right:.5rem;margin-bottom:0;padding:0}.config-field .checkbox-label{display:flex;align-items:flex-start;margin-bottom:.5rem;cursor:pointer}.config-field .checkbox-label input[type=checkbox]{margin-top:.1rem;flex-shrink:0}.form-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e9ecef}.cancel-btn{padding:.75rem 1.5rem;background:#6c757d;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:1rem;transition:background-color .2s}.cancel-btn:hover:not(:disabled){background:#545b62}.submit-btn{padding:.75rem 1.5rem;background:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:1rem;transition:background-color .2s}.submit-btn:hover:not(:disabled){background:#0056b3}.submit-btn:disabled,.cancel-btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.connection-item{flex-direction:column;align-items:stretch;gap:1rem}.connection-actions{margin-left:0;justify-content:center}.connection-form-modal{width:95%;margin:1rem}.form-actions{flex-direction:column}.form-actions button{width:100%}}.settings-screen{padding:2rem;text-align:left;background:var(--background, #f8f9fa);border-radius:12px;box-shadow:0 2px 8px #0000000a;margin:2rem auto;max-width:800px;width:100%}.settings-header{margin-bottom:2rem}.settings-screen h2{font-size:1.7rem;margin:0}.settings-tabs{display:flex;border-bottom:2px solid #e9ecef;margin-bottom:2rem;gap:0}.tab-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:none;border:none;border-bottom:2px solid transparent;color:#666;cursor:pointer;font-size:1rem;font-weight:500;transition:all .2s}.tab-button:hover{color:#333;background:#007bff0d}.tab-button.active{color:#007bff;border-bottom-color:#007bff;background:#007bff0d}.settings-content{min-height:400px}.settings-section{width:100%}.settings-section h3{font-size:1.3rem;margin-bottom:1.5rem;color:#333}.settings-item{margin-bottom:1.5rem}.settings-item label{font-weight:500;margin-right:1rem}.settings-item input{padding:.5rem;font-size:1rem;border-radius:6px;border:1px solid #ccc;margin-right:1rem}.settings-item button{padding:.5rem 1.2rem;font-size:1rem;border-radius:6px;border:none;background:#007bff;color:#fff;cursor:pointer}.settings-item button:hover{background:#0056b3}@media (max-width: 768px){.settings-screen{margin:1rem;padding:1rem;max-width:none}.settings-tabs{flex-direction:column;gap:0}.tab-button{border-bottom:1px solid #e9ecef;border-left:2px solid transparent;justify-content:flex-start}.tab-button.active{border-left-color:#007bff;border-bottom-color:#e9ecef}}.help-screen{padding:2rem;max-width:1200px;margin:0 auto;background:#f8f9fa;height:100%;overflow-y:auto}.help-header{text-align:center;margin-bottom:3rem}.help-header h1{color:#2c3e50;margin-bottom:.5rem;font-size:2.5rem}.help-header p{color:#6c757d;font-size:1.2rem}.help-content{display:flex;flex-direction:column;gap:2rem}.help-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 8px #0000001a}.section-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}.section-icon{color:#3498db;width:24px;height:24px}.section-header h2{color:#2c3e50;margin:0;font-size:1.8rem}.help-section p{color:#555;font-size:1.1rem;line-height:1.6;margin-bottom:1.5rem}.example-block h3{color:#2c3e50;margin-bottom:1rem;font-size:1.3rem}.code-examples{display:flex;flex-direction:column;gap:.75rem}.code-example{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8f9fa;border-radius:8px;border-left:4px solid #3498db}.code-example code{font-family:Monaco,Menlo,Ubuntu Mono,monospace;background:#e9ecef;padding:.25rem .5rem;border-radius:4px;font-size:.9rem;color:#e74c3c;font-weight:600}.example-desc{color:#6c757d;font-style:italic;font-size:.9rem}.field-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.field-category{background:#f8f9fa;padding:1.5rem;border-radius:8px;border:1px solid #e9ecef}.field-category h3{color:#2c3e50;margin-bottom:1rem;font-size:1.2rem;border-bottom:2px solid #3498db;padding-bottom:.5rem}.field-list{list-style:none;padding:0;margin:0}.field-list li{padding:.5rem 0;border-bottom:1px solid #e9ecef;font-size:.95rem}.field-list li:last-child{border-bottom:none}.field-list code{font-family:Monaco,Menlo,Ubuntu Mono,monospace;background:#e9ecef;padding:.2rem .4rem;border-radius:4px;font-size:.85rem;color:#e74c3c;font-weight:600;margin-right:.5rem}.syntax-notes{background:linear-gradient(135deg,#fff5f5,#fff);border:1px solid #fbb6ce}.syntax-rules{display:flex;flex-direction:column;gap:1.5rem}.syntax-rule{background:#fff;padding:1.5rem;border-radius:8px;border-left:4px solid #e74c3c}.syntax-rule strong{color:#2c3e50;font-size:1.1rem;display:block;margin-bottom:.75rem}.syntax-examples{display:flex;flex-direction:column;gap:.5rem}.syntax-correct,.syntax-wrong{padding:.5rem;border-radius:4px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem}.syntax-correct{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.syntax-wrong{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.syntax-correct code,.syntax-wrong code{background:transparent;padding:0;font-weight:600}@media (max-width: 768px){.help-screen{padding:1rem}.help-header h1{font-size:2rem}.field-categories{grid-template-columns:1fr}.code-example{flex-direction:column;align-items:flex-start;gap:.5rem}}.easyscript-tester-fill{height:100vh;display:flex;flex-direction:column;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial}.tester-header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.tester-header .title-group{display:flex;align-items:center;gap:12px}.tester-header h2{margin:0;font-size:18px;font-weight:600;color:#1e293b}.tester-header p{margin:0;font-size:13px;color:#64748b}.tester-content{display:flex;gap:20px;flex:1;padding:20px 28px 28px;min-height:0}.left-section,.middle-section,.output-section{display:flex;flex-direction:column;min-height:0}.left-section{flex:1 1 25%}.middle-section{flex:2 1 50%}.output-section{flex:1 1 25%}.input-group{display:flex;flex-direction:column;gap:8px}.left-section .input-group{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.left-section .input-group textarea.user-data-input{flex:1 1 auto;min-height:0;overflow:auto}.card{background:#fff;border-radius:10px;border:1px solid #e6eef8;padding:18px;box-shadow:0 6px 18px #0f172a0a;display:flex;flex-direction:column;min-height:0}.input-group label{display:flex;align-items:center;gap:8px;font-weight:600;color:#0f172a;font-size:13px}.user-data-input,.script-input,.easyscript-textarea,.easyscript-result{border:1px solid #e6eef8;border-radius:8px;padding:12px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:13px;line-height:1.45;resize:none;background:#fbfdff;transition:box-shadow .15s ease,border-color .15s ease;width:100%}.user-data-input:focus,.script-input:focus,.easyscript-textarea:focus,.easyscript-result:focus{outline:none;border-color:#4753f8;box-shadow:0 6px 18px #4753f814}.evaluate-button{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;background:linear-gradient(180deg,#5b5ef6,#4548d9);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease;font-size:13px;box-shadow:0 6px 16px #4548d91f}.evaluate-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 30px #4548d91f}.evaluate-button:disabled{background:#e6e9ef;color:#94a3b8;cursor:not-allowed;box-shadow:none;transform:none}.actions{display:flex;justify-content:flex-start;margin-top:12px}.output-section label{display:flex;align-items:center;gap:8px;font-weight:700;color:#0f172a;font-size:13px}.success-icon{color:#059669}.error-icon{color:#dc2626}.output-display{flex:1;border:1px solid #eef3fb;border-radius:8px;padding:16px;background:#fbfdff;min-height:0;overflow:auto}.left-section .card,.middle-section .card,.output-section .card{display:flex;flex-direction:column;height:100%;min-height:0}.left-section .user-data-input,.middle-section .script-input{flex:1 1 60%;min-height:140px;max-height:none;overflow:auto}.middle-section .input-group{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.output-section .output-display{max-height:none;overflow:auto}.output-display.success{border-color:#059669;background:#f6fffa}.output-display.error{border-color:#dc2626;background:#fff5f5}.result-section{margin-bottom:18px}.result-section:last-child{margin-bottom:0}.result-section h4{margin:0 0 8px;color:#0f172a;font-size:13px;font-weight:700}.result-section pre{background:#fff;border:1px solid #eef4fb;border-radius:6px;padding:12px;margin:0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;line-height:1.45;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word}.error-message{color:#a61b1b;font-weight:600;background:#fff6f6;border:1px solid #ffd4d4;border-radius:6px;padding:12px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:13px;line-height:1.45}.placeholder{color:#9aa4b2;font-style:italic;text-align:center;padding:42px 20px}.logs-panel{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:8px;border:1px solid #e2e8f0;overflow:hidden}.logs-header{padding:16px 20px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.logs-title{display:flex;align-items:center;gap:12px;margin-bottom:12px}.logs-title h3{margin:0;font-size:18px;font-weight:600;color:#1e293b}.logs-count{padding:4px 8px;background:#e2e8f0;color:#64748b;border-radius:12px;font-size:12px;font-weight:500}.logs-controls{display:flex;justify-content:space-between;align-items:center;gap:16px}.logs-filters{display:flex;gap:12px;align-items:center}.level-filter{padding:6px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background:#fff;min-width:120px}.search-input{padding:6px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;min-width:200px}.search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.logs-actions{display:flex;gap:8px}.control-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #d1d5db;background:#fff;border-radius:6px;cursor:pointer;transition:all .2s ease;color:#64748b}.control-button:hover{background:#f1f5f9;border-color:#94a3b8}.control-button.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.control-button.paused{background:#fbbf24;border-color:#f59e0b;color:#fff}.control-button.danger{color:#dc2626}.control-button.danger:hover{background:#fee2e2;border-color:#fca5a5}.control-button.refreshing{background:#f1f5f9;border-color:#94a3b8}.control-button:disabled{opacity:.6;cursor:not-allowed}.logs-container{flex:1;overflow-y:auto;padding:0;background:#fff}.logs-container.paused{border-left:4px solid #fbbf24}.empty-logs{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;color:#64748b;text-align:center}.empty-logs p{margin:0 0 8px;font-size:16px;font-weight:500}.empty-logs small{font-size:14px;opacity:.7}.log-entry{padding:12px 16px;border-bottom:1px solid #f1f5f9;transition:background-color .2s ease}.log-entry:hover{background:#f8fafc}.log-entry:last-child{border-bottom:none}.log-header{display:flex;align-items:center;gap:8px;margin-bottom:4px;font-size:12px;color:#64748b}.log-icon{font-size:14px}.log-timestamp{font-family:Courier New,monospace;font-weight:500;min-width:80px}.log-source{font-weight:500;padding:2px 6px;background:#e2e8f0;border-radius:4px;color:#475569}.log-workflow{padding:2px 6px;background:#dbeafe;border-radius:4px;color:#1d4ed8;font-family:Courier New,monospace}.log-message{font-size:14px;line-height:1.5;color:#1e293b;margin-left:22px}.log-details{margin:8px 0 0 22px;padding:8px 12px;background:#f1f5f9;border-radius:4px;border-left:3px solid #e2e8f0}.log-details pre{margin:0;font-size:12px;font-family:Courier New,monospace;color:#475569;white-space:pre-wrap;word-break:break-word;max-height:200px;overflow-y:auto}.log-info{border-left:3px solid #3b82f6}.log-success{border-left:3px solid #10b981}.log-warning{border-left:3px solid #f59e0b;background:#fffbeb}.log-error{border-left:3px solid #ef4444;background:#fef2f2}.log-warning .log-details{background:#fef3c7;border-left-color:#f59e0b}.log-error .log-details{background:#fecaca;border-left-color:#ef4444}@media (max-width: 768px){.logs-header{padding:12px 16px}.logs-controls{flex-direction:column;gap:12px;align-items:stretch}.logs-filters{order:2}.logs-actions{order:1;justify-content:center}.search-input{min-width:auto;flex:1}.log-header{flex-wrap:wrap;gap:4px}.log-message{margin-left:0;margin-top:4px}.log-details{margin-left:0}}.execution-history{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:8px;border:1px solid #e2e8f0;overflow:hidden}.history-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.history-title{display:flex;align-items:center;gap:12px}.history-title h3{margin:0;font-size:18px;font-weight:600;color:#1e293b}.execution-count{padding:4px 8px;background:#e2e8f0;color:#64748b;border-radius:12px;font-size:12px;font-weight:500}.header-buttons{display:flex;align-items:center;gap:8px}.refresh-button,.clear-button{display:flex;align-items:center;gap:8px;padding:8px 16px;border:1px solid #d1d5db;background:#fff;border-radius:6px;cursor:pointer;transition:all .2s ease;font-size:14px;color:#374151}.refresh-button:hover,.clear-button:hover{background:#f9fafb;border-color:#9ca3af}.refresh-button:disabled,.clear-button:disabled{opacity:.5;cursor:not-allowed}.clear-button{color:#dc2626;border-color:#fecaca}.clear-button:hover:not(:disabled){background:#fef2f2;border-color:#fca5a5}.history-content{flex:1;overflow-y:auto}.empty-state,.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#64748b;text-align:center;padding:40px 20px}.empty-state h3,.loading-state h3{margin:16px 0 8px;font-size:18px;font-weight:600;color:#374151}.empty-state p,.loading-state p{margin:0;font-size:14px;opacity:.7}.spinning{animation:spin 1s linear infinite}.execution-summary{padding:20px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:20px}.summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px;display:flex;align-items:center;gap:12px;transition:all .2s ease}.summary-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.summary-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff}.summary-card.primary{border-left:4px solid #3b82f6}.summary-card.secondary{opacity:.8}.summary-icon.users-found{background:#059669}.summary-icon.users-created{background:#3b82f6}.summary-icon.users-skipped{background:#f59e0b}.summary-icon.total{background:#64748b}.summary-icon.success{background:#059669}.summary-icon.error{background:#dc2626}.summary-icon.rate{background:#7c3aed}.summary-stats{display:flex;flex-direction:column;gap:2px}.summary-number{font-size:24px;font-weight:700;color:#1e293b;line-height:1}.summary-label{font-size:12px;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.last-execution-info{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.last-execution-label{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}.last-execution-details{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}.last-execution-status{display:flex;align-items:center;gap:6px;font-weight:500;font-size:14px;text-transform:capitalize}.last-execution-status.success{color:#059669}.last-execution-status.error{color:#dc2626}.last-execution-status.running{color:#d97706}.execution-stats-secondary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.stat-item{display:flex;flex-direction:column;align-items:center;text-align:center}.stat-label{font-size:12px;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}.stat-value{font-size:18px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:6px}.status-indicator{display:flex;align-items:center}.status-indicator.success{color:#059669}.status-indicator.error{color:#dc2626}.status-indicator.running{color:#d97706}.last-execution-time{font-size:14px;color:#64748b;font-family:Courier New,monospace}.executions-grid{display:grid;grid-template-columns:1fr 400px;height:calc(100% - 140px)}.executions-list{overflow-y:auto;padding:16px;gap:16px;display:flex;flex-direction:column}.execution-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.execution-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.execution-header{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:16px;margin-bottom:16px}.execution-status{display:flex;align-items:center;gap:8px}.status-icon{font-size:16px}.status{font-weight:500;font-size:14px}.status-success{color:#059669}.status-error{color:#dc2626}.status-running{color:#d97706}.execution-trigger{display:flex;align-items:center;gap:4px;padding:4px 8px;background:#e2e8f0;border-radius:12px;font-size:12px;font-weight:500;color:#64748b}.execution-details{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#64748b}.execution-time{display:flex;gap:8px}.date,.time{font-weight:500}.execution-duration{font-family:Courier New,monospace;font-weight:500;color:#374151}.execution-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-bottom:16px}.stat-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;display:flex;align-items:center;gap:10px}.stat-card.primary{border-left:3px solid #3b82f6}.stat-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff}.stat-icon.users-found{background:#059669}.stat-icon.users-created{background:#3b82f6}.stat-icon.users-skipped{background:#f59e0b}.stat-icon.users-error{background:#dc2626}.stat-content{display:flex;flex-direction:column;gap:2px}.stat-number{font-size:20px;font-weight:700;color:#1e293b;line-height:1}.stat-label{font-size:11px;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.execution-actions{display:flex;justify-content:flex-end;margin-top:8px}.view-details-btn{padding:6px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;color:#374151;cursor:pointer;transition:all .2s ease}.view-details-btn:hover{background:#e2e8f0;color:#1e293b}.execution-error{display:flex;align-items:center;gap:6px;margin:8px 0;padding:8px 12px;background:#fef2f2;border-radius:6px;color:#dc2626;font-size:12px}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.execution-details-panel{background:#fff;border-radius:12px;max-width:700px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0003}.details-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e2e8f0;position:sticky;top:0;background:#fff;border-radius:12px 12px 0 0;z-index:1}.details-header h4{margin:0;font-size:18px;font-weight:600;color:#1e293b}.close-button{background:transparent;border:none;font-size:24px;color:#64748b;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease}.close-button:hover{background:#f1f5f9;color:#1e293b}.execution-id-row{padding:0 24px 16px;border-bottom:1px solid #e2e8f0}.execution-id{padding:6px 12px;background:#f1f5f9;border-radius:6px;font-family:Courier New,monospace;font-size:12px;color:#64748b;display:inline-block}.details-content{display:flex;flex-direction:column;gap:16px;padding:20px 24px}.detail-section{background:#f8fafc;padding:16px;border-radius:8px;border:1px solid #e2e8f0}.detail-section h5{margin:0 0 12px;font-size:14px;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.05em}.trigger-info{display:flex;align-items:center;gap:8px;font-size:14px;color:#374151}.timing-info{display:flex;flex-direction:column;gap:4px;font-size:14px;color:#374151}.error-message{padding:12px;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#dc2626;font-size:14px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.result-data{max-height:300px;overflow-y:auto;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px}.result-data pre{margin:0;padding:12px;font-size:12px;font-family:Courier New,monospace;color:#374151;white-space:pre-wrap;word-break:break-word}@media (max-width: 1024px){.executions-grid{grid-template-columns:1fr;grid-template-rows:1fr auto}.execution-details-panel{max-height:50vh}.summary-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.summary-card{padding:12px}.summary-number{font-size:20px}}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:16px;border-top:1px solid #e2e8f0;background:#f8fafc}.pagination-button{padding:8px 16px;background:#fff;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#374151;cursor:pointer;transition:all .2s ease}.pagination-button:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.pagination-button:disabled{opacity:.5;cursor:not-allowed}.pagination-info{font-size:14px;color:#64748b;font-weight:500}@media (max-width: 768px){.execution-summary{padding:16px}.last-execution-details{flex-direction:column;align-items:flex-start}.history-header{padding:12px 16px;flex-direction:column;gap:12px;align-items:stretch}.execution-card{padding:16px}.execution-header{grid-template-columns:1fr;gap:8px;text-align:left}.execution-stats{grid-template-columns:1fr;gap:8px}.stat-card{padding:10px}.stat-number{font-size:18px}.execution-details-panel{padding:16px}}.schedules-panel{padding:2rem;height:100%;overflow-y:auto;background:#fff}.schedules-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.schedules-title{display:flex;align-items:center;gap:1rem}.schedules-title h2{margin:0;font-size:1.75rem;color:#1e293b}.schedules-actions{display:flex;gap:.75rem}.refresh-button,.sync-button{display:flex;align-items:center;gap:.5rem;padding:.6rem 1.2rem;background:#3b82f6;border:1px solid #3b82f6;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s}.sync-button{background:#10b981;border-color:#10b981}.sync-button:hover:not(:disabled){background:#059669;border-color:#059669}.refresh-button:hover:not(:disabled){background:#2563eb;border-color:#2563eb}.refresh-button:disabled{opacity:.5;cursor:not-allowed}.refresh-button .spinning{animation:spin 1s linear infinite}.schedules-loading,.schedules-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;color:#64748b}.schedules-loading .spinning{animation:spin 1s linear infinite;margin-bottom:1rem;color:#3b82f6}.schedules-empty{gap:1rem}.schedules-empty h3{margin:0;color:#1e293b;font-size:1.5rem}.schedules-list{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.schedule-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;transition:all .3s}.schedule-card:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.schedule-card.active{border-left:4px solid #22c55e}.schedule-card.inactive{border-left:4px solid #94a3b8;opacity:.7}.schedule-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.schedule-workflow-info{flex:1}.schedule-workflow-info h3{margin:0 0 .5rem;font-size:1.25rem;color:#1e293b}.schedule-status{display:inline-block;font-size:.85rem;font-weight:600;padding:.25rem .75rem;border-radius:12px}.schedule-status.active{background:#dcfce7;color:#16a34a}.schedule-status.inactive{background:#f1f5f9;color:#64748b}.toggle-button{display:flex;align-items:center;gap:.5rem;padding:.6rem 1rem;border:1px solid;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s;white-space:nowrap}.toggle-button.active{background:#fef3c7;border-color:#f59e0b;color:#d97706}.toggle-button.active:hover{background:#fde68a;border-color:#d97706}.toggle-button.inactive{background:#dcfce7;border-color:#22c55e;color:#16a34a}.toggle-button.inactive:hover{background:#bbf7d0;border-color:#16a34a}.schedule-details{display:flex;flex-direction:column;gap:.75rem}.schedule-detail-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0}.schedule-detail-row.highlight{background:#dbeafe;padding:.75rem;border-radius:6px;margin-top:.5rem}.detail-label{font-size:.9rem;color:#64748b;font-weight:500}.detail-value{font-size:.9rem;color:#1e293b;text-align:right;display:flex;align-items:center;gap:.75rem}.detail-value code{background:#f1f5f9;padding:.25rem .5rem;border-radius:4px;font-family:Courier New,monospace;font-size:.85rem;color:#475569}.time-until{font-size:.85rem;color:#2563eb;font-weight:600;background:#dbeafe;padding:.25rem .5rem;border-radius:4px}.time-until.overdue{color:#dc2626;background:#fee2e2}@media (max-width: 768px){.schedules-list{grid-template-columns:1fr}.schedule-header{flex-direction:column;gap:1rem}.toggle-button{width:100%;justify-content:center}}.tab-bar{display:flex;background:#fff;border-bottom:2px solid #e2e8f0;padding:0 20px;gap:4px;overflow-x:auto;flex-shrink:0}.tab-button{display:flex;align-items:center;gap:8px;padding:12px 20px;border:none;background:transparent;color:#64748b;cursor:pointer;font-size:14px;font-weight:500;border-radius:8px 8px 0 0;transition:all .2s ease;position:relative;white-space:nowrap;min-width:fit-content}.tab-button:hover{background:#f1f5f9;color:#475569}.tab-button.active{background:#3b82f6;color:#fff;box-shadow:0 -2px #3b82f6}.tab-button.active:hover{background:#2563eb}.tab-label{font-weight:inherit}.tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 6px;background:#ef4444;color:#fff;border-radius:9px;font-size:11px;font-weight:600;line-height:1}.tab-button.active .tab-badge{background:#dc2626}@media (max-width: 768px){.tab-bar{padding:0 10px;gap:2px}.tab-button{padding:10px 12px;font-size:13px}.tab-label{display:none}.tab-button{min-width:44px;justify-content:center}}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.login-card{background:#fff;border-radius:12px;box-shadow:0 10px 25px #00000026;padding:40px;width:100%;max-width:400px;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.login-header{text-align:center;margin-bottom:30px}.login-header h1{color:#333;margin:0 0 10px;font-size:24px;font-weight:600}.login-header p{color:#666;margin:0;font-size:14px}.login-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-weight:500;color:#333;font-size:14px}.form-group input{padding:12px 16px;border:2px solid #e1e5e9;border-radius:8px;font-size:14px;transition:border-color .2s ease,box-shadow .2s ease}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input:disabled{background-color:#f8f9fa;cursor:not-allowed}.error-message{background-color:#fee;color:#c53030;padding:12px;border-radius:6px;font-size:14px;border:1px solid #fed7d7}.login-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:14px 20px;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;margin-top:10px}.login-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.login-button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.login-footer{margin-top:30px;text-align:center;padding-top:20px;border-top:1px solid #eee}.login-footer p{margin:5px 0;color:#666;font-size:12px}.login-footer small{color:#999;font-style:italic}.app-header{background:#2c3e50;color:#fff;padding:0 24px;box-shadow:0 2px 4px #0000001a;z-index:1000;position:relative}.header-content{display:flex;justify-content:space-between;align-items:center;max-width:100%;margin:0 auto;height:64px}.header-left h1{margin:0;font-size:20px;font-weight:600;display:flex;align-items:center;gap:10px}.header-right{display:flex;align-items:center;gap:20px}.user-info{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#ffffff1a;border-radius:8px}.user-avatar{width:36px;height:36px;background:#3498db;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}.user-details{display:flex;flex-direction:column;gap:2px}.username{font-weight:500;font-size:14px}.user-role{font-size:12px;color:#ffffffb3;text-transform:capitalize}.logout-button{background:#e74c3c;color:#fff;border:none;padding:10px 18px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;transition:background-color .2s ease,transform .1s ease;display:flex;align-items:center;gap:8px}.logout-button:hover{background:#c0392b;transform:translateY(-1px)}.logout-button:active{transform:translateY(0)}@media (max-width: 768px){.header-content{padding:0 10px}.header-left h1{font-size:16px}.user-details{display:none}.logout-button{padding:6px 12px;font-size:12px}}.App{width:100vw;height:100vh;margin:0;padding:0}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.loading-spinner{font-size:48px;animation:spin 1s linear infinite;margin-bottom:20px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-container p{font-size:18px;margin:0}.authenticated-app{height:100vh;display:flex;flex-direction:column}.main-content{flex:1;overflow:hidden}.coming-soon{display:flex;align-items:center;justify-content:center;height:100%;font-size:18px;color:#64748b;background:#fff;border-radius:8px;margin:20px;border:1px solid #e2e8f0}
