@use "@tencentcloud/uikit-base-component-react/dist/styles/theme/util" as *;

.SearchAdvanced {
  display: flex;
  flex-direction: column;
}


.SearchAdvanced__mode-toggle {
  width: calc(100% - 20px);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  @include theme() {
    background: get(list-color-focused);
  }
  cursor: pointer;
  transition: all 0.3s;

  .SearchAdvanced__mode-toggle-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    @include theme() {
      background: get(text-color-link);
      color: get(text-color-button);
    }
    border-radius: 50%;
  }

  .SearchAdvanced__mode-toggle-desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    @include theme() {
      color: get(text-color-primary);
    }
    gap: 5px;
    font-size: 12px;
    h5 {
      font-size: 14px;
    }
  }

  &:hover {
    @include theme() {
      background: get(list-color-hover);
    }
  }
}


.SearchAdvanced__date-picker-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  z-index: 1000;
}
