.custom-position {
  right: 0.9375rem;
  top: -2.625rem;
  @media (max-width: 576px) {
    position: static !important;
    justify-content: flex-end;
    padding: 0 0 0.5rem;
  }
}

.section-header {
  color: var(--primary-color);
}

.scroller {
  max-height: calc(100dvh - 11.25rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;

  @media (max-width: 576px) {
    max-height: 50dvh;
    overflow-y: auto;
  }

  > div {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }
}

.list-scroll {
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
}

.pill {
  font-size: .8rem;
  background-color: var(--card-bg-color);
  border-radius: 0.375rem;
  color: var(--badge-text-color);
}

.update-available {
  color: var(--primary-color);
}

.filter-row {
  @media (max-width: 576px) {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
}

.detail-panel {
  @media (max-width: 767px) {
    &.is-hidden-mobile {
      display: none;
    }
  }
}

.detail-cover {
  width: 80px;
  min-width: 80px;
  height: 120px;

  ::ng-deep img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
  }
}

.btn-group .btn {
  font-size: 0.8rem;
}

.btn-group > .btn.dropdown-toggle-split {
  border-top-right-radius: var(--bs-border-radius) !important;
  border-bottom-right-radius: var(--bs-border-radius) !important;
  border-width: 1px 1px 1px 0 !important;
}
