
.currencyField {
  display: flex;
}

.currencyField .formControl {
  text-align: right;
  flex: 1;
  min-width: 0;
}

.currencyField .formUnit {
  color: #333;
  background-color: #fff;
  padding: 0 0.9375rem;
  margin: 0;
  vertical-align: middle;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: normal;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.25rem;
  border-color: #8e9092;
  display: inherit;
  align-items: center;
  flex: none;
}

.currencyFieldLeft .formControl {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-left: none;
}

.currencyFieldLeft .formUnit {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.currencyFieldRight {
  flex-direction: row-reverse;
}

.currencyFieldRight .formControl {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-right: none;
}

.currencyFieldRight .formUnit {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.currencyField.focus input {
  border-color: #006fcf;
}

.currencyField.focus .formUnit {
  border-color: #006fcf;
}

.currencyField.hasWarning input {
  border-color: #b42c01;
}

.currencyField.hasWarning .formUnit {
  border-color: #b42c01;
  color: #b42c01;
}

.hasWarning .currencyField input {
  border-color: #b42c01;
}

.hasWarning .currencyField .formUnit {
  border-color: #b42c01;
}