.sgm-rider-wallet-front{
  --wallet-orange:#ff5a0a;
  --wallet-red:#ed263f;
  --wallet-ink:#121722;
  --wallet-muted:#6e7687;
  --wallet-line:#e9edf3;
  --wallet-bg:#f4f5f7;
  box-sizing:border-box;
  width:100%;
  max-width:760px;
  min-height:100vh;
  margin:0 auto;
  color:var(--wallet-ink);
  background:var(--wallet-bg);
  font-family:inherit;
  -webkit-font-smoothing:antialiased;
}
.sgm-rider-wallet-front *{box-sizing:border-box}
.sgm-rider-wallet-front button,.sgm-rider-wallet-front input{font:inherit}
.sgm-rider-wallet-front button{-webkit-tap-highlight-color:transparent}
.sgm-wallet-header{
  position:sticky;
  z-index:20;
  top:0;
  display:grid;
  grid-template-columns:48px 1fr 48px;
  gap:12px;
  align-items:center;
  min-height:84px;
  padding:14px clamp(16px,4vw,28px);
  border-bottom:1px solid rgba(226,231,238,.88);
  background:rgba(244,245,247,.94);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.sgm-wallet-header>div{text-align:center;min-width:0}
.sgm-wallet-header small{display:block;color:#9a634b;font-size:9px;font-weight:900;letter-spacing:.16em;line-height:1.2}
.sgm-wallet-header h1{margin:3px 0 0;color:var(--wallet-ink);font-size:22px;font-weight:900;line-height:1.1}
.sgm-wallet-header img{display:block;width:44px;height:44px;border:3px solid #fff;border-radius:15px;object-fit:cover;box-shadow:0 5px 16px rgba(15,23,42,.14)}
.sgm-wallet-back{
  display:grid;
  width:46px;
  height:46px;
  padding:0;
  place-items:center;
  border:1px solid #e4e8ee;
  border-radius:15px;
  color:#151a24;
  background:#fff;
  box-shadow:0 5px 14px rgba(15,23,42,.06);
  font-size:22px;
  font-weight:800;
  cursor:pointer;
}
.sgm-wallet-main{display:grid;gap:22px;padding:22px clamp(16px,4vw,28px) 118px}
.sgm-wallet-balance-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:174px;
  padding:25px;
  border-radius:26px;
  color:#fff;
  background:linear-gradient(135deg,#d91f50 0%,#f03542 43%,#ff6418 100%);
  box-shadow:0 18px 38px rgba(229,50,48,.24);
}
.sgm-wallet-glow{position:absolute;z-index:-1;right:-55px;top:-80px;width:210px;height:210px;border-radius:50%;background:rgba(255,255,255,.18);filter:blur(1px)}
.sgm-wallet-balance-card:after{position:absolute;z-index:-1;right:58px;bottom:-75px;width:150px;height:150px;border:24px solid rgba(255,255,255,.07);border-radius:50%;content:""}
.sgm-wallet-balance-top{display:flex;gap:18px;align-items:center;justify-content:space-between}
.sgm-wallet-balance-top>div{min-width:0}
.sgm-wallet-balance-top span{display:block;color:rgba(255,255,255,.76);font-size:12px;font-weight:750;letter-spacing:.02em}
.sgm-wallet-balance-top strong{display:block;margin-top:5px;color:#fff;font-size:clamp(31px,8vw,43px);font-weight:900;letter-spacing:-.045em;line-height:1}
.sgm-wallet-balance-top button{
  flex:0 0 auto;
  min-width:104px;
  min-height:46px;
  padding:0 18px;
  border:0;
  border-radius:14px;
  color:#a9222f;
  background:#fff;
  box-shadow:0 9px 20px rgba(91,9,25,.17);
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}
.sgm-wallet-balance-top button:disabled{color:rgba(255,255,255,.72);background:rgba(255,255,255,.19);box-shadow:none;cursor:not-allowed}
.sgm-wallet-balance-foot{display:flex;gap:12px;align-items:flex-end;justify-content:space-between;margin-top:31px;color:rgba(255,255,255,.91);font-size:11px;font-weight:750}
.sgm-wallet-balance-foot span{display:flex;gap:5px;align-items:center}
.sgm-wallet-balance-foot i{display:grid;width:18px;height:18px;place-items:center;border-radius:50%;background:rgba(255,255,255,.18);font-style:normal;font-size:10px}
.sgm-wallet-balance-foot b{color:#fff;font-weight:900}
.sgm-wallet-rule{margin:-12px 3px 0;color:#747c8d;font-size:11px;font-weight:700;line-height:1.45}
.sgm-wallet-lifetime{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sgm-wallet-lifetime>div{min-width:0;padding:15px 12px;border:1px solid var(--wallet-line);border-radius:18px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.035)}
.sgm-wallet-lifetime span{display:block;color:var(--wallet-muted);font-size:9px;font-weight:850;letter-spacing:.03em}
.sgm-wallet-lifetime strong{display:block;overflow:hidden;margin-top:6px;color:var(--wallet-ink);font-size:16px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.sgm-wallet-section-head{display:flex;gap:15px;align-items:flex-end;justify-content:space-between;margin-bottom:13px}
.sgm-wallet-section-head>div{min-width:0}
.sgm-wallet-section-head small{display:block;color:#9c6550;font-size:9px;font-weight:900;letter-spacing:.16em}
.sgm-wallet-section-head h2{margin:4px 0 0;color:var(--wallet-ink);font-size:22px;font-weight:900;letter-spacing:-.025em;line-height:1.15}
.sgm-wallet-section-head>span{padding-bottom:2px;color:#8991a0;font-size:10px;font-weight:750;text-align:right}
.sgm-wallet-periods{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.sgm-wallet-periods::-webkit-scrollbar{display:none}
.sgm-wallet-periods button{flex:0 0 auto;min-height:38px;padding:0 15px;border:1px solid #e3e7ed;border-radius:999px;color:#677080;background:#fff;font-size:11px;font-weight:850;cursor:pointer}
.sgm-wallet-periods button.is-active{border-color:var(--wallet-orange);color:#fff;background:linear-gradient(135deg,#fa4b0b,#ff7528);box-shadow:0 7px 17px rgba(255,90,10,.22)}
.sgm-wallet-periods button.is-loading{cursor:wait}
.sgm-wallet-period-summary{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:10px;margin:9px 0 12px}
.sgm-wallet-period-summary>div{padding:16px 17px;border:1px solid #e8ecf2;border-radius:18px;background:#fff}
.sgm-wallet-period-summary span{display:block;color:#7d8594;font-size:10px;font-weight:800}
.sgm-wallet-period-summary strong{display:block;margin-top:5px;color:var(--wallet-ink);font-size:22px;font-weight:900;letter-spacing:-.025em}
.sgm-wallet-period-summary>div:first-child strong{color:#e74419}
.sgm-wallet-earnings-list{display:grid;gap:10px;min-height:86px;opacity:1;transition:none}
.sgm-wallet-earnings-list.is-loading{pointer-events:none}
.sgm-wallet-earning-card{padding:15px 16px;border:1px solid #e6eaf0;border-radius:19px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.035)}
.sgm-wallet-earning-top{display:flex;gap:10px;align-items:center;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid #f0f2f5}
.sgm-wallet-earning-top>div{display:flex;gap:5px;align-items:center}
.sgm-wallet-earning-top small{color:#9299a7;font-size:8px;font-weight:900;letter-spacing:.12em}
.sgm-wallet-earning-top strong{color:#2b3240;font-size:11px;font-weight:900}
.sgm-wallet-earning-top>span{padding:5px 8px;border-radius:999px;color:#15783b;background:#eaf9ef;font-size:8px;font-weight:900}
.sgm-wallet-earning-main{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding-top:12px}
.sgm-wallet-earning-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(135deg,#20b866,#0d8a48);box-shadow:0 6px 13px rgba(15,150,78,.18);font-size:15px;font-weight:900}
.sgm-wallet-earning-main>div:nth-child(2){min-width:0}
.sgm-wallet-earning-main strong,.sgm-wallet-earning-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sgm-wallet-earning-main strong{color:#202632;font-size:13px;font-weight:900}
.sgm-wallet-earning-main small{margin-top:3px;color:#8a92a0;font-size:9px;font-weight:650}
.sgm-wallet-earning-main b{color:#131923;font-size:15px;font-weight:900;white-space:nowrap}
.sgm-wallet-empty{display:grid;min-height:145px;padding:25px;place-items:center;border:1px dashed #d9dee6;border-radius:20px;background:#fff;text-align:center}
.sgm-wallet-empty span{display:grid;width:42px;height:42px;place-items:center;border-radius:14px;color:#e54e1b;background:#fff1e9;font-weight:900}
.sgm-wallet-empty strong{margin-top:8px;color:#3b4250;font-size:13px;font-weight:900}
.sgm-wallet-empty small{color:#8b93a2;font-size:10px;font-weight:650}
.sgm-wallet-requests{padding-top:2px}
.sgm-wallet-request-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 15px;border:1px solid #e7ebf1;border-bottom:0;background:#fff}
.sgm-wallet-request-row:first-child{border-radius:18px 18px 0 0}
.sgm-wallet-request-row:last-child{border-bottom:1px solid #e7ebf1;border-radius:0 0 18px 18px}
.sgm-wallet-request-row:only-child{border-bottom:1px solid #e7ebf1;border-radius:18px}
.sgm-wallet-request-row strong,.sgm-wallet-request-row small{display:block}
.sgm-wallet-request-row strong{color:#1b212c;font-size:13px;font-weight:900}
.sgm-wallet-request-row small{margin-top:3px;color:#8b93a1;font-size:9px;font-weight:650}
.sgm-wallet-request-row>span{padding:6px 9px;border-radius:999px;font-size:8px;font-weight:900}
.sgm-wallet-request-row>span.is-pending,.sgm-wallet-request-row>span.is-processing{color:#a6500c;background:#fff2dc}
.sgm-wallet-request-row>span.is-approved,.sgm-wallet-request-row>span.is-paid{color:#16723a;background:#eaf9ef}
.sgm-wallet-request-row>span.is-rejected,.sgm-wallet-request-row>span.is-cancelled{color:#a72e35;background:#ffeaec}
.sgm-wallet-request-empty{padding:18px;border:1px dashed #dce1e8;border-radius:18px;color:#8b93a1;background:#fff;text-align:center;font-size:10px;font-weight:700}
.sgm-wallet-modal[hidden]{display:none!important}
.sgm-wallet-modal{position:fixed;z-index:999999;inset:0;display:grid;align-items:end;justify-items:center}
.sgm-wallet-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(12,17,27,.58);cursor:pointer;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.sgm-wallet-modal>section{position:relative;z-index:1;width:min(100%,620px);padding:13px 22px calc(24px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;background:#fff;box-shadow:0 -20px 55px rgba(8,13,23,.24)}
.sgm-wallet-modal-handle{width:44px;height:5px;margin:0 auto 16px;border-radius:999px;background:#dfe3e8}
.sgm-wallet-modal-x{position:absolute;top:21px;right:20px;display:grid;width:36px;height:36px;padding:0;place-items:center;border:0;border-radius:12px;color:#555e6c;background:#f1f3f6;font-size:22px;cursor:pointer}
.sgm-wallet-modal>section>small{display:block;color:#aa684d;font-size:9px;font-weight:900;letter-spacing:.15em}
.sgm-wallet-modal h2{margin:5px 0 4px;color:#151a24;font-size:24px;font-weight:900;letter-spacing:-.03em}
.sgm-wallet-modal>section>p{margin:0 0 18px;color:#737b89;font-size:11px;font-weight:700}
.sgm-wallet-modal>section>p strong{color:#e94a19;font-weight:900}
.sgm-wallet-modal form>label{display:block;color:#3c4350;font-size:11px;font-weight:850}
.sgm-wallet-modal form>label>span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:7px}
.sgm-wallet-modal input{width:100%;height:50px;padding:0 15px;border:1px solid #dfe4eb;border-radius:14px;outline:0;color:#171c26;background:#fafbfc;font-size:18px;font-weight:900}
.sgm-wallet-modal input:focus{border-color:#ff722d;box-shadow:0 0 0 4px rgba(255,98,20,.11)}
.sgm-wallet-modal [data-wallet-max]{min-width:66px;border:0;border-radius:14px;color:#e64c17;background:#fff0e8;font-size:10px;font-weight:900;cursor:pointer}
.sgm-wallet-week-rule{display:flex;gap:11px;align-items:center;margin:14px 0;padding:12px;border-radius:15px;color:#7a5a12;background:#fff8df}
.sgm-wallet-week-rule i{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:11px;color:#fff;background:#e6a520;font-style:normal;font-size:13px;font-weight:900}
.sgm-wallet-week-rule strong,.sgm-wallet-week-rule small{display:block}
.sgm-wallet-week-rule strong{font-size:10px;font-weight:900}
.sgm-wallet-week-rule small{margin-top:2px;color:#967b3d;font-size:8px;font-weight:650;line-height:1.4}
.sgm-wallet-form-error{min-height:18px;color:#c92e38;font-size:10px;font-weight:750}
.sgm-wallet-submit{width:100%;min-height:50px;margin-top:4px;border:0;border-radius:15px;color:#fff;background:linear-gradient(135deg,#f04a0c,#ff7629);box-shadow:0 11px 22px rgba(245,78,12,.22);font-size:12px;font-weight:900;cursor:pointer}
.sgm-wallet-submit:disabled{opacity:.65;cursor:wait}
.sgm-wallet-toast{position:fixed;z-index:1000000;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));max-width:min(88vw,420px);padding:11px 15px;border-radius:999px;color:#fff;background:#14251c;box-shadow:0 12px 28px rgba(15,23,42,.24);font-size:10px;font-weight:800;line-height:1.35;text-align:center;opacity:0;pointer-events:none;transform:translate(-50%,15px);transition:opacity .18s ease,transform .18s ease}
.sgm-wallet-toast.is-show{opacity:1;transform:translate(-50%,0)}
.sgm-wallet-toast.is-error{background:#7d2028}
.sgm-wallet-modal-open{overflow:hidden!important}
.sgm-wallet-access{max-width:520px;margin:0 auto;padding:80px 24px;text-align:center}
.sgm-wallet-access>span{display:grid;width:58px;height:58px;margin:0 auto 15px;place-items:center;border-radius:19px;background:#fff0e8;font-size:24px}
.sgm-wallet-access h2{margin:0;color:#161b25;font-size:27px;font-weight:900}
.sgm-wallet-access p{margin:8px 0 20px;color:#737b89;font-size:13px;font-weight:650}
.sgm-wallet-access a{display:inline-grid;min-width:130px;min-height:46px;padding:0 20px;place-items:center;border-radius:14px;color:#fff!important;background:linear-gradient(135deg,#f04a0c,#ff7629);font-size:12px;font-weight:900;text-decoration:none!important}
.sgm-rider-wallet-page .entry-title,.sgm-rider-wallet-page .page-title{display:none}
.sgm-rider-wallet-page .entry-content{margin:0}
.sgm-rider-wallet-page{overflow-x:hidden}
.sgm-rider-wallet-page .elementor-widget-shortcode,.sgm-rider-wallet-page .elementor-widget-shortcode>.elementor-widget-container{overflow:visible!important}

@media (max-width:760px){
  .sgm-rider-wallet-front{
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    margin-right:calc(50% - 50vw + 8px)!important;
    margin-left:calc(50% - 50vw + 8px)!important;
    background:#f4f5f7!important;
  }
}

@media (min-width:761px){
  .sgm-rider-wallet-front{min-height:calc(100vh - 42px);margin-top:21px;margin-bottom:21px;border:1px solid #e5e9ef;border-radius:30px;box-shadow:0 22px 60px rgba(15,23,42,.1)}
  .sgm-wallet-header{top:0;border-radius:30px 30px 0 0}
  .sgm-wallet-main{grid-template-columns:1fr 1fr;align-items:start}
  .sgm-wallet-balance-card,.sgm-wallet-rule,.sgm-wallet-lifetime{grid-column:1/-1}
  .sgm-wallet-earnings{grid-column:1}
  .sgm-wallet-requests{grid-column:2}
}
@media (max-width:480px){
  .sgm-wallet-header{min-height:76px;padding:12px 15px}
  .sgm-wallet-header h1{font-size:20px}
  .sgm-wallet-main{gap:19px;padding:18px 14px 108px}
  .sgm-wallet-balance-card{min-height:164px;padding:22px 19px;border-radius:23px}
  .sgm-wallet-balance-top{align-items:flex-start}
  .sgm-wallet-balance-top strong{font-size:31px}
  .sgm-wallet-balance-top button{min-width:91px;min-height:42px;padding:0 13px}
  .sgm-wallet-balance-foot{margin-top:30px;font-size:9px}
  .sgm-wallet-lifetime{gap:7px}
  .sgm-wallet-lifetime>div{padding:13px 9px;border-radius:15px}
  .sgm-wallet-lifetime span{font-size:8px}
  .sgm-wallet-lifetime strong{font-size:13px}
  .sgm-wallet-section-head h2{font-size:20px}
  .sgm-wallet-periods{margin-right:-14px;padding-right:14px}
  .sgm-wallet-period-summary{grid-template-columns:minmax(0,1fr) 91px}
  .sgm-wallet-period-summary>div{padding:14px}
  .sgm-wallet-period-summary strong{font-size:19px}
  .sgm-wallet-modal>section{padding-right:18px;padding-left:18px}
}
@media (prefers-reduced-motion:reduce){.sgm-wallet-toast{transition:none}}
