/* TW PAY · "Tất cả" gradient pill for PRIMARY buttons + ACTIVE tabs/chips · 2026-11-11
   LOOK-ONLY: background, text colour, border colour, radius, shadow. No size/padding/display/position changes.
   Excluded on purpose: secondary/ghost (.ghost, .sc-btn-ghost), disabled ([disabled], :disabled, [aria-disabled=true]),
   danger, top/bottom nav (.twm-desk-nav, .twm-nav, .tb), language menu, option cards (.twm-opt/.pf-opt/.s3-tile),
   partner-logo tiles (.shp-pt), admin (admin is a separate app; everything here is scoped to #twm-app; ids repeated x3 only to outrank existing 2-id !important rules). */
:root{--twg-grad:linear-gradient(100deg,#087BFF 0%,#743DFF 38%,#F414A0 74%,#FF8740 100%);--twg-glow:0 6px 16px rgba(116,61,255,.22);}

/* Primary buttons */
html body #twm-app#twm-app#twm-app :is(
  .twm-btn:not(.ghost):not(.sc-btn-ghost):not(.danger):not(.secondary),
  a.tw5-send,
  .shp-search button
):not(:disabled):not([disabled]):not([aria-disabled="true"]),
/* Active tabs / chips */
html body #twm-app#twm-app#twm-app :is(
  .mx-order-tabs button[aria-pressed="true"],
  .twp-tabs button[aria-pressed="true"],
  .mx-tabs a[aria-current],
  .rx-chip.on,
  .shp-cats .shp-cat[aria-pressed="true"]
):not(:disabled):not([disabled]):not([aria-disabled="true"]){
  background-color:#743DFF !important;
  background-image:var(--twg-grad) !important;
  background-origin:border-box !important;
  background-repeat:no-repeat !important;
  background-size:100% 100% !important;
  border-color:transparent !important;
  color:#FFFFFF !important;
  box-shadow:var(--twg-glow) !important;
  text-shadow:0 1px 2px rgba(7,27,73,.28);
}
/* pill shape for buttons/tabs (category tiles keep their own rounded-square radius) */
html body #twm-app#twm-app#twm-app :is(.twm-btn:not(.ghost):not(.sc-btn-ghost):not(.danger):not(.secondary),a.tw5-send,.shp-search button,.mx-order-tabs button[aria-pressed="true"],.twp-tabs button[aria-pressed="true"],.mx-tabs a[aria-current],.rx-chip.on):not(:disabled):not([disabled]):not([aria-disabled="true"]){border-radius:999px !important;}
/* keep inner labels white on the active category tile */
html body #twm-app#twm-app#twm-app .shp-cats .shp-cat[aria-pressed="true"] :is(span,b,small){color:#FFFFFF !important;}
