/* HORIZON GLOBAL FINANCE | Auth modal presentation only (19 Oct 2026)
   Scoped to the existing auth modal classes to leave the live site untouched.
   Existing Razor logic, IDs, callbacks and Bootstrap data hooks are unchanged. */
:root {
    --hz-auth-bg: #07170f;
    --hz-auth-panel: #0b2015;
    --hz-auth-stroke: rgba(145, 238, 170, .17);
    --hz-auth-bright: #f0fbf2;
    --hz-auth-muted: #9db9a7;
    --hz-auth-mint: #99fbb8;
    --hz-auth-emerald: #33d971;
}

/* Keep the standard Bootstrap show/hide contract without touching app scripts. */
.homebiz-auth-modal,
.homebiz-simple-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background: rgba(2, 11, 7, .36);
    font-family: 'Manrope', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.homebiz-auth-modal.show,
.homebiz-simple-auth-modal.show { display: block; }
.homebiz-auth-modal.fade,
.homebiz-simple-auth-modal.fade { transition: opacity .22s ease; }
.homebiz-auth-modal.fade:not(.show),
.homebiz-simple-auth-modal.fade:not(.show) { opacity: 0; }

.homebiz-auth-modal .modal-dialog,
.homebiz-simple-auth-modal .modal-dialog {
    width: min(100% - 36px, 462px);
    max-width: none;
    min-height: calc(100dvh - 48px);
    margin: 24px auto;
    display: flex;
    align-items: center;
    position: relative;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
}
.homebiz-auth-modal.fade:not(.show) .modal-dialog,
.homebiz-simple-auth-modal.fade:not(.show) .modal-dialog { transform: translateY(14px) scale(.987); }
.homebiz-auth-modal .globalst-register-dialog { width: min(100% - 36px, 654px); }

.homebiz-auth-modal .homebiz-auth-card,
.homebiz-simple-auth-modal .homebiz-simple-auth-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100dvh - 48px);
    min-height: 0;
    overflow: hidden;
    pointer-events: auto;
    color: var(--hz-auth-bright);
    background:
        radial-gradient(ellipse at 94% -12%, rgba(65, 217, 116, .16), transparent 49%),
        linear-gradient(146deg, #0d261a 0%, #081911 52%, #06140e 100%);
    border: 1px solid rgba(135, 239, 162, .26);
    border-radius: 22px;
    box-shadow: 0 38px 100px rgba(0,0,0,.68), 0 0 0 1px rgba(0,0,0,.35), inset 0 1px rgba(238,255,242,.06);
}
.homebiz-auth-modal .homebiz-auth-card::before,
.homebiz-simple-auth-modal .homebiz-simple-auth-card::before {
    content: '';
    position: absolute;
    z-index: 2;
    inset: 0 23px auto;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, #63e88d 23%, #c1ffd2 52%, #43c66f 79%, transparent);
    box-shadow: 0 0 19px rgba(64,222,104,.27);
    pointer-events: none;
}
.homebiz-auth-modal .homebiz-auth-shape {
    position: absolute;
    top: -145px;
    right: -136px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(123, 238, 154, .12);
    border-radius: 50%;
    pointer-events: none;
}
.homebiz-auth-modal .homebiz-auth-shape::after {
    content: '';
    position: absolute;
    inset: 38px;
    border: 1px solid rgba(143, 231, 169, .09);
    border-radius: 50%;
}

