/* ============================================================
 * fx-commerce.css — FinXCart commerce UI (cart, checkout, auth, account)
 * Scope: everything under .fx (old UI untouched). Additive only.
 * Font rule: Apple system stack ONLY (inherited from fx-redesign.css).
 * Pairs with public/assets/front-end/css/fx-redesign.css.
 * ============================================================ */

/* ---------- 1. Commerce page shell ---------- */
.fx .fx-page {
  padding-top: 24px;
  padding-bottom: 48px;
}

@media (max-width: 767px) {
  .fx .fx-page { padding-top: 16px; padding-bottom: 32px; }
}

.fx .fx-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.fx .fx-page-head h1,
.fx .fx-page-head h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

@media (max-width: 767px) {
  .fx .fx-page-head h1,
  .fx .fx-page-head h2 { font-size: 20px; }
}

.fx .fx-page-head p.fx-sub {
  margin: 4px 0 0;
  color: var(--fx-muted);
  font-size: 14px;
}

.fx .fx-sub {
  color: var(--fx-muted);
  font-size: 14px;
}

.fx .fx-hint {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--fx-muted);
}

/* ---------- 2. Cart ---------- */
.fx .fx-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1023px) {
  .fx .fx-cart-grid { grid-template-columns: 1fr; }
}

.fx .fx-cart-group {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
}

.fx .fx-cart-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--fx-canvas);
  border-bottom: 1px solid var(--fx-border);
}

.fx .fx-vendor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--fx-navy);
  text-decoration: none;
}

.fx .fx-vendor:hover { text-decoration: underline; }

.fx .fx-cart-group__ship { min-width: 220px; }

@media (max-width: 767px) {
  .fx .fx-cart-group__ship { width: 100%; }
  .fx .fx-cart-group__ship select { width: 100%; }
}

.fx .fx-min-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fx-danger);
  font-size: 13px;
  font-weight: 600;
}

.fx .fx-cart-item {
  display: grid;
  grid-template-columns: 44px 72px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  align-items: start;
}

.fx .fx-cart-item + .fx-cart-item { border-top: 1px solid var(--fx-border); }

@media (max-width: 560px) {
  .fx .fx-cart-item {
    grid-template-columns: 40px 64px minmax(0, 1fr);
    grid-template-areas:
      "check thumb info"
      "check thumb actions";
  }
  .fx .fx-cart-item__check { grid-area: check; }
  .fx .fx-cart-item__thumb { grid-area: thumb; }
  .fx .fx-cart-item__info { grid-area: info; }
  .fx .fx-cart-item__actions { grid-area: actions; }
}

.fx .fx-cart-item__check {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 26px;
}

.fx .fx-cart-item__check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--fx-navy);
  cursor: pointer;
}

.fx .fx-cart-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--fx-radius-sm);
  overflow: hidden;
  background: var(--fx-canvas);
  border: 1px solid var(--fx-border);
  flex-shrink: 0;
}

.fx .fx-cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }

.fx .fx-cart-item__thumb.is-unavailable img { opacity: 0.45; }

@media (max-width: 560px) {
  .fx .fx-cart-item__thumb { width: 64px; height: 64px; }
}

.fx .fx-cart-item__name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 4px;
}

.fx .fx-cart-item__name a { color: inherit; text-decoration: none; }
.fx .fx-cart-item__name a:hover { color: var(--fx-navy); text-decoration: underline; }

.fx .fx-cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13px;
  color: var(--fx-muted);
  margin-bottom: 4px;
}

.fx .fx-cart-item__meta b { color: var(--fx-text); font-weight: 600; }

.fx .fx-cart-item__flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.fx .fx-cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 128px;
}

@media (max-width: 560px) {
  .fx .fx-cart-item__actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
  }
}

.fx .fx-line-total {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.fx .fx-remove {
  appearance: none;
  border: 0;
  background: none;
  color: var(--fx-danger);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fx .fx-remove:hover { text-decoration: underline; }
.fx .fx-remove:focus-visible { outline: 2px solid var(--fx-danger); outline-offset: 2px; border-radius: 4px; }

/* quantity stepper — 44px targets */
.fx .fx-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  background: var(--fx-surface);
  overflow: hidden;
}

.fx .fx-qty button {
  appearance: none;
  border: 0;
  background: var(--fx-canvas);
  color: var(--fx-text);
  width: 44px;
  min-height: 44px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fx .fx-qty button:hover { background: var(--fx-border); }
.fx .fx-qty button:focus-visible { outline: 2px solid var(--fx-navy); outline-offset: -2px; }
.fx .fx-qty button.fx-qty__danger { color: var(--fx-danger); }

.fx .fx-qty input {
  width: 52px;
  border: 0;
  border-inline-start: 1px solid var(--fx-border);
  border-inline-end: 1px solid var(--fx-border);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--fx-text);
  background: var(--fx-surface);
  min-height: 44px;
}

.fx .fx-qty input:focus { outline: 0; box-shadow: inset 0 0 0 2px rgba(32, 63, 96, 0.25); }

.fx .fx-qty-note { font-size: 12px; color: var(--fx-muted); margin-top: 4px; }

/* free delivery progress */
.fx .fx-free-delivery {
  padding: 12px 16px;
  border-top: 1px dashed var(--fx-border);
  font-size: 13px;
  color: var(--fx-muted);
}

.fx .fx-free-delivery__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--fx-skeleton);
  margin-top: 8px;
  overflow: hidden;
}

.fx .fx-free-delivery__bar > span {
  display: block;
  height: 100%;
  background: var(--fx-navy);
  border-radius: 999px;
}

/* summary */
.fx .fx-summary {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 20px;
}

@media (min-width: 1024px) {
  .fx .fx-summary { position: sticky; top: 16px; }
}

.fx .fx-summary h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
}

.fx .fx-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
}

.fx .fx-summary-row dt { color: var(--fx-muted); margin: 0; }
.fx .fx-summary-row dd { margin: 0; font-weight: 600; text-align: end; }

.fx .fx-summary-row--total {
  border-top: 1px solid var(--fx-border);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 16px;
}

.fx .fx-summary-row--total dt { color: var(--fx-text); font-weight: 700; }
.fx .fx-summary-row--total dd { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

.fx .fx-summary-row--saved dd { color: #0F7A3D; }

.fx .fx-currency-note {
  font-size: 12px;
  color: var(--fx-muted);
  margin-top: 10px;
}

.fx .fx-coupon {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.fx .fx-coupon input {
  flex: 1 1 auto;
  min-height: 44px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 8px 12px;
  font-size: 15px;
  text-transform: uppercase;
}

.fx .fx-coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--fx-navy);
  border-radius: var(--fx-radius-md);
  font-size: 14px;
  font-weight: 600;
}

.fx .fx-summary .fx-btn { width: 100%; margin-top: 12px; }

.fx .fx-trust {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--fx-muted);
}

/* mobile sticky summary bar */
.fx .fx-mobile-bar {
  position: sticky;
  bottom: 0;
  z-index: 40;
  background: var(--fx-surface);
  border-top: 1px solid var(--fx-border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  display: none;
}

@media (max-width: 1023px) {
  .fx .fx-mobile-bar { display: block; }
}

.fx .fx-mobile-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
}

.fx .fx-mobile-bar__total { font-size: 19px; font-weight: 700; }

