.order-tracking {
  max-width: 430px;
  margin: 0 auto;
}

.order-tracking .submit {
  width: 100%;
  text-transform: capitalize;
}

.order-tracking-form-title {
  margin-block-end: 20px;
}

@media (max-width: 959px) {
  .order-tracking-form-title {
    margin-block-end: 15px;
  }
}

@media (max-width: 959px) {
  .order-tracking {
    padding: 40px 20px;
    width: 100%;
  }
}

.order-tracking .tab {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 32px;
  gap: 40px;
}

.order-tracking .tab a {
  width: 50%;
  color: rgb(var(--color-light-text));
}

.order-tracking .tab a:first-child {
  position: relative;
  text-align: end;
}

.order-tracking .tab a:first-child::after {
  content: " ";
  height: 10px;
  width: 1px;
  position: absolute;
  inset-inline-end: -20px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  background-color: rgb(var(--color-entry-line));
}

.order-tracking .tab > a {
  cursor: pointer;
}

.order-tracking .tab .active {
  color: rgb(var(--color-text));
  text-decoration: underline;
  text-underline-offset: 6px;
}

.order-tracking .error-message {
  color: #f04949;
  font-weight: 400;
  font-size: 12px;
}

.order-tracking .error-message:not(:empty) {
  margin-block: -14px 20px;
}

.order-tracking .field[data-type="mobile"] .field__suffix {
  padding-block: 0;
}

.order-tracking .country-select-wrapper {
  display: flex;
  padding-inline-start: 8px;
  position: relative;
}

.order-tracking .country-select-wrapper .country-select {
  appearance: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  position: absolute;
  inset: 0;
}

.order-tracking .country-select-wrapper .country-select-trigger {
  padding-inline-start: 16px;
  display: flex;
  align-items: center;
  position: relative;
}

.order-tracking .country-select-wrapper .country-select-trigger span {
  color: rgb(var(--color-text));
  padding-inline-end: 4px;
}

.order-tracking .country-select-wrapper .country-select-trigger::before {
  border-inline-start: 1px solid rgb(var(--color-entry-line));
  content: " ";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  height: 100%;
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */
