.slider-bar {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  height: 100%;
  background-color: #ffffff;
  box-shadow: -3px 0 6px 0 rgba(0, 0, 0, 0.16);
  overflow: hidden;
  animation: slide-from-right 0.3s;
  z-index: 110;

  .header {
    padding: 14px 24px;
    border-bottom: 1px solid #C0C0C0;

    .title {
      display: flex;
      flex-direction: row;
      align-items: center;

      h2 {
        margin: 0;
        font-family: PT Sans Narrow;
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: 44px; /* 122.222% */
        letter-spacing: 0.36px;
        color: var(--dark-1);
      }

      .close {
        width: 24px;
        height: 24px;
        margin-left: auto;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent url(/assets/images/icons/close_24dp.svg) 50% 50% no-repeat;
      }
    }

    .stepper {
      padding: 24px 0 0;
      .items {
        display: flex;
        flex-direction: row;
        gap: 24px;
        .item {
          width: 150px;
          flex-shrink: 1;
          font-size: 14px;
          overflow: hidden;
          .num {
            position: relative;
            width: calc(100% - 13px);
            height: 24px;
            padding: 4px 6px;
            margin: 0 0 4px;
            border-radius: 2px 0 0 2px;
            background-color: #E8E9EB;
            color: #86898E;
            font-weight: bold;
            &:after {
              position: absolute;
              left: 100%;
              top: 0;
              width: 13px;
              height: 100%;
              background: transparent url('~src/assets/images/icons/step_upcoming.svg') 100% 50% no-repeat;
              content: '';
            }
          }
          .name {
            font-size: 14px;
            color: #6c6c6c;
          }
          &.active {
            .num {
              background-color: #B88E12;
              color: #ffffff;
              &:after {
                background-image: url('~src/assets/images/icons/step_active.svg');
              }
            }
            .name {
              color: #B88E12;
              font-weight: bold;
            }
          }
          &.finished {
            .num {
              background-color: rgba(184, 142, 18, 0.2);
              color: #B88E12;
              &:after {
                background-image: url('~src/assets/images/icons/step_finished.svg');
              }
            }
            .name {
              color: #B88E12;
            }
          }
        }
      }
    }
  }

  .body {
    height: 100%;
    padding: 32px 24px;
    flex-grow: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid #C0C0C0;

    .left {
      .reset {
        color: #6C6C6C;
        cursor: pointer;
      }

      .notice {
        font-family: PT Sans;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 150% */
      }
    }

    .right {
      margin-left: auto;
      display: flex;
      button {
        margin-left: 24px;
      }
    }
  }
}

.slider-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.37);
  z-index: 100;
}


@media screen and (max-width: 767px) {
  .slider-bar {
    .header, .body, .footer {
      padding: 16px;
    }

    .footer {
      .left {
        font-size: 14px;
      }
      .right {
        button {
          padding: 8px 16px;
          margin-left: 16px;
        }
      }
    }
  }
}
