.pricing-table {
  border: 1px solid $color-border;
  background-color: $color-border;
  border-radius: 4px;

  .pricing-title {
    display: grid;
    grid-template-columns: 50px auto 50px;
    align-content: center;
    background-color: $color-border;

    button {
      border: none;
      background-color: transparent;
      cursor: pointer;
    }

    .back-button {
      background-color: $white-100;
    }

    h4 {
      font-size: 16px;
      line-height: 1;
      padding: 15px;
      font-weight: 400;
      color: $color-text;
    }
  }

  .pricing-body-wrapper {
    display: flex;

    .single-pricing-table {
      border: 1px solid $color-border;
      border-radius: 4px;
      margin-right: 10px;
      position: relative;
      z-index: 1;

      &::after {
        border-radius: 4px 4px 0 0;
      }

      &:last-child {
        margin-right: 0;
      }

      &.plan-title {
        ul {
          li {
            text-align: left;
          }
        }
      }

      &.is-warning {
        background-color: #f9f4ec;

        &:after {
          @include absulate-shape($warning, 100%, 4px);
        }
      }

      &.is-primary {
        background-color: #f4f3f7;

        &:after {
          @include absulate-shape($primary, 100%, 4px);
        }
      }

      &.is-green {
        background-color: #f2f7f4;

        &:after {
          @include absulate-shape($success, 100%, 4px);
        }
      }

      &.is-danger {
        background-color: #f8f3f5;

        &:after {
          @include absulate-shape($danger, 100%, 4px);
        }
      }

      .pricing-header {
        padding: 20px 10px 10px;
        height: 175px;
        position: relative;
        z-index: 1;

        h5 {
          font-size: 14px;
          margin-bottom: 10px;
          font-weight: 500;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          line-clamp: 1;
          -webkit-line-clamp: 1;
          box-orient: vertical;
          -webkit-box-orient: vertical;
        }

        .pricing {
          font-size: 16px;
          color: $color-text;
          font-weight: 500;
          line-height: 24px;

          span {
            font-size: 12px;
            font-weight: 400;
          }
        }

        p {
          font-size: 12px;
          color: #707070;
          margin-bottom: 20px;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          line-clamp: 2;
          -webkit-line-clamp: 2;
          box-orient: vertical;
          -webkit-box-orient: vertical;
        }

        .ac-button {
          position: absolute;
          bottom: 10px;
          left: 15px;
          width: calc(100% - 30px);
        }
      }

      ul {
        li {
          text-align: center;
          color: $color-text;
          display: block;
          border-top: 1px solid $color-border;
          padding: 10px;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          line-clamp: 1;
          line-height: 33px;
          -webkit-line-clamp: 1;
          box-orient: vertical;
          -webkit-box-orient: vertical;
        }
      }
    }
  }
}