/* ---------- 3. Checkout steps ---------- */
.fx .fx-steps {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.fx .fx-steps li {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-muted);
  position: relative;
  padding-inline-start: 0;
}

.fx .fx-steps li::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  background: var(--fx-border);
  margin-inline-start: 8px;
  border-radius: 2px;
}

.fx .fx-steps li:last-child::after { display: none; }

.fx .fx-steps__n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--fx-border);
  background: var(--fx-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.fx .fx-steps li.is-done { color: var(--fx-navy); }
.fx .fx-steps li.is-done .fx-steps__n {
  background: var(--fx-navy);
  border-color: var(--fx-navy);
  color: #fff;
}
.fx .fx-steps li.is-done::after { background: var(--fx-navy); }

.fx .fx-steps li.is-current { color: var(--fx-text); }
.fx .fx-steps li.is-current .fx-steps__n {
  border-color: var(--fx-amber);
  background: var(--fx-amber);
  color: #1A1A1A;
}

@media (max-width: 560px) {
  .fx .fx-steps li span.fx-steps__label { display: none; }
  .fx .fx-steps li.is-current span.fx-steps__label { display: inline; }
}

/* checkout layout */
.fx .fx-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1023px) {
  .fx .fx-checkout-grid { grid-template-columns: 1fr; }
  .fx .fx-checkout-grid .fx-summary { order: 2; }
}

.fx .fx-section-card {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}

.fx .fx-section-card > h2,
.fx .fx-section-card > h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
}

.fx .fx-checkout-nav {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.fx .fx-checkout-nav .fx-btn { flex: 1 1 0; }

@media (max-width: 560px) {
  .fx .fx-checkout-nav { flex-direction: column-reverse; }
}

/* shipping method options */
.fx .fx-ship-options { display: grid; gap: 10px; }

.fx .fx-ship-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 12px 14px;
  cursor: pointer;
  font-size: 15px;
  background: var(--fx-surface);
}

.fx .fx-ship-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--fx-navy);
  flex-shrink: 0;
}

.fx .fx-ship-option:has(input:checked) {
  border-color: var(--fx-navy);
  background: rgba(32, 63, 96, 0.04);
}

.fx .fx-ship-option__meta { margin-inline-start: auto; font-weight: 700; white-space: nowrap; }

/* payment options */
.fx .fx-pay-options { display: grid; gap: 10px; margin-bottom: 16px; }

.fx .fx-pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 14px 16px;
  cursor: pointer;
  background: var(--fx-surface);
  min-height: 64px;
}

.fx .fx-pay-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--fx-navy);
  flex-shrink: 0;
}

.fx .fx-pay-option:has(input:checked) {
  border-color: var(--fx-navy);
  background: rgba(32, 63, 96, 0.04);
  box-shadow: 0 0 0 3px rgba(32, 63, 96, 0.12);
}

.fx .fx-pay-option img { width: 34px; height: 34px; object-fit: contain; }

.fx .fx-pay-option__name { font-weight: 600; font-size: 15px; }
.fx .fx-pay-option__desc { font-size: 13px; color: var(--fx-muted); }

.fx .fx-pay-option__tag { margin-inline-start: auto; }

.fx .fx-saved {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--fx-navy);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 12px;
}

.fx .fx-pay-option-wrap { margin-bottom: 10px; }
.fx .fx-pay-option-wrap form { margin: 0; }
.fx .fx-pay-option__inner { display: flex; align-items: center; gap: 12px; width: 100%; cursor: pointer; }
.fx .fx-pay-option__inner:has(input:checked) {
  border-color: var(--fx-navy);
  background: rgba(32, 63, 96, 0.04);
  box-shadow: 0 0 0 3px rgba(32, 63, 96, 0.12);
}
.fx .fx-pay-option--button { text-align: left; width: 100%; font: inherit; color: inherit; }
.fx .fx-offline-pay {
  border: 1.5px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  background: rgba(32, 63, 96, 0.04);
  padding: 14px 16px;
}
.fx .fx-bring-change {
  background: #f8fafc;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
}

/* bootstrap modal skin */
.fx .fx-modal-content { border: 0; border-radius: 18px; overflow: hidden; }
.fx .fx-modal-content .modal-header { border-bottom: 1px solid var(--fx-border); }
.fx .fx-modal-content .modal-footer { border-top: 1px solid var(--fx-border); }

/* shared bits */
.fx .fx-link { color: var(--fx-navy); font-weight: 600; text-decoration: none; }
.fx .fx-link:hover { text-decoration: underline; }
.fx .fx-section-title { font-size: 16px; font-weight: 700; }
.fx .fx-checkout-nav { justify-content: space-between; align-items: center; flex-wrap: wrap; }
.fx .fx-checkout-nav .fx-btn { flex: 0 1 auto; }
.fx .fx-currency-note { font-size: 12px; color: var(--fx-muted); }

/* inline notices (failure/recovery states) */
.fx .fx-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: var(--fx-radius-md);
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--fx-border);
  background: var(--fx-surface);
}

.fx .fx-notice p { margin: 0; }
.fx .fx-notice .fx-notice__actions { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }

.fx .fx-notice--info { border-color: var(--fx-navy); background: rgba(32, 63, 96, 0.05); }
.fx .fx-notice--warn { border-color: var(--fx-amber); background: rgba(243, 163, 41, 0.10); }
.fx .fx-notice--error { border-color: var(--fx-danger); background: var(--fx-danger-bg); }

.fx .fx-notice__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
}

.fx .fx-notice--info .fx-notice__icon { background: var(--fx-navy); color: #fff; }
.fx .fx-notice--warn .fx-notice__icon { background: var(--fx-amber); color: #1A1A1A; }
.fx .fx-notice--error .fx-notice__icon { background: var(--fx-danger); color: #fff; }

/* digital delivery options (shipping step) */
.fx .digital-delivery-option.is-active {
  border-color: var(--fx-navy);
  background: rgba(32, 63, 96, 0.04);
  box-shadow: 0 0 0 3px rgba(32, 63, 96, 0.12);
}

.fx .digital-delivery-option .form-check-input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ---------- 4. Auth ---------- */
.fx .fx-auth-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 16px 56px;
}

.fx .fx-auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 32px;
}

.fx .fx-auth-card--wide { max-width: 560px; }

@media (max-width: 560px) {
  .fx .fx-auth-card { padding: 24px 20px; }
  .fx .fx-auth-wrap { padding: 20px 12px 40px; }
}

.fx .fx-auth-card h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  text-align: center;
}

.fx .fx-auth-card > .fx-auth-sub {
  text-align: center;
  color: var(--fx-muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.fx .fx-auth-card .fx-btn { width: 100%; }

.fx .fx-auth-alt {
  text-align: center;
  font-size: 14px;
  color: var(--fx-muted);
  margin-top: 16px;
}

.fx .fx-auth-alt a { color: var(--fx-navy); font-weight: 600; }

.fx .fx-auth-context {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.fx .fx-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 16px;
  font-size: 14px;
}

.fx .fx-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-height: 44px;
}

.fx .fx-check input { width: 20px; height: 20px; accent-color: var(--fx-navy); }

/* social login buttons */
.fx .fx-social { display: grid; gap: 10px; margin-top: 16px; }

.fx .fx-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  background: var(--fx-surface);
  color: var(--fx-text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  width: 100%;
  cursor: pointer;
}

.fx .fx-social-btn:hover { border-color: var(--fx-navy); background: var(--fx-canvas); }
.fx .fx-social-btn img { width: 22px; height: 22px; }

.fx .fx-or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fx-muted);
  font-size: 13px;
  margin: 20px 0 4px;
}

