:root{--rosewater: #f5e0dc;--flamingo: #f2cdcd;--pink: #f5c2e7;--mauve: #cba6f7;--red: #f38ba8;--maroon: #eba0ac;--peach: #fab387;--yellow: #f9e2af;--green: #a6e3a1;--teal: #94e2d5;--sky: #89dceb;--sapphire: #74c7ec;--blue: #89b4fa;--lavender: #b4befe;--text: #cdd6f4;--subtext1: #bac2de;--subtext0: #a6adc8;--overlay2: #9399b2;--overlay1: #7f849c;--overlay0: #6c7086;--surface2: #585b70;--surface1: #45475a;--surface0: #313244;--base: #1e1e2e;--mantle: #181825;--crust: #11111b}body{font-family:Fira Code,monospace;background-color:var(--base);color:var(--text);margin:0;height:100%;padding:0}html{height:100%}*{padding:0;margin:0;box-sizing:border-box}#root{height:100%;margin:0;display:flex;flex-direction:column}.main-content{flex:1}.main-header{background-color:var(--crust);padding:.7rem;margin-bottom:0;border-bottom:1px solid var(--surface0)}.top-header{display:flex;justify-content:center;align-items:center;margin-bottom:.5rem}.top-header .bird-icon{height:3rem;margin:.5rem}.top-header .main-title{font-size:2rem;color:var(--mauve);margin:.5rem;padding:0}.nav-bar{background-color:var(--mantle);margin:0 auto;border-radius:4rem;justify-content:space-evenly;gap:4rem;display:flex;align-items:center;width:fit-content;padding:.8rem 3rem;border:1px solid var(--surface0)}.nav-bar .tab-link{color:var(--subtext1);text-decoration:none;font-weight:700;font-size:1.1rem;transition:color .3s ease}.nav-bar .tab-link:hover{color:var(--mauve)}.main-footer{text-align:center;font-size:.9rem;padding:1rem;color:var(--subtext0);background-color:var(--crust);border-top:1px solid var(--surface0);margin-top:2rem}.main-footer a{color:var(--rosewater);text-decoration:none}.main-footer a:hover{text-decoration:underline}.sorting-visualizer{background-color:var(--mantle);margin:2vh;border-radius:1rem;padding:2.1vh;overflow:auto;border:1px solid var(--surface0)}.visualizer-title{color:var(--flamingo);text-align:center;margin-bottom:1rem;font-weight:700}.bar-container{display:flex;justify-content:center;align-items:flex-end;gap:4px;padding:1rem;background-color:var(--base);border-radius:.5rem;min-height:300px;overflow-x:auto;flex-wrap:nowrap;border:1px solid var(--surface0)}.bar{background-color:var(--blue);flex-grow:1;flex-shrink:1;flex-basis:clamp(.5rem,1.5vw,2rem);transition:background-color .2s ease-out}.bar-highlight{background-color:var(--red)}.console-controls{margin:1.5rem .5rem;display:flex;align-items:center;gap:1rem;justify-content:space-evenly;flex-wrap:wrap}.console-controls button,.console-controls select{background-color:var(--surface0);color:var(--text);border:1px solid var(--surface1);padding:.5rem 1rem;border-radius:6px;font-family:Fira Code,monospace;cursor:pointer;transition:background-color .3s ease}.console-controls button:hover,.console-controls select:hover{background-color:var(--surface1)}.console-controls button:disabled{background-color:var(--surface0);color:var(--overlay0);cursor:not-allowed}.console-controls label{display:flex;align-items:center;gap:.75rem;color:var(--subtext1)}.console-controls input[type=range]{-webkit-appearance:none;appearance:none;width:150px;height:8px;background:var(--surface0);border-radius:5px;outline:none;border:1px solid var(--surface1)}.console-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;background:var(--mauve);cursor:pointer;border-radius:50%;border:2px solid var(--crust)}.console-controls input[type=range]::-moz-range-thumb{width:18px;height:18px;background:var(--mauve);cursor:pointer;border-radius:50%;border:2px solid var(--crust)}.console-outputs{display:flex;justify-content:space-around;margin-top:1.5rem;gap:1rem;flex-wrap:wrap}.array-box{display:flex;flex-direction:column;gap:.5rem;flex:1;min-width:300px}.array-box label{color:var(--subtext0);font-size:.9rem}.array-box textarea{background-color:var(--base);color:var(--text);border:1px solid var(--surface0);border-radius:6px;padding:.5rem;font-family:Fira Code,monospace;resize:none;height:60px}.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%}.graph-visualizer-container{display:flex;flex-direction:column;padding:2.1vh;margin:2vh;background-color:var(--mantle);border-radius:1rem;overflow:hidden;border:1px solid var(--surface0)}.visualizer-title{color:var(--sapphire);text-align:center;margin-bottom:1rem;font-weight:700}.graph-controls{margin:1.5rem .5rem;display:flex;align-items:center;gap:1rem;justify-content:space-evenly;flex-wrap:wrap}.graph-controls button,.graph-controls select{background-color:var(--surface0);color:var(--text);border:1px solid var(--surface1);padding:.5rem 1rem;border-radius:6px;font-family:Fira Code,monospace;cursor:pointer;transition:background-color .3s ease}.graph-controls button:hover,.graph-controls select:hover{background-color:var(--surface1)}.graph-controls button:disabled{background-color:var(--surface0);color:var(--overlay0);cursor:not-allowed}.graph-controls label{display:flex;align-items:center;gap:.75rem;color:var(--subtext1)}.graph-controls input[type=range]{-webkit-appearance:none;appearance:none;width:150px;height:8px;background:var(--surface0);border-radius:5px;outline:none;border:1px solid var(--surface1)}.graph-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;background:var(--mauve);cursor:pointer;border-radius:50%;border:2px solid var(--crust)}.circular-node-content{width:60px;height:60px;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:16px;font-weight:700;background-color:var(--surface1);color:var(--text);border:2px solid var(--mauve);transition:background-color .3s,border-color .3s;box-shadow:0 4px 8px #0003}.react-flow__node.node-visited .circular-node-content{background-color:var(--overlay1)}.react-flow__node.node-path .circular-node-content{background-color:var(--green);color:var(--crust);border-color:var(--green)}.react-flow__node.node-start .circular-node-content,.react-flow__node.node-end .circular-node-content{border-color:var(--yellow);border-width:3px}.react-flow__edge-path,.react-flow__connection-path{stroke:var(--overlay2)}.react-flow__edge.edge-path .react-flow__edge-path{stroke:var(--green);stroke-width:2.5}.react-flow__edge .react-flow__marker-end path{fill:var(--overlay2)}.react-flow__edge.edge-path .react-flow__marker-end path{fill:var(--green)}.edge-weight-input{background-color:var(--surface0);color:var(--text);border:1px solid var(--surface1);border-radius:4px;padding:2px;font-family:Fira Code,monospace;width:40px;text-align:center;-moz-appearance:textfield}.edge-weight-input::-webkit-outer-spin-button,.edge-weight-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.path-display{margin-top:1rem;text-align:center;font-family:Fira Code,monospace;color:var(--text);background-color:var(--surface0);padding:1rem;border-radius:.5rem}.path-display h4{color:var(--subtext1);margin-bottom:.5rem}.priority-queue-box{background-color:var(--surface0);border-radius:1rem;padding:1rem;margin-top:2rem;width:100%;color:var(--text);font-family:Fira Code,monospace}.priority-queue-box h4{text-align:center;color:var(--subtext1);margin-bottom:1rem}.priority-queue-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.queue-item{background-color:var(--surface1);color:var(--text);padding:8px 12px;border-radius:6px;display:flex;justify-content:space-between;gap:10px;min-width:80px}.distance{font-weight:700;color:var(--yellow)}.tree-visualizer-container{display:flex;flex-direction:column;padding:2.1vh;margin:2vh;background-color:var(--mantle);border-radius:1rem;overflow:hidden;border:1px solid var(--surface0)}.visualizer-title{color:var(--green);text-align:center;margin-bottom:1rem;font-weight:700}.tree-controls{margin:1.5rem .5rem;display:flex;align-items:center;gap:1rem;justify-content:space-evenly;flex-wrap:wrap}.tree-controls button,.tree-controls select{background-color:var(--surface0);color:var(--text);border:1px solid var(--surface1);padding:.5rem 1rem;border-radius:6px;font-family:Fira Code,monospace;cursor:pointer;transition:background-color .3s ease}.tree-controls button:hover,.tree-controls select:hover{background-color:var(--surface1)}.tree-controls button:disabled{background-color:var(--surface0);color:var(--overlay0);cursor:not-allowed}.tree-controls label{display:flex;align-items:center;gap:.75rem;color:var(--subtext1)}.tree-controls input[type=range]{-webkit-appearance:none;appearance:none;width:150px;height:8px;background:var(--surface0);border-radius:5px;outline:none;border:1px solid var(--surface1)}.tree-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;background:var(--mauve);cursor:pointer;border-radius:50%;border:2px solid var(--crust)}.react-flow-wrapper{flex-grow:1;background-color:var(--base);border-radius:1rem;height:60vh;width:100%;border:1px solid var(--surface0)}.react-flow__node.node-visited .circular-node-content{background-color:var(--peach);color:var(--crust);border-color:var(--peach)}.traversal-display{margin-top:1rem;text-align:center;font-family:Fira Code,monospace;color:var(--text);background-color:var(--surface0);padding:1rem;border-radius:.5rem}.traversal-display h4{color:var(--subtext1);margin-bottom:.5rem}
