.wizard-panel {

  @include box-shadow($container-box-shadow);
  background-color: $color-white;
  border: $default-border;
  display: flex;

  .wizard-steps {
    border-right: $wizard-border;
    display: flex;
    flex-direction: column;
    padding: 32px 64px;

    .wizard-step {
      display: flex;

      font-size: $wizard-step-font-size;
      margin-top: 16px;

      &:first-child {
        margin-top: 0;
      }

      .wizard-step-content {

        background-color: $wizard-step-background;
        border-radius: 50%;
        color: $wizard-step-content-font-color;
        font-size: $wizard-step-font-size;
        height: 40px;
        padding-top: 8px;
        text-align: center;
        width: 40px;

        .embla-icon {
          fill: $wizard-step-content-font-color;
        }
      }

      .wizard-step-text {
        align-items: center;
        color: $wizard-step-text-color;
        display: flex;
        font-size: $wizard-step-text-font-size;
        font-weight: $font-weight-bold;
        margin-left: 16px;
        white-space: nowrap;

        @media (max-width: $wizard-responsive-breakpoint) {
          display: none;
        }
      }

      &.active-step {
        .wizard-step-content {
          background-color: $wizard-active-step-background;
          color: $wizard-active-step-text-color;

          .embla-icon {
            fill: $wizard-active-step-text-color;
          }
        }

        .wizard-step-text {

          color: $wizard-active-step-background;

          @media (max-width: $wizard-responsive-breakpoint) {
            display: block;
            left: 50%;
            margin-left: 0;
            position: absolute;
            top: 76px;
            transform: translateX(-50%);
          }
        }
      }

      &.done-step {
        .wizard-step-content {
          background-color: $wizard-done-step-background;
          color: $wizard-done-step-text-color;

          .embla-icon {
            fill: $wizard-done-step-text-color;
          }
        }
      }

      @media (max-width: $wizard-responsive-breakpoint) {
        margin: 0 8px;
      }
    }

    @media (max-width: $wizard-responsive-breakpoint) {
      border-bottom: $wizard-border;
      border-right: 0;
      flex-direction: row;
      justify-content: center;
      overflow-x: auto;
      padding-bottom: 64px;
      padding-top: 16px;
    }
  }

  .wizard-content {
    flex-grow: 1;
    flex-wrap: wrap;
    padding: 32px;

    .wizard-content-header {
      margin-bottom: 16px;
    }

    .wizard-actions {
      border-top: 1px solid $color-gray-85;

      display: flex;
      margin-top: 64px;
      padding-top: 24px;

      .wizard-actions-right {
        margin-left: auto;
      }

      @media (max-width: $wizard-responsive-breakpoint) {
        margin-top: 32px;
      }
    }
  }

  @media (max-width: $wizard-responsive-breakpoint) {
    flex-direction: column;
    position: relative;
  }
}