.fx .fx-or::before, .fx .fx-or::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--fx-border);
}

/* password toggle (calm, works with old .password-toggle markup) */
.fx .fx-form .password-toggle,
.fx .password-toggle {
  position: relative;
}

.fx .fx-form .password-toggle input[type="password"],
.fx .fx-form .password-toggle input[type="text"].auth-password-input {
  padding-inline-end: 44px;
}

.fx .password-toggle-btn {
  position: absolute !important;
  inset-inline-end: 6px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
  padding: 8px;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
}

.fx .password-toggle-btn:focus-visible { outline: 2px solid var(--fx-navy); outline-offset: 1px; }

/* OTP inputs */
.fx .fx-otp-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.fx .fx-otp-row input {
  width: 52px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border: 1.5px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  background: var(--fx-surface);
  color: var(--fx-text);
}

.fx .fx-otp-row input:focus {
  outline: 0;
  border-color: var(--fx-navy);
  box-shadow: 0 0 0 3px rgba(32, 63, 96, 0.15);
}

/* ---------- 5. Account area ---------- */
.fx .fx-account {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 1023px) {
  .fx .fx-account { grid-template-columns: 1fr; }
}

.fx .fx-account-nav {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 12px;
}

@media (min-width: 1024px) {
  .fx .fx-account-nav { position: sticky; top: 16px; }
}

@media (max-width: 1023px) {
  .fx .fx-account-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}

.fx .fx-account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--fx-radius-md);
  color: var(--fx-text);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  min-height: 44px;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .fx .fx-account-nav a { border: 1px solid var(--fx-border); }
}

.fx .fx-account-nav a:hover { background: var(--fx-canvas); }

.fx .fx-account-nav a.is-active {
  background: var(--fx-navy);
  color: #fff;
  font-weight: 600;
}

.fx .fx-account-nav a.is-active .fx-nav-count { background: rgba(255, 255, 255, 0.22); color: #fff; }

.fx .fx-nav-count {
  margin-inline-start: auto;
  background: var(--fx-danger);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.fx .fx-account-nav a.is-danger { color: var(--fx-danger); }

.fx .fx-account-main { min-width: 0; }

.fx .fx-panel {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}

.fx .fx-panel > h2,
.fx .fx-panel > h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
}

.fx .fx-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.fx .fx-panel__head h2,
.fx .fx-panel__head h3 { margin: 0; font-size: 17px; font-weight: 700; }

/* stat tiles */
.fx .fx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 1023px) {
  .fx .fx-stats { grid-template-columns: repeat(2, 1fr); }
}

.fx .fx-stat {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 14px;
}

.fx .fx-stat__label { font-size: 12.5px; color: var(--fx-muted); margin-bottom: 4px; }
.fx .fx-stat__value { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.fx .fx-stat__link { font-size: 13px; color: var(--fx-navy); font-weight: 600; }

/* record cards (orders, tickets, refunds, downloads...) */
.fx .fx-record {
  display: block;
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 14px 16px;
  margin-bottom: 12px;
  color: inherit;
  text-decoration: none;
}

a.fx-record:hover { border-color: var(--fx-navy); }

.fx .fx-record__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.fx .fx-record__title { font-weight: 700; font-size: 15px; margin: 0; }
.fx .fx-record__title a { color: inherit; text-decoration: none; }
.fx .fx-record__title a:hover { color: var(--fx-navy); text-decoration: underline; }

.fx .fx-record__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 13px;
  color: var(--fx-muted);
}

.fx .fx-record__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* status badges — text label always present (color-independent) */
.fx .fx-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  border: 1px solid transparent;
  white-space: nowrap;
}

.fx .fx-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.fx .fx-status--ok { background: #E7F6EC; color: #146C2E; border-color: #BFE6CB; }
.fx .fx-status--warn { background: #FFF4DE; color: #8A5A00; border-color: #F5D78E; }
.fx .fx-status--bad { background: var(--fx-danger-bg); color: var(--fx-danger); border-color: #F3B8B3; }
.fx .fx-status--info { background: rgba(32, 63, 96, 0.08); color: var(--fx-navy); border-color: rgba(32, 63, 96, 0.25); }
.fx .fx-status--neutral { background: var(--fx-canvas); color: var(--fx-muted); border-color: var(--fx-border); }

/* key-value rows (order detail, profile) */
.fx .fx-kv {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--fx-border);
  font-size: 14px;
}

.fx .fx-kv:last-child { border-bottom: 0; }

.fx .fx-kv dt { color: var(--fx-muted); margin: 0; }
.fx .fx-kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .fx .fx-kv { grid-template-columns: 1fr; gap: 2px; }
}

/* line-item rows inside order detail */
.fx .fx-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 0;
  align-items: start;
}

.fx .fx-line + .fx-line { border-top: 1px solid var(--fx-border); }

.fx .fx-line__thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--fx-radius-sm);
  border: 1px solid var(--fx-border);
  background: var(--fx-canvas);
  overflow: hidden;
}

.fx .fx-line__thumb img { width: 100%; height: 100%; object-fit: cover; }

.fx .fx-line__name { font-weight: 600; font-size: 14.5px; margin: 0 0 2px; }
.fx .fx-line__meta { font-size: 13px; color: var(--fx-muted); }
.fx .fx-line__price { text-align: end; font-weight: 700; font-size: 15px; white-space: nowrap; }

/* wide financial tables scroll inside a contained element */
.fx .fx-table-scroll {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  -webkit-overflow-scrolling: touch;
}

.fx .fx-table-scroll table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.fx .fx-table-scroll th,
.fx .fx-table-scroll td {
  padding: 10px 12px;
  text-align: start;
  border-bottom: 1px solid var(--fx-border);
  white-space: nowrap;
}

.fx .fx-table-scroll thead th {
  background: var(--fx-canvas);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--fx-muted);
}

.fx .fx-table-scroll tbody tr:last-child td { border-bottom: 0; }

/* destructive actions visually separated */
.fx .fx-danger-zone {
  border: 1px solid var(--fx-danger);
  border-radius: var(--fx-radius-md);
  padding: 16px;
  margin-top: 24px;
}

.fx .fx-danger-zone h3 { color: var(--fx-danger); font-size: 15px; margin: 0 0 6px; }
.fx .fx-danger-zone p { font-size: 13.5px; color: var(--fx-muted); margin: 0 0 12px; }

.fx .fx-btn-danger {
  background: transparent;
  border-color: var(--fx-danger);
  color: var(--fx-danger);
}

.fx .fx-btn-danger:hover { background: var(--fx-danger-bg); color: var(--fx-danger); }

/* filter bar */
.fx .fx-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.fx .fx-filters .fx-chip { min-height: 44px; text-decoration: none; }

.fx .fx-search-inline { display: flex; gap: 8px; margin-bottom: 14px; }

.fx .fx-search-inline input {
  flex: 1 1 auto;
  min-height: 44px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 8px 12px;
  font-size: 15px;
}

/* form layout helpers */
.fx .fx-form .fx-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.fx .fx-form .fx-row .fx-field { min-width: 0; }

