/* Store Coins — Bigazone brand presentation. Styling only. */
:root{--msr-primary:#7047c8;--msr-primary-dark:#5a35ad;--msr-orange:#ff791a;--msr-green:#20b879;--msr-teal:#009c9a;--msr-ink:#1e1b2e;--msr-muted:#6b6880;--msr-line:#e9e7f1;--msr-soft:#f2eefb;--msr-shadow:0 14px 30px -24px rgba(30,16,70,.45)}

/* ---------- Page headings ---------- */
html body .woocommerce-MyAccount-content .msr-coins-account-page>h2{display:flex;align-items:center;gap:12px;margin:0 0 16px;color:var(--msr-ink);font-size:24px;font-weight:800}
html body .woocommerce-MyAccount-content .msr-coins-account-page>h2::before{content:"";width:42px;height:42px;flex:none;border-radius:5px;background:var(--msr-primary)}
html body .woocommerce-MyAccount-content .msr-coins-account-page>h2{position:relative}
html body .woocommerce-MyAccount-content .msr-coins-account-page>h2::after{content:"";position:absolute;left:11px;top:50%;width:20px;height:20px;margin-top:-10px;background:#fff;-webkit-mask:url('icons/coins.svg') center/contain no-repeat;mask:url('icons/coins.svg') center/contain no-repeat}

/* ---------- Balance hero ---------- */
html body .woocommerce-MyAccount-content .msr-coins-balance-box{position:relative;overflow:hidden;isolation:isolate;margin:0 0 10px;padding:30px 24px;border:0!important;border-radius:5px!important;background:radial-gradient(90% 170% at 96% 0%,var(--msr-orange) 0,transparent 55%),linear-gradient(115deg,var(--msr-teal) 0%,var(--msr-primary) 58%)!important;color:#fff!important;text-align:center;box-shadow:0 22px 40px -28px var(--msr-primary)}
html body .woocommerce-MyAccount-content .msr-coins-balance-box::before{content:"";position:absolute;z-index:-1;right:22px;bottom:-14px;width:120px;height:120px;background:rgba(255,255,255,.16);-webkit-mask:url('icons/coins.svg') center/contain no-repeat;mask:url('icons/coins.svg') center/contain no-repeat}
html body .woocommerce-MyAccount-content .msr-coins-balance-box :is(div,span,strong,small,p){color:#fff!important;opacity:1}
html body .woocommerce-MyAccount-content .msr-coins-balance-label{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
html body .woocommerce-MyAccount-content .msr-coins-balance-amount{font-size:40px;font-weight:800;line-height:1.25}
html body .woocommerce-MyAccount-content .msr-coins-value-info{display:inline-block;margin:0 0 24px;padding:7px 14px;border-radius:99px;background:var(--msr-soft);color:var(--msr-primary-dark);font-size:13px;font-weight:600}

/* ---------- Summary cards ---------- */
html body .woocommerce-MyAccount-content .msr-coins-dashboard__header h2{margin-bottom:4px;color:var(--msr-ink);font-size:20px;font-weight:800}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__header p{color:var(--msr-muted);font-size:14px}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__cards{gap:16px}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card{--tone:var(--msr-primary);--ico:url('icons/coins.svg');position:relative;padding:22px 84px 22px 22px;border:1px solid color-mix(in srgb,var(--tone) 20%,#fff);border-radius:5px;background:linear-gradient(120deg,#fff 25%,color-mix(in srgb,var(--tone) 11%,#fff))}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card+.msr-coins-dashboard__card{--tone:var(--msr-green);--ico:url('icons/money.svg')}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card::before{content:"";position:absolute;right:18px;top:50%;width:50px;height:50px;margin-top:-25px;border-radius:5px;background:var(--tone);box-shadow:0 12px 20px -12px var(--tone)}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card::after{content:"";position:absolute;right:31px;top:50%;width:24px;height:24px;margin-top:-12px;background:#fff;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card-title{font-weight:700;color:var(--msr-muted);opacity:1;font-size:13px}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card-value{color:var(--msr-ink);font-weight:800}

/* ---------- Status boxes ---------- */
html body .woocommerce-MyAccount-content :is(.msr-coins-dashboard__ready,.msr-coins-dashboard__progress,.msr-coins-outstanding-notice){--tone:var(--msr-green);--ico:url('icons/check-circle.svg');position:relative;padding:18px 20px 18px 66px;border:1px solid color-mix(in srgb,var(--tone) 28%,#fff);border-radius:5px;background:color-mix(in srgb,var(--tone) 8%,#fff)}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__progress{--tone:var(--msr-orange);--ico:url('icons/line-chart.svg')}
html body .woocommerce-MyAccount-content .msr-coins-outstanding-notice{--tone:var(--msr-orange);--ico:url('icons/info-circle.svg')}
html body .woocommerce-MyAccount-content :is(.msr-coins-dashboard__ready,.msr-coins-dashboard__progress,.msr-coins-outstanding-notice)::before{content:"";position:absolute;left:20px;top:21px;width:28px;height:28px;background:var(--tone);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}

/* ---------- History ---------- */
html body .woocommerce-MyAccount-content details.msr-coins-history-details{margin-top:16px;border:1px solid var(--msr-line);border-radius:5px;background:#fff;box-shadow:var(--msr-shadow)}
html body .woocommerce-MyAccount-content details.msr-coins-history-details>summary{justify-content:flex-start;gap:12px;margin:0;padding:15px 18px;color:var(--msr-ink);font-size:16px;font-weight:800}
html body .woocommerce-MyAccount-content details.msr-coins-history-details>summary::before{content:"";flex:none;width:22px;height:22px;background:var(--msr-primary);-webkit-mask:url('icons/history.svg') center/contain no-repeat;mask:url('icons/history.svg') center/contain no-repeat}
html body .woocommerce-MyAccount-content details.msr-coins-credit-history>summary::before{-webkit-mask-image:url('icons/credit-card.svg');mask-image:url('icons/credit-card.svg')}
html body .woocommerce-MyAccount-content details.msr-coins-history-details>summary::after{margin-left:auto}
html body .woocommerce-MyAccount-content .msr-coins-history-details__content{box-sizing:border-box;padding:0 14px 14px}
html body .woocommerce-MyAccount-content .msr-coins-transaction-list{border-color:var(--msr-line);border-radius:5px}
html body .woocommerce-MyAccount-content .msr-coins-transaction-row{--tone:var(--msr-green);--ico:url('icons/plus.svg');position:relative;padding-left:64px;border-color:var(--msr-line)}
html body .woocommerce-MyAccount-content .msr-coins-transaction-row.is-debit{--tone:var(--msr-orange);--ico:url('icons/minus.svg')}
html body .woocommerce-MyAccount-content .msr-coins-transaction-row::before{content:"";position:absolute;left:16px;top:18px;width:34px;height:34px;border-radius:50%;background:color-mix(in srgb,var(--tone) 15%,#fff)}
html body .woocommerce-MyAccount-content .msr-coins-transaction-row::after{content:"";position:absolute;left:27px;top:29px;width:12px;height:12px;background:var(--tone);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
html body .woocommerce-MyAccount-content .msr-coins-transaction-row.is-credit .msr-coins-transaction-amount{color:#126b3a}
html body .woocommerce-MyAccount-content .msr-coins-history-navigation a{color:var(--msr-primary);font-weight:700}

/* ---------- Service tabs ---------- */
html body .woocommerce-MyAccount-content .msr-wallet-tabs{gap:12px;margin:24px 0 4px}
html body .woocommerce-MyAccount-content .msr-wallet-tabs button{--ico:url('icons/coins.svg');display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:92px;margin:0;padding:14px 8px;border:1px solid var(--msr-line)!important;border-radius:5px!important;background:#fff!important;color:var(--msr-ink)!important;font-size:13.5px;font-weight:700;line-height:1.3;text-transform:none;box-shadow:var(--msr-shadow);transition:transform .2s,border-color .2s}
html body .woocommerce-MyAccount-content .msr-wallet-tabs button::before{content:"";width:26px;height:26px;background:var(--msr-primary);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
html body .woocommerce-MyAccount-content .msr-wallet-tabs button[data-wallet-tab="recharge"]{--ico:url('icons/mobile.svg')}
html body .woocommerce-MyAccount-content .msr-wallet-tabs button[data-wallet-tab="mfs"]{--ico:url('icons/exchange.svg')}
html body .woocommerce-MyAccount-content .msr-wallet-tabs button[data-wallet-tab="transfer"]{--ico:url('icons/paper-plane.svg')}
html body .woocommerce-MyAccount-content .msr-wallet-tabs button:hover{transform:translateY(-2px);border-color:var(--msr-primary)!important}
html body .woocommerce-MyAccount-content .msr-wallet-tabs button[aria-selected="true"]{border-color:var(--msr-primary)!important;background:var(--msr-primary)!important;color:#fff!important}
html body .woocommerce-MyAccount-content .msr-wallet-tabs button[aria-selected="true"]::before{background:#fff}
html body .woocommerce-MyAccount-content .msr-wallet-tabs button:focus-visible{outline:2px solid var(--msr-primary);outline-offset:3px}

/* ---------- Service panels ---------- */
html body .woocommerce-MyAccount-content :is(.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer){margin-top:14px;padding:24px;border:1px solid var(--msr-line)!important;border-radius:5px!important;background:#fff!important;box-shadow:var(--msr-shadow)}
html body .woocommerce-MyAccount-content :is(.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer) h3{color:var(--msr-ink);font-size:19px;font-weight:800}
html body .woocommerce-MyAccount-content .msr-coins-redemption-balance-card{border-color:color-mix(in srgb,var(--msr-primary) 18%,#fff);border-radius:5px;background:linear-gradient(120deg,#fff 25%,var(--msr-soft))}
html body .woocommerce-MyAccount-content .msr-coins-redemption-balance-card+.msr-coins-redemption-balance-card{border-color:color-mix(in srgb,var(--msr-green) 25%,#fff);background:linear-gradient(120deg,#fff 25%,color-mix(in srgb,var(--msr-green) 10%,#fff))}
html body .woocommerce-MyAccount-content :is(.msr-coins-recharge__locked-message,.msr-coins-mfs__notice,.msr-transfer-locked,.msr-coins-redemption-notice,.msr-coins-stage19-email-notice){border:1px solid color-mix(in srgb,var(--msr-orange) 30%,#fff)!important;border-radius:5px!important;background:color-mix(in srgb,var(--msr-orange) 8%,#fff)!important}
html body .woocommerce-MyAccount-content :is(.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer) :is(input.input-text,input[type="text"],input[type="number"],input[type="tel"],input[type="email"],input[type="password"],select){height:48px!important;min-height:48px!important;border:1.5px solid var(--msr-line)!important;border-radius:5px!important;background-color:#fbfaff!important}
html body .woocommerce-MyAccount-content :is(.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer) :is(input,select):focus{border-color:var(--msr-primary)!important;box-shadow:0 0 0 3px var(--msr-soft)!important;outline:0}
html body .woocommerce-MyAccount-content :is(.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer) :is(input,select):disabled{background-color:#f4f3f7!important;cursor:not-allowed}
html body .woocommerce-MyAccount-content :is(.msr-coins-recharge__operator-options,.msr-coins-mfs__choices) span{border-radius:5px}
html body .woocommerce-MyAccount-content :is(.msr-coins-recharge__operator-options,.msr-coins-mfs__choices) input:checked+span{border-color:var(--msr-primary);background:var(--msr-soft);color:var(--msr-primary-dark)}

/* Action buttons: solid brand button, grey while unavailable. */
html body .woocommerce-MyAccount-content :is(.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer) button.button.button:is(.msr-coins-redeem-button,.msr-coins-recharge__submit,.msr-coins-mfs__submit,.msr-transfer-button){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px;min-height:48px!important;padding:0 26px!important;border:0!important;border-radius:5px!important;background:var(--msr-primary)!important;color:#fff!important;font-size:14px!important;font-weight:700!important;text-transform:none!important;box-shadow:0 14px 24px -16px var(--msr-primary)!important}
html body .woocommerce-MyAccount-content :is(.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer) button.button.button:is(.msr-coins-redeem-button,.msr-coins-recharge__submit,.msr-coins-mfs__submit,.msr-transfer-button):not(:disabled):is(:hover,:focus-visible){background:var(--msr-primary-dark)!important}
html body .woocommerce-MyAccount-content button.button.button:is(.msr-coins-redeem-button,.msr-coins-recharge__submit,.msr-coins-mfs__submit,.msr-transfer-button)::before{content:""!important;display:inline-block!important;width:16px;height:16px;background:currentColor;-webkit-mask:url('icons/paper-plane.svg') center/contain no-repeat;mask:url('icons/paper-plane.svg') center/contain no-repeat}
html body .woocommerce-MyAccount-content button.button.button.msr-coins-redeem-button::before{-webkit-mask-image:url('icons/gift.svg');mask-image:url('icons/gift.svg')}
html body .woocommerce-MyAccount-content :is(.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer) button.button.button:is(.msr-coins-redeem-button,.msr-coins-recharge__submit,.msr-coins-mfs__submit,.msr-transfer-button):disabled{background:#e7e5ee!important;color:#6f6c80!important;box-shadow:none!important;cursor:not-allowed!important}
html body .woocommerce-MyAccount-content button.button.button:is(.msr-coins-redeem-button,.msr-coins-recharge__submit,.msr-coins-mfs__submit,.msr-transfer-button):disabled::before{-webkit-mask-image:url('icons/lock.svg');mask-image:url('icons/lock.svg')}

/* Messages */
html body .woocommerce-MyAccount-content .msr-wallet-message{border-radius:5px}
html body .woocommerce-MyAccount-content .msr-wallet-message.is-success,
html body.woocommerce-account .woocommerce .woocommerce-message{border-color:var(--msr-green)!important;background-color:color-mix(in srgb,var(--msr-green) 10%,#fff)!important;color:#126b3a!important}
html body.woocommerce-account .woocommerce :is(.woocommerce-message::before,.woocommerce-message a){color:#126b3a!important}

/* Tables */
html body .woocommerce-MyAccount-content :is(.msr-coins-mfs-history,.msr-coins-recharge-history,.msr-coins-transfer-history) table{overflow:hidden;border:1px solid var(--msr-line);border-radius:5px}
html body .woocommerce-MyAccount-content :is(.msr-coins-mfs-history,.msr-coins-recharge-history,.msr-coins-transfer-history) thead th{background:var(--msr-soft);color:var(--msr-primary-dark);font-size:12px;text-transform:uppercase}

/* ---------- How coins work ---------- */
html body .woocommerce-MyAccount-content details.msr-coins-how-guide{border-color:var(--msr-line);border-radius:5px;box-shadow:var(--msr-shadow)}
html body .woocommerce-MyAccount-content details.msr-coins-how-guide>summary{justify-content:flex-start;gap:12px;padding:16px 18px;color:var(--msr-ink);font-size:16px;font-weight:800}
html body .woocommerce-MyAccount-content details.msr-coins-how-guide>summary::before{content:"";flex:none;width:22px;height:22px;background:var(--msr-orange);-webkit-mask:url('icons/info-circle.svg') center/contain no-repeat;mask:url('icons/info-circle.svg') center/contain no-repeat}
html body .woocommerce-MyAccount-content details.msr-coins-how-guide>summary::after{margin-left:auto}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__rule{padding:14px;border:1px solid var(--msr-line);border-radius:5px;background:#fbfaff}

/* ---------- Checkout store credit ---------- */
html body.woocommerce-checkout .msr-coins-checkout-credit{box-sizing:border-box;border:1.5px solid color-mix(in srgb,var(--msr-primary) 25%,#fff);border-radius:5px;background:var(--msr-soft)}
html body.woocommerce-checkout .msr-coins-checkout-credit__title{color:var(--msr-ink);font-weight:800}
html body.woocommerce-checkout .msr-coins-checkout-credit input[type="checkbox"]{accent-color:var(--msr-primary)}

/* ---------- Phones ---------- */
@media(max-width:600px){
 html body .woocommerce-MyAccount-content .msr-coins-balance-amount{font-size:32px}
 html body .woocommerce-MyAccount-content .msr-coins-dashboard__cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html body .woocommerce-MyAccount-content .msr-coins-dashboard__card{padding:60px 12px 14px}
 html body .woocommerce-MyAccount-content .msr-coins-dashboard__card::before{top:12px;right:12px;width:36px;height:36px;margin:0;border-radius:5px}
 html body .woocommerce-MyAccount-content .msr-coins-dashboard__card::after{top:21px;right:21px;width:18px;height:18px;margin:0}
 html body .woocommerce-MyAccount-content .msr-coins-dashboard__card-value{font-size:22px}
 html body .woocommerce-MyAccount-content .msr-wallet-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html body .woocommerce-MyAccount-content :is(.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer){padding:18px 14px}
 html body .woocommerce-MyAccount-content .msr-coins-transaction-row{padding-left:60px}
 html body .woocommerce-MyAccount-content .msr-coins-redemption-field input{width:100%!important;max-width:100%!important}
}
@media(prefers-reduced-motion:reduce){html body .msr-wallet-tabs button{transition:none!important}}

/* ---------- WordPress admin (Store Coins screens) ---------- */
body.wp-admin .wrap[class*="msr-"]>h1{display:flex;align-items:center;gap:12px;box-sizing:border-box;margin:6px 0 16px;padding:20px 22px;border-radius:5px;background:radial-gradient(90% 170% at 96% 0%,var(--msr-orange) 0,transparent 55%),linear-gradient(115deg,var(--msr-teal) 0%,var(--msr-primary) 58%);color:#fff;font-weight:700}
body.wp-admin .wrap[class*="msr-"]>h1::before{content:"";flex:none;width:26px;height:26px;background:#fff;-webkit-mask:url('icons/coins.svg') center/contain no-repeat;mask:url('icons/coins.svg') center/contain no-repeat}
body.wp-admin .wrap[class*="msr-"] :is(.msr-coins-admin-box,.msr-coins-admin-balance-card,.msr-stage23-summary-card,.msr-stage24-card,.msr-stage25-card,.msr-stage27-card){border:1px solid var(--msr-line);border-radius:5px;background:#fff;box-shadow:var(--msr-shadow)}
body.wp-admin .wrap[class*="msr-"] .msr-coins-admin-balance-card{border-top:4px solid var(--msr-primary)}
body.wp-admin .wrap[class*="msr-"] .msr-coins-admin-balance-card+.msr-coins-admin-balance-card{border-top-color:var(--msr-green)}
body.wp-admin .wrap[class*="msr-"] .button-primary{border-color:var(--msr-primary)!important;background:var(--msr-primary)!important;color:#fff!important}
body.wp-admin .wrap[class*="msr-"] .button-primary:is(:hover,:focus){border-color:var(--msr-primary-dark)!important;background:var(--msr-primary-dark)!important}
body.wp-admin .wrap[class*="msr-"] .button:not(.button-primary,.button-link-delete){border-color:var(--msr-primary);color:var(--msr-primary)}
body.wp-admin .wrap[class*="msr-"] table.widefat{overflow:hidden;border:1px solid var(--msr-line);border-radius:5px}
body.wp-admin .wrap[class*="msr-"] table.widefat thead :is(th,td){background:var(--msr-soft);color:var(--msr-ink);font-weight:700}
body.wp-admin .wrap[class*="msr-"] :is(input,select,textarea):focus{border-color:var(--msr-primary);box-shadow:0 0 0 1px var(--msr-primary)}

/* ========== Mobile friendly (styling only) ========== */
/* Wallet provider choices: the hidden radio must not take its own line. */
html body .woocommerce-MyAccount-content .msr-coins-mfs__choices input[type="radio"]{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;opacity:0!important}
@media(max-width:782px){
 /* 16px stops phones zooming in when a field is tapped. */
 html body .woocommerce-MyAccount-content :is(.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer) :is(input.input-text,input[type="text"],input[type="number"],input[type="tel"],input[type="email"],select){font-size:16px!important}
}
@media(max-width:767px){
 /* One frame instead of two around the request forms. */
 html body .woocommerce-MyAccount-content :is(.msr-coins-recharge,.msr-coins-mfs) fieldset{padding:0!important;border:0!important;background:transparent!important}
}
/* History tables become cards when their space is too narrow for all columns. */
html body .woocommerce-MyAccount-content :is(.msr-coins-recharge-history__wrap,.msr-coins-mfs__scroll,.msr-coins-transfer-history__wrap){container-type:inline-size}
@container (max-width:820px){
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table,html body .woocommerce-MyAccount-content .msr-coins-mfs-history table{display:block;width:100%;border:0!important;background:transparent}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table thead,html body .woocommerce-MyAccount-content .msr-coins-mfs-history table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody,html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:10px;width:100%}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tr,html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tr{display:block;min-width:0;margin:0;padding:4px 12px;box-sizing:border-box;border:1px solid var(--msr-line);border-radius:5px;background:#fff}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody td,html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td{display:flex!important;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;width:100%!important;box-sizing:border-box;padding:9px 0!important;border:0!important;border-bottom:1px solid var(--msr-line)!important;background:transparent!important;text-align:right!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13.5px}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody td:last-child,html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td:last-child{border-bottom:0!important}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody td::before,html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td::before{flex:none;color:var(--msr-muted);font-size:12px;font-weight:700;text-align:left}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody td:nth-child(1)::before{content:"Request"}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody td:nth-child(2)::before{content:"Mobile"}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody td:nth-child(3)::before{content:"Amount"}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody td:nth-child(4)::before{content:"Operator"}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody td:nth-child(5)::before{content:"Payment"}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody td:nth-child(6)::before{content:"Status"}
 html body .woocommerce-MyAccount-content .msr-coins-recharge-history__table tbody td:nth-child(7)::before{content:"Date"}
 html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td:nth-child(1)::before{content:"Request"}
 html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td:nth-child(2)::before{content:"Provider"}
 html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td:nth-child(3)::before{content:"Wallet"}
 html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td:nth-child(4)::before{content:"Store Credit Used"}
 html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td:nth-child(5)::before{content:"Fee"}
 html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td:nth-child(6)::before{content:"To Send"}
 html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td:nth-child(7)::before{content:"Status"}
 html body .woocommerce-MyAccount-content .msr-coins-mfs-history table tbody td:nth-child(8)::before{content:"Date"}
}
@container (max-width:520px){
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table{display:block;width:100%;border:0!important;background:transparent}
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:10px;width:100%}
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table tr{display:block;min-width:0;margin:0;padding:4px 12px;box-sizing:border-box;border:1px solid var(--msr-line);border-radius:5px;background:#fff}
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table tbody td{display:flex!important;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;width:100%!important;box-sizing:border-box;padding:9px 0!important;border:0!important;border-bottom:1px solid var(--msr-line)!important;background:transparent!important;text-align:right!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13.5px}
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table tbody td:last-child{border-bottom:0!important}
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table tbody td::before{flex:none;color:var(--msr-muted);font-size:12px;font-weight:700;text-align:left}
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table tbody td:nth-child(1)::before{content:"Type"}
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table tbody td:nth-child(2)::before{content:"Coins"}
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table tbody td:nth-child(3)::before{content:"Reference"}
 html body .woocommerce-MyAccount-content .msr-coins-transfer-history__table tbody td:nth-child(4)::before{content:"Date"}
}
@media(max-width:600px){
 /* Summary cards: one full-width card per row, one below the other. */
 html body .woocommerce-MyAccount-content .msr-coins-dashboard__cards{grid-template-columns:minmax(0,1fr)}
 html body.woocommerce-checkout .msr-coins-checkout-credit__toggle{min-height:44px;font-size:15px}
 html body.woocommerce-checkout .msr-coins-checkout-credit input[type="checkbox"]{width:22px;height:22px}
 html body.woocommerce-checkout .msr-coins-checkout-credit__balance{padding-left:31px;font-size:13px}
}

/* ---------- Admin screens on phones ---------- */
@media(max-width:782px){
 body.wp-admin .wrap[class*="msr-"] .msr-coins-admin-box{padding:16px}
 body.wp-admin .msr-coins-admin-box :is(input[type="search"],input[type="text"],input[type="number"],textarea){width:100%!important;max-width:100%;margin:0 0 10px}
 body.wp-admin .msr-coins-stage27 table{width:100%;table-layout:fixed}
 body.wp-admin .msr-coins-stage27 table :is(th,td){padding:8px 6px;overflow-wrap:anywhere}
 body.wp-admin .msr-coins-stage27 table tr>:first-child{width:22%}
 body.wp-admin .msr-coins-stage27 table tr>:nth-child(2){width:30%}
 body.wp-admin .msr-coins-stage27 table td:first-child *{min-width:0!important}
 /* Request lists become one card per request. */
 body.wp-admin .msr-mfs-table-wrap table,body.wp-admin .msr-coins-recharge-admin__table-wrap table{display:block;width:100%!important;min-width:0!important;overflow:visible;border:0;background:transparent;box-shadow:none}
 body.wp-admin .msr-mfs-table-wrap table thead,body.wp-admin .msr-coins-recharge-admin__table-wrap table thead,body.wp-admin .msr-mfs-table-wrap table tfoot,body.wp-admin .msr-coins-recharge-admin__table-wrap table tfoot{display:none}
 body.wp-admin .msr-mfs-table-wrap table tbody,body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody{display:block;width:100%}
 body.wp-admin .msr-mfs-table-wrap table tbody tr,body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody tr{display:block;margin:0 0 12px;padding:4px 12px;border:1px solid var(--msr-line);border-radius:5px;background:#fff}
 body.wp-admin .msr-mfs-table-wrap table tbody td,body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td{display:flex!important;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;width:100%!important;max-width:none!important;box-sizing:border-box;padding:9px 0!important;border:0;border-bottom:1px solid var(--msr-line);text-align:right!important;white-space:normal!important;overflow-wrap:anywhere}
 body.wp-admin .msr-mfs-table-wrap table tbody td:last-child,body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:last-child{border-bottom:0}
 body.wp-admin .msr-mfs-table-wrap table tbody td[colspan],body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td[colspan]{justify-content:center}
 body.wp-admin .msr-mfs-table-wrap table tbody td:not([colspan])::before,body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:not([colspan])::before{flex:none;color:var(--msr-muted);font-size:12px;font-weight:700;text-align:left}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(1):not([colspan])::before{content:"Request"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(2):not([colspan])::before{content:"Customer"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(3):not([colspan])::before{content:"Customer Phone"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(4):not([colspan])::before{content:"Provider"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(5):not([colspan])::before{content:"Wallet"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(6):not([colspan])::before{content:"Credit Used"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(7):not([colspan])::before{content:"Fee"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(8):not([colspan])::before{content:"Send"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(9):not([colspan])::before{content:"Status"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(10):not([colspan])::before{content:"Date"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(11):not([colspan])::before{content:"Special Note"}
 body.wp-admin .msr-mfs-table-wrap table tbody td:nth-child(12):not([colspan])::before{content:"Actions"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(1):not([colspan])::before{content:"Request"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(2):not([colspan])::before{content:"Customer"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(3):not([colspan])::before{content:"Customer Phone"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(4):not([colspan])::before{content:"Mobile"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(5):not([colspan])::before{content:"Operator"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(6):not([colspan])::before{content:"Recharge"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(7):not([colspan])::before{content:"Payment"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(8):not([colspan])::before{content:"Status"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(9):not([colspan])::before{content:"Date"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(10):not([colspan])::before{content:"Special Note"}
 body.wp-admin .msr-coins-recharge-admin__table-wrap table tbody td:nth-child(11):not([colspan])::before{content:"Actions"}
}

/* ---------- Wallet summary: clean, matching cards (all screen sizes) ---------- */
html body .woocommerce-MyAccount-content .msr-coins-dashboard__cards{gap:10px}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card{display:flex;flex-direction:column;justify-content:center;min-height:92px;padding:16px 16px 16px 78px;border:1px solid var(--msr-line);border-radius:5px;background:#fff;box-shadow:var(--msr-shadow);text-align:left}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card::before{top:50%;left:16px;right:auto;width:46px;height:46px;margin-top:-23px;border-radius:5px;background:color-mix(in srgb,var(--tone) 12%,#fff);box-shadow:none}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card::after{top:50%;left:28px;right:auto;width:22px;height:22px;margin-top:-11px;background:var(--tone)}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card-title{margin:0;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card-value{margin:2px 0;font-size:24px;line-height:1.3}
html body .woocommerce-MyAccount-content .msr-coins-dashboard__card-description{margin:0;color:var(--msr-muted);font-size:12.5px;line-height:1.5;opacity:1}
html body .woocommerce-MyAccount-content :is(.msr-coins-dashboard__ready,.msr-coins-dashboard__progress,.msr-coins-outstanding-notice){margin-top:10px;padding:16px 16px 16px 78px;border:1px solid var(--msr-line);border-radius:5px;background:#fff;box-shadow:var(--msr-shadow)}
html body .woocommerce-MyAccount-content :is(.msr-coins-dashboard__ready,.msr-coins-dashboard__progress,.msr-coins-outstanding-notice)::after{content:"";position:absolute;left:16px;top:16px;width:46px;height:46px;border-radius:5px;background:color-mix(in srgb,var(--tone) 12%,#fff)}
html body .woocommerce-MyAccount-content :is(.msr-coins-dashboard__ready,.msr-coins-dashboard__progress,.msr-coins-outstanding-notice)::before{z-index:1;left:27px;top:27px;width:24px;height:24px}
html body .woocommerce-MyAccount-content :is(.msr-coins-dashboard__ready,.msr-coins-dashboard__progress,.msr-coins-outstanding-notice) strong{display:block;margin:0 0 3px;color:var(--msr-ink);font-size:14.5px;line-height:1.45}
html body .woocommerce-MyAccount-content :is(.msr-coins-dashboard__ready,.msr-coins-dashboard__progress,.msr-coins-outstanding-notice) p{margin:0;color:var(--msr-muted);font-size:12.5px;line-height:1.6}

/* ---------- Corners: 5px on boxes, buttons, fields and banners; pills and circles stay round ---------- */
html body .woocommerce-MyAccount-content :is(.msr-coins-balance-box,.msr-coins-dashboard__card,.msr-coins-dashboard__ready,.msr-coins-dashboard__progress,.msr-coins-outstanding-notice,.msr-coins-history-details,.msr-coins-transactions,.msr-coins-transaction-list,.msr-coins-credit-history,.msr-coins-redemption,.msr-coins-recharge,.msr-coins-mfs,.msr-coins-transfer,.msr-coins-redemption-balance-card,.msr-coins-how-guide,.msr-coins-dashboard__rule,.msr-coins-recharge__locked-message,.msr-coins-mfs__notice,.msr-transfer-locked,.msr-coins-redemption-notice,.msr-coins-stage19-email-notice,.msr-wallet-message){border-radius:5px!important}
html body .woocommerce-MyAccount-content [class*="msr-"] :is(button,input,select,textarea):not([type="radio"]):not([type="checkbox"]),
html body .woocommerce-MyAccount-content .msr-wallet-tabs button,
html body .woocommerce-MyAccount-content :is(.msr-coins-recharge__operator-options,.msr-coins-mfs__choices) span,
html body.woocommerce-checkout .msr-coins-checkout-credit{border-radius:5px!important}

/* ---------- Admin: every Coins screen uses the full width ---------- */
body.wp-admin .wrap[class*="msr-"],
body.wp-admin .wrap[class*="msr-"] :is([class*="__grid"],[class*="__section"],[class*="-intro"],.msr-mfs-details__grid){max-width:none!important}
body.wp-admin .wrap[class*="msr-"]{margin-right:20px}

/* ---------- Admin Coins Management ---------- */
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-box{margin-top:16px;padding:22px 24px}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-box h2{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:0;color:var(--msr-ink);font-size:16px;font-weight:700}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-box h2::before{content:"";flex:none;width:4px;height:18px;border-radius:99px;background:var(--msr-primary)}
body.wp-admin .wrap.msr-coins-admin .msr-coins-customer-search{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px}
body.wp-admin .wrap.msr-coins-admin .msr-coins-customer-search input.regular-text{flex:1 1 260px;width:auto;max-width:none;min-height:46px;margin:0;padding:0 14px 0 42px;border:1px solid var(--msr-line);border-radius:5px;background:#fbfaff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237047c8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 14px 50%/18px 18px no-repeat;font-size:14px}
body.wp-admin .wrap.msr-coins-admin .msr-coins-customer-search .button{min-height:46px;margin:0;padding:0 26px;border-radius:5px;font-weight:600}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-balance-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:16px}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-balance-card{min-width:0;margin:0;padding:18px 20px;border-radius:5px;box-shadow:none}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-balance-card>span{display:block;margin:0 0 6px;color:var(--msr-muted);font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-balance-card>strong{display:block;color:var(--msr-ink);font-size:26px;line-height:1.3}
body.wp-admin .wrap.msr-coins-admin .msr-coins-stage21-overview-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
body.wp-admin .wrap.msr-coins-admin .msr-coins-stage21-overview-grid>div{padding:14px 16px;border:1px solid var(--msr-line);border-radius:5px;background:#fbfaff}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-box form:not(.msr-coins-customer-search) label{display:inline-block;margin:0 0 4px;color:var(--msr-ink);font-weight:600}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-box form:not(.msr-coins-customer-search) input[type="number"]{width:280px;max-width:100%;min-height:42px;border-color:var(--msr-line);border-radius:5px}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-box textarea{width:100%;max-width:100%;border-color:var(--msr-line);border-radius:5px}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-box form:not(.msr-coins-customer-search) .button{min-height:40px;margin-right:8px;padding:0 20px;border-radius:5px;font-weight:600}
body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-box table.widefat :is(th,td){padding:12px;vertical-align:middle}
@media(max-width:782px){
 body.wp-admin .wrap.msr-coins-admin .msr-coins-admin-box{padding:16px}
 body.wp-admin .wrap.msr-coins-admin .msr-coins-customer-search>*:not([type="hidden"]){flex:1 1 100%;width:100%}
}
/* Start screen: one centred search panel. */
@media(min-width:783px){
 body.wp-admin .wrap.msr-coins-admin:not(:has(.msr-coins-admin-balance-cards,table.widefat,.msr-coins-admin-search-notice)) .msr-coins-admin-box{display:flex;flex-direction:column;align-items:center;padding:56px 24px 60px;text-align:center}
 body.wp-admin .wrap.msr-coins-admin:not(:has(.msr-coins-admin-balance-cards,table.widefat,.msr-coins-admin-search-notice)) .msr-coins-admin-box::before{content:"";width:72px;height:72px;margin-bottom:18px;border-radius:5px;background:var(--msr-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237047c8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2.5 20c.8-3.4 3.4-5 6.5-5 1 0 1.900.2 2.700.5'/%3E%3Ccircle cx='16.5' cy='16' r='3.5'/%3E%3Cpath d='m19.2 18.7 2.3 2.3'/%3E%3C/svg%3E") 50% 50%/36px 36px no-repeat}
 body.wp-admin .wrap.msr-coins-admin:not(:has(.msr-coins-admin-balance-cards,table.widefat,.msr-coins-admin-search-notice)) .msr-coins-admin-box h2{margin-bottom:6px;font-size:22px}
 body.wp-admin .wrap.msr-coins-admin:not(:has(.msr-coins-admin-balance-cards,table.widefat,.msr-coins-admin-search-notice)) .msr-coins-admin-box h2::before{content:none}
 body.wp-admin .wrap.msr-coins-admin:not(:has(.msr-coins-admin-balance-cards,table.widefat,.msr-coins-admin-search-notice)) .msr-coins-admin-box h2::after{content:none}
 body.wp-admin .wrap.msr-coins-admin:not(:has(.msr-coins-admin-balance-cards,table.widefat,.msr-coins-admin-search-notice)) .msr-coins-customer-search{justify-content:center;width:100%;max-width:760px;margin-top:16px}
}

/* Detail screens without a Coins class, Audit and Settings controls, and the Reports table. */
body.wp-admin[class*="_page_msr-"] #wpbody-content>.wrap>h1{display:flex;align-items:center;gap:12px;box-sizing:border-box;margin:6px 0 16px;padding:20px 22px;border-radius:5px!important;background:radial-gradient(90% 170% at 96% 0%,#ff791a 0,transparent 55%),linear-gradient(115deg,#009c9a 0%,#7047c8 58%);color:#fff;font-weight:700}
body.wp-admin[class*="_page_msr-"] #wpbody-content>.wrap>h1::before{content:"";flex:none;width:26px;height:26px;background:#fff;-webkit-mask:url('icons/coins.svg') center/contain no-repeat;mask:url('icons/coins.svg') center/contain no-repeat}
body.wp-admin[class*="_page_msr-"] #wpbody-content .wrap :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea,button,.button){border-radius:5px!important}
body.wp-admin[class*="_page_msr-"] #wpbody-content .wrap .msr-stage24-card form.msr-coins-customer-search{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
body.wp-admin[class*="_page_msr-"] #wpbody-content .wrap .msr-stage24-card form.msr-coins-customer-search input.regular-text{flex:1 1 240px;width:auto;max-width:760px;min-height:44px;margin:0;padding:0 14px;border:1px solid #e4ddf5;background:#fbfaff}
body.wp-admin[class*="_page_msr-"] #wpbody-content .wrap .msr-stage24-card form.msr-coins-customer-search .button{min-height:44px;margin:0;padding:0 22px;border-color:#7047c8;background:#7047c8;color:#fff;font-weight:700}
body.wp-admin[class*="_page_msr-"] #wpbody-content .wrap .msr-stage24-card form.msr-coins-customer-search .button:is(:hover,:focus){border-color:#5b36ad;background:#5b36ad;color:#fff}
@media(min-width:1200px){
body.wp-admin .wrap .msr-coins-stage22-table-wrap>table.widefat{width:100%!important;min-width:100%!important}
}
