.wizard-panel {
  display: flex;
  background-color: $color-white;

  @media (max-width: $wizard-responsive-breakpoint) {
    flex-direction: column;
    position: relative;
  }
  
  @include box-shadow($default-box-shadow);

  .wizard-steps {
    padding: 32px 64px;
    display: flex;
    border-right: $wizard-border;
    flex-direction: column;
        
    @media (max-width: $wizard-responsive-breakpoint) {
      flex-direction: row; 
      overflow-x: auto;
      padding-top: 16px;
      padding-bottom: 64px;
      border-bottom: $wizard-border;
      border-right: 0;
      justify-content: center;
    }    

    .wizard-step {
      
      font-size: $wizard-step-font-size;
      margin-top: 16px;
      display: flex;

      &:first-child {
        margin-top: 0;
      }

      @media (max-width: $wizard-responsive-breakpoint) {
        margin: 0 8px;
      }

      .wizard-step-content {

        background-color: $wizard-step-background;
        border-radius: 50%;
        color: $wizard-step-content-font-color;
        font-size: $wizard-step-font-size;
        text-align: center;
        height: 40px;
        padding-top: 8px;
        width: 40px;

        .embla-icon {
          fill: $wizard-step-content-font-color;
        }
      }

      .wizard-step-text {
        color: $wizard-step-text-color;
        display: flex;
        align-items: center;
        margin-left: 16px;
        font-size: $wizard-step-text-font-size;
        white-space: nowrap;
        font-weight: 500;
        
        @media (max-width: $wizard-responsive-breakpoint) {
          display: none;
        }
      }

      &.active-step {

        .wizard-step-content {
          color: $wizard-active-step-text-color;
          background-color: $wizard-active-step-background;

          .embla-icon {
            fill: $wizard-active-step-text-color;
          }
        }

        .wizard-step-text  {
          
          @media (max-width: $wizard-responsive-breakpoint) {
            position: absolute;
            top: 76px;
            left: 50%;
            transform: translateX(-50%);
            display: block;
            margin-left: 0;
          }
          
          color: $wizard-active-step-background;
        }
      }

      &.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;
          }
        }
      }
    }
  }

  .wizard-content {
    flex-wrap: wrap;
    padding: 32px;
    flex-grow: 1;

    .wizard-content-header {
      margin-bottom: 16px;
    }

    .wizard-actions {
      margin-top: 64px;
      border-top: 1px solid $color-gray-85;
      padding-top: 24px;

      display: flex;

      @media (max-width: $wizard-responsive-breakpoint) {
        margin-top: 32px;
      }

      .wizard-actions-right {
        margin-left: auto;
      }
    }
  }
}