@media (max-width: 560px) {
  .fx .fx-form .fx-row { grid-template-columns: 1fr; }
}

.fx .fx-form .fx-field--full { grid-column: 1 / -1; }

.fx .fx-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .fx .fx-form-actions .fx-btn { flex: 1 1 100%; }
}

/* address cards */
.fx .fx-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.fx .fx-address-card {
  border: 1.5px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 14px;
  font-size: 14px;
}

.fx .fx-address-card.is-default { border-color: var(--fx-navy); }

.fx .fx-address-card__type { font-weight: 700; text-transform: capitalize; margin-bottom: 4px; }
.fx .fx-address-card__actions { display: flex; gap: 8px; margin-top: 10px; }

/* chat / ticket messages */
.fx .fx-msg { display: flex; margin-bottom: 12px; }

.fx .fx-msg__bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: var(--fx-radius-md);
  font-size: 14.5px;
  line-height: 1.5;
}

.fx .fx-msg--in .fx-msg__bubble {
  background: var(--fx-canvas);
  border: 1px solid var(--fx-border);
  border-start-start-radius: 4px;
}

.fx .fx-msg--out { justify-content: flex-end; }

.fx .fx-msg--out .fx-msg__bubble {
  background: var(--fx-navy);
  color: #fff;
  border-end-end-radius: 4px;
}

.fx .fx-msg__time { font-size: 12px; color: var(--fx-muted); margin-top: 4px; }
.fx .fx-msg--out .fx-msg__time { text-align: end; }

/* review stars (static) */
.fx .fx-stars { color: var(--fx-amber); letter-spacing: 2px; font-size: 15px; }

/* ---------- 6. Failure-state page ---------- */
.fx .fx-fail {
  max-width: 560px;
  margin: 48px auto;
  text-align: center;
  padding: 0 16px;
}

.fx .fx-fail__code {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-muted);
  margin-bottom: 8px;
}

.fx .fx-fail h1 { font-size: 24px; margin: 0 0 8px; }
.fx .fx-fail p { color: var(--fx-muted); margin: 0 0 20px; }

.fx .fx-fail__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- 7. Undo toast ---------- */
.fx .fx-undo-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 2000;
  width: min(92vw, 480px);
}

.fx .fx-undo-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--fx-text);
  color: #fff;
  border-radius: var(--fx-radius-md);
  padding: 12px 16px;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(23, 43, 66, 0.3);
}

.fx .fx-undo-toast__msg {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fx .fx-undo-toast__btn {
  appearance: none;
  border: 0;
  background: var(--fx-amber);
  color: #1A1A1A;
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 14px;
  min-height: 40px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------- 8. Motion + a11y ---------- */
.fx .fx-focus-target:focus { outline: 3px solid rgba(32, 63, 96, 0.45); outline-offset: 2px; }

.fx .fx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* never let commerce chrome fight the mobile bottom nav / support launcher */
.fx .fx-mobile-bar { margin-bottom: 0; }

/* keep long translated strings from breaking cards */
.fx .fx-panel, .fx .fx-record, .fx .fx-cart-item__info { overflow-wrap: anywhere; }

/* ---------- 9. Auth layout (login / register / recover) ---------- */
.fx .fx-auth-wrap {
  max-width: 960px;
  margin: 0 auto;
  /* FIX 2026-11-01: the section-4 rule makes this wrap a row flex, which
     put the breadcrumb and the card side by side — wider than a phone
     viewport, so the sign-in page scrolled sideways. Stack vertically;
     the card stays centered via margin-inline:auto below. */
  flex-direction: column;
  align-items: stretch;
}

.fx .fx-auth-wrap > .fx-auth-card { margin-inline: auto; }

.fx .fx-auth-head { margin-bottom: 20px; text-align: center; }

.fx .fx-auth-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
}

.fx .fx-auth-sub {
  color: var(--fx-muted);
  font-size: 15px;
  margin: 0;
}

.fx .fx-auth-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.fx .fx-auth-grid--two { grid-template-columns: 1fr 1fr; }

@media (max-width: 767px) {
  .fx .fx-auth-grid--two { grid-template-columns: 1fr; }
}

.fx .fx-auth-col { min-width: 0; }

.fx .fx-auth-col--side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fx .fx-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fx-muted);
  font-size: 14px;
  font-weight: 600;
}

.fx .fx-auth-divider::before,
.fx .fx-auth-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--fx-border);
}

