/* GENERAL ------------------------------------------------------------------ */

html,
body {
    height: 100%;
}

.active-page-link {
    font-weight: bold;
    background-color: yellow;
}

body {
    margin: 0;
    padding: 20px;
    font-family: system-ui, -apple-system, sans-serif;
    background: #f5f5f5;
}

nav {
    background: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav h1 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

/* CANVAS ------------------------------------------------------------------- */

#canvas {
    width: 800px;
    height: 600px;
    border: 1px solid #ccc;
    display: block;
    cursor: default;
}

.info {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info li {
    margin: 5px 0;
}

/* JSPLUMB ------------------------------------------------------------------ */

#jsplumb-canvas {
    position: relative;
    width: 800px;
    height: 600px;
    border: 1px solid #ccc;
}

.jsplumb-node {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid #333;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

body.shift-mode .jsplumb-node {
    cursor: crosshair !important;
}

#jsplumb-canvas .jtk-connector {
    overflow: visible;
}

#jsplumb-canvas .jtk-connector path:hover {
    cursor: grab;
    stroke: green;
}

/* REACT-FLOW --------------------------------------------------------------- */

#root {
    width: 800px;
    height: 600px;
    border: 1px solid #ccc;
}

/* RETE --------------------------------------------------------------------- */

#rete-canvas {
    width: 800px !important;
    height: 600px !important;
    border: 1px solid #ccc;
}
