/**
 * ==========================================================
 * NOTA360 - Estilos da Visualização em Grafo (Graph View)
 * ==========================================================
 */

.grafo-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #090d13;
    overflow: hidden;
    border-radius: var(--raio-lg);
}

.grafo-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

.grafo-canvas:active {
    cursor: grabbing;
}

/* Painel de Controles HUD no Grafo */
.grafo-hud {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(22, 27, 34, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--borda);
    border-radius: var(--raio-lg);
    padding: 6px;
    box-shadow: var(--sombra-md);
}

.grafo-hud-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: var(--raio-md);
    color: var(--texto-secundario);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transicao);
}

.grafo-hud-btn:hover {
    background: var(--bg-hover);
    color: var(--texto-principal);
}

/* Legenda e Estatísticas do Grafo */
.grafo-info {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(22, 27, 34, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--borda);
    border-radius: var(--raio-md);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--texto-secundario);
}

.grafo-info-titulo {
    font-weight: 700;
    color: var(--texto-principal);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.grafo-ponto-ativo {
    width: 8px;
    height: 8px;
    border-radius: var(--raio-full);
    background: var(--primaria);
    box-shadow: var(--sombra-neon);
}
