/* RentGuarantor CSS: dropdown.css (source: src/assets/scss/_dropdown.scss) */
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  width: 18.375rem;
}

.custom-select-field {
  width: 100%;
  height: 2.75rem;
  background-color: var(--color-light-blue-200);
  color: var(--color-core-navy);
  font-family: var(--font-family-bodycopy);
  font-size: var(--font-size-xxs);
  line-height: var(--line-height-xxs);
  padding: 0 3.75rem 0 1rem;
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  transition: background-color 0.2s ease;
}

.custom-select-field:hover {
  background-color: var(--color-light-blue-100);
}

.custom-select-field:focus {
  outline: 2px solid var(--color-core-navy);
  outline-offset: 2px;
}

.custom-select-icon {
  position: absolute;
  right: 0;
  top: 0;
  background-color: var(--color-core-navy);
  border-radius: 0 0.625rem 0.625rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.custom-select-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  transition: transform 0.3s ease;
}

.custom-select-field:focus + .custom-select-icon svg {
  transform: rotate(180deg);
}