/*
 * Floating-label selects (checkout address block, sign-up fields): the theme sets
 * appearance:none on `.form-label-group select.form-control` (macOS Chrome fix), which also
 * removes the native arrow. Draw a chevron so a select still reads as a dropdown and matches the
 * text inputs next to it (same height, border, radius and focus come from the theme / UI 2).
 * Scoped to the checkout and sign-up fields; the checkout wrapper carries .crs-select-group
 * (works without :has()), the sign-up uses :has() and simply shows no chevron on old browsers.
 * Colours are tokens (crs-tokens.*.css); no hex.
 * Cloudflare ignores ?v=: bump blNNN in the filename and in header.shared-crservers.tpl when this changes.
 */
.crs-select-group::after,
.crs-signup-fields .form-label-group:has(> select.form-control)::after {
  content: "";
  position: absolute;
  /* Centre on the 44px control, not the wrapper: a Parsley error list below would move it. */
  top: 22px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--crs-text-muted, currentColor);
  border-bottom: 2px solid var(--crs-text-muted, currentColor);
  transform: translate(0, -70%) rotate(45deg);
  pointer-events: none;
}

.crs-select-group > select.form-control,
.crs-signup-fields .form-label-group > select.form-control {
  padding-right: 40px;
}
