/* SKY APPS Account · clean responsive layout */
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#193657;background:#f7f9fc;font-synthesis:none}
*,*::before,*::after{box-sizing:border-box}
html{font-size:14px;scroll-behavior:smooth}
body{margin:0;background:#f7f9fc;color:#193657;line-height:1.55;min-height:100vh;display:flex;flex-direction:column}
[hidden]{display:none!important}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
.topbar{position:relative;z-index:30;background:#fff;border-bottom:1px solid #e5eaf2;width:100%;min-height:0;height:auto;overflow:visible}
.topbar-inner{max-width:1080px;margin:0 auto;min-height:76px;height:auto;padding:12px 24px;display:flex;align-items:center;gap:22px}
.brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;color:#183b72;font-weight:800;font-size:17px;letter-spacing:-.025em}
.brand img{width:37px;height:37px;display:block;flex:none}
.brand b{color:#2563d9}
.topnav{display:flex;align-items:center;margin-left:auto;gap:7px}
.topnav a{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:8px 13px;border-radius:9px;color:#516b8a;font-size:13px;font-weight:650;white-space:nowrap}
.topnav a:hover,.topnav a.active{background:#edf4ff;color:#1f5fbd}
.account-top{position:relative;flex:0 0 auto;min-width:0}
.profile-trigger{min-height:41px;max-width:225px;display:flex;align-items:center;gap:7px;padding:4px 12px 4px 5px;background:#fff;border:1px solid #d1deed;border-radius:25px;color:#1a467c;font-weight:750;box-shadow:0 1px 5px rgba(20,55,105,.045)}
.profile-trigger:hover,.profile-trigger[aria-expanded="true"]{border-color:#8db4e9;background:#f8fbff}
.avatar{width:40px;height:40px;border-radius:50%;background:#e4effe;border:1px solid #bfdbff;color:#2159b0;display:grid;place-items:center;font-size:14px;font-weight:800;flex:0 0 auto}
.avatar.small{width:31px;height:31px;font-size:11px}
.profile-name{display:block;min-width:0;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.sky-chevron{line-height:1;color:#5878a3;font-size:15px;flex:none}
.profile-menu{position:absolute;z-index:60;top:calc(100% + 10px);right:0;width:min(290px,calc(100vw - 26px));padding:12px;background:white;border:1px solid #dbe5f2;border-radius:15px;box-shadow:0 16px 38px rgba(21,48,93,.15)}
.profile-menu-heading{display:flex;gap:10px;align-items:center;padding:5px 5px 13px;border-bottom:1px solid #e9eef5;margin-bottom:7px}
.profile-menu-heading div{min-width:0}
.profile-menu-heading strong{display:block;color:#183e71;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-menu-heading span:not(.avatar){display:block;margin-top:2px;color:#778aa0;font-size:11px;overflow-wrap:anywhere}
.profile-menu a,.profile-menu button{display:block;width:100%;padding:11px 12px;background:transparent;border:0;text-align:left;border-radius:8px;color:#2c4f7b;font-size:13px;font-weight:650}
.profile-menu a:hover,.profile-menu button:hover{background:#edf4ff;color:#205cba}
.profile-menu .signout{color:#c64b56;border-top:1px solid #e8edf4;border-radius:0;margin-top:6px;padding-top:13px}
.profile-menu .signout:hover{background:#fff3f3;border-radius:8px}
.page{width:100%;max-width:1010px;margin:0 auto;padding:42px 24px 76px;flex:1}
.page-head{max-width:950px;margin:0 auto 27px}
.eyebrow{color:#3d72c3;font-size:11px;letter-spacing:.08em;font-weight:800;margin:0 0 10px}
.page-head h1{margin:0;font-size:clamp(25px,2.6vw,31px);line-height:1.22;letter-spacing:-.035em;color:#183a68;font-weight:800}
.subtitle{margin:9px 0 0;color:#6b819c;font-size:13px}
.status{max-width:950px;margin:0 auto 20px;background:#eff7ff;border:1px solid #cee2f7;color:#255a94;padding:12px 15px;border-radius:10px;font-size:13px;font-weight:600}
.status.error{background:#fff4f3;border-color:#f1d2d4;color:#b3434c}
.account-layout{display:block}
.content{max-width:950px;margin:0 auto;min-width:0}
.view-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 17px}
.view-head h2{font-size:20px;letter-spacing:-.03em;line-height:1.3;color:#1b3b67;margin:0;font-weight:800}
.view-head .eyebrow{margin:0 0 6px}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:17px}
.stat,.content-card,.order-card{background:#fff;border:1px solid #dce6f2;border-radius:14px;box-shadow:0 3px 15px rgba(30,65,112,.025)}
.stat{padding:18px 20px;display:flex;flex-direction:column;gap:6px;border-top:3px solid #3c7de4}
.stat:nth-child(2){border-top-color:#2ba584}
.stat:nth-child(3){border-top-color:#d9a142}
.stat span{color:#6d8099;font-size:12px;font-weight:650}
.stat strong{font-size:25px;line-height:1.2;color:#1f559d}
.stat:nth-child(2) strong{color:#16816b}
.stat:nth-child(3) strong{color:#a87b25}
.content-card{padding:24px}
.content-card h3{font-size:16px;margin:0 0 5px;color:#20436f}
.content-card p{font-size:13px;color:#687f9b;margin:0 0 14px}
.outline{display:inline-flex;justify-content:center;align-items:center;border:1px solid #cbdcf0;background:#fff;color:#275caa;font-size:12px;font-weight:750;border-radius:9px;padding:10px 13px;min-height:41px}
.outline:hover{background:#edf5ff}
.outline:disabled{opacity:.5;cursor:wait}
.primary{background:#2366e2;color:#fff;border:1px solid #2366e2;border-radius:9px;padding:11px 16px;min-height:44px;font-size:13px;font-weight:750}
.primary:hover:not(:disabled){background:#1955c2}
.primary:disabled{opacity:.6;cursor:wait}
.order-list{display:flex;flex-direction:column;gap:12px}
.order-card{padding:20px 22px}
.order-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.order-card h3{font-size:16px;color:#1e416f;margin:0;font-weight:800}
.order-card p{color:#687e96;font-size:12px;margin:5px 0}
.order-badge{font-size:11px;font-weight:750;color:#245b9f;background:#ecf4ff;border:1px solid #cadef7;padding:5px 10px;border-radius:18px;white-space:nowrap}
.order-badge.approved{background:#ecf9f3;color:#17825d;border-color:#bee6d0}
.order-badge.pending{background:#fff8eb;color:#a36e1b;border-color:#f0dcba}
.order-badge.rejected{background:#fff1f1;color:#af4b55;border-color:#f0ccd0}
.order-platform{display:inline-flex;padding:4px 9px;background:#f2f5fa;border:1px solid #e7edf5;border-radius:7px;color:#516b88;font-size:11px;font-weight:700;margin:3px 0 8px}
.order-device-notice{padding:10px 12px;background:#fff7ef;border:1px solid #f0d8bd;border-radius:9px;color:#9b5923!important;font-weight:650;margin-top:13px!important}
.order-card .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.order-card .actions .outline{min-height:42px}
.empty{padding:34px 22px;background:#fbfcff;border:1px dashed #cbd9eb;border-radius:14px;text-align:center}
.empty strong{display:block;font-size:15px;color:#214775}
.empty p{font-size:12px;margin:8px 0 18px;color:#72839b}
.account-details{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:23px;padding-bottom:22px;border-bottom:1px solid #e9eff6}
.account-details span{display:block;color:#7589a1;font-size:12px}
.account-details strong{display:block;margin-top:5px;color:#21436e;font-size:14px;overflow-wrap:anywhere}
.stacked{display:flex;flex-direction:column;max-width:440px}
.stacked label,.auth-form label{font-size:12px;font-weight:750;color:#2c4b70;margin-bottom:7px}
.stacked input,.auth-form input{width:100%;height:45px;border:1px solid #cfddeb;border-radius:9px;padding:0 13px;font-size:13px;color:#19385f;background:#fff;outline:none;margin-bottom:17px}
.stacked input:focus,.auth-form input:focus{border-color:#83aef0;box-shadow:0 0 0 3px #e7f1ff}
.stacked .compact{align-self:start}
.guest-section{display:grid;grid-template-columns:minmax(0,1fr) 400px;max-width:950px;margin:0 auto;background:#fff;border:1px solid #dce6f2;border-radius:18px;overflow:hidden;box-shadow:0 16px 40px rgba(23,57,110,.045)}
.auth-intro{background:#f0f6ff;padding:46px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid #dce8f9}
.intro-mark{width:54px;height:54px;display:grid;place-items:center;background:#2366e2;color:#fff;font-weight:800;border-radius:14px}
.auth-intro h2{font-size:25px;line-height:1.3;letter-spacing:-.03em;color:#1a457f;margin:22px 0 10px}
.auth-intro p{color:#6b829e;font-size:13px;margin:0;max-width:360px}
.intro-points{display:flex;flex-direction:column;gap:12px;margin-top:28px;color:#376cb2;font-size:12px;font-weight:650}
.intro-points span::before{content:"✓";display:inline-grid;place-items:center;width:22px;height:22px;margin-right:10px;background:#dceafe;border-radius:50%}
.auth-panel{padding:30px}
.auth-switch{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:4px;background:#f0f4fa;border:1px solid #e4ebf5;border-radius:11px}
.auth-switch button{border:0;background:transparent;border-radius:8px;min-height:40px;font-size:13px;font-weight:750;color:#627996}
.auth-switch button.active{background:#fff;color:#215cba;box-shadow:0 1px 6px #dce5ef}
.auth-form{display:flex;flex-direction:column;margin-top:25px}
.auth-form h2{font-size:20px;letter-spacing:-.025em;margin:0;color:#1c3f6b}
.auth-form .form-subtitle{margin:4px 0 19px;color:#72869e;font-size:12px}
.auth-form .primary{margin-top:1px}
.site-footer.sky-footer{width:100%;max-width:none;border-top:1px solid #e4ebf5;background:#fff;margin:0;padding:20px 12px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center}
.sky-footer-copyright{color:#637c97;font-size:11px;font-weight:650;margin:0}
.sky-footer-description{color:#798da4;font-size:11px;margin:0}
.sky-footer-description strong{color:#244c82;font-weight:800}
@media(max-width:760px){
 .topbar-inner{min-height:0;height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:11px 10px;padding:12px 17px 10px}
 .brand{grid-column:1;grid-row:1;font-size:16px}
 .brand img{width:34px;height:34px}
 .account-top{grid-column:2;grid-row:1;justify-self:end}
 .profile-trigger{max-width:190px;padding:3px 9px 3px 3px;min-height:39px}
 .profile-name{max-width:94px;font-size:11px}
 .topnav{grid-column:1/-1;grid-row:2;margin:0;padding:9px 0 0;border-top:1px solid #ebeff6;display:flex;gap:8px;width:100%}
 .topnav a{flex:1 1 0;min-width:0;min-height:39px;text-align:center;font-size:12px;padding:9px 8px}
 .page{padding:24px 16px 60px}
 .page-head{margin-bottom:21px}
 .page-head h1{font-size:25px}
 .subtitle{font-size:12px;line-height:1.6}
 .view-head h2{font-size:19px}
 .content-card{padding:19px}
 .guest-section{grid-template-columns:1fr}
 .auth-intro{padding:24px;border-right:0;border-bottom:1px solid #e1e9f5}
 .auth-intro h2{font-size:20px;margin:12px 0 6px}
 .auth-intro p{font-size:12px}
 .intro-points{display:none}
 .auth-panel{padding:24px}
}
@media(max-width:500px){
 .topbar-inner{padding:11px 14px 10px;gap:10px 7px}
 .brand{font-size:15px;gap:7px}
 .brand img{width:32px;height:32px}
 .profile-trigger{max-width:155px;min-height:38px;gap:6px;padding:3px 8px 3px 3px}
 .profile-name{max-width:76px}
 .sky-chevron{font-size:13px}
 .page{padding:23px 14px 55px}
 .eyebrow{font-size:10px;margin-bottom:8px}
 .page-head h1{font-size:24px}
 .stats{gap:8px}
 .stat{padding:15px 12px}
 .stat span{font-size:11px}
 .stat strong{font-size:23px}
 .view-head{align-items:center;gap:8px}
 .view-head h2{font-size:18px}
 .order-card{padding:18px 16px}
 .order-card h3{font-size:15px}
 .order-card-head{gap:6px}
 .order-badge{font-size:10px;padding:5px 8px}
 .account-details{grid-template-columns:1fr;gap:15px}
 .content-card{padding:17px}
 .auth-panel{padding:20px}
}
@media(max-width:350px){
 .profile-trigger{max-width:129px}
 .profile-name{max-width:51px}
 .brand{font-size:14px}
 .topnav a{font-size:11px;padding:9px 4px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* SKY Wallet */
.wallet-overview-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}
.wallet-overview-card .eyebrow{margin-bottom:5px}.wallet-overview-card h3{margin:0 0 4px}
.wallet-overview-balance{display:block;font-size:26px;line-height:1.2;color:#1f5fc2;font-weight:850;margin:5px 0}
.wallet-overview-card p:last-child{margin:0}
.wallet-balance-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 26px;margin-bottom:16px;border:1px solid #cdddf4;border-radius:16px;background:linear-gradient(115deg,#f1f6ff,#fff);box-shadow:0 4px 18px rgba(30,75,140,.045)}
.wallet-balance-card>div{display:flex;flex-direction:column;gap:5px}.wallet-balance-card span:first-child{font-size:11px;font-weight:800;letter-spacing:.09em;color:#56749b}
.wallet-balance-card strong{font-size:clamp(27px,4vw,36px);line-height:1.2;color:#1d5fc1;font-weight:850;letter-spacing:-.035em}
.wallet-balance-card p{font-size:12px;color:#71859d;margin:3px 0 0}.wallet-mark{width:54px;height:54px;display:grid;place-items:center;border-radius:15px;background:#24436e;color:white;font-size:15px;font-weight:850;letter-spacing:.04em;flex:none}
.wallet-topup-card{margin-bottom:16px}.wallet-topup-card .stacked{max-width:none}.wallet-topup-card .stacked input{max-width:440px;margin-bottom:11px}
.wallet-quick-amounts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.wallet-quick-amounts .outline{min-height:36px;padding:7px 11px}
.wallet-history-list{display:flex;flex-direction:column;gap:9px}.wallet-history-row{border:1px solid #e1e9f3;border-radius:11px;padding:13px 15px;background:#fff}
.wallet-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.wallet-history-head>strong:first-child{font-size:13px;color:#24466f}
.wallet-history-row p{font-size:11px;color:#73859b;margin:6px 0 0;overflow-wrap:anywhere}.wallet-history-row .outline{margin-top:10px;min-height:36px}
.wallet-ledger-amount{white-space:nowrap;font-size:13px}.wallet-ledger-amount.positive{color:#16805c}.wallet-ledger-amount.negative{color:#b24e58}
.wallet-history-row .wallet-ledger-balance{color:#4d6889;font-weight:700}.wallet-payment-card{margin-top:18px;padding:17px;border:1px solid #d5e2f1;border-radius:13px;background:#f8fbff}
.wallet-payment-card h3{margin:0 0 14px;color:#1d477e}.wallet-qr{display:block;width:min(100%,250px);height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto 14px;padding:8px;background:white;border:1px solid #dbe5f1;border-radius:10px}
.wallet-payment-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.wallet-payment-row{display:flex;flex-direction:column;gap:3px;padding:0 0 8px;border-bottom:1px solid #e3ebf5;min-width:0}
.wallet-payment-row span{font-size:11px;color:#71859c}.wallet-payment-row strong{font-size:12px;color:#21446f;overflow-wrap:anywhere}.wallet-copy-reference{margin-top:12px}
.wallet-payment-note{font-size:11px;line-height:1.6;color:#5c7390;margin:12px 0 0}
@media(max-width:600px){.wallet-overview-card{align-items:flex-start;flex-direction:column}.wallet-overview-card .primary{width:100%}.wallet-balance-card{padding:20px 18px}.wallet-payment-details{grid-template-columns:1fr}.wallet-history-row{padding:12px}}

/* Account recovery and authentication feedback */
.forgot-password{align-self:flex-end;margin-top:12px;padding:5px 0;border:0;background:transparent;color:#2866bd;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.forgot-password:hover{text-decoration:underline}
.forgot-password:focus-visible,.forgot-help a:focus-visible,.recovery-invalid a:focus-visible{outline:3px solid #a9c8ff;outline-offset:3px;border-radius:6px}
.forgot-help{margin-top:13px;padding:15px 16px;border:1px solid #d7e4f4;border-radius:11px;background:#f7faff}
.forgot-help strong{display:block;color:#214a7d;font-size:13px;margin-bottom:6px}
.forgot-help p{margin:0 0 10px;color:#617995;font-size:12px;line-height:1.7}
.forgot-help a,.recovery-invalid a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border-radius:8px;background:#edf4ff;border:1px solid #cbdcf5;color:#245ba6;text-decoration:none;font-size:12px;font-weight:750}
.recovery-section{max-width:620px;margin:0 auto 40px}
.recovery-card{padding:30px;background:#fff;border:1px solid #d9e5f3;border-radius:16px;box-shadow:0 8px 28px rgba(35,74,125,.06)}
.recovery-card h2{margin:0;color:#1e426e;font-size:23px;letter-spacing:-.03em}
.recovery-description{margin:8px 0 0;color:#6d829c;font-size:13px;line-height:1.7}
.recovery-card .auth-form{margin-top:22px}
.recovery-card .auth-form label{margin:0 0 7px;color:#315477;font-size:12px;font-weight:750}
.recovery-card .auth-form input{margin-bottom:16px}
.recovery-invalid{margin-top:22px;padding:16px;border:1px solid #f0d4d3;background:#fff7f6;border-radius:11px}
.recovery-invalid strong{color:#a63f45;font-size:13px}
.recovery-invalid p{margin:7px 0 12px;color:#795e62;font-size:12px;line-height:1.7}
@media(max-width:500px){.recovery-card{padding:22px 18px}.recovery-card h2{font-size:21px}}

/* Temporary-password guidance on the account security page */
.password-help{margin:0 0 17px;padding:12px 14px;border:1px solid #d7e5f8;border-radius:10px;background:#f5f9ff;color:#56708f;font-size:12px;line-height:1.7}
#password-form[aria-busy="true"]{opacity:.82}
#password-submit:disabled{cursor:wait}
