@charset "UTF-8";

[v-cloak] {
  display: none;
}

body[class^="page-account-"] {
  background-color: #F7F8FA;
}

@font-face {font-family: 'Jost';
  src: url('/fonts/Jost/Jost400Book.otf');
}

@for $i from 1 through 6 {
  .min-h#{$i} {
    min-height: #{$i}00px;
  }
}

// 生成 100 200 300 ... 1000 的宽度
@for $i from 1 through 10 {
  .wp-#{$i}00 {
    width: #{$i}00px;
  }
}
// clac(100% - #{$i}00px)
@for $i from 1 through 10 {
  .wp-#{$i}00- {
    width: calc(100% - #{$i}00px);
  }
}

// 生成 100 200 300 ... 1000 的最小高度
@for $i from 1 through 10 {
  .h-min-#{$i}00 {
    min-height: #{$i}00px;
  }
}

// 生成 100 200 300 ... 1000 的高度
@for $i from 1 through 10 {
  .hp-#{$i}00 {
    height: #{$i}00px;
  }
}

// 生成 10 20 30 ... 90 的高宽
@for $i from 1 through 10 {
  .wh-#{$i}0 {
    height: #{$i}0px;
    width: #{$i}0px;
  }
}

.module-title {
  font-size: 1.5rem;
  text-align: center;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 2rem;

  &:after {
    position: absolute;
    bottom: 0;
    transform:translateX(-50%);
    left: 50%;
    content: '';
    width: 60px;
    height: 1px;
    background: #FD560F;
  }
}

.steps-wrap {
  display: flex;
  justify-content: space-around;
  position: relative;

  &:before {
    content: '';
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    border-bottom: 3px solid #D7D7D7;
  }

  > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    &.active {
      .number {
        background-color: #3C3D41;
        border-color: #3C3D41;
        color: #eee;
      }

      .title {
        color: #111;
      }
    }

    .number-wrap {
      background-color: #fff;
      padding: 0 4px;
      margin-bottom: .5rem;
    }

    .number {
      border: 2px solid #ddd;
      width: 30px;
      height: 30px;
      background-color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center; // flex-start | center
      justify-content: center; // flex-end | center | space-between
    }

    .title {
      color: #848484;
    }
  }
}

.quantity-wrap {
  width: 80px;
  height: 37px;
  display: flex;
  align-content: space-between;
  border: 1px solid #ced4da;
  input {
    border: none;
    padding: 0.5rem;
  }

  > .right {
    display: flex;
    flex-direction: column;
    // align-items: center;
    border-left: 1px solid #ced4da;

    i {
      flex: 1;
      width: 20px;
      height: 17px;
      text-align: center;
      cursor: pointer;
      background-color: #fff;
      &:last-of-type {
        border-top: 1px solid #ced4da;
      }

      &:hover {
        background-color: #eee;
      }
    }
  }
}

.fixed-top-line-fixed {
  position: fixed;
  top: 0;
}

.account-sides-info {
  .head {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    background-color: #fff;

    .portrait {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.14);
      border: 2px solid #FFFFFF;
      overflow: hidden;
      margin-bottom: 1rem;
    }

    .account-name {
      font-weight: bold;
      font-size: 1rem;
      margin-bottom: 0.4rem;
    }

    .account-email {
      color: #666666;
    }
  }

  .account-links {
    > a {
      color: #4B566B;
      border: none;
      padding: 0.8rem 1rem;
      border-bottom: 1px solid #EEEEEE;
      transition: all .2s ease-in-out;
      text-decoration: none !important;

      &:hover {
        background-color: #E9ECEF;
      }

      &.active {
        background-color: #E9ECEF;
        color: #4B566B;
      }

      .badge {
        color: #fff;
      }
    }
  }
}
