.qms-stepper-container {
  ::ng-deep .mat-step-header[aria-labelledby="step-item"] {
    height: 22px !important;
    padding: 8px 12px 8px 12px;
    left: 0px;
    top: 0px;
    border-radius: 4px;
    color: #FFFFFF;

    &.mat-horizontal-stepper-header {
      min-width: fit-content;
    }

    &.mat-vertical-stepper-header {
      width: 156px;
    }
  }

  //default
  ::ng-deep .mat-step-header .mat-step-icon {
    background: rgba(0, 0, 0, 0.6);
    margin-right: 14px;
  }

  //selected
  ::ng-deep .mat-step-header .mat-step-icon-selected {
    background-color: rgba(25, 84, 169, 1) !important;
    color: #FFFFFF;
  }

  ::ng-deep .mat-step-header[aria-selected="true"] {
    .title-step {
      font-weight: 600 !important;
      outline: none !important;
      -webkit-font-smoothing: antialiased !important;
    }
  }

  //pressed
  ::ng-deep mat-step-header:active {
    background: rgba(229, 238, 251, 1);

    mat-step-label {
      color: rgba(255, 255, 255, 1);
    }

    mat-step-icon {
      color: rgba(50, 50, 50, 1);
      background: rgba(0, 0, 0, 0.6);
    }
  }

  ::ng-deep mat-step-header {
    .mat-ripple-element {
      background-color: rgba(229, 238, 251, 0.3);
    }
  }


  //hover
  ::ng-deep mat-step-header:hover {
    background: rgba(242, 247, 253, 1);

    mat-step-label {
      color: rgba(255, 255, 255, 1);
    }

    mat-step-icon {
      color: rgba(50, 50, 50, 1);
      background: rgba(0, 0, 0, 0.6);
    }
  }

  //disabled
  ::ng-deep .mat-step-header[aria-labelledby="disabled"] {
    pointer-events: none !important;
    cursor: not-allowed;
    opacity: 0.6;
    height: 22px !important;
    width: 156px;
    left: 0px;
    top: 0px;
    border-radius: 4px;
    padding: 8px 12px 8px 12px;
  }


  //focus
  ::ng-deep mat-step-header:focus {
    border: 2px solid rgba(25, 84, 169, 1);

    mat-step-label {
      color: rgba(255, 255, 255, 1);
    }

    mat-step-icon {
      color: rgba(50, 50, 50, 1);
      background: rgba(0, 0, 0, 0.6);
    }
  }

  ::ng-deep mat-step-header {
    &.mat-step-header.cdk-keyboard-focused,
    &.mat-step-header.cdk-program-focused {
      border: 3px solid rgba(25, 84, 169, 1);
      background: white;
    }
  }

  ::ng-deep mat-step-header:focus {
    &:not(:focus-visible) {
      border: none;
    }
  }



  //enabled
  ::ng-deep .mat-step-header[aria-labelledby="active"] {
    pointer-events: none !important;
    cursor: not-allowed;
    opacity: 0.6;
  }

  .title-step {
    font-family: Open Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    // line-height: 22px;
    letter-spacing: 0px;
    text-align: center;
    color: #323232;
    outline: none !important;
  }

  ::ng-deep .mat-step-icon {
    width: 24px;
    height: 24px;

    .mat-step-icon-content {
      font-family: Open Sans;
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      // line-height: 22px;
      letter-spacing: 0px;
      text-align: center;
      color: #FFFFFF;
      padding-top: 1px;
    }
  }

  ::ng-deep .mat-stepper-vertical-line::before {
    border-left-width: 0;
    border-right-width: 0;
  }

  ::ng-deep .mat-stepper-vertical-line {
    margin-left: 23px;
    background: #0000001F;
    height: 30px;
    width: 1px;
  }

  ::ng-deep .mat-stepper-horizontal-line {
    height: 1px;
    width: 22px !important;
    left: 0;
    top: 18px;
    border-radius: 0;
    margin: 8px;
    background: #0000001f;
    max-width: 22px !important;
  }

}
