.badge-dropdown,
.badge-dropdown .btn,
.fixed-picks {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  line-height: 1.2;
  min-width: auto;
}

.badge-dropdown,
.fixed-picks {
  width: 130px;
  white-space: nowrap;
  position: relative;
}

.badge-dropdown {
  overflow-x: auto;
  padding-right: 0.5rem;
  border: 2px solid transparent;
}

.badge-dropdown:has(~ * .shiny-validation-message),
.badge-dropdown:has(~ * .shiny-output-error),
.badge-wrapper.has-validation-error .badge-dropdown {
  border: 2px solid var(--bs-danger);
}

.badge-dropdown-label,
.fixed-picks label {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  text-align: left;
}

.badge-dropdown-label {
  max-width: calc(100% - 0.5rem);
}

.badge-dropdown-label::-webkit-scrollbar,
.fixed-picks label::-webkit-scrollbar {
  display: none;
}

.badge-dropdown-icon {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  background: inherit;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.badge-dropdown:hover .badge-dropdown-icon {
  opacity: 1;
}


.badge-dropdown .btn::after {
  margin-left: 0.25rem;
  vertical-align: 0.1em;
}

.fixed-picks {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  overflow-x: hidden;
  background-color: var(--bs-secondary-bg);
  color: var(--bs-black);
  cursor: default;
}

.fixed-picks label {
  flex: 1;
  font-weight: bold;
}

.fixed-picks i {
  flex-shrink: 0;
}

.zero-width-inputs .form-group.shiny-input-container {
  width: 0;
  padding: 0;
  border: none;
}
