#admin .rider-list-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 10px 13px;
  border-bottom: 1px solid #e7ebf1;
  background: #fbfcfe;
}

#admin .rider-list-filters > :is(.rider-status-filters, .rider-sticker-filters) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#admin .rider-list-filters .rider-filter-label {
  min-width: 32px;
  color: #65758d;
  font-size: 11px;
  font-weight: 800;
}

#admin .rider-list-filters .rider-status-filter {
  white-space: nowrap;
}

#admin .rider-list-filters .rider-status-filter:focus-visible {
  outline: 3px solid rgba(55, 112, 210, .25);
  outline-offset: 2px;
}

#admin .rider-sticker-toggle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #d8e1ed;
  border-radius: 10px;
  background: #f8fafc;
  color: #526176;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

#admin .rider-sticker-toggle span {
  color: #7c899b;
  font-size: 10px;
  font-weight: 750;
}

#admin .rider-sticker-toggle strong {
  font-size: 11px;
  font-weight: 900;
}

#admin .rider-sticker-toggle.is-attached {
  border-color: #a7dcc2;
  background: #eefaf4;
  color: #187b51;
}

#admin .rider-sticker-toggle.is-unattached {
  border-color: #d8e1ed;
  background: #f8fafc;
  color: #5f6d80;
}

#admin .rider-sticker-toggle:hover {
  border-color: #79a7e8;
  box-shadow: 0 4px 12px rgba(31, 75, 137, .09);
}

#admin .rider-sticker-toggle:focus-visible {
  outline: 3px solid rgba(55, 112, 210, .18);
  outline-offset: 2px;
}

#admin .rider-sticker-toggle:disabled {
  cursor: wait;
  opacity: .58;
}

@media (max-width: 560px) {
  #admin .rider-list-filters {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    padding: 10px;
  }

  #admin .rider-sticker-toggle {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }
}

/* Keep status copy and the nearby save message from nudging the list. */
@media screen {
  #admin .rider-sticker-toggle strong { min-width: 4.5em; text-align: right; }
  #admin #riders-pane #rider-message { min-height: 24px !important; }
}

