html,
body,
#root {
  margin: 0;
  height: 100%;
  width: 100%;
}

.ant-spin-fullscreen {
  z-index: 9999;
}

.ant-form-item-label {
  font-weight: bold;
}

.hide-scrollbar {
  &::-webkit-scrollbar {
    display: none !important;
  }
}

.scrollbar {
  &::-webkit-scrollbar {
    height: 6px;
    width: 6px;
    background-color: transparent;
  }

  &::-webkit-scrollbar-button {
    display: none;
  }

  &::-webkit-scrollbar-thumb {
    background-color: var(--ant-color-text-secondary);
    border-radius: 3px;

    &:hover {
      background-color: var(--ant-color-text-tertiary);
    }
  }

  &::-webkit-scrollbar-track {
    background-color: transparent;
  }
}

.title-with-line {
  font-size: var(--ant-font-size-heading-4);
  font-weight: bold;
  margin: 0;
  margin-bottom: 24px;
  line-height: 1.4em;

  &::before {
    content: "";
    margin-right: 0.4em;
    display: inline-block;
    width: 0.2em;
    height: 1.4em;
    background-color: var(--ant-color-primary);
    vertical-align: text-top;
  }
}

.title-with-line-sub {
  font-size: var(--ant-font-size-heading-5);
  font-weight: bold;
  margin: 24px 0;

  &::before {
    content: "";
    margin-right: 0.4em;
    display: inline-block;
    width: 0.2em;
    height: 1.4em;
    background-color: var(--ant-color-primary);
    vertical-align: text-top;
  }
}

.page-container-parent {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.page-container {
  height: 0;
  overflow-y: auto;
  flex-grow: 1;
  padding: 16px 32px;
  @extend .scrollbar;
}