
/* ARFTECH customer experience refinement — 04 Dec 2026 */
.welcome-report{display:none!important}
#wallet>.dash-stats>.dash-stat:nth-child(2){display:none!important}
#wallet>.dash-stats{grid-template-columns:minmax(0,1fr)!important}
#wallet-balance{font-size:clamp(2rem,5vw,3rem)!important;letter-spacing:-.055em}
#wallet-account-panel{display:block!important;width:100%;box-sizing:border-box;grid-column:1/-1;margin:18px 0!important;padding:clamp(18px,3vw,26px)!important;border:1px solid #dce8df!important;border-radius:18px!important;background:linear-gradient(135deg,#f7fbf8 0%,#eef6f0 100%)!important;box-shadow:0 12px 30px #173c2910}
#wallet-account-panel>strong{display:block;font-size:1.08rem;margin-bottom:14px;color:#183b28}
#wallet-account-panel>p{margin:10px 0!important;padding:11px 13px;border:1px solid #e0e9e2;border-radius:10px;background:#fff;color:#435248;overflow-wrap:anywhere}
#wallet-account-panel>p strong{display:inline-block;min-width:105px;color:#66756a}
#wallet-funding-panel{display:block!important;width:100%;box-sizing:border-box;margin:18px 0!important;padding:clamp(18px,3vw,26px)!important;border:1px solid var(--dash-line)!important;border-radius:18px!important;background:#fff!important}
#wallet-funding-panel>strong{display:block;font-size:1.08rem}
#wallet-funding-panel form{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:end!important;gap:12px!important}
#wallet-funding-panel form label{min-width:0}
#wallet-funding-panel form input{width:100%;min-width:0;box-sizing:border-box}
#wallet-funding-panel .account-action{min-height:46px;white-space:nowrap}
#wallet-transactions{gap:10px}
#wallet-transactions>.account-order{display:grid;gap:8px;padding:17px;border-radius:13px;background:#fff}
.wallet-history-tools,.data-smart-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}
.wallet-history-tools input,.wallet-history-tools select,.data-smart-tools input,.data-smart-tools select{width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;border:1px solid #dce5dd;border-radius:10px;background:#fff;color:#25352a;font:inherit;font-size:.88rem}
.data-smart-tools{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px}
.data-smart-tools .data-search{grid-column:span 2}
.data-network-card{padding:16px;border:1px solid #e0e8e1;border-radius:15px;background:#fff;min-width:0;box-shadow:0 5px 18px #152c1b08}
.data-network-card .account-order-head{align-items:center;margin-bottom:12px}
.data-network-card .data-plan-list{display:grid;gap:7px;max-height:340px;overflow:auto;padding-right:3px}
.data-plan-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid #edf1ed;border-radius:10px;background:#fbfdfb;min-width:0}
.data-plan-name{min-width:0;overflow-wrap:anywhere;font-size:.86rem;color:#425248}
.data-plan-price{flex:0 0 auto;color:#145b38;font-size:.9rem}
#data-checkout-form{background:#f7faf7!important;border:1px solid #e0e9e2!important;border-radius:14px!important;padding:16px!important}
#data-checkout-form select{min-height:46px}
#data-purchase-submit{width:100%;min-height:46px}
.profile-card{align-items:center;padding:20px;border-radius:17px;background:linear-gradient(135deg,#f7faf7,#edf5ef)}
.profile-card img{width:62px;height:62px}
.profile-card>div{min-width:0;flex:1}
#profile-edit-toggle{flex:0 0 auto;border:1px solid #176b43;border-radius:10px;padding:10px 15px;background:#176b43;color:#fff;font:inherit;font-weight:750;cursor:pointer}
#customer-profile-form{margin:14px 0!important;border:1px solid #e0e9e2!important;border-radius:16px!important;background:#fff}
#customer-profile-form[hidden]{display:none!important}
#customer-profile-form>div{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 14px!important}
#customer-profile-form label{font-size:.82rem;font-weight:750;color:#4d5d52}
#customer-profile-form input,#customer-profile-form select{width:100%;min-width:0;box-sizing:border-box;min-height:45px;padding:11px 12px!important;border:1px solid #dce5dd!important;border-radius:10px!important;background:#fff}
#profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
#profile-save,#profile-cancel{min-width:120px;min-height:44px}
#profile-cancel{border:1px solid #d5dfd7;border-radius:9px;background:#fff;color:#46554a;font:inherit;font-weight:700;padding:10px 15px;cursor:pointer}
#profile-note{grid-column:1/-1}
#profile-country{appearance:auto}
@media(max-width:680px){
 #wallet-funding-panel form{grid-template-columns:1fr}
 #wallet-funding-panel .account-action{width:100%}
 .wallet-history-tools,.data-smart-tools{grid-template-columns:1fr 1fr}
 .wallet-history-tools input:first-child,.data-smart-tools .data-search{grid-column:1/-1}
 #customer-profile-form>div{grid-template-columns:1fr!important}
 .profile-card{align-items:flex-start;flex-wrap:wrap}
 #profile-edit-toggle{margin-left:76px}
}
@media(max-width:390px){
 .wallet-history-tools,.data-smart-tools{grid-template-columns:1fr}
}


/* Dedicated bank account — structured, clear and mobile-first */
#wallet-account-panel{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:18px 0!important;
  padding:clamp(18px,2.8vw,26px)!important;
  border:1px solid #dce8df!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#f8fbf8 0%,#edf5ef 100%)!important;
  box-shadow:0 10px 28px #173c290c!important;
}
#wallet-account-panel>.dash-stat{margin:0!important}
.wallet-account-heading{display:grid;gap:5px}
.wallet-account-eyebrow{color:#28734b;font-size:.68rem;font-weight:850;letter-spacing:.13em}
.wallet-account-title{color:#173b28;font-size:1.16rem;line-height:1.25}
.wallet-account-subtitle{color:#6b7b70;font-size:.82rem;line-height:1.45}
.wallet-account-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wallet-account-item{display:grid;gap:7px;min-width:0;padding:13px 14px;border:1px solid #e0e9e2;border-radius:12px;background:#fff}
.wallet-account-item>span{color:#718078;font-size:.72rem;font-weight:650}
.wallet-account-item>strong{color:#24392c;font-size:.91rem;line-height:1.4;overflow-wrap:anywhere}
.wallet-account-item .wallet-account-number{font-size:1.1rem;letter-spacing:.035em;font-variant-numeric:tabular-nums}
.wallet-account-instruction,.wallet-account-message{margin:0!important;padding:12px 14px;border:1px solid #dce9df;border-radius:11px;background:#f5faf6;color:#496052;font-size:.78rem;line-height:1.55}
.wallet-account-request{justify-self:start;min-height:44px;padding:10px 16px}
@media(max-width:520px){
  #wallet-account-panel{gap:13px!important;padding:15px!important;border-radius:15px!important}
  .wallet-account-details{grid-template-columns:minmax(0,1fr);gap:8px}
  .wallet-account-item{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px}
  .wallet-account-item>strong{text-align:right}
  .wallet-account-item .wallet-account-number{font-size:1rem}
}


/* Compact wallet account status and customer email avatar */
.dash-user{gap:8px}
.dash-user .customer-avatar-fallback,.dash-user #customer-avatar{
  display:inline-grid;place-items:center;width:27px;height:27px;flex:0 0 27px;
  border-radius:50%;object-fit:cover;background:#e4f1e8;color:#176b43;
  font-size:.78rem;font-weight:800;border:1px solid #cfe2d4
}
.dash-user #customer-avatar[hidden],.dash-user .customer-avatar-fallback[hidden]{display:none!important}
.wallet-account-heading{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
.wallet-account-title{font-size:.94rem!important}
.wallet-account-status{flex:0 0 auto;padding:5px 9px;border-radius:99px;background:#f0f3f0;color:#66736a;font-size:.7rem;font-weight:750}
#wallet-account-panel{gap:10px!important;padding:13px 16px!important}
@media(max-width:520px){
 .wallet-account-heading{gap:8px}
 .wallet-account-title{font-size:.88rem!important}
 .wallet-account-status{font-size:.66rem;padding:4px 7px}
 .dash-user #customer-avatar,.dash-user .customer-avatar-fallback{width:25px;height:25px;flex-basis:25px}
}


/* Welcome hero: first-name greeting, refined copy and single-line brand pillars */
.dash-hero .dash-topline{margin-bottom:2px}
.dash-hero .dash-title{margin:8px 0 10px!important}
.dash-hero .dash-subtitle{max-width:690px;font-size:clamp(.9rem,1.35vw,1.02rem);line-height:1.65;letter-spacing:.005em}
.dash-hero-note{display:block;width:100%;max-width:100%;margin:15px 0 0!important;white-space:nowrap;overflow:hidden;text-overflow:clip;font-size:clamp(.58rem,1.35vw,.78rem)!important;letter-spacing:clamp(.045em,.25vw,.12em)!important;line-height:1.4}
.dash-hero-note span{padding:0 .22em;color:#a9dabb}
@media(max-width:600px){.dash-hero .dash-title{margin:5px 0 9px!important}.dash-hero .dash-subtitle{font-size:.88rem;line-height:1.55}.dash-hero-note{font-size:clamp(.52rem,2.15vw,.68rem)!important;letter-spacing:.045em!important;margin-top:13px!important}}


/* Keep the ARFTECH brand pillars fully visible on narrow mobile screens */
.dash-hero-note{box-sizing:border-box;width:100%;text-align:center;font-size:clamp(7px,2.55vw,11px)!important;letter-spacing:.012em!important;word-spacing:0!important;white-space:nowrap;overflow:visible;text-overflow:clip}
@media(max-width:380px){.dash-hero-note{font-size:clamp(6.8px,2.45vw,9.3px)!important;letter-spacing:0!important}}


/* Centre and balance the customer welcome message */
.dash-hero .dash-subtitle{max-width:720px;margin-left:auto!important;margin-right:auto!important;text-align:center;text-wrap:pretty}
@media(max-width:600px){.dash-hero .dash-subtitle{max-width:34rem;padding-inline:4px;font-size:clamp(.78rem,3.45vw,.88rem);line-height:1.5;text-align:center}}


/* Customer dashboard mobile layout — all modules and account panels */
@media(max-width:760px){
 .account-wrap{margin:18px auto 38px;padding-inline:12px}
 .account-shell{width:100%;border-radius:15px}
 .dashboard-layout{grid-template-columns:minmax(0,1fr)!important}
 .dash-sidebar{min-width:0;padding:10px 12px}
 .dash-nav{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
 .dash-main{min-width:0;padding:20px 14px}
 .dash-hero{min-width:0;padding-inline:0}
 .dash-title{font-size:clamp(1.45rem,6vw,2rem);line-height:1.12;overflow-wrap:anywhere}
 .dash-subtitle{font-size:.88rem;line-height:1.55}
 .dash-stats{grid-template-columns:minmax(0,1fr)!important}
 .dash-stat{min-width:0}
 .dash-actions{grid-template-columns:minmax(0,1fr)!important}
 .dash-action{min-width:0;padding:13px}
 .dash-section{min-width:0}
 #wallet, #orders, #profile, #services{min-width:0;max-width:100%}
 #wallet-funding-panel,#wallet-account-panel,#data-checkout-form,#customer-profile-form{max-width:100%;min-width:0}
 .wallet-history-tools,.data-smart-tools{min-width:0}
 .wallet-history-tools input,.wallet-history-tools select,.data-smart-tools input,.data-smart-tools select{min-width:0}
 .data-network-tabs{display:flex;max-width:100%;overflow-x:auto;gap:6px}
 .data-network-tab{flex:0 0 auto}
 .data-network-card,.data-plan-item{min-width:0}
 .account-order-head{align-items:flex-start;flex-wrap:wrap}
 .account-order-head strong{min-width:0;overflow-wrap:anywhere}
 .profile-card{min-width:0;gap:10px;padding:14px}
 .profile-card>div{min-width:0;flex:1}
 #profile-edit-toggle{margin-left:0}
 #customer-profile-form>div{grid-template-columns:minmax(0,1fr)!important}
 #profile-actions>*{flex:1;min-width:0}
 .dash-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
}
@media(max-width:380px){
 .account-wrap{padding-inline:9px}
 .dash-main{padding:17px 11px}
 .dash-nav a{padding:9px 10px;font-size:.76rem}
 .dash-stat{padding:12px}
 .dash-action{gap:10px;padding:12px}
 .wallet-account-item{grid-template-columns:minmax(0,1fr);gap:4px}
 .wallet-account-item>strong{text-align:left}
}


/* Mobile readability: keep the brand pillars visible without shrinking or clipping */
@media(max-width:600px){
 .dash-hero-note{white-space:normal!important;overflow:visible!important;text-overflow:unset!important;overflow-wrap:anywhere;max-width:100%;font-size:clamp(11px,3.1vw,13px)!important;letter-spacing:.015em!important;line-height:1.5;text-align:center}
}
@media(max-width:380px){.dash-hero-note{font-size:11px!important;letter-spacing:0!important}}

/* Final narrow-screen overflow safeguards for wallet and dashboard controls. */
@media(max-width:600px){
 .wallet-history-tools,.data-smart-tools{grid-template-columns:minmax(0,1fr)!important}
 .wallet-history-tools>* ,.data-smart-tools>*{min-width:0;max-width:100%}
 #wallet-funding-panel .account-action,#wallet-account-panel .account-action{width:100%;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere}
 .wallet-account-details{grid-template-columns:minmax(0,1fr)}
 .wallet-account-details>*{min-width:0;overflow-wrap:anywhere}
 .account-order-head strong{overflow-wrap:anywhere}
}


/* Customer workspace — final mobile hierarchy, navigation and form sizing. */
@media(max-width:760px){
 .dash-sidebar{position:relative;top:auto;min-height:0;height:auto}
 .dash-brand{margin-bottom:10px;font-size:.78rem}
 .dash-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .dash-nav a{min-height:46px;box-sizing:border-box;align-items:center;padding:10px 9px;font-size:.84rem;line-height:1.35;overflow-wrap:anywhere}
 .dash-nav a:focus-visible,.dash-launch:focus-visible,.account-action:focus-visible,.signout:focus-visible{outline:3px solid #72b78b;outline-offset:2px}
 .dash-main{padding:clamp(14px,4vw,22px)}
 .dash-hero{padding:20px 16px;margin:12px 0 18px;border-radius:16px}
 .dash-hero .dash-topline{gap:10px}
 .dash-hero .dash-eyebrow{font-size:.72rem;line-height:1.45;letter-spacing:.1em}
 .dash-hero .dash-user{font-size:.78rem;line-height:1.4;min-width:0;overflow-wrap:anywhere}
 .dash-hero .dash-title{font-size:clamp(1.55rem,7vw,2rem);line-height:1.12;margin:13px 0 9px}
 .dash-hero .dash-subtitle{font-size:.9rem;line-height:1.55}
 .dash-hero-note{font-size:11px!important;line-height:1.5;letter-spacing:.02em!important}
 .dash-launchpad{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:22px}
 .dash-launch{min-height:68px;padding:11px 10px;gap:9px;align-items:flex-start}
 .dash-launch strong{font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}
 .dash-launch small{font-size:.78rem;line-height:1.45;overflow-wrap:anywhere}
 .dash-stat span{font-size:.82rem;line-height:1.4}
 .dash-stat strong{font-size:1.35rem;line-height:1.2;overflow-wrap:anywhere}
 .dash-stat small{font-size:.78rem;line-height:1.45}
 .dash-section-head h2,.dash-section h2{font-size:1.08rem;line-height:1.3}
 .dash-section-head a,.dash-link{font-size:.82rem;line-height:1.4}
 .dash-action{min-height:64px;align-items:center}
 .dash-action strong{font-size:.9rem;line-height:1.35}
 .dash-action small,.account-legal,.account-note{font-size:.82rem;line-height:1.55}
 .account-form label,.field-label{font-size:.88rem;line-height:1.45}
 .account-form input,.account-form select,#airtime-purchase-form input,#data-catalogue-panel input,#customer-profile-form input,#customer-profile-form select{min-height:46px;font-size:16px}
 .account-action,.signout{min-height:46px;white-space:normal;line-height:1.35}
}
@media(max-width:380px){
 .dash-nav{grid-template-columns:minmax(0,1fr)}
 .dash-nav a{min-height:44px}
 .dash-launchpad{grid-template-columns:minmax(0,1fr)}
 .dash-launch{min-height:58px;align-items:center}
 .dash-hero .dash-topline{flex-direction:column;align-items:flex-start}
 .dash-main{padding:14px 11px}
}


/* Mobile dashboard readability and keyboard/touch access. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media(max-width:600px){
 .dash-eyebrow{font-size:12px;line-height:1.5}
 .dash-nav a{min-height:44px;font-size:14px}
 .dash-section-head a,.dash-link{font-size:13px;line-height:1.45}
 .dash-stat span,.dash-stat small{font-size:13px;line-height:1.45}
 .dash-action small,.account-order p,.account-order-items{font-size:13px;line-height:1.55}
 .account-form label,.field-label{font-size:14px;line-height:1.45}
 .account-form input,.account-form select,.account-form button{font-size:16px;min-height:48px}
 .account-tabs button,.account-action,.signout{min-height:44px}
}
.dash-nav a:focus-visible,.dash-action:focus-visible,.account-action:focus-visible,.account-tabs button:focus-visible,.signout:focus-visible{outline:3px solid #31c878;outline-offset:3px}
