/* Specific CSS attributes for tree view */

[data-depth="0"] {
  margin-left: 10px;
}

[data-depth="1"] {
  margin-left: 20px;
}

[data-depth="2"] {
  margin-left: 30px;
}

.bold-title {
  font-weight: 600;
  font-size: large;
}

.tooltip-container {
  position: relative;
  display: inline-block;
  /* Or block, depending on layout */
}

.tooltip-underline {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: gray;
  text-underline-offset: 2px;
}

.tooltip-underline:hover {
  text-underline-offset: 3px;
}

.tooltip-text {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  /* Example: positioned above the container */
  left: 50%;
  transform: translateX(0%);
  /* Center the tooltip horizontally */
  white-space: nowrap;
  /* Prevent text wrapping */
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
}

.level-3-list-unstyled {
  list-style-type: none;
}

/* Specific CSS attributes for 3D modelview */

.modelview-body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: #f0f0f0;
}

model-viewer {
  display: flex;
  width: 100vw;
  height: 100vh;
  background-color: #f4f6f8;
}

.topleft {
  background-color: #88888830;
  position: absolute;
  transform: translate(10px, 10px);
  border-radius: 10px;
  padding: 10px;
}

.bottomright {
  background-color: #88888830;
  position: fixed;
  bottom: 0px;
  right: 0px;
  transform: translate(-10px, -10px);
  border-radius: 10px;
  padding: 10px;
}

.no-deco-text {
  text-decoration: none;
}
