.fcr-input-number {
  background: var(--fcr_ui_scene_input);
  border-color: var(--fcr_ui_scene_line1);
  position: relative;
  transition: all 0.2s ease-in-out;
  border-width: 1px;
  border-style: solid;
  cursor: text;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-left: 12px;
  overflow: hidden;
}

.fcr-input-number.fcr-input-number-l {
  border-radius: var(--fcr_cornerradius_l);
  height: 48px;
}
.fcr-input-number.fcr-input-number-m {
  border-radius: var(--fcr_cornerradius_m);
  height: 36px;
}
.fcr-input-number.fcr-input-number-s {
  border-radius: var(--fcr_cornerradius_s);
  height: 24px;
  padding-left: 6px;
}

.fcr-input-number input {
  color: var(--fcr_ui_scene_icontext1);
  outline: none;
  width: 100%;
  height: 100%;
  border: none;
  font-size: 12px;
  background: transparent;
}

.fcr-input input::placeholder {
  color: var(--fcr_ui_scene_icontext3);
}

.fcr-input-number:hover:not(.fcr-input-number--disabled) {
  border-color: var(--fcr_ui_scene_ramp_brand6);
}

.fcr-input-number.fcr-input-number--focused:not(.fcr-input-number--disabled) {
  border-color: var(--fcr_ui_scene_ramp_brand6);
  box-shadow: 0 0 0 3px var(--fcr_ui_scene_ramp_brand4);
}

.fcr-input-number.fcr-input-number--disabled {
  cursor: not-allowed;
  opacity: 50%;
}

.fcr-input-number.fcr-input-number--disabled input {
  color: var(--fcr_ui_scene_icontext2);
  cursor: not-allowed;
}

.fcr-input-number.fcr-input-number--disabled input::placeholder {
  color: var(--fcr_ui_scene_icontext3);
}

.fcr-input-number__button-group {
  border-color: var(--fcr_ui_scene_line1);
  border-left-width: 1px;
  border-left-style: solid;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}
.fcr-input-number__divider {
  border-color: var(--fcr_ui_scene_line1);
  border-top-width: 1px;
  border-top-style: solid;
}

.fcr-input-number__button {
  padding: 0 13px;
  cursor: pointer;
  height: 50%;
  transition: all 0.3s;
  flex-shrink: 1;
  display: flex;
  align-items: center;
  user-select: none;
  color: var(--fcr_ui_scene_icontext1);
}

.fcr-input-number__button:hover {
  color: var(--fcr_ui_scene_ramp_brand6);
  height: 61%;
}

.fcr-input-number__button--disabled {
  cursor: not-allowed;
}

.fcr-input-number:hover:not(.fcr-input-number--disabled) .fcr-input-number__button-group {
  opacity: 1;
}

.fcr-input-number.fcr-input-number-s .fcr-input-number__divider,
.fcr-input-number.fcr-input-number-s .fcr-input-number__button-group {
  border: none;
}
.fcr-input-number.fcr-input-number-s .fcr-input-number__button {
  padding: 0 4px;
}
