/* TW PAY · "Đơn của tôi" (#/account-orders) visual upgrade · 2026-11-11
   LOOK-ONLY: colour / font size+weight / spacing / border / radius / shadow / focus ring.
   No display/grid/flex/position/order changes, no content, no JS.
   Scope: html[data-twp6-route="account-orders"] (set by tw-cust-polish-v6.js) AND
          #twm-app[data-scr="account-orders"] (set by money.js) -> other screens unaffected.
   Font: Nunito is already loaded by the site; no new font requests. */

/* 1. Page background (body::before is the fixed fx-2026 backdrop) */
html.fx26[data-twp6-route="account-orders"] body{background-color:#F7F2FF;}
html.fx26[data-twp6-route="account-orders"] body::before{background-image:linear-gradient(135deg,#EDF2FF 0%,#F7F2FF 65%,#FCEEFF 100%) !important;}

/* 2. Top menu bar + active item (desktop nav) */
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .twm-top{background-color:#FFFFFF;box-shadow:0 4px 20px rgba(7,27,73,.06);}
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .twm-desk-nav a[aria-current="page"]{background-color:#F0E9FF;color:#6035D6;border-radius:24px;box-shadow:none;}

/* 3. Back button (size unchanged: 44px circle) */
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .twm-head .twm-back{width:44px;height:44px;min-height:44px;border-radius:50%;background-color:#FFFFFF;color:#071B49;box-shadow:0 3px 12px rgba(7,27,73,.08);}

/* 4. Title + description */
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .twm-head .twm-h1{font-weight:800;color:#071B49;letter-spacing:-.01em;}
@media (min-width:768px){html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .twm-head .twm-h1{font-size:28px;}}
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-content>p.mx-small{font-size:13px;font-weight:500;color:#526487;line-height:1.6;}

/* 5. Status filter tabs */
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-order-tabs{gap:10px;}
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-order-tabs button{min-height:44px;padding:0 18px;border:1px solid #DED8FF;border-radius:24px;background-color:#FFFFFF;color:#2A3566;}
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-order-tabs button[aria-pressed="true"]{border-color:transparent;background-color:#743DFF;background-image:linear-gradient(100deg,#087BFF 0%,#743DFF 38%,#F414A0 74%,#FF8740 100%);background-origin:border-box;background-repeat:no-repeat;background-size:100% 100%;color:#FFFFFF;box-shadow:0 6px 16px rgba(116,61,255,.22);}

/* 6. List card (holds the order cards; its unused right side gets the soft gradient) */
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-content>.mx-card{background-color:#FFFFFF;background-image:linear-gradient(110deg,#FFFFFF 55%,#F8F4FF 100%);border:1px solid #E7E0FF;border-radius:16px;padding:12px;box-shadow:0 10px 28px rgba(73,46,151,.08);}

/* 7. Order card + content */
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-ocard.mx-order-item{background-color:#FFFFFF;border:1px solid #DDD5FF;border-radius:16px;padding:14px;box-shadow:0 4px 14px rgba(7,27,73,.05);}
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-order-copy b{font-size:16px;font-weight:800;color:#071B49;}
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-order-copy small:nth-of-type(2){font-size:13px;font-weight:600;color:#33456B;overflow-wrap:anywhere;}
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-order-copy small:nth-of-type(3){font-size:12px;color:#667796;}
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-order-item .mx-pill{padding:7px 12px;border-radius:20px;}
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-order-item .mx-pill.warn{background-color:#FFF0D5;color:#89500A;}
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] .mx-order-item .mx-cart-side b{font-size:18px;font-weight:800;color:#6236D4;font-variant-numeric:tabular-nums;}

/* 8. Visible keyboard focus */
html[data-twp6-route="account-orders"] body #twm-app[data-scr="account-orders"] :is(.twm-desk-nav a,.twm-nav a,.twm-back,.mx-order-tabs button,.mx-ocard.mx-order-item):focus-visible{outline:3px solid #6035D6;outline-offset:2px;}
