.c-currency-input {
  color: map-get($dark-blue, 1);
  margin: 7px;

  width: 100%;
  font: {
    family: $ff-base;
    size: $fs-medium;
  }

  &--disabled &__buttons,
  &--disabled &__input-control {
    filter: grayscale(1);
  }

  &__label {
    font-size: $fs-small;
    margin-bottom: 8px;
    display: block;
    font-family: inherit !important;
  }

  &__input-container {
    display: flex;
    border: 1px solid map-get($grey, 20);
    background-color: rgba(map-get($blue, 5), 0.24);
    border-radius: 8px;
    padding: 8px 8px 8px 16px;
    position: relative;
  }

  &__validation {
    display: block;
    margin-top: 8px;
    font-size: $fs-tiny;
    color: map-get($red, 1);
    font-family: inherit !important;
  }

  &__warning {
    display: block;
    margin-top: 8px;
    font-size: $fs-tiny;
    color: map-get($orange, 1);
    font-family: inherit !important;
  }

  &__input-control-container {
    width: 100%;
    margin-right: 8px;
  }

  &__input-sub-labels {
    display: flex;
    justify-content: space-between;
    font-size: $fs-small;
    color: rgba(map-get($dark-blue, 1), $alpha: 0.3);
    margin-bottom: 4px;
  }

  &__buttons {
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    min-width: 61px;
  }

  &__input-currency {
    display: flex;
    align-items: center;
    min-width: fit-content;
  }

  &__input-control {
    display: flex;
    justify-content: space-between;
  }

  &__input-currency-logo {
    max-height: 24px;
    max-width: 24px;
    margin-right: 8px;
  }

  &__input {
    color: inherit;
    line-height: 32px;
    font-size: $fs-large;
    background-color: transparent;
    border: unset;
    text-align: right;
    width: 100%;

    &:focus,
    &:active {
      outline: unset;
    }
  }
}
