/* CreatorGrowth Wallet — isolated page styling.  Kept separate from the legacy panel CSS
   so wallet components do not depend on theme-specific bootstrap selectors. */
.cg-app .cg-wallet-page{width:min(1180px,100%);margin:0 auto;padding:30px 22px 100px;color:#101828;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.cg-app .cg-wallet-hero{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:stretch;margin-bottom:18px}
.cg-app .cg-wallet-hero-copy{padding:28px 6px 12px}
.cg-app .cg-page-kicker,.cg-app .cg-section-kicker{display:inline-flex;align-items:center;gap:7px;color:#6246e5;text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:900}
.cg-app .cg-page-kicker svg{width:17px;height:17px}
.cg-app .cg-wallet-hero h1{margin:11px 0 10px;color:#101828!important;font-size:clamp(38px,5vw,62px);line-height:.98;letter-spacing:-.065em;font-weight:900}
.cg-app .cg-wallet-hero h1 span{color:#6246e5!important}
.cg-app .cg-wallet-hero p{margin:0;max-width:760px;color:#667085!important;font-size:17px;line-height:1.55;font-weight:550}
.cg-app .cg-balance-card{min-height:250px;padding:30px;border-radius:28px;background:radial-gradient(circle at 90% 8%,rgba(124,92,246,.38),transparent 34%),linear-gradient(145deg,#101828,#2e276e);color:#fff!important;border:1px solid rgba(16,24,40,.18);box-shadow:0 22px 55px rgba(39,33,93,.18);display:flex;flex-direction:column;justify-content:flex-end}
.cg-app .cg-balance-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.12);color:#fff;margin-bottom:auto}
.cg-app .cg-balance-icon svg{width:28px;height:28px}
.cg-app .cg-balance-label{display:block;color:rgba(255,255,255,.64)!important;font-size:14px;font-weight:750;margin-bottom:7px}
.cg-app .cg-balance-card>strong{display:block;color:#fff!important;font-size:54px;line-height:1;letter-spacing:-.055em;font-weight:900}
.cg-app .cg-balance-currency{display:block;color:rgba(255,255,255,.56)!important;font-size:13px;font-weight:800;margin-top:10px;letter-spacing:.04em}
.cg-app .cg-wallet-alert{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:16px;margin:0 0 18px;font-size:13px;font-weight:750}
.cg-app .cg-wallet-alert svg{width:19px;flex:none}
.cg-app .cg-wallet-alert.is-error{background:#fff1f0;color:#b42318;border:1px solid #fecdca}
.cg-app .cg-wallet-alert.is-success{background:#ecfdf3;color:#067647;border:1px solid #abefc6}
.cg-app .cg-wallet-panel,.cg-app .cg-wallet-history{background:#fff;border:1px solid #e7e9ef;border-radius:26px;box-shadow:0 16px 50px rgba(16,24,40,.055);padding:26px;margin-bottom:18px}
.cg-app .cg-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}
.cg-app .cg-panel-heading h2{margin:7px 0 6px;color:#101828!important;font-size:27px;line-height:1.1;letter-spacing:-.045em;font-weight:900}
.cg-app .cg-panel-heading p{margin:0;color:#667085!important;font-size:13px;line-height:1.55}
.cg-app .cg-secure-note{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#f7f5ff;border:1px solid #e8e1ff;color:#6246e5;font-size:10px;font-weight:850;white-space:nowrap}
.cg-app .cg-secure-note svg{width:14px;height:14px}
.cg-app .cg-payment-card{padding:22px;border:1px solid #e7e9ef;border-radius:22px;background:linear-gradient(145deg,#fff,#fbfbfd);box-shadow:0 10px 32px rgba(16,24,40,.045);overflow:hidden}
.cg-app .cg-payment-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cg-app .cg-payment-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#ecfdf3;color:#087f5b}
.cg-app .cg-payment-icon svg{width:21px;height:21px}
.cg-app .cg-payment-badge{padding:6px 10px;border-radius:999px;background:#f1edff;color:#6246e5;font-size:10px;font-weight:900;letter-spacing:.08em}
.cg-app .cg-payment-title-row{margin-top:15px}.cg-app .cg-payment-title-row h3{margin:0;color:#101828!important;font-size:20px;font-weight:900;letter-spacing:-.025em}.cg-app .cg-payment-title-row p{margin:5px 0 0;color:#667085!important;font-size:12px;line-height:1.55}
.cg-app .cg-payment-meta{display:flex;justify-content:space-between;gap:12px;margin:15px 0;padding:10px 12px;border-radius:12px;background:#f8fafc;color:#667085;font-size:11px;font-weight:700}.cg-app .cg-payment-meta b{color:#067647}
.cg-app .cg-recharge-form{display:grid;gap:10px}.cg-app .cg-recharge-form label{color:#344054;font-size:12px;font-weight:850}.cg-app .cg-money-input{display:flex;align-items:center;border:1px solid #dfe3e9;border-radius:14px;background:#fff;overflow:hidden;transition:border-color .18s,box-shadow .18s}.cg-app .cg-money-input:focus-within{border-color:#8b5cf6;box-shadow:0 0 0 4px rgba(139,92,246,.09)}.cg-app .cg-money-input>span{padding-left:14px;color:#6246e5;font-size:20px;font-weight:900}.cg-app .cg-money-input input{width:100%;border:0!important;outline:0!important;background:transparent!important;color:#101828!important;padding:13px 14px;font-size:17px;font-weight:800;box-shadow:none!important}
.cg-app .cg-quick-amounts{display:flex;flex-wrap:wrap;gap:7px}.cg-app .cg-quick-amounts button{border:1px solid #e2e4ea;background:#fff;color:#475467;border-radius:10px;padding:8px 11px;font-size:11px;font-weight:800;cursor:pointer}.cg-app .cg-quick-amounts button:hover{border-color:#cfc5ff;color:#6246e5;background:#faf9ff}.cg-app .cg-limit-row{display:flex;justify-content:space-between;gap:12px;color:#98a2b3;font-size:10px;font-weight:700}.cg-app .cg-wallet-primary{width:100%;min-height:48px;border:0;border-radius:14px;background:linear-gradient(135deg,#6246e5,#7c5cff);color:#fff!important;font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(98,70,229,.18)}.cg-app .cg-wallet-primary span{margin-left:auto;font-size:18px}
.cg-app .cg-reward-banner{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,150px);align-items:center;gap:12px;padding:20px 22px;border-radius:22px;background:linear-gradient(135deg,#f4f0ff,#f8f7ff);border:1px solid #e6defe;margin-bottom:18px}.cg-app .cg-reward-intro{display:flex;gap:12px;align-items:center;min-width:0}.cg-app .cg-reward-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#fff;color:#6246e5;box-shadow:0 8px 20px rgba(98,70,229,.08);flex:none}.cg-app .cg-reward-icon svg{width:19px}.cg-app .cg-reward-intro>div:last-child>span{font-size:9px;letter-spacing:.13em;color:#6246e5;font-weight:900}.cg-app .cg-reward-intro h2{margin:3px 0;color:#101828!important;font-size:17px;letter-spacing:-.025em}.cg-app .cg-reward-intro p{margin:0;color:#667085;font-size:10px;line-height:1.45}.cg-app .cg-reward-tier{padding:12px;border-radius:15px;background:#fff;border:1px solid #e7e1ff;text-align:center}.cg-app .cg-reward-tier b{display:block;color:#6246e5;font-size:20px;font-weight:900}.cg-app .cg-reward-tier span{display:block;color:#667085;font-size:10px;font-weight:750;margin-top:2px}
.cg-app .cg-history-table{overflow:auto}.cg-app .cg-history-head,.cg-app .cg-history-row{display:grid;grid-template-columns:1.4fr 1fr .8fr .8fr;gap:14px;align-items:center;min-width:620px}.cg-app .cg-history-head{padding:0 13px 10px;color:#98a2b3;font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:900}.cg-app .cg-history-row{padding:13px;border-top:1px solid #eef0f3;color:#475467;font-size:11px}.cg-app .cg-history-row strong,.cg-app .cg-history-row small{display:block}.cg-app .cg-history-row strong{color:#344054;font-size:11px}.cg-app .cg-history-row small{margin-top:3px;color:#98a2b3;font-size:9px}.cg-app .history-amount{color:#101828;font-weight:900}.cg-app .cg-history-status{justify-self:start;padding:5px 9px;border-radius:999px;background:#ecfdf3;color:#067647;font-size:9px;font-weight:900}
@media(max-width:820px){.cg-app .cg-wallet-page{padding:20px 14px 122px}.cg-app .cg-wallet-hero{grid-template-columns:1fr;gap:14px}.cg-app .cg-wallet-hero-copy{padding:8px 2px}.cg-app .cg-wallet-hero h1{font-size:clamp(38px,11vw,52px)}.cg-app .cg-wallet-hero p{font-size:14px}.cg-app .cg-balance-card{min-height:210px;padding:23px;border-radius:24px}.cg-app .cg-balance-card>strong{font-size:46px}.cg-app .cg-wallet-panel,.cg-app .cg-wallet-history{padding:18px;border-radius:21px}.cg-app .cg-panel-heading{display:block}.cg-app .cg-secure-note{margin-top:12px}.cg-app .cg-reward-banner{grid-template-columns:1fr 1fr;}.cg-app .cg-reward-intro{grid-column:1/-1}}
@media(max-width:520px){.cg-app .cg-wallet-page{padding:16px 10px 132px}.cg-app .cg-wallet-hero-copy{padding:5px 5px}.cg-app .cg-wallet-hero h1{font-size:40px}.cg-app .cg-wallet-hero p{font-size:13px}.cg-app .cg-balance-card{min-height:190px;padding:20px;border-radius:22px}.cg-app .cg-balance-icon{width:50px;height:50px;border-radius:16px}.cg-app .cg-balance-card>strong{font-size:42px}.cg-app .cg-wallet-panel,.cg-app .cg-wallet-history{padding:15px;border-radius:19px}.cg-app .cg-panel-heading h2{font-size:23px}.cg-app .cg-payment-card{padding:16px}.cg-app .cg-payment-title-row h3{font-size:18px}.cg-app .cg-reward-banner{grid-template-columns:1fr;padding:16px}.cg-app .cg-reward-tier{display:flex;justify-content:space-between;align-items:center}.cg-app .cg-reward-tier b{font-size:18px}.cg-app .cg-limit-row{font-size:9px}}
