.mot-new .order-tracking {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}
.mot-new .order-tracking-form-title {
  margin-block-end: 20px;
}
.mot-new .field {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
  font-size: 14px;
  transition: all 300ms;
  align-items: center;
  color: rgba(var(--color-text));
  background-color: rgba(var(--color-page-background));
  margin-block-end: 20px;
}
.mot-new .field__input {
  width: 100%;
  border: none;
  padding: 24px 16px 8px;
  background: none;
  line-height: 1.15;
  box-shadow: none !important;
  color: rgba(var(--color-text));
  height: 56px;
  -webkit-appearance: none;
}
.mot-new .submit {
  width: 100%;
}
.mot-new .error-message {
  color: #f04949;
}
.mot-new .mb-10 {
  margin-bottom: 10px;
}
.mot-new .text-style {
  font-size: 12px;
  color: #999;
}
.mot-new .item-card {
  padding: 20px;
  border-radius: 10px;
  background-color: #fafafa;
}
.mot-new .page-width {
  max-width: 800px;
}
.mot-new #order-list {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.mot-new #search-result,
.mot-new #no-result {
  display: none;
}
.mot-new #search-result.active,
.mot-new #no-result.active {
  display: block;
}
.mot-new .goods-info-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.mot-new .goods-info-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mot-new .goods-info-item .info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mot-new .detail-button {
  display: flex;
  justify-content: center;
}
.mot-new .logistics-info,
.dialog__body .logistics-info {
  position: relative;
}
.dialog__body .logistics-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.mot-new .logistics-info::before,
.dialog__body .logistics-info::before {
  content: "";
  display: block;
  width: 1px;
  height: calc(100% - 16px);
  background-color: #f6c1be;
  position: absolute;
  top: 10px;
  left: -1px;
}
.dialog__body .logistics-info::before {
  height: calc(100% - 40px);
}
.mot-new .logistics-info .order-status,
.dialog__body .logistics-info .order-status {
  display: flex;
  padding-left: 10px;
  position: relative;
}
.mot-new .logistics-info .order-status::after,
.dialog__body .logistics-info .order-status::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid #f9d7d5;
  background-color: #fff;
  position: absolute;
  top: 8px;
  left: -4px;
}
.mot-new .logistics-info .order-status.latest::after,
.dialog__body .order-status.latest::after {
  background-color: #df2f25;
  border-color: #df2f25;
}
.dialog__body .track-info {
  font-size: 14px;
}
.mot-new .detail-button .view-detail {
  background: transparent;
  color: #000;
  border: 1px solid #ccc;
  box-shadow: 0;
  border-radius: 6px;
  padding: 5px 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.mot-new .detail-button .view-detail.loading {
  color: transparent;
}
.mot-new .detail-button .view-detail::after {
  content: none;
}
.mot-new #order-list .button.loading .loading-overlay__spinner {
  color: #000;
}
@media screen and (max-width: 959px) {
  .mot-new #order-list {
    padding-bottom: 30px;
    padding-top: 20px;
  }
}

/* ---- inline dialog (custom-dialog) ---- */
.custom-dialog__wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
.custom-dialog__wrapper[data-visible="true"] {
  display: block;
}
.custom-dialog__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  width: 800px;
  max-height: 80vh;
  overflow-y: auto;
}
.custom-dialog__content .dialog__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.custom-dialog__content .dialog__title {
  text-align: center;
  width: 100%;
  font-weight: 700;
  font-size: 20px;
}
.custom-dialog__content .dialog__close {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .custom-dialog__content .dialog__header {
    margin-bottom: 10px;
  }
  .custom-dialog__content .dialog__title {
    font-size: 18px;
  }
  .custom-dialog__content {
    padding: 10px;
    width: 75%;
  }
}
