@charset "UTF-8";
#graph-menu-container {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.graph-middle-column {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}
.graph-middle-column .graph-header {
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.graph-middle-column .graph-header h1 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #000;
}
.graph-middle-column .graph-header .graph-stats {
  display: flex;
  gap: 20px;
}
.graph-middle-column .graph-header .graph-stats .stat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
}
.graph-middle-column .graph-header .graph-stats .stat .material-symbols-outlined {
  font-size: 18px;
}
.graph-middle-column .graph-header .graph-stats .stat .value {
  font-weight: 600;
  color: #000;
  margin: 0 4px;
}
.graph-middle-column .graph-header .viz-selector-wrapper {
  margin-left: auto;
  min-width: 200px;
}
.graph-middle-column .graph-header .custom-dropdown {
  position: relative;
  width: 100%;
  user-select: none;
  z-index: 100;
}
.graph-middle-column .graph-header .custom-dropdown .custom-dropdown-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.08) 0%, rgba(33, 150, 243, 0.04) 100%);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 8px;
  color: rgba(0, 0, 0, 0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  backdrop-filter: none;
}
.graph-middle-column .graph-header .custom-dropdown .custom-dropdown-selected:hover {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.12) 0%, rgba(33, 150, 243, 0.06) 100%);
  border-color: rgba(33, 150, 243, 0.35);
}
.graph-middle-column .graph-header .custom-dropdown .custom-dropdown-selected .custom-dropdown-label {
  flex: 1;
  text-transform: capitalize;
}
.graph-middle-column .graph-header .custom-dropdown .custom-dropdown-selected .custom-dropdown-arrow {
  font-size: 20px;
  color: rgba(33, 150, 243, 0.7);
  transition: transform 0.25s ease;
}
.graph-middle-column .graph-header .custom-dropdown.open .custom-dropdown-selected {
  border-color: rgba(33, 150, 243, 0.5);
  box-shadow: none;
}
.graph-middle-column .graph-header .custom-dropdown.open .custom-dropdown-selected .custom-dropdown-arrow {
  transform: rotate(180deg);
}
.graph-middle-column .graph-header .custom-dropdown.open .custom-dropdown-options {
  max-height: 320px;
  opacity: 1;
  overflow-y: auto;
}
.graph-middle-column .graph-header .custom-dropdown.open .custom-dropdown-options::-webkit-scrollbar {
  width: 6px;
}
.graph-middle-column .graph-header .custom-dropdown.open .custom-dropdown-options::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 3px;
}
.graph-middle-column .graph-header .custom-dropdown.open .custom-dropdown-options::-webkit-scrollbar-thumb {
  background: rgba(33, 150, 243, 0.3);
  border-radius: 3px;
}
.graph-middle-column .graph-header .custom-dropdown.open .custom-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: rgba(33, 150, 243, 0.5);
}
.graph-middle-column .graph-header .custom-dropdown .custom-dropdown-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: max-content;
  min-width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}
.graph-middle-column .graph-header .custom-dropdown .custom-dropdown-options .custom-dropdown-option {
  padding: 10px 14px;
  color: rgba(0, 0, 0, 0.75);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.graph-middle-column .graph-header .custom-dropdown .custom-dropdown-options .custom-dropdown-option:last-child {
  border-bottom: none;
}
.graph-middle-column .graph-header .custom-dropdown .custom-dropdown-options .custom-dropdown-option:hover {
  background: rgba(33, 150, 243, 0.08);
  color: rgba(33, 150, 243, 0.9);
}
.graph-middle-column .graph-header .custom-dropdown .custom-dropdown-options .custom-dropdown-option.active {
  background: rgba(33, 150, 243, 0.12);
  color: #2196F3;
  font-weight: 600;
}
.graph-middle-column .graph-header .custom-dropdown .custom-dropdown-options .custom-dropdown-option.active::before {
  content: "✓";
  margin-right: 8px;
  color: #2196F3;
  font-weight: bold;
}
.graph-middle-column .graph-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}
.graph-middle-column .graph-container #graph-svg {
  width: 100%;
  height: 100%;
  background: #fff;
}
.graph-middle-column .graph-container #graph-svg .node-group {
  cursor: pointer;
}
.graph-middle-column .graph-container #graph-svg .node-group circle {
  transition: opacity 0.3s;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 2px;
}
.graph-middle-column .graph-container #graph-svg .node-group text {
  font-size: 11px;
  fill: rgba(0, 0, 0, 0.9);
  font-weight: 500;
  background-color: #f5f5f5;
  border-radius: 2px;
  padding: 5px 12px;
}
.graph-middle-column .graph-container #graph-svg .links line {
  stroke: rgba(0, 0, 0, 0.3);
  stroke-opacity: 0.6;
}
.graph-middle-column .graph-container #graph-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: rgba(0, 0, 0, 0.8);
  padding: 30px;
  border-radius: 8px;
}
.graph-middle-column .graph-container #graph-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #4FC3F7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.graph-middle-column .graph-container #graph-loading p {
  color: rgba(0, 0, 0, 0.8);
  margin: 0;
}
.graph-middle-column .graph-container #graph-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 8px 12px;
  pointer-events: none;
  z-index: 1000;
}
.graph-middle-column .graph-container #graph-tooltip .tooltip-content {
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}
.graph-middle-column .graph-container #graph-tooltip .tooltip-content strong {
  color: #fff;
}
