@import "../../../../../style/CommonStyle.module.less";
@import "../../../../../style/utils.module.less";

.itemListStatusContainer {
  width: 1560px;
  margin: 60px auto 0;
  background-color: @COLOR_WHITE;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;

  .statusCardHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 60px;
    border-bottom: 1px solid @COLOR_GRAY02;

    .wrap {
      display: flex;
      align-items: center;

      .orderGreen {
        margin-right: 14px;
        height: 42px;
        padding: 9px 15px;
        background: rgba(8, 199, 73, 0.3);
        border: 3px solid #08c749;
        border-radius: 6px;
        color: #08c749;
        font-size: 20px;
        line-height: 20px;
        font-weight: normal;
      }
      .orderBlue {
        margin-right: 14px;
        height: 42px;
        padding: 9px 15px;
        background: rgba(8, 199, 199, 0.3);
        border: 3px solid #0877c7;
        border-radius: 6px;
        color: #0877c7;
        font-size: 20px;
        line-height: 20px;
        font-weight: normal;
      }
      .orderRed {
        margin-right: 14px;
        height: 42px;
        padding: 9px 15px;
        background: rgba(199, 8, 80, 0.3);
        border: 3px solid #c70850;
        border-radius: 6px;
        color: #c70850;
        font-size: 20px;
        line-height: 20px;
        font-weight: normal;
      }
      .orderBlack {
        margin-right: 14px;
        height: 42px;
        padding: 9px 15px;
        background: rgba(20, 20, 20, 0.3);
        border: 3px solid #141414;
        border-radius: 6px;
        color: #141414;
        font-size: 20px;
        line-height: 20px;
        font-weight: normal;
      }

      .arrivingDate {
        color: @COLOR_GRAY07;
        font-size: 24px;
        font-weight: normal;
      }
    }

    .viewOrderDetailsBtn {
      width: 350px !important;
      max-width: unset !important;
    }
  }

  .statusCardBody {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    .productDetails {
      border-right: 1px solid @COLOR_GRAY02;
      padding: 40px 60px;
      width: 70%;

      .productDetailsTitle {
        display: flex;

        > img {
          width: 40px;
          height: 40px;
          margin-right: 10px;
        }

        .productName {
          font-size: 30px;
          font-weight: bold;
          margin-bottom: 20px;
          color: @COLOR_GRAY07;
          .elip(@clamp:1);
        }
      }

      .productDescWrap {
        display: flex;

        .productImage {
          .size(@w: 200px, @h: 200px);
          background-color: @COLOR_WHITE;
          border: 1px solid @COLOR_GRAY02;
          margin-right: 20px;

          > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }

        .productDesc {
          p {
            font-size: 24px;
            color: @COLOR_GRAY03;
          }

          .price {
            margin-top: 66px;

            strong {
              color: @PRIMARY_COLOR_RED;
              font-size: 30px;
            }
          }
        }
      }
    }

    .actionButtons {
      width: 30%;
      display: flex;
      flex-direction: column;
      align-items: center;

      .actionButton {
        background-color: @COLOR_WHITE;
        height: 60px !important;
        width: 400px !important;
        border: 1px solid @COLOR_GRAY02;
        color: @COLOR_GRAY03;
        font-weight: normal;
        font-size: 24px;
        position: relative;

        &:focus {
          &::after {
            .focused(@boxShadow: 0, @borderRadius: 6px);
          }
        }

        &:first-of-type {
          margin-bottom: 6px;
        }
      }
    }
  }
}
