svg {
    display: block;
    margin: auto;
}

.node-tableau {
    cursor: default;
}

.node-tableau.clickable {
    cursor: pointer;
}

.node-circle-active {
    fill: #4CAF50 !important;
    stroke: #2e7d32;
    stroke-width: 3px;
    transition: fill 0.2s;
}

.node-circle-disabled {
    fill: #fff !important;
    stroke: #999;
    stroke-width: 2px;
}

.node-tableau.clickable:hover .node-circle-active {
    fill: #66bb6a !important;
}

.node-tableau text {
    font: 12px sans-serif;
    pointer-events: none; 
}

#tree-container .link {
    fill: none;
    stroke: #ccc;
    stroke-width: 2px;
    transition: stroke 0.3s;
}

.close-leaf { fill: Red; }
.open-leaf { fill: Green; }


/* LOGGER */
#log-container {
    width: 100%;
		max-height:160px;
    overflow-y: auto;
    background-color: #f8f9fa; /* fondo suave, combina con Bootstrap */
    font-family: monospace;
    font-size: 0.75rem;       /* texto pequeño */
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid #dee2e6; /* borde gris suave */
}

/* Cada línea de log */
#log-container .log-line {
    margin: 1px 0;
    line-height: 1.2;
}

/* Colores según tipo de log */
#log-container .log-line.info {
    color: #495057;   /* gris oscuro */
}

#log-container .log-line.success {
    color: #198754;   /* verde */
}

#log-container .log-line.warning {
    color: #fd7e14;   /* naranja */
}

#log-container .log-line.error {
    color: #dc3545;   /* rojo */
}



#treeFormulaInput{
	margin-right:10px;
	width: 180px;
}

#app-body .graph {
	width: 640px;
	height: 540px;
	position: absolute;
	left: 320px;
}




#tree-container:fullscreen #btn-fullscreen {
    display: block !important;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0.7;
}

#tree-container:fullscreen #btn-fullscreen:hover {
    opacity: 1;
}
