@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&display=swap');

body, text {
  font-family: 'Roboto Mono', monospace;
}

.node-label {
  font-family: 'Roboto Mono', monospace;
}

.reset-instruction {
  font-family: 'Roboto Mono', monospace;
  fill: #0230ff;
  pointer-events: none;
}

.hierarchy-legend, .link-legend, .granularity-control, .control-panel {
  font-family: 'Roboto Mono', monospace;
}

.SVGContainer {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  overflow: hidden;
  background: white; /* Changed from gradient to solid white */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.nodes circle:hover {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  cursor: pointer;
}


  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .node-active {
    stroke: #ffffff;
    stroke-width: 3px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) !important;
  }

  .node-neighbor {
    stroke: #ffffff;
    stroke-width: 2px;
  }

  .node-faded {
    opacity: 0;
  }

  
  .label-active {
    font-weight: bold;
    font-size: 15px !important;
  }

  .label-neighbor {
    font-size: 15px !important;
    font-weight: bold;
  }

  .label-faded {
    opacity: 0;
  }

  .link-active {
    stroke-width: 3px;
    stroke-opacity: 1 !important;
  }

  .link-faded {
    opacity: 0;
  }

  .link-active.original-link {
    stroke: #0066FF !important; 
    stroke-width: 3px;
    stroke-opacity: 1 !important;
  }


  .link-faded.original-link {
    stroke: #3366CC !important;
    opacity: 0;
  }

  .link-faded.inferred-link {
    stroke: #FF8800 !important;
    opacity: 0;
  }

  .reset-instruction {
    font-family: sans-serif;
    fill: #0230ff;
    pointer-events: none;
  }


  .hierarchy-legend {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  .control-panel button.active {
    background: #3498db;
    color: white;
    border-color: #2980b9;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
  }