/* GLOBARIA | Phase 5 registration presentation. Scoped to #iq-reg-model only.
   Uses existing Bootstrap 5 modal instance, registration IDs and myforms.js.
   This file deliberately does not override registration AJAX or referral status logic.
*/
.globaria-site #iq-reg-model .modal-dialog{width:min(1110px,calc(100% - 40px));max-width:1110px;margin:19px auto}
.globaria-site #iq-reg-model .modal-content{display:grid;grid-template-columns:minmax(0,34%) minmax(0,66%);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:'aside fields' 'aside foot';height:min(840px,calc(100dvh - 38px));min-height:0;max-height:calc(100dvh - 38px);overflow:hidden;background:#fff;border:1px solid rgba(166,188,242,.25);border-radius:23px;box-shadow:0 36px 112px rgba(0,2,24,.70)}
.globaria-site #iq-reg-model .homebiz-auth-shape{display:none}
.globaria-site #iq-reg-model .homebiz-auth-header{grid-area:aside;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:20px;min-height:0;padding:155px 35px 40px;border:0;overflow:hidden;text-align:left;background:#081441 url('../images/auth-orbit.webp') 59% 47%/auto 100% no-repeat}
.globaria-site #iq-reg-model .homebiz-auth-header::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(3,12,47,.55) 0%,rgba(5,14,52,.08) 35%,rgba(5,13,48,.72) 65%,#080d2d 100%)}
.globaria-site #iq-reg-model .homebiz-auth-header::after{content:'';position:absolute;inset:0;z-index:-1;width:auto;height:auto;opacity:.21;filter:none;background:url('../images/network-mesh.svg') center/cover no-repeat;pointer-events:none}
.globaria-site #iq-reg-model .gb5-left-brand{position:absolute;z-index:1;left:33px;top:27px;display:flex;flex-direction:column;gap:2px;align-items:flex-start}
.globaria-site #iq-reg-model .gb5-left-brand img{width:161px;height:auto;max-height:47px;object-fit:contain;object-position:left}
.globaria-site #iq-reg-model .gb5-left-brand span{color:rgba(227,238,255,.74);font:700 8px var(--gb-font-body);letter-spacing:.2em}
.globaria-site #iq-reg-model .gb5-brand-story{z-index:1;max-width:335px}
.globaria-site #iq-reg-model .homebiz-auth-badge{display:inline-flex;align-items:center;gap:9px;margin:0 0 16px;color:#ffd06b;font-size:9px;font-weight:800;letter-spacing:.16em}
.globaria-site #iq-reg-model .homebiz-auth-badge::before{content:'';width:20px;height:2px;background:#ffc247}
.globaria-site #iq-reg-model .modal-title{color:#fff;font-weight:900;font-size:clamp(29px,3vw,41px);line-height:1.15;letter-spacing:-.045em;margin:0 0 18px}
.globaria-site #iq-reg-model .modal-title span{display:block;color:#ffca64}
.globaria-site #iq-reg-model .homebiz-auth-header p{color:#d8e0f6;font-size:11px;line-height:1.85;max-width:312px}
.globaria-site #iq-reg-model .gb5-hero-features{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0 0}
.globaria-site #iq-reg-model .gb5-hero-features span{border-radius:20px;border:1px solid rgba(220,225,255,.26);padding:7px 9px;background:rgba(6,18,62,.3);color:#f1f5ff;font:700 8px var(--gb-font-title);letter-spacing:.075em}
.globaria-site #iq-reg-model .gb5-brand-footnote{display:flex;align-items:center;gap:8px;z-index:1;color:rgba(208,219,255,.7);font-size:8px;font-weight:700;letter-spacing:.14em}
.globaria-site #iq-reg-model .gb5-brand-line{width:25px;height:1px;background:#ffce6e}
.globaria-site #iq-reg-model .homebiz-auth-close{top:20px;right:20px;display:grid;place-items:center;width:39px;height:39px;border:1px solid #e1e8f2;border-radius:50%;background:#f6f8fb;color:#415375;opacity:1;box-shadow:none}
.globaria-site #iq-reg-model .homebiz-auth-close::before,.globaria-site #iq-reg-model .homebiz-auth-close::after{top:18px;left:11px;right:11px;background:#415375}
.globaria-site #iq-reg-model .homebiz-auth-close:hover{border-color:#efc266;background:#fff4df}
.globaria-site #iq-reg-model .homebiz-auth-body{grid-area:fields;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:35px 44px 18px;background:#fff;scrollbar-color:#c9d2df transparent;scrollbar-width:thin}
.globaria-site #iq-reg-model .gb5-body-topline{display:flex;align-items:center;gap:9px;padding-bottom:15px;border-bottom:1px solid #e8edf5;color:#3b4d73;font-size:9px;letter-spacing:.13em;font-weight:800}
.globaria-site #iq-reg-model .gb5-topline-dot{display:block;width:8px;height:8px;border-radius:50%;border:2px solid #fff;outline:1px solid #f2b93f;background:#ffc750}
.globaria-site #iq-reg-model .gb5-body-topline small{margin-left:auto;color:#98a3b6;font-size:9px;letter-spacing:.04em;font-weight:600}
.globaria-site #iq-reg-model .gb5-form-intro{margin:18px 0 21px}
.globaria-site #iq-reg-model .gb5-form-kicker{display:block;color:#bf851d;font-size:9px;font-weight:800;letter-spacing:.14em}
.globaria-site #iq-reg-model .gb5-form-intro h5{margin:6px 0 5px;color:#152449;font-size:26px;font-weight:900;letter-spacing:-.045em}
.globaria-site #iq-reg-model .gb5-form-intro p{font-size:11px;color:#718099;line-height:1.7}
.globaria-site #iq-reg-model .contact-form{margin:0;padding:0;background:transparent}
.globaria-site #iq-reg-model .gb5-referral-card{padding:17px 19px 8px;border:1px solid #dbe7f6;border-radius:15px;background:linear-gradient(115deg,#f3f7ff 0%,#f9fbff 100%);margin:0 0 19px}
.globaria-site #iq-reg-model .gb5-details-card{margin:0 0 5px}
.globaria-site #iq-reg-model .gb5-section-title{display:flex;align-items:center;gap:11px;margin-bottom:14px}
.globaria-site #iq-reg-model .gb5-section-number{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:9px;border:1px solid #f9d98b;background:#fff6df;color:#a26f0d;font:800 10px var(--gb-font-title)}
.globaria-site #iq-reg-model .gb5-section-title strong{display:block;color:#182748;font:800 12px var(--gb-font-title);line-height:1.3}
.globaria-site #iq-reg-model .gb5-section-title small{display:block;color:#8090a9;font-size:10px;margin-top:3px;line-height:1.3}
.globaria-site #iq-reg-model .contact-form .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:0;margin:0}
.globaria-site #iq-reg-model .contact-form .row>div{min-width:0;padding:0}
.globaria-site #iq-reg-model .contact-form .row>.col-md-12{grid-column:1/-1}
.globaria-site #iq-reg-model .section-field{position:relative;min-width:0;margin-bottom:13px}
.globaria-site #iq-reg-model .section-field .section-field{margin:0}
.globaria-site #iq-reg-model .section-field label{display:block;margin:0 0 7px;color:#293b5d;font-size:11px;font-weight:700}
.globaria-site #iq-reg-model input.form-control,.globaria-site #iq-reg-model .form-select{display:block;width:100%;height:45px;min-height:45px;padding:11px 14px;outline:0;border-radius:10px;border:1px solid #dce4f0;background:#f7f9fd;color:#1a2948;font:500 12px var(--gb-font-body);box-shadow:none;transition:background .15s,border-color .15s,box-shadow .15s}
.globaria-site #iq-reg-model input.form-control::placeholder{color:#91a0b7;opacity:1}
.globaria-site #iq-reg-model input.form-control:hover{border-color:#b9c8dd;background:#fff}
.globaria-site #iq-reg-model input.form-control:focus{border-color:#e3ad3b;background:#fff;box-shadow:0 0 0 3px rgba(246,189,65,.16)}
.globaria-site #iq-reg-model input.form-control:disabled{background:#eef3fa;color:#667894;opacity:1}
.globaria-site #iq-reg-model .gb5-referral-grid .globalst-input-wrap{position:relative;display:flex;align-items:center}
.globaria-site #iq-reg-model #Sponsorid{padding-left:36px;padding-right:35px}
.globaria-site #iq-reg-model .gb5-referral-grid .globalst-input-wrap::before{content:'';position:absolute;left:13px;top:50%;transform:translateY(-50%);width:16px;height:16px;background:url('../icons/user.svg') center/contain no-repeat;opacity:.54;pointer-events:none}
.globaria-site #iq-reg-model .globalst-icon-status-box .allicon{position:absolute;top:50%;right:12px;transform:translateY(-50%);width:17px;height:17px;color:#f3b743;z-index:2;font-size:15px;pointer-events:none}
.globaria-site #iq-reg-model .globalst-icon-status-box .check-icon{color:#109774}
.globaria-site #iq-reg-model .globalst-icon-status-box .cross-icon{color:#dd4b5c}
.globaria-site #iq-reg-model .gb5-password-wrap{position:relative}
.globaria-site #iq-reg-model .gb5-password-wrap input{padding-right:44px}
.globaria-site #iq-reg-model .gb5-pass-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:35px;height:35px;background:transparent;border:0;border-radius:9px;cursor:pointer}
.globaria-site #iq-reg-model .gb5-pass-toggle:hover{background:#eaf0f8}
.globaria-site #iq-reg-model .gb5-pass-toggle:focus-visible{outline:2px solid #d18d17;outline-offset:2px}
.globaria-site #iq-reg-model .gb5-eye{display:block;width:19px;height:19px;background:url('../icons/eye.svg') center/contain no-repeat;opacity:.6}
.globaria-site #iq-reg-model .gb5-pass-toggle[aria-pressed=true] .gb5-eye{background-image:url('../icons/eye-off.svg')}
.globaria-site #iq-reg-model .gb5-consent-row{margin:4px 0 10px}
.globaria-site #iq-reg-model .gb5-consent-row .form-check{margin:0;padding:13px 15px;border-radius:10px;border:1px solid #e4eaf4;background:#f8faff;font-size:11px;line-height:1.65}
.globaria-site #iq-reg-model .gb5-consent-row .form-check-label{position:relative;display:flex;align-items:center;gap:7px;color:#657690;font-size:11px;cursor:pointer;flex-wrap:wrap}
.globaria-site #iq-reg-model #rememberme{width:16px;height:16px;min-width:16px;margin:0;accent-color:#e9a421;cursor:pointer}
.globaria-site #iq-reg-model .gb5-consent-row .checkmark{display:none}
.globaria-site #iq-reg-model .gb5-consent-row a{color:#a97616;font-weight:800}
.globaria-site #iq-reg-model .gb5-consent-row a:hover{text-decoration:underline}
.globaria-site #iq-reg-model .homebiz-auth-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:51px;margin:9px 0 0;border:0;border-radius:11px;background:linear-gradient(110deg,#ffe18b 0%,#ffc448 51%,#f4a51e 100%);box-shadow:0 12px 26px rgba(208,145,35,.14);color:#202b40!important;font:800 12px var(--gb-font-title);text-decoration:none;letter-spacing:.015em;cursor:pointer;transition:filter .18s,transform .18s}
.globaria-site #iq-reg-model .homebiz-auth-submit:hover{filter:brightness(1.04);transform:translateY(-1px)}
.globaria-site #iq-reg-model #RegLoader{pointer-events:none;opacity:.7}
.globaria-site #iq-reg-model .homebiz-auth-footer{grid-area:foot;display:flex;justify-content:center;min-height:58px;padding:17px 20px 19px;border:0;border-top:1px solid #eef0f6;background:#fff;color:#7a879e;font-size:11px}
.globaria-site #iq-reg-model .homebiz-auth-footer a{color:#a67410;font-size:11px;font-weight:800}
@media(max-width:980px){
  .globaria-site #iq-reg-model .modal-content{grid-template-columns:minmax(0,31%) minmax(0,69%)}
  .globaria-site #iq-reg-model .homebiz-auth-header{padding:155px 25px 32px}
  .globaria-site #iq-reg-model .gb5-left-brand{left:24px;top:25px}
  .globaria-site #iq-reg-model .modal-title{font-size:30px}
  .globaria-site #iq-reg-model .homebiz-auth-body{padding:32px 30px 17px}
}
@media(max-width:710px){
  .globaria-site #iq-reg-model .modal-dialog{width:calc(100% - 22px);max-width:530px;margin:11px auto}
  .globaria-site #iq-reg-model .modal-content{display:flex;flex-direction:column;height:auto;min-height:0;max-height:calc(100dvh - 22px);border-radius:18px}
  .globaria-site #iq-reg-model .homebiz-auth-header{display:flex;flex:none;min-height:158px;padding:58px 23px 20px;align-items:flex-start;justify-content:flex-end;background-position:60% 37%;background-size:cover}
  .globaria-site #iq-reg-model .homebiz-auth-header::before{background:linear-gradient(90deg,rgba(4,11,44,.93),rgba(5,14,50,.73) 64%,rgba(8,12,52,.4))}
  .globaria-site #iq-reg-model .gb5-left-brand{left:22px;top:10px}
  .globaria-site #iq-reg-model .gb5-left-brand img{width:128px;max-height:35px}
  .globaria-site #iq-reg-model .gb5-left-brand span{font-size:6px}
  .globaria-site #iq-reg-model .gb5-brand-story{max-width:360px}
  .globaria-site #iq-reg-model .homebiz-auth-badge{margin:0 0 7px;font-size:7px}
  .globaria-site #iq-reg-model .modal-title{font-size:23px;margin:0 0 7px;line-height:1.15}
  .globaria-site #iq-reg-model .modal-title span{display:inline;margin-left:5px}
  .globaria-site #iq-reg-model .homebiz-auth-header p{font-size:10px;line-height:1.5;max-width:340px}
  .globaria-site #iq-reg-model .gb5-hero-features,.globaria-site #iq-reg-model .gb5-brand-footnote{display:none}
  .globaria-site #iq-reg-model .homebiz-auth-close{top:13px;right:13px;width:34px;height:34px}
  .globaria-site #iq-reg-model .homebiz-auth-close::before,.globaria-site #iq-reg-model .homebiz-auth-close::after{top:15px;left:9px;right:9px}
  .globaria-site #iq-reg-model .homebiz-auth-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:21px 22px 18px}
  .globaria-site #iq-reg-model .gb5-form-intro{margin:14px 0 16px}
  .globaria-site #iq-reg-model .gb5-form-intro h5{font-size:22px}
  .globaria-site #iq-reg-model .gb5-referral-card{padding:14px 14px 4px}
  .globaria-site #iq-reg-model .homebiz-auth-footer{flex:none;min-height:0;padding:12px 18px 15px}
}
@media(max-width:480px){
  .globaria-site #iq-reg-model .homebiz-auth-header{min-height:148px;padding:54px 18px 16px}
  .globaria-site #iq-reg-model .gb5-left-brand{left:18px}
  .globaria-site #iq-reg-model .homebiz-auth-body{padding:16px 17px 14px}
  .globaria-site #iq-reg-model .contact-form .row{grid-template-columns:minmax(0,1fr);column-gap:0}
  .globaria-site #iq-reg-model .contact-form .row>.col-md-12{grid-column:span 1}
  .globaria-site #iq-reg-model .gb5-details-card .gb5-section-title{margin-bottom:13px}
  .globaria-site #iq-reg-model .gb5-form-intro p{font-size:10px}
  .globaria-site #iq-reg-model .section-field{margin-bottom:12px}
}
@media(max-height:640px) and (max-width:710px){
  .globaria-site #iq-reg-model .homebiz-auth-header{min-height:116px;padding:51px 16px 10px}
  .globaria-site #iq-reg-model .homebiz-auth-header p{display:none}
  .globaria-site #iq-reg-model .homebiz-auth-body{padding-top:12px}
}
@media(prefers-reduced-motion:reduce){.globaria-site #iq-reg-model .homebiz-auth-submit,.globaria-site #iq-reg-model input.form-control{transition:none}}

/* Registration wallet field */
.globaria-site #iq-reg-model .gb5-details-card .homebiz-input-wrap{position:relative;display:flex;align-items:center;gap:10px;min-width:0}
.globaria-site #iq-reg-model .gb5-details-card .homebiz-input-wrap>i.fa-wallet{position:absolute;left:14px;top:22.5px;transform:translateY(-50%);display:grid;place-items:center;width:18px;height:18px;color:#7185a6;font-size:16px;pointer-events:none}
.globaria-site #iq-reg-model .gb5-details-card .homebiz-input-wrap>i.fa-wallet::before{content:'';display:block;width:18px;height:18px;background-color:currentColor;mask:url('../icons/wallet.svg') center/contain no-repeat;-webkit-mask:url('../icons/wallet.svg') center/contain no-repeat}
.globaria-site #iq-reg-model #regaddress{flex:1 1 0;min-width:0;width:100%;height:45px;min-height:45px;margin:0;padding:11px 14px 11px 40px;background:#f7f9fd;color:#1a2948;opacity:1;text-overflow:ellipsis}
.globaria-site #iq-reg-model #regaddress::placeholder{color:#71819b;opacity:1}
.globaria-site #iq-reg-model .gb5-details-card .connect-link{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:45px;margin:0;padding:10px 17px;border:1px solid #e6ac38;border-radius:10px;background:linear-gradient(110deg,#ffe18b,#ffc448 60%,#f4a51e);color:#172544;font:700 12px var(--gb-font-title);line-height:1.4;white-space:nowrap;text-decoration:none;cursor:pointer}
.globaria-site #iq-reg-model .gb5-details-card .connect-link:hover{background:#ffcd62;border-color:#d89b27;color:#172544}
.globaria-site #iq-reg-model .gb5-details-card .connect-link:focus-visible{outline:2px solid #d18d17;outline-offset:2px}
@media(max-width:480px){
  .globaria-site #iq-reg-model .gb5-details-card .homebiz-input-wrap{flex-direction:column;align-items:stretch;gap:8px}
  .globaria-site #iq-reg-model #regaddress{flex:none;width:100%}
  .globaria-site #iq-reg-model .gb5-details-card .connect-link{width:100%}
}
