@import '~@angular/material/theming';
@import "../../../../../scss/variables";
@import "../../../../../scss/mixins";
@import "../../../../../scss/palettes";
@import "../../../../../../public/css/mixins";
@import "../../../../../../public/css/variables";
@import "~material-components-web/material-components-web";

:host {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.ng-input-number {
  position: relative;
  max-height: 100%;
  max-width: 225px;
  width: 100%;
  height: 50px;
  margin: 1px;
  border: 1px solid transparent;
  background: #ffffff none;
  @include ng-theming {
    border-bottom-color: theme-get('color-filter-spacer');
  }

  @include ng-theming {
    background-color: theme-get('color-surface');
  }

  &__model {
    width: calc(100% - 25px);
    height: 50px;
    margin: 0;
    padding: 5px 10px;
    outline: 0;
    border: 0;
    box-sizing: border-box;
    background: transparent none;
    @include knk-font-default;
    font-size: 27px;
    letter-spacing: 1px;
    @include ng-theming {
      color: theme-get('color-ongoing-label');
    }

    &--disabled {
      color: transparentize(#323c47, 0.5)
    }
  }

  &__controls {
    float: right;
    width: 25px;
    height: 50px;
  }

  &__control {
    position: relative;
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    cursor: pointer;
    background: transparent none;
    @include knk-font-default;
    font-size: 10px;
    font-weight: bold;
    line-height: 25px;
    color: #808fa3;
    text-align: center;
    vertical-align: bottom;

    &:hover {
      background: transparentize(#808fa3, 0.85) none;
    }

    &:last-child:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      border-top: solid 1px #e9eff4;
    }
  }
}
