@import '../../assets/styles/variable.scss';

.common-filter-section {
  background: $white;
  border-radius: 10px;
  min-height: 100vh;
  margin-bottom: 20px;
}
.filter-layout {
  padding: 24px;
  border-bottom: 1px solid rgba(34, 34, 34, 0.1);
  h3 {
    margin-bottom: 15px;
    font-weight: $font-weight-500;
    font-size: $font-size-14;
    line-height: 20px;
    letter-spacing: 0.2px;
    color: $black_variation-2;
  }
  h2 {
    margin-bottom: 15px;
    font-weight: $font-weight-600;
    font-size: $font-size-14;
    line-height: $line-height-18;
    color: $black_variation-2;
  }
  .search-filter {
    margin-bottom: 0px;
  }
  .form-check-input:checked {
    background-color: $green;
    border-color: $green;
  }
  .filter-size {
    max-height: 175px;
    overflow: auto;
    .name-tooltip {
      max-width: 139px;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      white-space: initial;
    }

    // Chrome,Edge & Opera
    &::-webkit-scrollbar {
      width: 3px;
      height: 3px;
      &-track {
        // background-color: rgba(245, 245, 245, 1) !important;
        background-color: $white !important;
      }

      &-thumb {
        background-color: rgba(189, 189, 189, 1) !important;
      }
      &-track,
      &-thumb {
        border-radius: 3px;
      }
    }
    // FireFox
    scrollbar-width: thin !important;
    scrollbar-color: rgba(189, 189, 189, 1) $white !important;
  }
}