/* Brand masthead and hierarchy */
.homebiz-auth-modal .homebiz-auth-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex: 0 0 auto;
    gap: 18px;
    padding: 67px 34px 23px;
    border: 0;
    border-bottom: 1px solid rgba(153, 229, 169, .1);
    text-align: left;
    background: transparent;
}
.homebiz-auth-modal .homebiz-auth-header::before {
    content: 'HORIZON  /  GLOBAL FINANCE';
    position: absolute;
    left: 34px;
    top: 29px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .19em;
    color: #a1eab6;
}
.homebiz-auth-modal .homebiz-auth-header > div:first-child { position: relative; z-index: 1; min-width: 0; }
.homebiz-auth-modal .homebiz-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #9cc9ac;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.homebiz-auth-modal .homebiz-auth-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #72f7a0;
    box-shadow: 0 0 11px rgba(114, 247, 160, .46);
}
.homebiz-auth-modal .homebiz-auth-header .modal-title {
    color: #f3fff6;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1.2;
    margin: 0 0 9px;
}
.homebiz-auth-modal .homebiz-auth-header p {
    color: #9dbba6;
    font-size: 12px;
    line-height: 1.75;
    margin: 0;
}
.homebiz-auth-modal .homebiz-auth-close {
    position: absolute;
    z-index: 3;
    right: 24px;
    top: 23px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    background: rgba(157, 244, 177, .075) none;
    border: 1px solid rgba(157, 244, 177, .19);
    border-radius: 9px;
    box-shadow: none;
    opacity: 1;
    color: #d9f5df;
    padding: 0;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.homebiz-auth-modal .homebiz-auth-close::before { content: '×'; font: 400 24px/1 Arial, sans-serif; margin-top: -2px; }
.homebiz-auth-modal .homebiz-auth-close:hover { background: rgba(144, 239, 170, .15); border-color: rgba(180, 255, 197, .55); transform: rotate(90deg); }

.homebiz-auth-modal .homebiz-auth-body {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 24px 34px 27px;
    scrollbar-width: thin;
    scrollbar-color: rgba(150,247,174,.30) transparent;
}
.homebiz-auth-modal .homebiz-auth-body::-webkit-scrollbar { width: 6px; }
.homebiz-auth-modal .homebiz-auth-body::-webkit-scrollbar-thumb { background: rgba(146,235,171,.23); border-radius: 99px; }
.homebiz-auth-modal .contact-form {
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.homebiz-auth-modal .contact-form form { margin: 0; }
.homebiz-auth-modal .section-field,
.homebiz-auth-modal .form-group { min-width: 0; margin: 0; }
.homebiz-auth-modal .section-field { margin-bottom: 16px; }
.homebiz-auth-modal .section-field .section-field { margin: 0; }
.homebiz-auth-modal .homebiz-input-box > label,
.homebiz-auth-modal .globalst-input-box > label {
    display: block;
    margin: 0 0 8px;
    color: #daeadd;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: .025em;
        font-size: 14px !important;
}
.homebiz-auth-modal input.form-control,
.homebiz-auth-modal select.form-select {
    display: block;
    width: 100%;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 0 14px;
    appearance: none;
    border: 1px solid rgba(166, 232, 185, .20);
    border-radius: 10px;
    outline: 0;
    background: rgba(2, 15, 8, .62);
    color: #f2fff5;
    font: 500 12px/1.4 'Manrope', Arial, sans-serif;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.09);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;

        font-size: 14px !important;
}
.homebiz-auth-modal input.form-control::placeholder { color: #789786; opacity: 1; }
.homebiz-auth-modal input.form-control:focus,
.homebiz-auth-modal select.form-select:focus {
    border-color: #62ee91;
    background: #0b2919;
    box-shadow: 0 0 0 3px rgba(77, 220, 121, .13);
}
.homebiz-auth-modal input.form-control:disabled {
    background: rgba(35, 60, 43, .28);
    color: #94b49d;
    border-style: dashed;
    cursor: not-allowed;
}
.homebiz-auth-modal select.form-select {
    padding-right: 37px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%239be9b0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 17px;
}
.homebiz-auth-modal select.form-select option { background: #10291a; color: #edfff1; }
.homebiz-auth-modal .homebiz-input-wrap { position: relative; display: flex; align-items: center; }
.homebiz-auth-modal .homebiz-input-wrap > i.fa-solid:first-child {
    position: absolute;
    left: 14px;
    z-index: 1;
    font-size: 14px;
    color: #86d29d;
    pointer-events: none;
}
.homebiz-auth-modal .homebiz-input-wrap > i.fa-solid:first-child + input.form-control { padding-left: 41px; }
.homebiz-auth-modal .globalst-status-icon { position: absolute; right: 13px; z-index: 1; color: #89ecab; }
.homebiz-auth-modal .globalst-status-icon.error { color: #ff9292; }
.homebiz-auth-modal .globalst-input-wrap input[name='Sponsorid'] { padding-right: 42px; }

/* Sign-in card and field-specific notes */
.homebiz-auth-modal .homebiz-login-intro {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px;
    margin: 0 0 24px;
    border: 1px solid rgba(125, 244, 151, .15);
    border-radius: 13px;
    background: linear-gradient(120deg, rgba(67, 197, 104, .11), rgba(62, 153, 90, .035));
}
.homebiz-auth-modal .homebiz-login-intro-icon {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    border-radius: 12px;
    border: 1px solid rgba(121, 240, 152, .23);
    background: rgba(83, 221, 120, .12);
    color: #a6fac0;
    font-size: 17px;
}
.homebiz-auth-modal .homebiz-login-intro-copy span {
    display: block;
    margin-bottom: 3px;
    color: #b5ebc4;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-weight: 800;
}
.homebiz-auth-modal .homebiz-login-intro-copy h5 {
    margin: 0;
    color: #e8f5eb;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.55;
}
.homebiz-auth-modal .hz-auth-forgot-row { text-align: right; margin: -5px 0 17px; }
.homebiz-auth-modal .hz-auth-forgot { color: #9be9b4; font-size: 11px; font-weight: 700; }
.homebiz-auth-modal .hz-auth-forgot:hover { color: white; text-decoration: underline; }
.homebiz-auth-modal .homebiz-login-help-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 19px;
    padding: 11px 12px;
    border-radius: 10px;
    background: rgba(146, 241, 168, .045);
    color: #91ae99;
    font-size: 10px;
    line-height: 1.65;
}
.homebiz-auth-modal .homebiz-login-help-note i { color: #76d996; margin-top: 2px; }

/* Referral / registration grid; independent of the rest of the website. */
#iq-reg-model .contact-form .row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px 15px; margin: 0; }
#iq-reg-model .contact-form .row + .row { margin-top: 16px; }
#iq-reg-model .contact-form .row > .col-md-12 { grid-column: span 2; min-width: 0; padding: 0; }
#iq-reg-model .contact-form .row > .col-md-6 { grid-column: span 1; min-width: 0; padding: 0; }
#iq-reg-model .contact-form .row > .col-sm-12 { grid-column: 1 / -1; min-width: 0; padding: 0; }
#iq-reg-model .section-field { margin: 0; }
#iq-reg-model .contact-form .row > .col-md-12:nth-child(2) .form-control { height: 39px; min-height: 39px; font-size: 11px; }
.homebiz-auth-modal .homebiz-terms .form-check-label {
    display: block;
    color: #a8c5b1;
    font-size: 11px;
    line-height: 1.7;
    font-weight: 500;
    cursor: pointer;
}
.homebiz-auth-modal .homebiz-terms input[type='checkbox'] {
    display: inline-block;
    vertical-align: -3px;
    width: 16px;
    height: 16px;
    margin: 0 7px 0 0;
    accent-color: #48d97b;
    cursor: pointer;
}
.homebiz-auth-modal .homebiz-terms .checkmark { display: none; }
.homebiz-auth-modal .homebiz-terms a { color: #9befb6; font-weight: 700; }
.homebiz-auth-modal .homebiz-terms a:hover { color: #fff; text-decoration: underline; }

/* Unified accessible action and footer styles. */
.homebiz-auth-modal .homebiz-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 47px;
    margin: 8px 0 0;
    padding: 13px 18px;
    border: 1px solid rgba(175, 255, 193, .48);
    border-radius: 10px;
    background: linear-gradient(112deg, #adffc2 0%, #59e98c 47%, #20bd5a 100%);
    box-shadow: 0 12px 24px rgba(31, 184, 79, .16), inset 0 1px rgba(255,255,255,.35);
    color: #092412;
    font-size: 12px;
        font-size: 14px;
    font-weight: 850;
    letter-spacing: .025em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .19s ease, filter .19s ease, box-shadow .19s ease;
}
.homebiz-auth-modal .homebiz-auth-submit:hover {
    color: #041b0a;
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 17px 27px rgba(31, 184, 79, .21), inset 0 1px rgba(255,255,255,.35);
}
.homebiz-auth-modal .homebiz-auth-submit:active { transform: translateY(0); }
.homebiz-auth-modal .homebiz-auth-submit:disabled { cursor: progress; opacity: .75; }
.homebiz-auth-modal .homebiz-auth-submit > i { font-size: 13px; }
.homebiz-auth-modal .globalst-loading-btn { background: linear-gradient(110deg, #bdd8c3, #9ac9a6); box-shadow: none; }
.homebiz-auth-modal .homebiz-auth-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 0;
    border-top: 1px solid rgba(150, 232, 165, .12);
    background: rgba(0,0,0,.12);
    padding: 17px 26px 20px;
    font-size: 11px;
        font-size: 14px;
    line-height: 1.6;
    color: #a4bdae;
    text-align: center;
}
.homebiz-auth-modal .homebiz-auth-footer a { color: #a2f8bc; font-weight: 800; margin-left: 4px; }
.homebiz-auth-modal .homebiz-auth-footer a:hover { color: #fff; text-decoration: underline; }
.homebiz-auth-modal :is(input,select,button,a):focus-visible,
.homebiz-simple-auth-modal :is(input,button,a):focus-visible { outline: 2px solid #b1ffca; outline-offset: 3px; }
.homebiz-auth-modal .msgshow:empty { display: none; }
.homebiz-auth-modal .msgshow:not(:empty) { margin-bottom: 13px; color: #f6d6c7; font-size: 12px; line-height: 1.6; }

/* Existing secondary login / recovery modal: cosmetic consistency only. */
.homebiz-simple-auth-modal .homebiz-simple-auth-card { padding: 30px; }
.homebiz-simple-auth-modal .homebiz-simple-auth-card .modal-body { overflow-y: auto; }
.homebiz-simple-auth-modal .homebiz-modal-brand { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #c7f9d4; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.homebiz-simple-auth-modal .homebiz-brand-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #163b25; color: #83eaa0; }
.homebiz-simple-auth-modal .globalst-simple-title { margin: 23px 0; font-size: 25px; font-weight: 800; text-align: left; letter-spacing: -.05em; }
.homebiz-simple-auth-modal .globalst-simple-input { position: relative; margin: 0 0 17px; }
.homebiz-simple-auth-modal .globalst-simple-input .input-label { display: block; font-size: 11px; font-weight: 700; color: #dcebe0; margin-bottom: 7px; }
.homebiz-simple-auth-modal .globalst-simple-input input { display: block; width: 100%; height: 45px; padding: 0 14px; color: #fff; background: #071a10; border: 1px solid var(--hz-auth-stroke); border-radius: 9px; outline: 0; }
.homebiz-simple-auth-modal .globalst-simple-input input:focus { border-color: #6aee97; }
.homebiz-simple-auth-modal .globalst-simple-input > i { display: none; }
.homebiz-simple-auth-modal .globalst-simple-options { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; margin-bottom: 15px; }
.homebiz-simple-auth-modal .globalst-simple-options label { display: flex; align-items: center; gap: 6px; }
.homebiz-simple-auth-modal .globalst-simple-options input { accent-color: #49dd80; }
.homebiz-simple-auth-modal .globalst-simple-options a,
.homebiz-simple-auth-modal .globalst-simple-footer a { color: #8debab; }
.homebiz-simple-auth-modal .globalst-simple-btn { display: block; width: 100%; border: 0; border-radius: 9px; min-height: 45px; color: #08240e; background: linear-gradient(110deg,#a4ffbb,#34d871); font-weight: 800; }
.homebiz-simple-auth-modal .globalst-simple-footer { margin-top: 15px; font-size: 11px; color: #abbeae; text-align: center; }

@media (max-width: 700px) {
    .homebiz-auth-modal .modal-dialog,
    .homebiz-simple-auth-modal .modal-dialog,
    .homebiz-auth-modal .globalst-register-dialog {
        width: calc(100% - 24px);
        min-height: calc(100dvh - 24px);
        margin: 12px auto;
    }
    .homebiz-auth-modal .homebiz-auth-card,
    .homebiz-simple-auth-modal .homebiz-simple-auth-card { max-height: calc(100dvh - 24px); border-radius: 18px; }
    .homebiz-auth-modal .homebiz-auth-header { padding: 57px 23px 19px; }
    .homebiz-auth-modal .homebiz-auth-header::before { top: 24px; left: 23px; font-size: 9px; }
    .homebiz-auth-modal .homebiz-auth-close { top: 16px; right: 16px; }
    .homebiz-auth-modal .homebiz-auth-body { padding: 21px 23px 23px; }
    .homebiz-auth-modal .homebiz-auth-footer { padding: 15px 18px 17px; }
    .homebiz-auth-modal .homebiz-login-intro { padding: 12px; gap: 11px; }
    #iq-reg-model .contact-form .row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px 10px; }
    .homebiz-simple-auth-modal .homebiz-simple-auth-card { padding: 24px; }
}
@media (max-width: 420px) {
    .homebiz-auth-modal .homebiz-auth-header .modal-title { font-size: 28px; }
    #iq-reg-model .contact-form .row { grid-template-columns: minmax(0,1fr); gap: 12px; }
    #iq-reg-model .contact-form .row > .col-md-12,
    #iq-reg-model .contact-form .row > .col-md-6,
    #iq-reg-model .contact-form .row > .col-sm-12 { grid-column: 1 / -1; }
    .homebiz-auth-modal .homebiz-auth-body { padding: 19px 18px 22px; }
    .homebiz-auth-modal .homebiz-auth-header { padding-left: 18px; padding-right: 18px; }
    .homebiz-auth-modal .homebiz-auth-header::before { left: 18px; }
    .homebiz-auth-modal .homebiz-auth-header p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .homebiz-auth-modal *, .homebiz-simple-auth-modal * { transition: none !important; }
}

/* Lightweight vector symbols keep the auth form crisp without requiring an icon font. */
.homebiz-auth-modal .homebiz-login-intro-icon > i.fa-solid {
    display:block;width:21px;height:21px;flex:0 0 21px;
    background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23adfbc4%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202.8%2020%206v5.8c0%204.5-3.1%207.5-8%209.6-4.9-2.1-8-5.1-8-9.6V6z%22%2F%3E%3Cpath%20d%3D%22m8.8%2012%202.3%202.4%204.5-4.7%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    font-size:0;
}
.homebiz-auth-modal #LogForm .homebiz-input-wrap > i.fa-wallet,
.homebiz-auth-modal #LogForm11 .homebiz-input-wrap > i.fa-user,
.homebiz-auth-modal #RegForm .homebiz-input-wrap > i.fa-user-group {
    display:block;width:17px;height:17px;
    background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2393edaf%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.2%22%2F%3E%3Cpath%20d%3D%22M5.5%2019c.6-3.4%203-5%206.5-5s5.9%201.6%206.5%205%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    font-size:0;
}
.homebiz-auth-modal #LogForm .homebiz-input-wrap:has(#loginpassword) > i.fa-wallet {
    background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2393edaf%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225.5%22%20y%3D%2210%22%20width%3D%2213%22%20height%3D%2210%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3%22%2F%3E%3C%2Fsvg%3E");
}
.homebiz-auth-modal #RegForm .homebiz-input-wrap > i.fa-user-group { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2393edaf%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%229%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3.5%2019c.4-3.1%202.8-5%206.5-5s6.1%201.9%206.5%205M17%206c1.6.2%202.5%201.3%202.5%202.8%200%201.2-.6%202.1-1.8%202.6m.7%203c1.7.7%202.6%202%202.8%204%22%2F%3E%3C%2Fsvg%3E"); }
.homebiz-auth-modal .homebiz-login-help-note > i.fa-solid {
    display:block;width:15px;height:15px;flex:0 0 15px;
    background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2380dca0%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%2011v5M12%207.8h.01%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    font-size:0;
}
.homebiz-auth-modal .homebiz-auth-submit:not(.globalst-loading-btn) > i.fa-solid {
    display:block;width:16px;height:16px;
    background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23062812%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012h15m-6-6%206%206-6%206%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
    font-size:0;
}
.homebiz-auth-modal .homebiz-login-intro-icon > i.fa-solid::before,
.homebiz-auth-modal #LogForm .homebiz-input-wrap > i.fa-wallet::before,
.homebiz-auth-modal #LogForm11 .homebiz-input-wrap > i.fa-user::before,
.homebiz-auth-modal #RegForm .homebiz-input-wrap > i.fa-user-group::before,
.homebiz-auth-modal .homebiz-login-help-note > i.fa-solid::before,
.homebiz-auth-modal .homebiz-auth-submit:not(.globalst-loading-btn) > i.fa-solid::before { content:none; }


/* --------------------------------------------------------------------------
   Horizon | Auth backdrop, centered entrance & verified-success presentation
   Bootstrap JS is used without Bootstrap CSS on this website. Supply only
   its missing modal backdrop/scroll-lock styles; don't import framework CSS.
   -------------------------------------------------------------------------- */
body.modal-open { overflow: hidden; }
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    width: 100vw;
    height: 100dvh;
    background: rgba(1, 10, 7, .62);
    -webkit-backdrop-filter: blur(7px) saturate(.76);
    backdrop-filter: blur(7px) saturate(.76);
    opacity: 0;
    transition: opacity .32s ease;
    pointer-events: none;
}
.modal-backdrop.show { opacity: 1; pointer-events: auto; }

/* Scale out gently from the screen center, rather than sliding from below. */
.homebiz-auth-modal.fade .modal-dialog,
.homebiz-simple-auth-modal.fade .modal-dialog {
    transform-origin: center center;
    transform: translate3d(0, 10px, 0) scale(.90);
    opacity: 0;
    transition: transform .4s cubic-bezier(.18, .85, .25, 1), opacity .29s ease;
    will-change: transform, opacity;
}
.homebiz-auth-modal.fade.show .modal-dialog,
.homebiz-simple-auth-modal.fade.show .modal-dialog {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
}

/* Presentation only; never shown until registration is verified by existing code. */
.hz-reg-success-modal .hz-reg-success-dialog { width: min(calc(100% - 32px), 460px); }
.hz-reg-success-modal .hz-reg-success-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
    padding: 49px 36px 37px;
    border: 1px solid rgba(174, 237, 185, .22);
    border-radius: 22px;
    text-align: center;
    color: #f1f9f2;
    font-family: 'Manrope', Arial, sans-serif;
    background: radial-gradient(ellipse at 50% -15%, rgba(45, 142, 80, .20), transparent 67%), linear-gradient(155deg,#102c1e,#06150f 85%);
    box-shadow: 0 35px 110px rgba(0,0,0,.58), 0 0 45px rgba(57,190,111,.10), inset 0 1px rgba(255,255,255,.055);
    pointer-events: auto;
}
.hz-reg-success-modal .hz-reg-success-card::before {
    content: '';
    position: absolute;
    inset: 0 22px auto;
    height: 2px;
    background: linear-gradient(90deg,transparent,#cfb378 32%,#75f4a5 68%,transparent);
}
.hz-reg-success-modal .hz-reg-success-close {
    position: absolute;
    top: 15px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border: 1px solid rgba(157,239,175,.15);
    border-radius: 10px;
    background: rgba(129,211,149,.07);
    color: #d2e9d7;
    font: inherit;
    font-size: 22px;
    cursor: pointer;
    transition: background .2s ease;
}
.hz-reg-success-modal .hz-reg-success-close:hover { background: rgba(122,211,153,.17); }
.hz-reg-success-modal .hz-reg-success-mark {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    margin-bottom: 25px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(85,243,145,.22),rgba(37,166,87,.08) 68%,transparent 70%);
    border: 1px solid rgba(129,238,162,.28);
    box-shadow: 0 0 0 9px rgba(108,238,146,.045), 0 12px 38px rgba(31,176,79,.14);
}
.hz-reg-success-modal .hz-reg-success-mark svg { width: 48px; height: 48px; }
.hz-reg-success-modal .hz-reg-success-eyebrow {
    display: block;
    margin-bottom: 11px;
    color: #a6daba;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.hz-reg-success-modal .hz-reg-success-title {
    margin: 0 0 13px;
    color: #f4fcf5;
    font-size: clamp(26px, 5vw, 32px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.14;
}
.hz-reg-success-modal .hz-reg-success-description {
    max-width: 340px;
    margin: 0 auto 28px;
    color: #a9c2b0;
    font-size: 13px;
    line-height: 1.75;
}
.hz-reg-success-modal .hz-reg-success-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 49px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(105deg,#a3ffc1,#33cd6d);
    color: #072512;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: filter .18s ease, box-shadow .18s ease;
}
.hz-reg-success-modal .hz-reg-success-action:hover { filter: brightness(1.07); box-shadow: 0 10px 28px rgba(49,211,109,.18); }
.hz-reg-success-modal .hz-reg-success-footnote {
    margin-top: 17px;
    color: #80a58c;
    font-size: 10px;
    letter-spacing: .025em;
}
.hz-reg-success-modal :is(button):focus-visible { outline: 2px solid #bcffcd; outline-offset: 3px; }
@media (max-width: 480px) {
    .hz-reg-success-modal .hz-reg-success-card { padding: 46px 24px 30px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .modal-backdrop,
    .homebiz-auth-modal.fade .modal-dialog,
    .homebiz-simple-auth-modal.fade .modal-dialog,
    .hz-reg-success-modal .hz-reg-success-action { transition: none !important; }
    .homebiz-auth-modal.fade .modal-dialog,
    .homebiz-simple-auth-modal.fade .modal-dialog { transform: none !important; }
}


/* =======================================================================
   Horizon / Registration success: newly registered account details.
   View-only styling, using the same .succ* targets as the shared myforms.js.
   ======================================================================= */
.hz-reg-success-modal .hz-reg-success-dialog {
    width: min(calc(100% - 28px), 550px);
    max-width: 550px;
    margin: 14px auto;
}
.hz-reg-success-modal .hz-reg-success-card {
    padding: 36px 32px 28px;
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #365e47 #0c2518;
}
.hz-reg-success-modal .hz-reg-success-mark {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    margin: 0 auto 17px;
}
.hz-reg-success-modal .hz-reg-success-mark svg { width: 42px; height: 42px; }
.hz-reg-success-modal .hz-reg-success-title { margin-bottom: 9px; font-size: clamp(24px, 4vw, 30px); }
.hz-reg-success-modal .hz-reg-success-description { margin-bottom: 21px; }
.hz-reg-success-modal .hz-reg-member-details {
    width: 100%;
    margin-bottom: 19px;
    padding: 16px;
    text-align: left;
    border: 1px solid rgba(165, 221, 175, .19);
    border-radius: 15px;
    background: linear-gradient(155deg, rgba(18, 55, 34, .90), rgba(6, 27, 16, .78));
}
.hz-reg-success-modal .hz-reg-member-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 13px;
}
.hz-reg-success-modal .hz-reg-member-heading strong {
    color: #e9f7ea;
    font-size: 13px;
    font-weight: 800;
}
.hz-reg-success-modal .hz-reg-member-heading span {
    color: #96b6a0;
    font-size: 10px;
}
.hz-reg-success-modal .hz-reg-member-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
}
.hz-reg-success-modal .hz-reg-member-item {
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(150, 208, 161, .12);
    border-radius: 10px;
    background: rgba(0, 13, 7, .38);
}
.hz-reg-success-modal .hz-reg-member-main { grid-column: 1 / -1; }
.hz-reg-success-modal .hz-reg-member-item dt {
    margin: 0 0 4px;
    color: #a0c0a8;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}
.hz-reg-success-modal .hz-reg-member-item dd {
    margin: 0;
    color: #f4fbee;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.hz-reg-success-modal .hz-reg-member-password dd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hz-reg-success-modal .hz-reg-member-secret {
    min-width: 0;
    -webkit-text-security: disc;
    filter: blur(5px); /* Fallback for browsers without -webkit-text-security. */
    user-select: none;
}
.hz-reg-success-modal .hz-reg-member-secret.hz-reg-member-revealed {
    -webkit-text-security: none;
    filter: none;
    user-select: text;
}
.hz-reg-success-modal .hz-reg-show-password {
    flex: 0 0 auto;
    border-radius: 8px;
    border: 1px solid rgba(165, 222, 172, .28);
    padding: 5px 9px;
    background: rgba(125, 206, 142, .08);
    color: #bef4cd;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.hz-reg-success-modal .hz-reg-show-password:hover {
    background: rgba(125, 206, 142, .17);
}
.hz-reg-success-modal .hz-reg-member-privacy {
    margin: 12px 0 0;
    color: #97b3a0;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
}
.hz-reg-success-modal .hz-reg-success-action { flex: 0 0 auto; }
@media (max-width: 480px) {
    .hz-reg-success-modal .hz-reg-success-dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    .hz-reg-success-modal .hz-reg-success-card {
        padding: 31px 18px 22px;
        max-height: calc(100dvh - 20px);
        border-radius: 18px;
    }
    .hz-reg-success-modal .hz-reg-success-mark { width: 61px; height: 61px; margin-bottom: 13px; }
    .hz-reg-success-modal .hz-reg-success-description { margin-bottom: 17px; }
    .hz-reg-success-modal .hz-reg-member-details { padding: 12px; }
    .hz-reg-success-modal .hz-reg-member-item { padding: 9px; }
    .hz-reg-success-modal .hz-reg-member-item dd { font-size: 12px; }
}


/* ========================================================================
   HORIZON / Referral ID status icon visibility - 19 October 2026
   Visual fix only: GetSponser() keeps controlling the original three <i>
   nodes through .hide() and .show(). No change to their initial display:none
   or to form IDs, AJAX, validation, scripts, or registration logic.
   This site deliberately uses SVGs instead of loading Font Awesome.
   ======================================================================== */
.homebiz-auth-modal #RegForm .globalst-input-wrap {
    position: relative;
}
.homebiz-auth-modal #RegForm .globalst-input-wrap #Sponsorid {
    padding-right: 50px !important;
}
.homebiz-auth-modal #RegForm .globalst-input-wrap > .globalst-status-icon {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    width: 21px;
    height: 21px;
    line-height: 21px;
    font-size: 0 !important;
    pointer-events: none;
    z-index: 3;
    background: none !important;
    vertical-align: middle;
    /* Intentionally no display declaration: jQuery .show()/.hide() owns it. */
}
.homebiz-auth-modal #RegForm .globalst-input-wrap > .globalst-status-icon::before {
    content: '' !important;
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.homebiz-auth-modal #RegForm .globalst-input-wrap > .check-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M4.5%2012.3%209.4%2017l10-10%22%20stroke%3D%22%236cf2a6%22%20stroke-width%3D%222.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
}
.homebiz-auth-modal #RegForm .globalst-input-wrap > .cross-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M6%206%2018%2018M18%206%206%2018%22%20stroke%3D%22%23ff9b9b%22%20stroke-width%3D%222.7%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
}
.homebiz-auth-modal #RegForm .globalst-input-wrap > .loader-icon::before {
    width: 19px;
    height: 19px;
    margin: 1px;
    border: 2px solid rgba(120, 229, 163, .25);
    border-top-color: #86eeb0;
    border-right-color: #86eeb0;
    border-radius: 50%;
    animation: horizon-referral-icon-spin .7s linear infinite;
}
@keyframes horizon-referral-icon-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .homebiz-auth-modal #RegForm .globalst-input-wrap > .loader-icon::before {
        animation-duration: 1.75s;
    }
}
