* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #07141d;
  color: #edf4f6;
}
.orders-page {
  min-height: calc(100vh - 80px);
  max-width: 1120px;
  margin: auto;
  padding: clamp(28px, 5vw, 64px) 20px 80px;
}
.orders-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.orders-eyebrow {
  margin: 0 0 12px;
  color: #9bcc15;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.orders-heading h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.orders-heading p:last-child {
  margin: 16px 0 0;
  color: #bdd0d8;
  line-height: 1.6;
}
.orders-account,
.orders-help a,
.orders-card a {
  color: #d8f194;
  text-underline-offset: 3px;
}
.orders-account {
  white-space: nowrap;
  margin-top: 8px;
}
.orders-toolbar {
  display: flex;
  gap: 10px;
  margin: 34px 0 20px;
  border-bottom: 1px solid #365360;
}
.orders-tab {
  min-height: 46px;
  padding: 8px 18px;
  background: none;
  color: #bcced6;
  border: 0;
  border-bottom: 3px solid transparent;
  font: 700 14px var(--brand-sans);
  cursor: pointer;
}
.orders-tab[aria-pressed='true'] {
  color: #fff;
  border-color: #9bcc15;
}
.orders-message {
  min-height: 24px;
  color: #d1e0e6;
  line-height: 1.5;
}
.orders-message a {
  color: #d8f194;
}
.orders-list {
  display: grid;
  gap: 18px;
}
.orders-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #365360;
  border-radius: 16px;
  background: #10232e;
  min-width: 0;
}
.orders-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.orders-card h2 {
  margin: 0 0 6px;
  font-size: clamp(19px, 2.5vw, 25px);
  overflow-wrap: anywhere;
}
.orders-date,
.orders-muted {
  color: #aec4ce;
  font-size: 13px;
  line-height: 1.5;
}
.orders-pill {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid #5f7940;
  border-radius: 100px;
  color: #d8f194;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.orders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0;
}
.orders-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
}
.orders-data {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px 16px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.orders-data dt {
  color: #aec4ce;
}
.orders-data dd {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}
.orders-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid #365360;
  font-size: 14px;
}
.orders-button,
.orders-more {
  border: 1px solid #8ca459;
  border-radius: 8px;
  background: #183023;
  color: #e7f7bb;
  padding: 10px 14px;
  font: 700 13px var(--brand-sans);
  cursor: pointer;
}
.orders-button:disabled,
.orders-more:disabled {
  opacity: 0.55;
  cursor: wait;
}
.orders-more {
  display: block;
  margin: 24px auto;
}
.orders-help {
  color: #aec4ce;
  margin-top: 36px;
  font-size: 13px;
  line-height: 1.6;
}
.orders-admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #365360;
}
.orders-field {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}
.orders-field input,
.orders-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #64838f;
  border-radius: 8px;
  background: #081720;
  color: #fff;
  font: inherit;
}
.orders-form-actions {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.orders-form-status {
  font-size: 13px;
  color: #d8f194;
}
.orders-history {
  margin: 10px 0 0;
  padding-left: 19px;
  color: #aec4ce;
  font-size: 13px;
  line-height: 1.7;
}
[hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  .orders-heading {
    display: block;
  }
  .orders-account {
    display: inline-block;
    margin-top: 16px;
  }
  .orders-card-head {
    display: block;
  }
  .orders-pill {
    margin-top: 12px;
  }
  .orders-grid,
  .orders-admin-form {
    grid-template-columns: 1fr;
  }
  .orders-data {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .orders-page {
    padding-inline: 16px;
  }
}
@media (max-width: 640px) {
  .orders-data {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
  .orders-data dt,
  .orders-data dd {
    min-width: 0;
  }
  .orders-data .orders-address-label,
  .orders-data .orders-address {
    grid-column: 1/-1;
    text-align: left;
  }
  .orders-data .orders-address {
    margin-top: -8px;
  }
}
