.lookup-form {
  border-top: 1px solid #999;
}

.lookup-form .submit-btn {
  margin-top: 32px;
}

/* The divider itself owns the vertical spacing around it symmetrically —
   without this, the first button's own 60px bottom margin (meant for
   spacing before an error/results area) would stack on top of the
   divider's padding, pushing "或" much closer to the second form than
   to the first. */
#lookupForm .submit-btn {
  margin-bottom: 0;
}

.lookup-divider {
  padding: 32px 26px;
  text-align: center;
  font-family: 'Noto Serif TC', serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.025em;
  color: #999;
}

/* ---------- Desktop: side-by-side columns instead of stacked ---------- */
@media (min-width: 1024px) {
  .lookup-columns {
    display: flex;
    align-items: stretch;
    border-top: 1px solid #999;
  }

  .lookup-form {
    flex: 1;
    min-width: 0;
    border-top: none;
    display: flex;
    flex-direction: column;
  }

  .lookup-form .submit-btn {
    margin-top: auto;
    margin-bottom: 60px;
    width: calc(100% - 96px);
    margin-left: 48px;
    margin-right: 48px;
  }

  #lookupForm .submit-btn {
    margin-bottom: 60px;
  }

  #lookupByIdForm {
    border-left: 1px solid #999;
  }

  .lookup-divider {
    display: none;
  }

  /* Paper-form look: label sits alone, then breathing room, then a full
     width underline standing in for the input — scoped to this page only,
     the shared .field/.field__row/.field__input component elsewhere on the
     site stays untouched. */
  .lookup-form .field {
    border-bottom: none;
    padding: 0 48px;
  }

  .lookup-form .field__row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 40px 0 28px;
    min-height: 0;
  }

  .lookup-form .field__label {
    font-size: 13px;
  }

  .lookup-form .field__input {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #999;
    padding-bottom: 14px;
  }
}

.lookup-empty {
  padding: 60px 26px;
  text-align: center;
  font-family: 'Noto Serif TC', serif;
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 0.025em;
  color: #666;
}

.lookup-order__id {
  font-family: 'Noto Serif TC', serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.025em;
  color: #999;
}

.lookup-order__divider {
  border: none;
  border-top: 1px dashed #ccc;
  margin: 10px 0;
}

.lookup-order__link {
  display: block;
  margin-top: 12px;
  font-family: 'Noto Serif TC', serif;
  font-weight: 200;
  font-size: 11px;
  letter-spacing: 0.025em;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
