<commit_before>.wrapper {
  display: block;
  position: relative;
}

.wrapper:before {
  content: '';
  height: 5px;
  width: 98%;
  top: calc(100% - 5px);
  box-shadow: 0 2px 4px 0 var(--color-greyLightest);
  position: absolute;
  left: 1%;
  z-index: -1;
  pointer-events: none;
}

.select {
  -webkit-appearance: none;
  border: 1px solid var(--color-greyLighter);
  padding: var(--size-small);
  composes: fontRegular from '../../../globals/typography.css';
  letter-spacing: 0.2px;
  color: var(--color-greyDarker);
  background-color: var(--color-white);
  transition: border 300ms var(--animation-sharp), color 300ms var(--animation-sharp);
  width: 100%;
  box-sizing: border-box;
  vertical-align: top;
  border-radius: 2px;
}

.arrow {
  position: absolute;
  right: 1rem;
  color: var(--color-greyDark);
  transform: translateY(-35%) rotate(180deg);
  top: 50%;
  pointer-events: none;
}

.focus {
  border-color: var(--color-greyDarker);
  color: var(--color-greyDarker);
}

.error {
  border-color: var(--color-danger);
  color: var(--color-danger);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.post {
  position: relative;
  display: block;
  width: 100%;
}
<commit_msg>Update `<Select />` styles to match `<Input />` and prevent leakage<commit_after>.wrapper {
  display: block;
  position: relative;
}

.wrapper:before {
  content: '';
  height: 5px;
  width: 98%;
  top: calc(100% - 5px);
  box-shadow: 0 2px 4px 0 var(--color-greyLightest);
  position: absolute;
  left: 1%;
  z-index: -1;
  pointer-events: none;
}

select.select {
  -webkit-appearance: none;
  border: 1px solid var(--color-greyLighter);
  padding: var(--size-small);
  font-family: var(--font-avenir);
  font-size: var(--fontsize-regular);
  line-height: var(--lineheight-regular);
  font-weight: var(--fontweight-regular);
  letter-spacing: 0.2px;
  color: var(--color-greyDarker);
  background-color: var(--color-white);
  transition: border 300ms var(--animation-sharp), color 300ms var(--animation-sharp);
  width: 100%;
  box-sizing: border-box;
  vertical-align: top;
  border-radius: 2px;
  margin: 0;
  height: auto;
}

.arrow {
  position: absolute;
  right: 1rem;
  color: var(--color-greyDark);
  transform: translateY(-35%) rotate(180deg);
  top: 50%;
  pointer-events: none;
}

select:focus,
select.focus {
  border-color: var(--color-grey);
  background-color: var(--color-white);
  color: var(--color-greyDarker);
}

.error {
  border-color: var(--color-danger);
  color: var(--color-danger);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.post {
  position: relative;
  display: block;
  width: 100%;
}

{'fraction_non_alphanumeric': 0.17671439336850037, 'fraction_numerical': 0.029766390354182368, 'mean_word_length': 3.4923857868020303, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6518994', 'n_tokens_mistral': 1074, 'n_tokens_neox': 977, 'n_words': 213}