.order-record-banner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  width: min(920px, calc(100% - 32px));
  margin: 20px auto 18px;
  padding: 18px 20px;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(9, 29, 59, .08);
}

.order-record-banner > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.order-record-banner > div {
  min-width: 0;
}

.order-record-banner b,
.order-record-banner small {
  display: block;
}

.order-record-banner b {
  margin: 0;
  color: #172d4d;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.order-record-banner small {
  margin-top: 5px;
  color: #60728a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.order-record-banner.pending {
  border-color: #efd68d;
  background: linear-gradient(135deg, #fff9df, #fffdf4);
}

.order-record-banner.pending > span {
  color: #8a6200;
  background: #ffe9a3;
}

.order-record-banner.cancelled {
  border-color: #efc8ce;
  background: linear-gradient(135deg, #fff0f2, #fff9fa);
}

.order-record-banner.cancelled > span {
  color: #a33646;
  background: #fbdce1;
}

@media (max-width: 560px) {
  .order-record-banner {
    grid-template-columns: 42px minmax(0, 1fr);
    width: calc(100% - 24px);
    margin-top: 14px;
    padding: 15px 16px;
    gap: 12px;
    border-radius: 15px;
  }

  .order-record-banner > span {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 20px;
  }

  .order-record-banner b {
    font-size: 14px;
  }
}
