fieldset {
  background-color: transparent;
  border: 0;
  margin: 0;
  padding: 0;
}

label {
  color: $callback-medium-gray;
  display: block;
  margin-bottom: $base-font-size / 4;
}

input,
select {
  display: block;
  font-family: $base-font-family;
  font-size: $base-font-size;
}

input[type='text'],
select[multiple] {
  background-color: $base-background-color;
  border: $base-border;
  border-radius: $base-border-radius;
  box-sizing: border-box;
  font-family: $base-font-family;
  font-size: $base-font-size;
  margin-bottom: $small-spacing;
  padding: $base-spacing / 3;
  width: 100%;

  &:hover {
    border-color: shade($base-border-color, 20%);
  }

  &:focus {
    border-color: $action-color;
    outline: none;
  }

  &:disabled {
    color: $callback-medium-gray;
    background-color: shade($base-background-color, 5%);
    cursor: not-allowed;

    &:hover {
      border: $base-border;
    }
  }
}

input[type='submit'] {
  @extend %button;
}

fieldset {
  background-color: transparent;
  border: 0;
  margin: 0;
  padding: 0;
}

label {
  color: $callback-medium-gray;
  display: block;
  margin-bottom: $base-font-size / 4;
}

input,
select {
  display: block;
  font-family: $base-font-family;
  font-size: $base-font-size;
}

input[type='text'],
input[type='number'],
select[multiple] {
  background-color: $base-background-color;
  border: $base-border;
  border-radius: $base-border-radius;
  box-sizing: border-box;
  font-family: $base-font-family;
  font-size: $base-font-size;
  margin-bottom: $small-spacing;
  padding: $base-spacing / 3;
  width: 100%;

  &:hover {
    border-color: shade($base-border-color, 20%);
  }

  &:focus {
    border-color: $action-color;
    outline: none;
  }

  &:disabled {
    color: $callback-medium-gray;
    background-color: shade($base-background-color, 5%);
    cursor: not-allowed;

    &:hover {
      border: $base-border;
    }
  }
}

input[type='date'] {
  border: 0 none;
  margin: 0;
  padding: 0;

  &::-webkit-datetime-edit-text,
  &::-webkit-datetime-edit-month-field,
  &::-webkit-datetime-edit-day-field,
  &::-webkit-datetime-edit-year-field {
    -webkit-appearance: none;
  }
}

input[type='submit'] {
  @extend %button;
}

Apply formatting to date and number inputs
Apply formatting to date and number inputs