/* Owner-approved Register only; no rules applied to Login, Home or Menu. */
.sg-register-page{margin:0;color:#051366;font-family:Arial,Helvetica,sans-serif;background:#003ac9;background-image:linear-gradient(141deg,transparent 0 21%,#075fe055 21.1%,transparent 34%),linear-gradient(151deg,transparent 0 46%,#00196080 46.2% 62%,#0874ff40 62.2% 66%,transparent 66.2%),linear-gradient(118deg,#051a71 0%,#0054e2 41%,#003aba 63%,#001463 100%);background-attachment:fixed;min-height:100vh;min-height:100dvh}
.sg-register-page *{box-sizing:border-box}
.sg-register-shell{width:100%;max-width:420px;margin:0 auto;padding:0 6px 0}
.sg-register-brand{text-align:center;height:120px;padding-top:8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0}
.sg-register-brand img{display:block;width:82px;height:82px;object-fit:contain;filter:drop-shadow(0 0 5px #edb53666)}
.sg-register-wordmark{font-size:24px;line-height:29px;font-weight:800;letter-spacing:.3px;color:#fff1b6;text-shadow:0 1px 0 #986626,0 2px 3px #031859}
.sg-register-card{border:1px solid #dedcf0;border-radius:17px;background:linear-gradient(118deg,#fffdf5 0%,#fffef9 54%,#fffffd 100%);padding:10px 16px 7px;box-shadow:0 2px 2px #08287799,inset 0 1px 0 #fff;min-width:0}
.sg-register-card h1{font-family:Arial,Helvetica,sans-serif;margin:0 0 34px;color:#000766;text-align:center;font-size:24px;font-weight:700;line-height:29px;letter-spacing:-.55px;text-shadow:0 1px 1px #04075a22}
.sg-register-card form{margin:0}
.sg-register-field{margin-bottom:11px}.sg-register-field:last-of-type{margin-bottom:9px}
.sg-register-input{position:relative;min-height:44px}
.sg-register-input>i{position:absolute;top:50%;left:16px;transform:translateY(-50%);font-size:23px;line-height:1;z-index:1;color:#03147a;text-shadow:0 1px 1px #7787c366;pointer-events:none}
.sg-register-input>i.fa-phone{transform:translateY(-50%) rotate(9deg)}
.sg-register-input .form-control{height:44px;min-height:44px;width:100%;border:1px solid #cecbd1;border-radius:11px;background:linear-gradient(115deg,#fff 0%,#fdfdff 100%);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:24px;font-weight:400;color:#132770;padding:9px 12px 9px 54px;box-shadow:inset 0 1px 2px #07164009,0 1px 2px #01185716;transition:border-color .16s,box-shadow .16s}
.sg-register-input .form-control::placeholder{opacity:1;color:#5366b3}
.sg-register-input .form-control:focus{outline:0;border-color:#3864d1;box-shadow:0 0 0 3px #3b72db29}
.sg-register-password .form-control{padding-right:48px}
.sg-register-page .password-icon{position:absolute;right:2px;top:0;width:44px;height:44px;padding:0;border:0;border-radius:9px;background:transparent;color:#526082;display:grid;place-items:center;cursor:pointer;z-index:2}
.sg-register-page .password-icon::before{font-family:"Font Awesome 6 Free";font-weight:900;content:"\f06e";font-size:21px;line-height:1}
.sg-register-page .password-icon.bi-eye::before{content:"\f070"}
.sg-register-gold{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:8px 38px;border:1px solid #db8a00;border-radius:14px;background:radial-gradient(ellipse at 18% 2%,#ffffc5ad,transparent 61%),linear-gradient(178deg,#ffe971 0%,#ffd542 30%,#f7bd29 72%,#dc980e 100%);box-shadow:inset 0 2px 0 #ffffd6,inset 0 0 0 2px #ffd957,0 2px 1px #b57614,0 3px 4px #845c2438;color:#100d00;font-family:Arial,Helvetica,sans-serif;font-size:22px;line-height:26px;font-weight:700;letter-spacing:-.4px;text-decoration:none;text-align:center;cursor:pointer;transition:filter .15s,transform .15s,box-shadow .15s}
.sg-register-gold>i{position:absolute;right:18px;font-size:18px;font-weight:900}
.sg-register-gold:hover{color:#100d00;filter:brightness(1.035)}
.sg-register-gold:active{transform:translateY(1px);box-shadow:inset 0 2px 2px #94621426,inset 0 0 0 2px #ffd957,0 1px 1px #b57614}
.sg-register-login{margin-top:4px}
.sg-register-support{position:relative;width:84%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:8px;margin:7px auto 0;padding:8px 30px 8px 59px;border:1px solid #b8c3d0;border-radius:13px;background:linear-gradient(165deg,#fff 7%,#f5f9ff 48%,#c7d5e5 100%);box-shadow:inset 0 1px 1px #fff,0 2px 3px #40507724;color:#001078;font-size:16px;font-weight:600;line-height:20px;text-decoration:none;white-space:nowrap}
.sg-register-support:hover{color:#001078;filter:brightness(1.025)}
.sg-register-support>i{position:absolute;right:14px;font-size:14px}
.sg-register-whatsapp{position:absolute;top:-4px;bottom:-4px;left:-1px;width:51px;display:grid;place-items:center;border:1px solid #00dba1;border-radius:15px;background:radial-gradient(ellipse at 29% 0%,#94ffd7b3,transparent 54%),linear-gradient(145deg,#00d984,#02ad62 47%,#007d3e 83%);box-shadow:inset 0 1px 2px #cdfff3,inset 0 -2px 4px #00672f,0 3px 4px #00674335;color:#fff}
.sg-register-whatsapp i{font-size:33px;filter:drop-shadow(0 1px 1px #004e2a)}
.sg-register-card [data-login-error]:empty,.sg-register-card .small:empty{display:none}
.sg-register-card [data-login-error]{margin:0 0 10px;font-size:14px;line-height:20px}
.sg-register-field>.small{display:block;margin-top:4px;line-height:18px;font-size:13px}
.sg-register-card .text-danger{color:#a01926!important}
.sg-register-card .is-invalid{border-color:#b2202f}
.sg-register-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sg-register-page :is(a,button):focus-visible{outline:3px solid #3578ea;outline-offset:3px}
@media(min-width:380px){.sg-register-shell{padding:0 7px 10px}.sg-register-brand{height:140px;padding-top:9px}.sg-register-brand img{width:96px;height:96px}.sg-register-wordmark{font-size:28px;line-height:33px}.sg-register-card{padding:12px 18px 10px;border-radius:19px}.sg-register-card h1{font-size:28px;line-height:34px;margin-bottom:39px}.sg-register-input,.sg-register-input .form-control{height:52px;min-height:52px}.sg-register-input .form-control{font-size:18px;padding-left:62px}.sg-register-input>i{left:18px;font-size:26px}.sg-register-field{margin-bottom:13px}.sg-register-field:last-of-type{margin-bottom:10px}.sg-register-page .password-icon{width:50px;height:52px}.sg-register-gold{min-height:53px;font-size:25px;line-height:29px}.sg-register-login{margin-top:5px}.sg-register-support{min-height:53px;margin-top:9px;font-size:18px;padding-left:65px}.sg-register-whatsapp{width:58px}.sg-register-whatsapp i{font-size:38px}}
@media(max-width:329px){.sg-register-card{padding-left:12px;padding-right:12px}.sg-register-support{font-size:15px}.sg-register-card h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){.sg-register-page *{transition:none!important;animation:none!important}}

/* Fixed lettering and decorative icons from the exact owner-approved image. */
.sg-register-wordmark{font-size:0;background:url('../images/register-approved/wordmark.png') center/127px 27px no-repeat;width:100%;text-shadow:none}
.sg-register-card h1{font-size:0;background:url('../images/register-approved/heading.png') center/169px 28px no-repeat;text-shadow:none}
.sg-register-input>i{width:25px;height:26px;font-size:0;text-shadow:none;background-position:center;background-size:contain;background-repeat:no-repeat}
.sg-register-input>i::before{display:none}
.sg-register-input>.fa-user{background-image:url('../images/register-approved/user.png')}
.sg-register-input>.fa-phone{background-image:url('../images/register-approved/phone.png');transform:translateY(-50%)}
.sg-register-input>.fa-lock{background-image:url('../images/register-approved/lock.png')}
.sg-register-page .password-icon::before{display:none}
.sg-register-page .password-icon::after{content:"";width:23px;height:21px;background:url('../images/register-approved/eye.png') center/contain no-repeat}
.sg-register-page .password-icon.bi-eye::before{display:block}
.sg-register-page .password-icon.bi-eye::after{display:none}
.sg-register-whatsapp{background:url('../images/register-approved/whatsapp.png') center/contain no-repeat;border:0;box-shadow:none}
.sg-register-whatsapp i{opacity:0}
@media(min-width:380px){.sg-register-wordmark{background-size:148px 31.5px}.sg-register-card h1{background-size:197px 32.7px}.sg-register-input>i{width:29px;height:30px}}
@media(forced-colors:active){.sg-register-wordmark{font-size:24px;background:none;color:CanvasText}.sg-register-card h1{font-size:24px;background:none}.sg-register-input>i{font-size:23px;background:none}.sg-register-input>i::before,.sg-register-page .password-icon::before{display:block}.sg-register-page .password-icon::after{display:none}.sg-register-whatsapp{background:none}.sg-register-whatsapp i{opacity:1;color:CanvasText}}


/* Contextual server errors preserve the approved clean form layout. */
.sg-register-card .sg-register-input-invalid{border-color:#b2202f}
.sg-register-field-error{margin-top:6px;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.sg-register-field-error>span{display:block}
.sg-register-field-error[hidden]{display:none}
.sg-register-card [data-login-error]:focus{outline:2px solid #b2202f;outline-offset:3px}

/* Keep the locked heading geometry, using the bundled live font for clear scaling. */
@font-face{font-family:SGAuthApproved;src:url('../fonts/wallet-history/Assistant-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
html[data-sg-ui-locale="en"] .sg-register-card h1{background:none;font-family:SGAuthApproved,Arial,Helvetica,sans-serif;font-size:26px;letter-spacing:-.3px;text-shadow:none}
@media(min-width:380px){html[data-sg-ui-locale="en"] .sg-register-card h1{font-size:30px}}

/* The complete register card already includes bottom inset; avoid surplus outer scrolling at app-content height. */
@media(min-width:380px){.sg-register-shell{padding-bottom:0}}
/* Final approved gold material: soft shoulder/bevel replaces the hard uniform inset ring; layout and live type preserved. */
.sg-register-gold{
 background:radial-gradient(ellipse at 18% 0,#fffce0cc,transparent 58%),linear-gradient(176deg,#ffeb94 0%,#ffda58 34%,#f0b52d 76%,#d99720 100%);
 border-color:#dd990d;
 box-shadow:inset 0 1px 2px #fffef0e6,inset 0 -2px 3px #b8791940,0 2px 3px #a8732859,0 5px 8px #73501d29;
}
.sg-register-gold:active{box-shadow:inset 0 1px 2px #fffbd799,inset 0 -1px 3px #a96a2033,0 1px 2px #a873284d}
