@import '../../../../../style/variables';

$co-homedecorator-input-slider-background: rgba(218, 152, 3, 0.3);

.setting-part-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;

  .form-field {
    position: relative;
    display: flex;
    flex-direction: column;

    .form-field-label {
      font-size: 10px;
      color: $hd-color-font;
      margin-bottom: 5px;
    }

    .form-field-input {
      border: none;
      border-bottom: 1px solid rgba(0, 0, 0, 0.42);
      background: transparent;
      font-size: 16px;
      padding: 4px 0;
      outline: none;
      width: 100%;
      box-sizing: border-box;
      transition: border-color 0.2s ease;

      &:focus {
        border-bottom: 2px solid $hd-color-main;
        margin-bottom: -1px;
      }

      &::-webkit-outer-spin-button,
      &::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
      }

      &[type='number'] {
        -moz-appearance: textfield;
      }
    }
  }

  .third-width {
    width: 32%
  }

  .setting-part-buttons {
    .amount-button {
      float: none;
      box-sizing: border-box;
      padding: 2px;
      background: none;
      cursor: pointer;
      border: none;
      width: 25px;
      height: 25px;
      margin: 0 5px;

      co-icon {
        display: block;
        width: 25px;
        height: 25px;

        svg {
          fill: $hd-color-font;
        }
      }
    }
  }

  .setting-part-slider {
    .value-slider {
      width: 100%;
      appearance: none;
      height: 2px;
      background: $co-homedecorator-input-slider-background;
      outline: none;
      cursor: pointer;

      &::-webkit-slider-thumb {
        appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: $hd-color-main;
        cursor: pointer;
      }

      &::-moz-range-thumb {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: $hd-color-main;
        border: none;
        cursor: pointer;
      }

      &::-moz-range-track {
        height: 2px;
        background: $co-homedecorator-input-slider-background;
      }
    }
  }
}






