.react-flow {
    direction: ltr;
}

.react-flow__container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.react-flow__pane {
    z-index: 1;
    cursor: grab;
}

.react-flow__pane.selection {
    cursor: pointer;
}

.react-flow__pane.dragging {
    cursor: grabbing;
}

.react-flow__viewport {
    z-index: 2;
    pointer-events: none;
    transform-origin: 0 0;
}

.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 {
    overflow: visible;
    pointer-events: none;
}

.react-flow__edge-path,
.react-flow__connection-path {
    fill: none;
    stroke: #b1b1b7;
    stroke-width: 1;
}

.react-flow__edge {
    pointer-events: visibleStroke;
    cursor: pointer;
}

.react-flow__edge.animated path {
    stroke-dasharray: 5;
    -webkit-animation: dashdraw 0.5s linear infinite;
    animation: dashdraw 0.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: white;
}

.react-flow__edge-text {
    font-size: 10px;
}

.react-flow__edge .react-flow__edge-text {
    pointer-events: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.react-flow__connection {
    pointer-events: none;
}

.react-flow__connection .animated {
    stroke-dasharray: 5;
    -webkit-animation: dashdraw 0.5s linear infinite;
    animation: dashdraw 0.5s linear infinite;
}

.react-flow__connectionline {
    z-index: 1001;
}

.react-flow__nodes {
    pointer-events: none;
    transform-origin: 0 0;
}

.react-flow__node {
    position: absolute;
    box-sizing: border-box;
    pointer-events: all;
    cursor: grab;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    transform-origin: 0 0;
}

.react-flow__node.dragging {
    cursor: grabbing;
}

.react-flow__nodesselection {
    z-index: 3;
    pointer-events: none;
    transform-origin: left top;
}

.react-flow__nodesselection-rect {
    position: absolute;
    pointer-events: all;
    cursor: grab;
}

.react-flow__handle {
    position: absolute;
    width: 6px;
    min-width: 5px;
    height: 6px;
    min-height: 5px;
    pointer-events: none;
    background: #1a192b;
    border: 1px solid white;
    border-radius: 100%;
}

.react-flow__handle.connectionindicator {
    pointer-events: all;
    cursor: crosshair;
}

.react-flow__handle-bottom {
    top: auto;
    bottom: -4px;
    left: 50%;
    transform: translate(-50%, 0);
}

.react-flow__handle-top {
    top: -4px;
    left: 50%;
    transform: translate(-50%, 0);
}

.react-flow__handle-left {
    top: 50%;
    left: -4px;
    transform: translate(0, -50%);
}

.react-flow__handle-right {
    top: 50%;
    right: -4px;
    transform: translate(0, -50%);
}

.react-flow__edgeupdater {
    pointer-events: all;
    cursor: move;
}

.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: translateX(-50%);
}

.react-flow__attribution {
    padding: 2px 3px;
    margin: 0;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.5);
}

.react-flow__attribution a {
    color: #999;
    text-decoration: none;
}

@-webkit-keyframes dashdraw {
    from {
        stroke-dashoffset: 10;
    }
}
@keyframes dashdraw {
    from {
        stroke-dashoffset: 10;
    }
}
.react-flow__edgelabel-renderer {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.react-flow__edge.updating .react-flow__edge-path {
    stroke: #777;
}

.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 {
    width: 150px;
    padding: 10px;
    font-size: 12px;
    color: #222;
    text-align: center;
    background-color: white;
    border-color: #1a192b;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
}

.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 rgba(0, 0, 0, 0.08);
}

.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 0.5px #1a192b;
}

.react-flow__node-group {
    background-color: rgba(240, 240, 240, 0.25);
}

.react-flow__nodesselection-rect,
.react-flow__selection {
    background: rgba(0, 89, 220, 0.08);
    border: 1px dotted rgba(0, 89, 220, 0.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 rgba(0, 0, 0, 0.08);
}

.react-flow__controls-button {
    box-sizing: content-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 5px;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    background: #fefefe;
    border: none;
    border-bottom: 1px solid #eee;
}

.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: 0.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;
}

/* handle styles */
.react-flow__resize-control.handle {
    width: 4px;
    height: 4px;
    background-color: #3367d9;
    border: 1px solid #fff;
    border-radius: 1px;
    transform: translate(-50%, -50%);
}

.react-flow__resize-control.handle.left {
    top: 50%;
    left: 0;
}

.react-flow__resize-control.handle.right {
    top: 50%;
    left: 100%;
}

.react-flow__resize-control.handle.top {
    top: 0;
    left: 50%;
}

.react-flow__resize-control.handle.bottom {
    top: 100%;
    left: 50%;
}

.react-flow__resize-control.handle.top.left {
    left: 0;
}

.react-flow__resize-control.handle.bottom.left {
    left: 0;
}

.react-flow__resize-control.handle.top.right {
    left: 100%;
}

.react-flow__resize-control.handle.bottom.right {
    left: 100%;
}

/* line styles */
.react-flow__resize-control.line {
    border-color: #3367d9;
    border-style: solid;
    border-width: 0;
}

.react-flow__resize-control.line.left,
.react-flow__resize-control.line.right {
    top: 0;
    width: 1px;
    height: 100%;
    transform: translate(-50%, 0);
}

.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 {
    left: 0;
    width: 100%;
    height: 1px;
    transform: translate(0, -50%);
}

.react-flow__resize-control.line.top {
    top: 0;
    border-top-width: 1px;
}

.react-flow__resize-control.line.bottom {
    top: 100%;
    border-bottom-width: 1px;
}

:root {
    --react-erd__primary-color: 0, 14, 92;
    --react-erd__secondary-color: 177, 177, 183;
}

.react-erd__container {
    height: 100%;
    font-family: Helvetica, Arial, sans-serif;
}
.react-erd__container,
.react-erd__container * {
    box-sizing: border-box;
}
.react-erd__container .react-flow__node {
    padding: 0;
    text-align: left;
    cursor: move;
    background-color: #fff;
    border-top: none;
    box-shadow: none !important;
}
.react-erd__container .react-flow__node:hover .react-flow__handle {
    opacity: 1;
}
.react-erd__container .react-flow__handle {
    width: 0;
    height: 18px;
    background-color: transparent;
    border: none;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.15s;
}
.react-erd__container .react-flow__handle::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1px;
    width: 246px;
    content: " ";
}
.react-erd__container .react-flow__handle:hover::after {
    background-color: rgba(var(--react-erd__primary-color), 0.2);
}
.react-erd__container .react-flow__handle-right::after {
    right: 1px;
    left: auto;
}
.react-erd__container .title,
.react-erd__container li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--row-height);
    padding: 0 6px;
    text-overflow: ellipsis;
    border: 1px solid rgba(var(--react-erd__primary-color), 0.4);
    border-top: none;
}
.react-erd__container .title,
.react-erd__container li:not(:last-of-type) {
    border-bottom: none;
}
.react-erd__container .title {
    box-sizing: content-box;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background-color: rgba(var(--react-erd__primary-color), 0.1);
    border-top-style: solid;
    border-top-width: 5px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.react-erd__container ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.react-erd__container li {
    gap: 5px;
    border-top: 1px solid rgba(var(--react-erd__primary-color), 0.4);
}
.react-erd__container li .column-name {
    margin-right: auto;
    font-size: 10px;
    font-weight: 500;
}
.react-erd__container li .column-icon {
    width: 12px;
}
.react-erd__container li .column-type {
    display: flex;
    align-items: center;
    font-size: 8px;
    color: rgba(var(--react-erd__primary-color), 0.7);
}
.react-erd__container li:last-of-type {
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