.fx .fx-social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fx .fx-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  background: var(--fx-surface);
  color: var(--fx-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.fx .fx-social-btn:hover { border-color: var(--fx-navy); }

.fx .fx-social-btn img { width: 22px; height: 22px; }

/* button variant aliases */
.fx .fx-btn--primary { background: var(--fx-navy); color: #fff; }
.fx .fx-btn--primary:hover { background: var(--fx-navy-hover); color: #fff; }
.fx .fx-btn--block { width: 100%; }

/* auth forms reuse Bootstrap controls; normalize spacing */
.fx .fx-form .form-group { margin-bottom: 16px; }
.fx .fx-form .form-control { min-height: 48px; font-size: 16px; }

/* ============ Account layout ============ */
.fx-account-layout{display:grid;grid-template-columns:280px 1fr;gap:24px;align-items:start}
.fx-account-main{min-width:0}
.fx-account-aside{position:sticky;top:90px}
.fx-account-aside__card{background:#fff;border:1px solid var(--fx-border);border-radius:16px;overflow:hidden;box-shadow:var(--fx-shadow-sm)}
.fx-account-aside__user{padding:22px 18px;text-align:center;border-bottom:1px solid var(--fx-border);background:linear-gradient(135deg,#f8fafc,#eef2f7)}
.fx-account-aside__avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,var(--fx-primary),#1d4ed8);color:#fff;font-size:26px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
.fx-account-aside__name{font-weight:700;font-size:15px}
.fx-account-aside__email{font-size:12px;color:var(--fx-muted);word-break:break-all}
.fx-account-nav{display:flex;flex-direction:column;padding:10px}
.fx-account-nav__link{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;color:var(--fx-text);font-size:14px;font-weight:500;text-decoration:none}
.fx-account-nav__link i{font-size:18px;color:var(--fx-muted);width:22px;text-align:center}
.fx-account-nav__link:hover{background:#f1f5f9;text-decoration:none}
.fx-account-nav__link.is-active{background:#eff6ff;color:var(--fx-primary);font-weight:600}
.fx-account-nav__link.is-active i{color:var(--fx-primary)}
.fx-account-nav__link--danger{color:#dc2626}
.fx-account-nav__link--danger i{color:#dc2626}
.fx-badge{background:#dc2626;color:#fff;font-size:11px;font-weight:700;border-radius:999px;padding:2px 8px;margin-left:auto}
.fx-card{background:#fff;border:1px solid var(--fx-border);border-radius:16px;box-shadow:var(--fx-shadow-sm)}
.fx-card__body{padding:24px}
.fx-field{margin-bottom:16px}
.fx-label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:var(--fx-text)}
.fx-input{width:100%;padding:12px 14px;border:1px solid var(--fx-border);border-radius:10px;font-size:14px;background:#fff;min-height:46px}
.fx-input:focus{outline:none;border-color:var(--fx-primary);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
@media(max-width:991px){
    .fx-account-layout{grid-template-columns:1fr}
    .fx-account-aside{position:static}
}

/* ============ Orders ============ */
.fx-order-tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}
.fx-order-tab{padding:9px 18px;border-radius:999px;border:1px solid var(--fx-border);font-size:13px;font-weight:600;color:var(--fx-text);text-decoration:none;background:#fff}
.fx-order-tab:hover{text-decoration:none;border-color:var(--fx-primary)}
.fx-order-tab.is-active{background:var(--fx-primary);border-color:var(--fx-primary);color:#fff}
.fx-order-list{display:flex;flex-direction:column;gap:12px}
.fx-order-card{display:flex;gap:16px;padding:16px;border:1px solid var(--fx-border);border-radius:14px;background:#fff;align-items:center}
.fx-order-card:hover{border-color:#cbd5e1;box-shadow:var(--fx-shadow-sm)}
.fx-order-card__shop{flex-shrink:0;width:56px;height:56px;border-radius:12px;overflow:hidden;border:1px solid var(--fx-border);display:block}
.fx-order-card__shop img{width:100%;height:100%;object-fit:cover}
.fx-order-card__info{flex:1;min-width:0}
.fx-order-card__id{font-size:15px;font-weight:700;margin:0 0 4px}
.fx-order-card__id a{color:var(--fx-text);text-decoration:none}
.fx-order-card__id a:hover{color:var(--fx-primary)}
.fx-order-card__meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--fx-muted)}
.fx-order-card__total{font-size:16px;font-weight:700;margin-top:4px}
.fx-order-card__side{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.fx-order-card__actions{display:flex;gap:8px}
.fx-icon-btn{width:38px;height:38px;border-radius:50%;border:1px solid var(--fx-border);display:inline-flex;align-items:center;justify-content:center;color:var(--fx-text);font-size:15px;background:#fff}
.fx-icon-btn:hover{border-color:var(--fx-primary);color:var(--fx-primary);text-decoration:none}
.fx-pagination{margin-top:20px;display:flex;justify-content:center}
.fx-status{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:600;text-transform:capitalize}
.fx-status--success{background:#dcfce7;color:#166534}
.fx-status--danger{background:#fee2e2;color:#991b1b}
.fx-status--info{background:#dbeafe;color:#1e40af}
.fx-status--neutral{background:#f1f5f9;color:#475569}
@media(max-width:640px){
    .fx-order-card{flex-wrap:wrap}
    .fx-order-card__side{flex-direction:row;align-items:center;width:100%;justify-content:space-between}
}

/* ---------- Shared auth presentation: storefront and standalone panels ---------- */
.fx-auth,
.fx-auth-page {
  --fx-auth-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fx-auth-navy: #0b1e3f;
  --fx-auth-accent: #f18b32;
  --fx-auth-canvas: var(--fx-canvas, #f7f8fa);
  --fx-auth-surface: var(--fx-surface, #fff);
  --fx-auth-text: var(--fx-text, #172b42);
  --fx-auth-muted: var(--fx-muted, #5b6674);
  --fx-auth-border: var(--fx-border, #e1e6eb);
  --fx-auth-radius: var(--fx-radius-lg, 16px);
  font-family: var(--fx-auth-font);
}
body.fx-auth { background: var(--fx-auth-canvas); color: var(--fx-auth-text); }
.fx-auth :is(h1, h2, h3, h4, h5, p, label, input, select, textarea, button, .btn, a) {
  font-family: var(--fx-auth-font);
}
.fx-auth .main { min-height: 100vh; min-height: 100dvh; padding: 48px 24px; background: var(--fx-auth-canvas); }
.fx-auth .auth-wrapper { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; width: min(100%, 1040px); min-height: 640px; margin: max(0px, calc((100dvh - 736px) / 2)) auto 0; border: 1px solid var(--fx-auth-border); border-radius: 24px; overflow: hidden; background: var(--fx-auth-surface); box-shadow: 0 24px 80px rgba(11,30,63,.08); }
.fx-auth .auth-wrapper-left { display: none; }
.fx-auth .auth-wrapper-right { display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: none; min-width: 0; padding: 48px; background: var(--fx-auth-surface); }
.fx-auth .auth-wrapper-form,
.fx-auth-page .fx-auth-card,
.fx-auth-page .login-card {
  width: 100%;
  padding: 32px;
  border: 1px solid var(--fx-auth-border);
  border-top: 4px solid var(--fx-auth-navy);
  border-radius: var(--fx-auth-radius);
  background: var(--fx-auth-surface);
  box-shadow: 0 8px 32px rgba(11, 30, 63, .06);
}
.fx-auth .auth-wrapper-form { max-width: 420px; margin-inline: auto; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.fx-auth .fx-auth-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.fx-auth .fx-auth-brand img { width: auto; max-width: 180px; height: auto; max-height: 56px; object-fit: contain; }
.fx-auth h1, .fx-auth-page .main-content :is(h1, h2, h3, h4) { color: var(--fx-auth-navy); letter-spacing: -.02em; overflow-wrap: anywhere; }
.fx-auth h1, .fx-auth-page .fx-auth-title { font-size: 28px; font-weight: 700; line-height: 1.2; }
.fx-auth .auth-wrapper-form p.h5 { color: var(--fx-auth-muted); font-size: 15px; line-height: 1.6; }
.fx-auth-page .main-content { padding-block: 24px 48px; }
.fx-auth-page .fx-auth-wrap { padding-block: 16px 32px; }
.fx-auth-page .main-content > .container { max-width: 800px; margin-block: 0; }
.fx-auth-page .main-content > .container > .row > :is(.col-lg-8, .col-md-10) { flex: 0 0 100%; max-width: 100%; }
.fx-auth-page .main-content > .container .card { border: 1px solid var(--fx-auth-border); border-radius: var(--fx-auth-radius); box-shadow: 0 8px 32px rgba(11, 30, 63, .06); }
.fx-auth-page .main-content > .container .card-body { padding: 24px; }
.fx-auth-page .main-content > .container .login-card { margin-inline: auto; }
.fx-auth-page .main-content > .container .login-card > div { max-width: none; }
.fx-auth :is(.form-control, .custom-select),
.fx-auth-page .main-content :is(.form-control, .custom-select) {
  min-height: 48px;
  border: 1px solid var(--fx-auth-border);
  border-radius: 8px;
  background-color: var(--fx-auth-surface);
  color: var(--fx-auth-text);
  font-size: 16px;
  line-height: 1.5;
}
.fx-auth :is(label, .input-label), .fx-auth-page .main-content label { font-size: 14px; font-weight: 600; line-height: 1.5; }
.fx-auth .form-group, .fx-auth-page .main-content .form-group { margin-bottom: 20px; }
.fx-auth .form-control:focus, .fx-auth-page .main-content .form-control:focus {
  border-color: var(--fx-auth-navy);
  box-shadow: 0 0 0 3px rgba(241, 139, 50, .2);
}
.fx-auth .form-control.is-invalid, .fx-auth-page .main-content .form-control.is-invalid { border-color: var(--fx-danger, #b3261e); }
.fx-auth .input-group > .form-control { min-width: 0; }
.fx-auth .input-group-append > a, .fx-auth .changePassTarget > a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 48px; }
.fx-auth .btn, .fx-auth-page .main-content .btn { min-height: 44px; border-radius: 8px; font-size: 15px; font-weight: 600; white-space: normal; }
.fx-auth :is(.btn--primary, .btn-primary),
.fx-auth-page .main-content :is(.btn--primary, .btn-primary, .fx-btn--primary) {
  background: var(--fx-auth-navy);
  border-color: var(--fx-auth-navy);
  color: #fff;
  box-shadow: none;
}
.fx-auth a:not(.btn), .fx-auth-page .main-content a:not(.btn) { color: var(--fx-auth-navy); text-underline-offset: 3px; }
.fx-auth .custom-control-label, .fx-auth .form-check-label { display: inline-flex; align-items: center; min-height: 44px; }
.fx-auth .custom-control-label::before, .fx-auth .custom-control-label::after { top: 13px; }
.fx-auth :is(a, button, input, select):focus-visible,
.fx-auth-page .main-content :is(a, button, input, select):focus-visible { outline: 3px solid var(--fx-auth-accent); outline-offset: 3px; }
.fx-auth .invalid-feedback, .fx-auth-page .main-content .invalid-feedback { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.fx-auth .btn:disabled, .fx-auth-page .main-content .btn:disabled { opacity: .6; cursor: not-allowed; }
.fx-auth-page .create-an-account { background: var(--fx-auth-surface); border: 1px solid var(--fx-auth-border); border-top: 4px solid var(--fx-auth-navy); border-radius: var(--fx-auth-radius); box-shadow: 0 8px 32px rgba(11, 30, 63, .06); }
.fx-auth-page .create-an-accout-bg-img { display: none; }
.fx-auth-page .create-an-account > .row { row-gap: 24px; }
.fx-auth-page .create-an-account img { max-width: 100%; height: auto; }
.fx-auth-page .create-an-account .col-lg-4 { padding-block: 16px; }
.fx-auth-page .create-an-account .col-lg-4 p { color: var(--fx-auth-muted); line-height: 1.6; }
.fx-auth-page .main-content .password-toggle { position: relative; }
.fx-auth-page .main-content .password-toggle input.auth-password-input { padding-inline-end: 48px; }
.fx-auth-page .main-content .password-toggle-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; inset-inline-end: 4px; }
.fx-auth-page :is(.modal-body, .fxh-acct-menu) { overscroll-behavior: contain; }
.fx-auth-page .modal-dialog { max-width: min(560px, calc(100% - 32px)); margin-inline: auto; }
.fx-auth-page .modal-header { gap: 12px; }
.fx-auth-page .modal-title { overflow-wrap: anywhere; }
.fx-auth-page .modal-body { overflow-wrap: anywhere; }
.fx-auth-page #otp-inputs { display: flex; justify-content: center; gap: 8px; flex-wrap: nowrap; direction: ltr; }
.fx-auth-page #otp-inputs .otp-digit { flex: 1 1 0; width: 100%; min-width: 0; max-width: 48px; height: 52px; padding: 0; text-align: center; font-size: 20px; font-weight: 700; border: 1px solid var(--fx-auth-border); border-radius: 8px; }
.fx-auth-page #otp-inputs .otp-digit:focus { border-color: var(--fx-auth-navy); box-shadow: 0 0 0 3px rgba(241, 139, 50, .2); outline: none; }
@media (hover: hover) {
  .fx-auth :is(.btn--primary, .btn-primary):not(:disabled):hover,
  .fx-auth-page .main-content :is(.btn--primary, .btn-primary, .fx-btn--primary):not(:disabled):hover { background: #152e56; border-color: #152e56; color: #fff; }
  .fx-auth a:not(.btn):hover, .fx-auth-page .main-content a:not(.btn):hover { text-decoration: underline; }
}
@media (max-width: 991px) {
  .fx-auth .main { padding: 24px 16px; }
  .fx-auth .auth-wrapper { min-height: 0; margin-block: 0; grid-template-columns: 1fr; border-radius: 16px; }
  .fx-auth .auth-wrapper-right { padding: 28px 24px; }
  .fx-auth .auth-wrapper-form { padding: 0; }
  .fx-auth-page .fx-auth-card, .fx-auth-page .login-card { padding: 24px 20px; }
  .fx-auth-page .main-content { padding-block: 8px 32px; }
  .fx-auth-page .main-content > .container .card-body { padding: 20px; }
  .fx-auth-page .create-an-account .col-lg-4 img { max-height: 160px; width: auto; }
  .fx-auth-page .create-an-account .col-lg-4 { padding-block: 0; }
  .fx-auth-page #otp-inputs { gap: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  .fx-auth .btn, .fx-auth-page .main-content .btn { transition: background-color 140ms ease, border-color 140ms ease; }
  .fx-auth .form-control, .fx-auth-page .main-content .form-control { transition: border-color 140ms ease, box-shadow 140ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-auth *, .fx-auth-page .otp-shake { animation: none; transition: none; }
}

/* Registration controls and terms/OTP dialogs share the same owners. */
.fx-auth .fx-auth-password-control { position: relative; }
.fx-auth .fx-auth-password-input { padding-inline-end: 48px; }
.fx-auth .fx-auth-password-toggle { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); margin: 0; cursor: pointer; }
.fx-auth-page .fx-auth-terms-row, .fx-auth-page .vendor-reg-terms-wrap { display: flex; align-items: flex-start; gap: 10px; }
.fx-auth-page .fx-auth-terms-checkbox { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; cursor: pointer; accent-color: var(--fx-auth-navy); }
.fx-auth-page .fx-auth-terms-label { margin: 0; font-size: 14px; color: var(--fx-auth-text); line-height: 1.6; cursor: pointer; }
.fx-auth-page .fx-auth-terms-link, .fx-auth-page .vendor-reg-terms-link, .fx-auth-page .otp-resend-link { color: var(--fx-auth-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fx-auth-page .vendor-reg-terms-link.is-agreed { color: var(--fxv-success, #1e7e34); }
.fx-auth-page .fx-auth-price, .fx-auth-page .fx-auth-ink, .fx-auth-page .fx-auth-otp-timer { color: var(--fx-auth-navy); }
.fx-auth-page .fx-auth-otp-dialog { max-width: min(460px, calc(100% - 32px)); }
.fx-auth-page .fx-auth-modal-heading { justify-content: space-between; }
.fx-auth-page .fx-auth-modal-caption { color: rgba(255,255,255,.85); }
.fx-auth-page .fx-auth-modal-close, .fx-auth-page .fx-auth-terms-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font-size: 24px; line-height: 1; }
.fx-auth-page .fx-auth-otp-recipient { display: inline-block; max-width: 100%; padding: 12px 16px; border-radius: 8px; background: var(--fx-auth-canvas); overflow-wrap: anywhere; }
.fx-auth-page .fx-auth-caption, .fx-auth-page .fx-auth-otp-error { font-size: 13px; }
.fx-auth-page .fx-auth-otp-error { border: 0; border-radius: 8px; }
.fx-auth-page .fx-auth-otp-timer { font-size: 15px; font-variant-numeric: tabular-nums; }
.fx-auth-page .fx-auth-otp-submit { background: var(--fx-auth-navy); border: 0; border-radius: 8px; font-size: 15px; }
.fx-auth-page .fx-auth-otp-back { background: var(--fx-auth-canvas); color: var(--fx-auth-navy); border: 0; border-radius: 8px; font-size: 14px; }
.fx-auth-page .fx-auth-toast-link { color: #fff; font-weight: 700; text-decoration: underline; }
.fx-auth-page .fx-auth-error-note { font-size: 12px; }
.fx-auth-page .fx-auth-strong { font-weight: 700; }
.fx-auth-page .fx-auth-close-symbol { color: #fff; font-size: 28px; line-height: 1; }
.fx-auth-page :is(.fx-auth-terms-dialog, .vendor-reg-terms-modal .modal-content, .otp-modal .modal-content) { border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 48px rgba(11,30,63,.18); }
.fx-auth-page :is(.fx-auth-terms-heading, .vendor-reg-terms-modal .modal-header, .otp-modal .modal-header) { background: var(--fx-auth-navy); border: 0; padding: 20px 24px; gap: 12px; align-items: center; }
.fx-auth-page :is(.vendor-reg-terms-modal .modal-title, .otp-modal .modal-title) { color: #fff; font-weight: 700; line-height: 1.3; }
.fx-auth-page .vendor-reg-terms-modal-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; }
.fx-auth-page :is(.fx-auth-terms-body, .vendor-reg-terms-modal .modal-body) { max-height: 55vh; max-height: 55dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--fx-auth-surface); padding: 24px; color: var(--fx-auth-text); font-size: 15px; line-height: 1.7; }
.fx-auth-page .otp-modal .modal-body { padding: 24px 20px; }
.fx-auth-page :is(#custTermsModal, .vendor-reg-terms-modal) .modal-body :is(p, ul, ol) { margin-bottom: 16px; }
.fx-auth-page :is(#custTermsModal, .vendor-reg-terms-modal) .modal-body :is(p:empty, p:has(> br:only-child)) { display: none; }
.fx-auth-page :is(#custTermsModal, .vendor-reg-terms-modal) .modal-body p:last-child { margin-bottom: 0; }
.fx-auth-page :is(#custTermsModal, .vendor-reg-terms-modal) .tc-title { color: var(--fx-auth-navy); font-size: 20px; font-weight: 700; }
.fx-auth-page :is(#custTermsModal, .vendor-reg-terms-modal) .tc-effective-date { color: var(--fx-auth-muted); font-size: 13px; }
.fx-auth-page :is(#custTermsModal, .vendor-reg-terms-modal) .tc-heading { margin-block: 24px 8px; color: var(--fx-auth-navy); font-size: 16px; font-weight: 700; }
.fx-auth-page :is(#custTermsModal, .vendor-reg-terms-modal) .tc-list { display: grid; gap: 8px; padding-inline-start: 24px; list-style: disc; }
.fx-auth-page :is(.fx-auth-terms-footer, .vendor-reg-terms-modal .modal-footer) { background: var(--fx-auth-canvas); border-top: 1px solid var(--fx-auth-border); padding: 16px 24px; gap: 12px; }
.fx-auth-page :is(.fx-auth-terms-cancel, .btn-vendor-terms-cancel) { min-height: 44px; padding: 10px 24px; border: 1px solid var(--fx-auth-border); border-radius: 8px; background: var(--fx-auth-surface); color: var(--fx-auth-navy); font-weight: 600; }
.fx-auth-page :is(.fx-auth-terms-agree, .btn-vendor-terms-agree) { min-height: 44px; padding: 10px 24px; border: 1px solid var(--fx-auth-navy); border-radius: 8px; background: var(--fx-auth-navy); color: #fff; font-weight: 600; }
@media (max-width: 575px) {
  .fx-auth-page :is(.fx-auth-terms-heading, .fx-auth-terms-body, .fx-auth-terms-footer, .vendor-reg-terms-modal .modal-header, .vendor-reg-terms-modal .modal-body, .vendor-reg-terms-modal .modal-footer) { padding-inline: 16px; }
  .fx-auth-page :is(#custTermsModal, .vendor-reg-terms-modal) .modal-footer .btn { flex: 1 1 100%; margin: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .fx-auth-page .otp-shake { animation: fx-auth-shake 200ms ease-out; }
  @keyframes fx-auth-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
}
.fx-auth .auth-wrapper-right { min-height: 0; }
.fx-auth-page .fx-auth-card h1 { font-size: 28px; }
.fx-auth input[type="email"], .fx-auth-page .main-content input[type="email"] { direction: ltr; text-align: start; }

/* Auth composition: one brand panel and one precisely aligned form column. */
.fx-auth-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-width: 0; padding: 40px; background: #0b1e3f; color: #fff; text-align: start; }
.fx-auth-intro__brand { display: inline-flex; align-self: flex-start; }
.fx-auth-intro__brand img { display: block; width: 180px; max-width: 100%; height: auto; }
.fx-auth-intro__line { display: block; width: 40px; height: 3px; margin-bottom: 24px; border-radius: 2px; background: #f18b32; }
.fx-auth-intro .fx-auth-intro__content h2 { max-width: none; margin: 0 0 24px; color: #fff; font-size: clamp(32px, 3.2vw, 44px); font-weight: 650; line-height: 1.1; letter-spacing: -.045em; overflow-wrap: normal; word-break: normal; }
.fx-auth-intro__content p { max-width: 28ch; margin: 0; color: #b9c5d8; font-size: 16px; line-height: 1.75; }
.fx-auth-intro__footer { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: #b9c5d8; font-size: 13px; line-height: 1.5; }
/* Auth intro photo variant: related photo behind the panel copy, navy shade
   keeping the text readable. Panels without a photo keep the solid navy. */
.fx-auth-intro--photo { position: relative; overflow: hidden; }
.fx-auth-intro__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-auth-intro__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,30,63,.92) 0%, rgba(11,30,63,.68) 55%, rgba(11,30,63,.30) 100%); pointer-events: none; }
.fx-auth-intro--photo .fx-auth-intro__brand,
.fx-auth-intro--photo .fx-auth-intro__content,
.fx-auth-intro--photo .fx-auth-intro__footer { position: relative; z-index: 1; }
.fx-auth-intro--photo .fx-auth-intro__content h2 { text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.fx-auth-intro--photo .fx-auth-intro__content p { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
/* Slim storefront header for standalone auth pages: vendor and freelancer
   logins do not extend the front-end layout, so they had no header at all.
   Same navy bar, logo and main links as the site header, nothing more. */
.fx-auth-topbar { position: sticky; top: 0; z-index: 60; background: #0b1e3f; }
.fx-auth-topbar__inner { display: flex; align-items: center; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 14px 24px; }
.fx-auth-topbar__brand { display: inline-flex; flex-shrink: 0; }
.fx-auth-topbar__brand img { display: block; width: 150px; max-width: 100%; height: auto; }
.fx-auth-topbar__nav { display: flex; gap: 20px; margin-left: auto; }
/* Specificity note: the general .fx-auth a:not(.btn) rule below/above paints links navy;
   the topbar links must outrank it or they render navy-on-navy and look missing. */
.fx-auth .fx-auth-topbar__nav a { color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.fx-auth .fx-auth-topbar__nav a:hover, .fx-auth .fx-auth-topbar__nav a:focus-visible { color: #fff; }
@media (max-width: 640px) { .fx-auth-topbar__nav a:not(:first-child) { display: none; } }
.fx-auth-page .fx-auth-wrap { max-width: 1100px; }
.fx-auth-page .fx-auth-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; width: 100%; margin-inline: auto; border: 1px solid var(--fx-auth-border); border-radius: 20px; overflow: hidden; background: var(--fx-auth-surface); box-shadow: 0 20px 64px rgba(11,30,63,.07); }
.fx-auth-page .fx-auth-layout > :is(.fx-auth-card, .login-card) { max-width: none; min-width: 0; margin: 0; padding: 40px; border: 0; border-radius: 0; box-shadow: none; }
.fx-auth-page .fx-auth-layout .fx-auth-title { text-align: start; }
.fx-auth-page .fx-auth-layout .fx-auth-head { text-align: start; margin-bottom: 28px; }
.fx-auth-page .fx-auth-layout .fx-auth-grid--two { grid-template-columns: 1fr; gap: 20px; }
.fx-auth-page .fx-auth-layout .fx-auth-col--side { padding: 0; border: 0; }
.fx-auth-page .main-content > .container:has(.fx-auth-layout) { max-width: 1100px; }
.fx-auth-page .fx-auth-layout--register { grid-template-columns: .7fr 1.3fr; }
.fx-auth-page .fx-auth-layout--register .login-card h2 { text-align: start; font-size: 28px; line-height: 1.2; }
.fx-auth-page .main-content .create-an-account { padding: 0; border-top: 1px solid var(--fx-auth-border); overflow: hidden; border-radius: 20px; box-shadow: 0 20px 64px rgba(11,30,63,.07); }
.fx-auth-page .create-an-account > .row { margin: 0; gap: 0; }
.fx-auth-page .create-an-account > .row > .col-lg-4 { padding: 40px 32px; background: var(--fx-auth-navy); }
.fx-auth-page .create-an-account > .row > .col-lg-8 { padding: 16px; }
.fx-auth-page .create-an-account > .row > .col-lg-4 :is(h2,h3) { color: #fff; font-size: 32px; line-height: 1.15; letter-spacing: -.035em; }
.fx-auth-page .create-an-account > .row > .col-lg-4 p { color: #b9c5d8; }
.fx-auth-page .create-an-account > .row > .col-lg-4 a { color: #fff; text-decoration: underline; }
.fx-auth-page .create-an-account > .row > .col-lg-4 .my-4 { display: none; }
.fx-auth-page .main-content .form-control, .fx-auth .auth-wrapper-form .form-control { height: 50px; min-height: 50px; padding: 12px 14px; border-color: #d8dfe8; border-radius: 9px; background-color: #fbfcfe; }
.fx-auth-page .main-content textarea.form-control { height: auto; min-height: 112px; }
.fx-auth-page .main-content .password-toggle input { padding-inline-end: 48px; }
.fx-auth .auth-wrapper-form .input-group-append { display: flex; }
.fx-auth .auth-wrapper-form h1 { margin-bottom: 10px; font-size: 30px; letter-spacing: -.035em; }
.fx-auth-page .main-content label, .fx-auth .auth-wrapper-form label { margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.fx-auth-page .main-content .password-toggle-btn { margin: 0; }
.fx-auth-page .main-content .fx-auth-terms-label { margin: 0; }
.fx-auth .auth-wrapper-form .btn-block, .fx-auth-page .main-content form > .btn, .fx-auth-page .main-content .fx-btn { min-height: 50px; border-radius: 9px; }
@media (min-width: 768px) {
  .fx-auth .auth-wrapper-form > .fx-auth-brand, .fx-auth .auth-wrapper-form > div > .fx-auth-brand { display: none; }
}
@media (max-width: 991px) {
  .fx-auth .main { padding: 16px; }
  .fx-auth-intro { gap: 24px; padding: 28px 24px; }
  .fx-auth-intro .fx-auth-intro__content h2 { max-width: 16ch; font-size: 30px; margin-bottom: 12px; }
  .fx-auth-intro__content p { max-width: 40ch; font-size: 14px; line-height: 1.6; }
  .fx-auth-intro__line, .fx-auth-intro__footer { display: none; }
  .fx-auth .auth-wrapper-form .fx-auth-brand { display: none; }
  .fx-auth-page .fx-auth-layout { grid-template-columns: 1fr; border-radius: 16px; }
  .fx-auth-page .fx-auth-layout > :is(.fx-auth-card, .login-card) { padding: 28px 20px; }
  .fx-auth-page .create-an-account > .row > .col-lg-4 { padding: 28px 24px; }
  .fx-auth-page .create-an-account > .row > .col-lg-4 :is(h2,h3) { font-size: 26px; }
  .fx-auth-page .create-an-account > .row > .col-lg-8 { padding: 8px; }
}

.fx-auth-page .fx-auth-register-form { padding: 24px; background: var(--fx-auth-surface); }
.fx-auth-page .create-an-account #vendor-apply-submit { width: 100%; min-height: 50px; background: var(--fx-auth-navy); border-color: var(--fx-auth-navy); color: #fff; }
.fx-auth-page .fx-signup-steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.fx-auth-page .fx-signup-steps li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding-bottom: 12px; border-bottom: 2px solid var(--fx-auth-border); color: var(--fx-auth-muted); font-size: 11px; font-weight: 500; line-height: 1.5; }
.fx-auth-page .fx-signup-steps .fx-step-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fx-auth-canvas); color: var(--fx-auth-muted); font-size: 11px; font-weight: 600; }
.fx-auth-page .fx-signup-steps li.is-active { border-bottom-color: var(--fx-auth-accent); color: var(--fx-auth-navy); font-weight: 600; }
.fx-auth-page .fx-signup-steps li.is-active .fx-step-num { background: var(--fx-auth-navy); color: #fff; }
.fx-auth-page .fx-signup-steps li.is-done .fx-step-num { background: #eaf7ee; color: #1e7e34; }
.fx-auth .auth-wrapper-form .form-check { align-items: center; min-height: 44px; padding-inline-start: 0; }
.fx-auth .auth-wrapper-form .form-check-input { position: static; flex-shrink: 0; margin: 0; width: 18px; height: 18px; }
.fx-auth .auth-wrapper-form .form-check .custom-control-label { margin: 0; min-height: 44px; }
.fx-auth .auth-wrapper-form .form-check .custom-control-label::before, .fx-auth .auth-wrapper-form .form-check .custom-control-label::after { display: none; }
@media (max-width: 575px) {
  .fx-auth-page .fx-auth-register-form { padding: 20px 12px; }
  .fx-auth-page .fx-signup-steps { gap: 6px; }
  .fx-auth-page .fx-signup-steps li { font-size: 10px; }
}
.fx-auth .fx-auth-success { padding: 16px; border: 1px solid #cde8d5; border-radius: 10px; background: #eef8f1; color: #205b34; box-shadow: none; }
.fx-auth .fx-auth-success-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #dcefe2; color: #205b34; }
.fx-auth .fx-auth-success-copy { color: #386348; font-size: 14px; line-height: 1.5; }
.fx-auth .fx-auth-register-link { color: var(--fx-auth-muted); font-size: 14px; }
.fx-auth .fx-auth-link { font-weight: 600; }
/* Keep assistance chrome clear of auth fields and submit actions. */
body.fx-auth-page #chat-toggle, body.fx-auth-page #chat-widget { display: none; }
.fx-auth-page .fx-auth-terms-row { min-height: 44px; align-items: center; }
.fx-auth-page .fx-auth-terms-row .fx-auth-terms-label { min-height: 44px; display: block; padding-block: 10px; }
.fx-auth-page .fx-auth-terms-checkbox { margin-top: 0; }
