.sceneOne :global {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: darkslategray;

  .domain-viewers {
    width: 100%;
    flex: 1;
    display: flex;

    .domain-viewer {
      flex: 1;
      position: relative;

      .title {
        pointer-events: none;
      }
    }
  }

  .domain-info {
    flex: 1;
    margin: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;

    .left-panel {
      width: 450px;
      display: flex;
      flex-direction: column;
      height: 100%;

      .text-info-panel {
        width: 100%;
        height: 100%;
        padding: 12px;
        border: 1px solid #04fbfd;
        color: #02f9ff !important;
        background-color: #000000e7;
        pointer-events: auto;
        font-size: 18px;
        text-indent: 2em;
        line-height: 1.5;
        z-index: 999;
        border-radius: 8px;
      }
    }

    .right-panel {
      flex: 1;
      min-width: 450px;
      display: flex;
      flex-direction: column;
      gap: 12px;

      .top-panel {
        flex: 1;
      }

      .bottom-panel {
        flex: 1;
      }

      .form-panel {
        width: 100%;
        height: 100%;
        pointer-events: auto;
        padding: 12px;
        border: 1px solid #04fbfd;
        color: #02f9ff !important;
        background-color: #000000e7;
        border-radius: 8px;

        .ant-form-item-label {
          label {
            color: white;
          }
        }

        .ant-form-item-control {
          .ant-select-multiple {
            max-height: 300px;
            overflow-y: scroll;

            &::-webkit-scrollbar {
              width: 6px;
              height: 1px;
            }
            &::-webkit-scrollbar-thumb {
              border-radius: 6px;
              background: #00a2a2;
            }
            &::-webkit-scrollbar-track {
              border-radius: 6px;
              background: none;
            }
          }
        }
      }

      .chart-info-panel {
        width: 100%;
        height: 100%;
        pointer-events: auto;
        padding: 12px;
        border: 1px solid #04fbfd;
        color: #02f9ff !important;
        background-color: #000000e7;
        transition: all 0.3s ease-in-out;
        border-radius: 8px;
      }
    }
  }
}

.legend :global {
  position: absolute;
  bottom: calc(50% + 14px);
  width: 50%;
  left: 25%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #000000e7;
  border: 1px solid #04fbfd;
  border-radius: 8px;
  padding: 8px;

  .legend-title {
    color: #04fbfd;
  }

  .colorbar {
    width: 100%;
    height: 14px;
    display: flex;
    margin: 8px 0;

    .colorbar-item {
      flex: 1;
      height: 100%;
      border: 1px black solid;

      &:not(:nth-child(1)) {
        border-left: none;
      }
    }
  }

  .legend-text {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: 20px;

    .legend-text-item {
      flex: 1;
      text-align: right;
      font-weight: 600;
      color: white;
      -webkit-text-stroke: #04fbfd 1px;
    }
  }
}
