/* HelixaLife theme: affiliate pages (inc/affiliates.php). Only what the generated design CSS (dc.css) can't express:
   states the captures don't draw and the reset for design buttons that became real links / submit buttons. */

/* "Sign in" in the affiliates sign-in card is a submit button drawn like the design's link-button */
[data-aff] .hx-asbtn{border:0;cursor:pointer;font-family:inherit;-webkit-appearance:none;appearance:none}
[data-aff] form{margin:0}
[data-aff] a[href]{cursor:pointer}

/* settings: email notifications switch, off state (the design only draws "on") */
[data-aff-switch] > span:last-child{transition:background .15s ease}
[data-aff-switch] > span:last-child > span{transition:left .15s ease}
[data-aff-switch][aria-checked="false"] > span:last-child{background:#C9D3E6!important}
[data-aff-switch][aria-checked="false"] > span:last-child > span{left:3px!important}
[data-aff-switch]:focus-visible,[data-aff-check]:focus-visible{outline:2px solid var(--hx-azure);outline-offset:2px}

/* settings saved line */
[data-aff-saved]{align-self:center;color:#0F7A55!important;font-weight:600}

/* pagination under referrals / visits */
[data-aff] .hx-aff-pager a{font-weight:600}

/* mobile tab row: links instead of buttons, keep the row scrolling sideways without a visible bar */
[data-aff-tabs]{scrollbar-width:none}
[data-aff-tabs]::-webkit-scrollbar{display:none}

/* long referral URLs never push the page sideways */
[data-gen-out],[data-aff] [data-copy-label]{overflow-wrap:anywhere}

/* design buttons that became links: keep the button's centred label */
[data-aff-tabs] > a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

/* link generator, phone: the input stacks above the button (its flex:1 basis collapses in a column) */
[data-gen-input]{flex-basis:auto!important;min-height:52px}
