@import '../components/common.less';
.receipt {
  padding: 12px 12px 62px 12px;
  color: @black;
  &-top {
    border-radius: 8px;
    background-color: @white;
    margin-bottom: 12px;
  }

  

  .detail-invoice {
    position: absolute;
    top: 20px;
    right: 8px;
    &__image {
      width: 100px;
      height: 68px;
      text-align: center;
      position: relative;
      border-radius: 0 0 8px 8px;
      overflow: hidden;
    }
    &__count {
      color: @white;
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.5);
    }
    &__msg {
      .text-size(11);
      color: @gray-4;
      text-align: center;
      padding-top: 4px;
    }
  }

  &-histroy {
    padding: 9px 8px;
    // height: 36px;
    border-radius: 8px;
    // line-height: 36px;
  }

  .order {
    margin-top: 12px;
    background-color: @white;
    border-radius: 8px;
    padding-top: 8px;
    &-params {
      padding: 8px;
      position: relative;
      .border-bottom(inherit, 0);
      &-li {
        .text-size(12);
        padding-bottom: 4px;
        .li__value {
          padding-left: 10px;
        }
      }
      &-copy {
        font-size: 11px;
        color: @gray-5;
        padding: 3px 8px;
        background: @gray-1;
        border-radius: 16px;
        position: absolute;
        right: 8px;
        bottom: 14px;
      }
    }
  }

  &-history {
    @{deep} .cr-dialog--header {
      padding: 24px 0 12px 0;
    }
    @{deep} .cr-dialog--message {
      text-align: left;
      padding: 0 24px 12px 28px;
      box-sizing: border-box;
    }
    &-content {
      .text-size(14);
    }
    &-li {
      padding-bottom: 12px;
      display: flex;
      .li__value {
        flex: 1;
        color: @gray-5;
        padding-left: 18px;
        box-sizing: border-box;
      }
    }
  }

  .li__label {
    color: @gray-4;
  }
  &-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    background-color: @white;
    border-top: 1px solid #EDEDED;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
      // height: 52px;
    // .iphonex-fix-padding();
      

    @{deep} .cr-button {
      margin-left: 8px;
    }
    @{deep} .cr-button--default {
      color: #666666;
      &::before {
        border-color: #999999;
      }
    }
  }

}