@import '../../theme/regular';

.afterSalesDetail {
  @mixin padding {
    padding: 0 12px;
  }

  color: $fontColor;

  .afterSalesDetailTopTitle {
    height: 100px;
    //background: linear-gradient(360deg, #585858 0%, #2d2d2d 100%);
    box-shadow: 0 2px 20px 0 rgba(227, 227, 227, 0.5);
    display: flex;
    align-items: center;
    flex-direction: column;
    color: #fff;
    padding: 25px 16px 0;

    .left_text {
      font-size: 18px;
    }

    .right_time {
      margin-top: 10px;
      font-size: 12px;
    }
  }

  .afterSalesDetailContent {
    position: relative;
    @include padding;
    background: #f5f5f5;

    .refundDetail {
      position: relative;
      top: -30px;
      background: #fff;
      border-radius: 6px;
      padding-left: 12px;
      padding-right: 12px;
      text-align: left;

      .title {
        font-size: 14px;
        padding: 12px 0;
      }

      .goodsDetail {
        border-bottom: 1px solid #f5f5f5;
        margin-bottom: 10px;
      }

      .refund_Detail {
        display: flex;
        justify-content: space-between;
        padding-top: 6px;
        padding-bottom: 12px;

        .left {
          font-size: 14px;
        }

        .right {
          display: flex;
          font-size: 14px;

          .refundImg {
            width: 50px;
            height: 50px;
            margin-left: 10px;
          }
        }
      }

      .merchantMsg {
        .title {
          font-size: 14px;
        }

        .name {
          font-size: 14px;
          font-weight: 600;
          margin-top: 10px;
        }

        .address {
          font-size: 14px;
          margin-top: 10px;
        }
      }

      .writeMsg {
        padding-bottom: 12px;
        margin-top: 20px;

        .wlMsg {
          font-size: 14px;
          border-bottom: 1px solid #ccc;
          height: 30px;
          line-height: 30px;
        }

        .express_content {
          display: flex;
          justify-content: space-between;
          padding-top: 6px;
          padding-bottom: 6px;
        }

        .sender_content {
          font-size: 14px;
          border-bottom: 1px solid #ccc;
          height: 40px;
          text-align: 40px;
          display: flex;
          align-items: center;

          .sender_icon {
            color: red;
          }

          .sender_name {
            display: flex;
            width: 25%;
          }

          .sender_input {
            width: 75%;
            text-align: right;

            .adm-input {
              .adm-input-element {
                text-align: right;
                font-size: 14px;
              }
            }
          }

          // .name_style {
          //   padding-right: 9px;
          // }
        }

        .expressInfo {
          display: flex;
          flex-direction: row-reverse;
          margin-top: 10px;

          .expressInfo_btn {
            width: 90px;
            height: 28px;
            border-radius: 17px;
            border: 1px solid #394259;
            line-height: 28px;
            font-size: 12px;
            text-align: center;
            background: #000;
            color: #fff;
          }
        }

        .reasonPopup {
          padding: 16px;
          box-sizing: border-box;

          .title {
            color: $fontColor;
            font-weight: 500;
            line-height: 27px;
            font-size: 18px;
            text-align: center;
          }

          .reasonItem {
            margin-bottom: 18px;
            display: flex;
            justify-content: space-between;
          }
        }
      }
    }
  }

  .footerBtn {
    margin: 10px 0;
    display: flex;
    flex-direction: row-reverse;

    .btn {
      width: 72px;
      height: 28px;
      border-radius: 17px;
      border: 1px solid #394259;
      margin-right: 12px;
      line-height: 28px;
      font-size: 12px;
      text-align: center;
      background-color: #34c0bc;
      color: $fontColor;
    }
  }
}
