@import url("scroll.css");
@import url("well_status.css");

.hint-producer {
  background: rgba(178, 219, 178, 0.9);
  border: 2px solid #6aae6a;
}

.hint-injector {
  background: rgba(178, 215, 227, 0.9);
  border: 2px solid #709fae;
}

.hint-gas-injector, .hint-gas-producer {
  background: rgb(235, 209, 185);
  border: 2px solid #a96424;
}

.hint-container {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;

  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  z-index: -100;

  /* Add transition for hiding */
  transition-property: all;
  transition-delay: 1s;
}

.num-hint-container div {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
}

.num-hint-container div span {
  text-align: left;
}

.bot-data {
  color: #7F318B;
}

.show {
  width: max-content;
  height: auto;
  max-height: 100%;
  visibility: visible;
  z-index: 100;
  opacity: 1;
  transition: opacity 0.3s, z-index 0.1s;
  transition-delay: 0.7s;
  overflow-y: auto;
}

.bot-diag *, .bot-just * {
  color: #7F318B;
}

.Producer-diag, .Producer-diag *, .Injector-diag, .Injector-diag *, .percentage-diag, .percentage-diag *, .bold-diag, .bold-diag *, .nondrain-diag, .nondrain-diag * {
  font-size: 17px;
  font-weight: bold;
  margin-top: -0.25em;
  padding: 0 0.125em;
}

.Producer-diag, .Producer-diag * {
  color: rgb(0, 128, 0);
}

.Injector-diag, .Injector-diag * {
  color: rgb(0, 0, 172);
}

.percentage-diag, .percentage-diag * {
  color: #e2aa06;
}

.bold-diag, .bold-diag * {
  padding: 0 0.1em;
}

.nondrain-diag, .nondrain-diag * {
  color: #d81802;
}

.num-hint-container {
  justify-content: flex-start;
  align-items: flex-start;
}

div.hint-inner-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vertical-separator {
  align-self: stretch;
  border-left: 2px solid #393939
}

.crossection-img {
  max-width: 70vw;
  border: 2px solid rgb(129, 129, 129);
  cursor: pointer;
}

.graphic-hint {
  border: 1px solid rgb(129, 129, 129);
  background-color: rgb(251, 251, 251);
}

.graphic-hint div.graphic-hint-text {
  display: block;
}

.graphic-hint a[href] {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.graphic-hint img {
  max-width: 70vw;
}

.active-layer {
  font-weight: bold;
}

.inactive-layer {
  color: #8d8d8d;
}

div.well-status-data {
  gap: 0.5rem;
}

.layers-data table thead td {
  text-align: center;
}

.layers-data table tbody td {
  text-align: right;
}

.layers-data table tbody td, .layers-data thead td {
  white-space: nowrap;
  padding: 0 0.5rem;

  background-color: transparent;
  border: none;
  font-weight: 500;
  font-size: 14px;
}

.layers-data td:first-child {
  text-align: left;
}

.layer-header tbody td:nth-child(2) {
  text-align: left;
}

.layers-data table {
  width: min-content;
  margin: 0;
  background-color: transparent;
}

.layers-data thead sub, .layers-data thead sup {
  font-size: 75%;
}

.multilayer table tbody tr:first-child td {
  border-bottom: dashed 1px black;
}

.layer-title.active, .layer-title.isolated {
  color: rgb(90, 90, 90);
}

.layer-title.aquifer {
  color: #0775b1;
}

.layer-title.perforated {
  font-weight: bold;
}

.layer-title {
  display: flex;
  align-items: center;
}

.layer-title .layer-icon {
  height: 1.5rem;
  width: 1.5rem;
}

.layers-data td:nth-child(7),
.layers-data td:nth-child(14) {
  border-left: 1px dashed black;
}