.stvn-ot { --stvn-ot-green: #168a45; --stvn-ot-blue: #087cf0; --stvn-ot-text: #172433; --stvn-ot-muted: #647387; color: var(--stvn-ot-text); width: 100%; margin: 32px auto; text-align: left; font-family: inherit; }
.stvn-ot *, .stvn-ot *::before, .stvn-ot *::after { box-sizing: border-box; }
.stvn-ot [hidden] { display: none !important; }
.stvn-ot-intro { margin-bottom: 24px; }
.stvn-ot-eyebrow { font-size: 11px; letter-spacing: .14em; font-weight: 700; color: var(--stvn-ot-muted); }
.stvn-ot .stvn-ot-intro h2 { margin: 8px 0; font-size: clamp(26px, 4vw, 38px); line-height: 1.2; color: inherit; }
.stvn-ot-intro p, .stvn-ot-help { color: var(--stvn-ot-muted); }
.stvn-ot-form { padding: 24px; background: #f5f8fb; border: 1px solid #e2e8f0; border-radius: 12px; margin: 0 0 28px; }
.stvn-ot-form-fields { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px; }
.stvn-ot-form-fields label { display: flex; flex-direction: column; flex: 1 1 180px; gap: 7px; font-size: 13px; font-weight: 600; margin: 0; }
.stvn-ot-form-fields input, .stvn-ot-form-fields select { width: 100%; max-width: 100%; height: 46px; min-height: 46px; margin: 0; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: var(--stvn-ot-text); box-shadow: none; padding: 0 12px; font: inherit; }
.stvn-ot-form-fields button { margin: 0; min-height: 46px; border: 0; border-radius: 6px; padding: 10px 24px; background: #12263a; color: white; line-height: 1.5; font-size: 14px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.stvn-ot-form-fields input:focus-visible, .stvn-ot-form-fields select:focus-visible, .stvn-ot-form-fields button:focus-visible, .stvn-ot a:focus-visible { outline: 3px solid #64aaf0; outline-offset: 3px; }
.stvn-ot .stvn-ot-help { font-size: 12px; margin: 14px 0 0; font-weight: 400; }
.stvn-ot-card { border: 1px solid #dde5ec; border-radius: 14px; background: #fff; padding: 26px 24px; margin: 0 0 20px; box-shadow: 0 8px 28px rgba(18, 38, 58, .06); }
.stvn-ot-card-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.stvn-ot .stvn-ot-card-heading h3 { margin: 0; font-size: 17px; color: inherit; }
.stvn-ot-card-label { color: var(--stvn-ot-muted); font-size: 14px; font-weight: 600; }
.stvn-ot-status { display: inline-flex; align-items: center; gap: 7px; border-radius: 30px; padding: 7px 12px; background: #eaf3ff; color: #075fae; font-size: 13px; font-weight: 650; line-height: 1.2; }
.stvn-ot-status::before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: currentColor; }
.stvn-ot-status-alert { color: #9a3412; background: #fff2e6; }
.stvn-ot .stvn-ot-timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0 0 26px; }
.stvn-ot .stvn-ot-timeline li { position: relative; margin: 0; padding: 0 5px; text-align: center; font-size: 13px; min-width: 0; line-height: 1.45; }
.stvn-ot-timeline li::before { content: ''; position: absolute; z-index: 0; top: 13px; left: 50%; width: 100%; height: 7px; background: #e7ebef; }
.stvn-ot-timeline li:last-child::before { display: none; }
.stvn-ot-timeline li.is-done::before { background: var(--stvn-ot-green); }
.stvn-ot-timeline li.is-current:not(:last-child)::before { background: repeating-linear-gradient(45deg, #087cf0 0 6px, #3998ff 6px 12px); }
.stvn-ot-dot { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; width: 32px; height: 32px; margin: 0 auto 10px; border-radius: 50%; background: #aab2bb; border: 3px solid white; color: #fff; font-size: 22px; font-weight: 700; line-height: 1; }
.is-done > .stvn-ot-dot { background: var(--stvn-ot-green); font-size: 20px; }
.is-current > .stvn-ot-dot { background: var(--stvn-ot-blue); box-shadow: 0 0 0 5px rgba(8, 124, 240, .13); }
.stvn-ot-step { display: block; font-weight: 600; overflow-wrap: anywhere; }
.stvn-ot-timeline time, .stvn-ot-estimate { display: block; margin-top: 4px; font-size: 12px; color: var(--stvn-ot-muted); }
.stvn-ot .stvn-ot-timezone { margin: -16px 0 20px; color: var(--stvn-ot-muted); font-size: 11px; }
.stvn-ot-shipping { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; border-top: 1px solid #e2e8f0; padding-top: 18px; font-size: 13px; }
.stvn-ot-tracking-line { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; width: 100%; }
.stvn-ot-tracking-line strong { color: var(--stvn-ot-text); }
.stvn-ot-tracking-line strong::after { content: ':'; }
.stvn-ot-carrier, .stvn-ot-shipping small { color: var(--stvn-ot-muted); }
.stvn-ot .stvn-ot-number { color: #0874d1; font-size: 14px; overflow-wrap: anywhere; max-width: 100%; }
.stvn-ot .stvn-ot-number[href]::after { content: '\2197'; display: inline-block; margin-left: 5px; font-size: 11px; text-decoration: none; }
.stvn-ot-tracking-pending, .stvn-ot-notice { color: var(--stvn-ot-muted); }
.stvn-ot-notice { margin: -12px 0 22px; font-size: 13px; }
.stvn-ot-message { padding: 18px 20px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; font-size: 14px; }
.stvn-ot-account-status { display: inline-flex; align-items: center; gap: 6px; max-width: 180px; border-radius: 999px; padding: 6px 10px; background: #eef2f6; color: #526171; font-size: 12px; font-weight: 650; line-height: 1.25; white-space: normal; }
.stvn-ot-account-status::before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: currentColor; }
.stvn-ot-account-status.is-active { background: #eaf3ff; color: #075fae; }
.stvn-ot-account-status.is-done { background: #eaf8ef; color: #157a3d; }
.stvn-ot-account-status.is-alert { background: #fff2e6; color: #9a3412; }
a.stvn-ot-account-status { text-decoration: none; transition: box-shadow .16s ease, transform .16s ease; }
a.stvn-ot-account-status:hover { color: inherit; box-shadow: 0 3px 10px rgba(18, 38, 58, .14); transform: translateY(-1px); }
a.stvn-ot-account-status:focus-visible { outline: 3px solid #64aaf0; outline-offset: 3px; }
.stvn-ot-account-empty { color: #94a1ae; }
.woocommerce-orders-table__header-stvn-tracking, .woocommerce-orders-table__cell-stvn-tracking { width: 170px; }
.stvn-ot-order-detail { margin: 28px 0 34px; }
.stvn-ot-order-detail > h2 { margin: 0 0 14px; color: var(--stvn-ot-text); font-size: clamp(20px, 3vw, 24px); line-height: 1.3; }
.stvn-ot-card[data-stvn-layout="compact"] { padding: 20px 22px; box-shadow: none; }
.stvn-ot-card[data-stvn-layout="compact"] .stvn-ot-card-heading { justify-content: flex-start; margin-bottom: 26px; }
.stvn-ot-card[data-stvn-layout="compact"] .stvn-ot-timeline { padding-bottom: 20px; }

/* Make the native WooCommerce Track Order result read as one unified dashboard. */
.stvn-ot-wc-track-order .woocommerce {
  --stvn-page-text: #172433;
  --stvn-page-muted: #647387;
  --stvn-page-line: #dfe6ed;
  --stvn-page-soft: #f7f9fb;
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  color: var(--stvn-page-text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
.stvn-ot-wc-track-order .woocommerce :where(h2, h3, p, table, ol) { font-family: inherit; }
.stvn-ot-wc-track-order .woocommerce > .order-info {
  margin: 0 0 30px;
  padding: 15px 18px;
  border: 1px solid var(--stvn-page-line);
  border-left: 4px solid #087cf0;
  border-radius: 10px;
  background: var(--stvn-page-soft);
  color: var(--stvn-page-muted);
  font-size: 14px;
}
.stvn-ot-wc-track-order .woocommerce > .order-info mark {
  padding: 0;
  background: transparent !important;
  color: var(--stvn-page-text);
  font: inherit;
  font-weight: 650;
}
.stvn-ot-wc-track-order .woocommerce > h2,
.stvn-ot-wc-track-order .woocommerce .stvn-ot-order-detail > h2,
.stvn-ot-wc-track-order .woocommerce .woocommerce-order-details__title {
  margin: 0 0 16px;
  color: var(--stvn-page-text);
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.stvn-ot-wc-track-order .woocommerce .commentlist.notes {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.stvn-ot-wc-track-order .woocommerce .commentlist.notes .note {
  margin: 0 0 10px;
  padding: 14px 16px;
  border: 1px solid var(--stvn-page-line);
  border-radius: 10px;
  background: #fff;
}
.stvn-ot-wc-track-order .woocommerce .commentlist.notes p { margin: 0; }
.stvn-ot-wc-track-order .woocommerce .commentlist.notes .meta { color: var(--stvn-page-muted); font-size: 12px; font-weight: 500; }
.stvn-ot-wc-track-order .woocommerce .commentlist.notes .description { margin-top: 4px; color: var(--stvn-page-text); font-size: 14px; font-style: normal; }
.stvn-ot-wc-track-order .woocommerce .stvn-ot-order-detail { margin: 0 0 34px; }
.stvn-ot-wc-track-order .woocommerce .stvn-ot-card { border-color: var(--stvn-page-line); border-radius: 12px; }
.stvn-ot-wc-track-order .woocommerce .woocommerce-order-details { margin: 0; }
.stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--stvn-page-line);
  border-radius: 12px;
  border-spacing: 0;
  border-collapse: separate;
  background: #fff;
  color: var(--stvn-page-text);
  font-size: 14px;
}
.stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details th,
.stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details td {
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #e8edf2;
  color: inherit;
  font-family: inherit;
  line-height: 1.5;
}
.stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details thead th {
  background: var(--stvn-page-soft);
  color: var(--stvn-page-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details tbody td { padding-top: 17px; padding-bottom: 17px; }
.stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details tfoot th { width: 42%; font-weight: 600; }
.stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details tfoot td { text-align: right; }
.stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details tr:last-child > * { border-bottom: 0; }
.stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details a { color: #086fc7; }
@media (max-width: 700px) {
	.woocommerce-orders-table__header-stvn-tracking, .woocommerce-orders-table__cell-stvn-tracking { width: auto; }
	.woocommerce-orders-table__cell-stvn-tracking .stvn-ot-account-status { max-width: min(100%, 220px); }
  .stvn-ot-form, .stvn-ot-card, .stvn-ot-card[data-stvn-layout="compact"] { padding: 20px 16px; }
  .stvn-ot-form-fields { flex-direction: column; align-items: stretch; }
  .stvn-ot-form-fields label { flex-basis: auto; }
  .stvn-ot .stvn-ot-timeline { display: block; padding-bottom: 0; }
  .stvn-ot .stvn-ot-timeline li { min-height: 64px; text-align: left; padding: 3px 0 14px 48px; }
  .stvn-ot-timeline li::before { left: 13px; top: 16px; height: 100%; width: 5px; }
  .stvn-ot-dot { position: absolute; left: 0; top: 0; margin: 0; }
  .stvn-ot-card-heading { margin-bottom: 24px; }
  .stvn-ot-step { font-size: 13px; }
  .stvn-ot-card[data-stvn-layout="compact"] .stvn-ot-card-heading { margin-bottom: 22px; }
  .stvn-ot-tracking-line { align-items: flex-start; }
  .stvn-ot-wc-track-order .woocommerce { width: 100%; font-size: 14px; }
  .stvn-ot-wc-track-order .woocommerce > .order-info { margin-bottom: 24px; padding: 13px 14px; }
  .stvn-ot-wc-track-order .woocommerce > h2,
  .stvn-ot-wc-track-order .woocommerce .stvn-ot-order-detail > h2,
  .stvn-ot-wc-track-order .woocommerce .woocommerce-order-details__title { margin-bottom: 12px; font-size: 20px; }
  .stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details th,
  .stvn-ot-wc-track-order .woocommerce table.woocommerce-table--order-details td { padding: 11px 12px; }
}
