/* NexLogin — AgentOS-inspired split auth UI */

body.nxl-active.pagelayout-login,
body.nxl-active.path-login,
body.nxl-shell-ready,
html.nxl-pending body.pagelayout-login,
html.nxl-pending body.path-login,
html.nxl-pending body#page-login-index,
html.nxl-pending body#page-login-signup,
html.nxl-pending body#page-login-forgot_password,
html.nxl-pending body#page-login-confirm {
    --nxl-bg: #eef1f6;
    --nxl-surface: #f7f8fa;
    --nxl-panel: #f7f8fa;
    --nxl-border: #e4e7ee;
    --nxl-text: #0f172a;
    --nxl-muted: #6b7280;
    --nxl-primary: #3b82f6;
    --nxl-primary-soft: #dbeafe;
    --nxl-ink: #111827;
    --nxl-radius: 18px;
    --nxl-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    --nxl-font: "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
    background: var(--nxl-bg) !important;
    color: var(--nxl-text);
    font-family: var(--nxl-font) !important;
    overflow-x: hidden;
    min-height: 100vh;
}

body.nxl-shell-ready #page-header,
body.nxl-shell-ready .navbar,
body.nxl-shell-ready .edw-header,
body.nxl-shell-ready .edw-header-bar,
body.nxl-shell-ready #nav-drawer,
body.nxl-shell-ready .drawer,
body.nxl-shell-ready #page-footer,
body.nxl-shell-ready footer,
body.nxl-shell-ready #page .login-logo,
body.nxl-shell-ready #page .login-heading,
body.nxl-shell-ready #page h1.login-heading,
html.nxl-pending body.pagelayout-login #page-header,
html.nxl-pending body.pagelayout-login .navbar,
html.nxl-pending body.pagelayout-login .edw-header,
html.nxl-pending body.pagelayout-login #page-footer,
html.nxl-pending body.path-login #page-header,
html.nxl-pending body.path-login .navbar,
html.nxl-pending body.path-login .edw-header,
html.nxl-pending body.path-login #page-footer {
    display: none !important;
}

html.nxl-pending body.pagelayout-login #page,
html.nxl-pending body.pagelayout-login #page-wrapper,
html.nxl-pending body.pagelayout-login #region-main,
html.nxl-pending body.path-login #page,
html.nxl-pending body.path-login #page-wrapper,
html.nxl-pending body.path-login #region-main,
html.nxl-pending body#page-login-index #page,
html.nxl-pending body#page-login-signup #page,
html.nxl-pending body#page-login-forgot_password #page,
html.nxl-pending body#page-login-confirm #page {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.nxl-shell-ready #page,
body.nxl-shell-ready #page-wrapper,
body.nxl-shell-ready #topofscroll,
body.nxl-shell-ready #page-content,
body.nxl-shell-ready #region-main-box,
body.nxl-shell-ready #region-main,
body.nxl-shell-ready .main-inner {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

#nxl-splash {
    position: fixed;
    inset: 0;
    z-index: 4500;
    background: var(--nxl-bg, #eef1f6);
    pointer-events: none;
}
body.nxl-shell-ready #nxl-splash {
    display: none !important;
}

/* —— Shell (full-screen split) —— */
.nxl-shell {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: block;
    padding: 0;
    background: var(--nxl-surface);
    font-family: var(--nxl-font);
    color: var(--nxl-text);
    overflow: auto;
}

.nxl-stage {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--nxl-surface);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

/* —— Left form panel —— */
.nxl-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--nxl-panel);
    padding: 1.85rem clamp(1.5rem, 4vw, 3.5rem) 1.35rem;
    min-height: 100%;
}

.nxl-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.nxl-brandbar {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none !important;
    color: var(--nxl-text) !important;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
}
.nxl-brandbar__logo {
    height: 36px;
    width: auto;
    max-width: 148px;
    min-width: 36px;
    border-radius: 8px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: none;
    flex-shrink: 0;
    border: 0;
    padding: 0;
}
.nxl-brandbar__logo img {
    height: 36px;
    width: auto;
    max-width: 148px;
    object-fit: contain;
    display: block;
    filter: none !important;
    transform: none !important;
    mix-blend-mode: normal;
}
.nxl-brandbar__mark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(160deg, #34d399, #3b82f6 40%, #a855f7 70%, #f59e0b);
}
.nxl-brandbar__name {
    white-space: nowrap;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nxl-panel__cta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.82rem;
    color: var(--nxl-muted);
}
.nxl-panel__cta a:not(.nxl-btn-chip) {
    color: var(--nxl-primary) !important;
    font-weight: 600;
    text-decoration: none;
}
.nxl-btn-chip {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.85rem !important;
    border-radius: 10px !important;
    border: 1px solid #d1d5db !important;
    background: #fff !important;
    color: var(--nxl-text) !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
    line-height: 1.2;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.nxl-btn-chip:hover {
    background: #f3f4f6 !important;
    border-color: #9ca3af !important;
    text-decoration: none !important;
}

.nxl-panel__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem 0 1rem;
}

.nxl-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eceff3;
    color: #9ca3af;
    display: grid;
    place-items: center;
    margin: 0 auto 1.1rem;
}
.nxl-avatar svg {
    width: 22px;
    height: 22px;
}

.nxl-panel__title {
    margin: 0 0 0.35rem;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--nxl-ink);
    line-height: 1.15;
    text-align: center;
}
.nxl-panel__sub {
    margin: 0 0 1.45rem;
    font-size: 0.92rem;
    color: var(--nxl-muted);
    line-height: 1.45;
    text-align: center;
}
.nxl-panel__sub a {
    color: var(--nxl-primary);
    font-weight: 600;
    text-decoration: none;
}
.nxl-panel__sub a:hover {
    text-decoration: underline;
}

.nxl-form-host {
    width: 100%;
}

.nxl-legal {
    margin: 1.1rem 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.4;
}
.nxl-legal a {
    color: inherit !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.nxl-panel__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.35rem;
}
.nxl-copy {
    font-size: 0.78rem;
    color: #9ca3af;
}
.nxl-lang-slot {
    display: flex;
    align-items: center;
}
.nxl-lang-slot[hidden] {
    display: none !important;
}
.nxl-lang-slot .btn,
.nxl-lang-slot .dropdown-toggle,
.nxl-lang-slot a {
    font-size: 0.78rem !important;
    color: var(--nxl-muted) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Kill RemUI chrome inside form host */
.nxl-mode-login .nxl-form-host > .login-logo,
.nxl-mode-login .nxl-form-host .login-logo,
.nxl-mode-login .nxl-form-host h1,
.nxl-mode-login .nxl-form-host h2,
.nxl-mode-login .nxl-form-host h3,
.nxl-mode-login .nxl-form-host .login-heading,
.nxl-mode-login .nxl-form-host .login-divider,
.nxl-mode-login .nxl-form-host .edw-login-logo,
.nxl-mode-login .nxl-form-host .site-logo,
.nxl-mode-login .nxl-form-host .login-welcome,
.nxl-mode-login .nxl-form-host [class*="welcome"]:not(input):not(label):not(a),
.nxl-mode-login .nxl-form-host .card-title,
.nxl-mode-login .nxl-form-host .card-header,
.nxl-mode-login .nxl-form-host .login-signup,
.nxl-mode-login .nxl-form-host .nxl-signup-fallback {
    display: none !important;
}

.nxl-shell .login-wrapper,
.nxl-shell .login-container,
.nxl-shell .card,
.nxl-shell .card-body,
.nxl-shell .loginform,
.nxl-shell .nxl-form-host,
.nxl-shell .nxl-form-host form {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
}

.nxl-form-host .form-group,
.nxl-form-host .mb-3,
.nxl-form-host .fitem,
.nxl-form-host .login-form-username,
.nxl-form-host .login-form-password {
    margin-bottom: 0.75rem !important;
}

/* Shared field look — login + signup */
.nxl-mode-login .nxl-form-host label:not(.form-check-label):not(.rememberpass label),
.nxl-mode-login .nxl-form-host .col-form-label,
.nxl-mode-login .nxl-form-host .fitemtitle,
.nxl-mode-login .nxl-form-host .login-form-username > label,
.nxl-mode-login .nxl-form-host .login-form-password > label,
.nxl-mode-signup .nxl-form-host label:not(.form-check-label):not(.checkbox label):not(.form-check label),
.nxl-mode-signup .nxl-form-host .col-form-label,
.nxl-mode-signup .nxl-form-host .fitemtitle,
.nxl-mode-forgot .nxl-form-host label:not(.form-check-label),
.nxl-mode-forgot .nxl-form-host .col-form-label,
.nxl-mode-forgot .nxl-form-host .fitemtitle {
    display: none !important;
}

.nxl-mode-login .nxl-form-host .felement,
.nxl-mode-login .nxl-form-host .col-md-9,
.nxl-mode-login .nxl-form-host .col-md-3,
.nxl-mode-login .nxl-form-host .col-12,
.nxl-mode-signup .nxl-form-host .felement,
.nxl-mode-signup .nxl-form-host .col-md-9,
.nxl-mode-signup .nxl-form-host .col-md-3,
.nxl-mode-signup .nxl-form-host .col-12,
.nxl-mode-forgot .nxl-form-host .felement,
.nxl-mode-forgot .nxl-form-host [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    padding: 0 !important;
}

.nxl-form-host input[type="text"],
.nxl-form-host input[type="email"],
.nxl-form-host input[type="password"],
.nxl-form-host input[type="tel"],
.nxl-form-host select,
.nxl-form-host textarea,
.nxl-form-host .form-control {
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    color: var(--nxl-text) !important;
    padding: 0.85rem 1rem !important;
    min-height: 3rem !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    font-family: var(--nxl-font) !important;
    line-height: 1.35 !important;
}

.nxl-mode-login .nxl-field input,
.nxl-mode-signup .nxl-field input,
.nxl-mode-forgot .nxl-field input {
    padding-left: 2.7rem !important;
}

.nxl-form-host input::placeholder {
    color: #9ca3af !important;
}

.nxl-form-host input:focus,
.nxl-form-host select:focus,
.nxl-form-host textarea:focus,
.nxl-form-host .form-control:focus {
    border-color: #94a3b8 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06) !important;
    background: #fff !important;
}

.nxl-field {
    position: relative;
    margin-bottom: 0.75rem;
}
.nxl-field__icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
    z-index: 2;
}

/* Primary CTA — solid black like reference */
.nxl-form-host .btn-primary,
.nxl-form-host button[type="submit"],
.nxl-form-host input[type="submit"],
.nxl-form-host .btn-login,
.nxl-form-host .login-form-submit .btn {
    display: block !important;
    width: 100% !important;
    background: var(--nxl-ink) !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-family: var(--nxl-font) !important;
    font-size: 0.95rem !important;
    padding: 0.9rem 1.25rem !important;
    min-height: 3.05rem;
    box-shadow: none !important;
    margin-top: 0.35rem !important;
}
.nxl-form-host .btn-primary:hover,
.nxl-form-host button[type="submit"]:hover {
    background: #000 !important;
}

.nxl-form-host .alert {
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
    font-size: 0.88rem;
}

.nxl-form-host .rememberpass,
.nxl-form-host .login-form-rememberme,
.nxl-form-host .login-form-forgotpassword,
.nxl-form-host .forgetpass,
.nxl-form-host .loginguest,
.nxl-form-host .login-form-guestlogin {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    color: var(--nxl-muted) !important;
    font-size: 0.86rem;
    margin: 0.45rem 0 0 !important;
}

.nxl-mode-login .nxl-form-host .rememberpass,
.nxl-mode-login .nxl-form-host .login-form-rememberme,
.nxl-mode-login .nxl-form-host .form-check {
    display: flex !important;
    align-items: center;
    gap: 0.45rem;
    text-align: left;
}
.nxl-mode-login .nxl-form-host .rememberpass label,
.nxl-mode-login .nxl-form-host .form-check label {
    display: inline !important;
    margin: 0 !important;
    color: var(--nxl-muted) !important;
    font-size: 0.86rem !important;
}

.nxl-form-host .login-form-forgotpassword,
.nxl-form-host .forgetpass {
    text-align: right;
    margin: 0.05rem 0 0.75rem !important;
    font-size: 0.84rem !important;
}

.nxl-form-host a {
    color: var(--nxl-primary) !important;
    text-decoration: none;
}
.nxl-form-host a:hover {
    text-decoration: underline !important;
}

.nxl-shell .nxl-form-host .loginguest,
.nxl-shell .nxl-form-host .login-form-guestlogin,
.nxl-shell .nxl-form-host form[action*="guestlogin"] {
    margin-top: 0.65rem !important;
}
.nxl-shell .nxl-form-host .loginguest .btn,
.nxl-shell .nxl-form-host .login-form-guestlogin .btn,
.nxl-shell .nxl-form-host form[action*="guestlogin"] .btn,
.nxl-shell .nxl-form-host .loginguest .btn-primary,
.nxl-shell .nxl-form-host .login-form-guestlogin .btn-primary,
.nxl-shell .nxl-form-host form[action*="guestlogin"] .btn-primary,
.nxl-shell .nxl-form-host .loginguest button,
.nxl-shell .nxl-form-host .login-form-guestlogin button {
    display: block !important;
    width: 100% !important;
    background: #eceff3 !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: var(--nxl-text) !important;
    font-weight: 600 !important;
    font-family: var(--nxl-font) !important;
    font-size: 0.92rem !important;
    padding: 0.8rem 1rem !important;
    min-height: 2.9rem;
    box-shadow: none !important;
}

.nxl-mode-login .nxl-form-host .login-instructions,
.nxl-mode-login .nxl-form-host .login-extra,
.nxl-mode-login .nxl-form-host .edw-login-desc,
.nxl-mode-login .nxl-form-host .description {
    display: none !important;
}

.nxl-form-host .nxl-cookies,
.nxl-form-host .cookiesnotice {
    display: none !important;
}

.nxl-mode-login .nxl-field,
.nxl-mode-signup .nxl-field,
.nxl-mode-forgot .nxl-field {
    position: relative;
}
.nxl-mode-login .nxl-field input[type="password"],
.nxl-mode-login .nxl-field input[name="password"],
.nxl-mode-signup .nxl-field input[type="password"],
.nxl-mode-signup .nxl-field input[name="password"],
.nxl-mode-signup .nxl-field input[name="password2"] {
    padding-right: 2.75rem !important;
}
/* Password reveal control only — do NOT absolute-position Moodle field errors
   (.form-control-feedback / .invalid-feedback), or they overlay neighbouring inputs. */
.nxl-mode-login .nxl-form-host [data-passwordunmask],
.nxl-mode-login .nxl-field .btn.btn-link,
.nxl-mode-login .nxl-field button[data-action="toggle"],
.nxl-mode-signup .nxl-form-host [data-passwordunmask],
.nxl-mode-signup .nxl-field .btn.btn-link,
.nxl-mode-signup .nxl-field button[data-action="toggle"] {
    position: absolute !important;
    right: 0.55rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 3;
    margin: 0 !important;
    color: #9ca3af !important;
}
.nxl-form-host .form-control-feedback,
.nxl-form-host .invalid-feedback,
.nxl-form-host [id^="id_error_"],
.nxl-form-host .fdescription.required {
    position: static !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.4rem 0 0.15rem !important;
    padding: 0 !important;
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    color: #b91c1c !important;
    white-space: normal !important;
    word-break: break-word;
}
.nxl-form-host .form-control-feedback:empty,
.nxl-form-host .invalid-feedback:empty,
.nxl-form-host [id^="id_error_"]:empty {
    display: none !important;
    margin: 0 !important;
}
.nxl-form-host .form-control-feedback[style*="display: block"],
.nxl-form-host .invalid-feedback[style*="display: block"],
.nxl-form-host .is-invalid ~ .form-control-feedback,
.nxl-form-host .is-invalid ~ .invalid-feedback,
.nxl-form-host .has-danger .form-control-feedback,
.nxl-form-host .has-danger .invalid-feedback {
    display: block !important;
}
.nxl-form-host .form-control-feedback a,
.nxl-form-host .invalid-feedback a,
.nxl-form-host [id^="id_error_"] a {
    color: var(--nxl-primary, #2563eb) !important;
    text-decoration: underline;
    font-weight: 600;
}

/* OR + identity providers — social-first stacked buttons */
.nxl-or {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0.95rem 0;
    color: var(--nxl-muted);
    font-size: 0.8rem;
    font-weight: 500;
}
.nxl-or::before,
.nxl-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}
.nxl-or[hidden],
.nxl-idp-host:empty {
    display: none !important;
}

.nxl-idp-host {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.15rem;
}
.nxl-idp-host .potentialidps h2,
.nxl-idp-host .login-identityproviders h2,
.nxl-form-host .potentialidps h2,
.nxl-form-host .login-identityproviders h2 {
    display: none !important;
}
.nxl-idp-host .potentialidps ul,
.nxl-idp-host .login-identityproviders .list-unstyled,
.nxl-form-host .potentialidps ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.55rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nxl-idp-host .potentialidps a,
.nxl-idp-host .login-identityproviders a,
.nxl-form-host .potentialidps a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    border-radius: 12px !important;
    border: 0 !important;
    background: #eceff3 !important;
    color: var(--nxl-text) !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    padding: 0.7rem 1rem !important;
    text-decoration: none !important;
}
.nxl-idp-host .potentialidps a:hover,
.nxl-idp-host .login-identityproviders a:hover {
    background: #e2e5eb !important;
    text-decoration: none !important;
}
.nxl-idp-host img {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain;
}

/* —— Right showcase panel —— */
.nxl-showcase {
    position: relative;
    padding: 2.5rem clamp(1.5rem, 4vw, 3.25rem) 2.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255, 255, 255, 0.55), transparent 55%),
        linear-gradient(165deg, #7eb6ff 0%, #5b9cf5 38%, #6aa8f8 68%, #9ec5f8 100%);
    overflow: hidden;
    color: var(--nxl-ink);
}

.nxl-showcase__tiles {
    position: absolute;
    inset: -10% -5% auto auto;
    width: 70%;
    height: 55%;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 48%, transparent 50%),
        linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.12) 50%);
    background-size: 54px 54px;
    border-radius: 24px;
    transform: rotate(-8deg);
    opacity: 0.85;
    mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
    pointer-events: none;
}
.nxl-showcase__tiles::before {
    content: '';
    position: absolute;
    inset: 18% 8% auto auto;
    width: 72%;
    height: 72%;
    background:
        repeating-linear-gradient(
            -18deg,
            rgba(255, 255, 255, 0.18) 0 22px,
            transparent 22px 44px
        );
    border-radius: 20px;
    filter: blur(0.2px);
}

.nxl-showcase__copy {
    position: relative;
    z-index: 1;
    max-width: 22rem;
    padding-top: 0.35rem;
}
.nxl-showcase__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: #0b1220;
}
.nxl-showcase__sub {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(15, 23, 42, 0.72);
    font-weight: 500;
    max-width: 26rem;
}

.nxl-showcase__visual {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    min-height: 220px;
}

.nxl-float-mark {
    position: absolute;
    right: 1.25rem;
    top: -0.5rem;
    width: auto;
    height: 72px;
    min-width: 72px;
    max-width: 160px;
    padding: 0.55rem 0.7rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.18);
    box-shadow:
        0 18px 36px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    overflow: hidden;
    transform: rotate(8deg);
    animation: nxl-float 5.5s ease-in-out infinite;
}
.nxl-float-mark img {
    height: 48px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: none !important;
}
.nxl-float-mark__inner {
    width: 28px;
    height: 28px;
    background: linear-gradient(160deg, #34d399, #3b82f6 40%, #a855f7 70%, #f59e0b);
    clip-path: polygon(18% 12%, 38% 12%, 38% 48%, 72% 12%, 88% 12%, 50% 55%, 88% 88%, 72% 88%, 38% 52%, 38% 88%, 18% 88%);
}

.nxl-glass-roll {
    position: relative;
    margin-top: 4.5rem;
    height: 11.2rem;
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
}
.nxl-glass-track {
    display: grid;
    gap: 0.65rem;
    animation: nxl-roll 18s linear infinite;
    will-change: transform;
}
.nxl-glass-roll:hover .nxl-glass-track {
    animation-play-state: paused;
}

.nxl-glass-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.10);
    min-height: 3.15rem;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.nxl-glass-card.is-done {
    opacity: 0.72;
}
.nxl-glass-card.is-working {
    opacity: 1;
    transform: translateY(0) scale(1.01);
}

.nxl-glass-card__text {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.82);
    line-height: 1.35;
    flex: 1 1 auto;
    min-width: 0;
}
.nxl-cursor {
    display: inline-block;
    width: 1px;
    height: 0.9em;
    margin-left: 2px;
    background: rgba(15, 23, 42, 0.7);
    vertical-align: -0.1em;
    animation: nxl-blink 1s steps(1) infinite;
}
.nxl-glass-card__status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.7);
    white-space: nowrap;
}
.nxl-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}
.nxl-glass-card.is-working .nxl-dot {
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
    animation: nxl-pulse 1.6s ease-out infinite;
}

@keyframes nxl-float {
    0%, 100% { transform: rotate(8deg) translateY(0); }
    50% { transform: rotate(8deg) translateY(-8px); }
}
@keyframes nxl-roll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
@keyframes nxl-blink {
    0%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
@keyframes nxl-pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .nxl-glass-track,
    .nxl-float-mark,
    .nxl-cursor,
    .nxl-glass-card.is-working .nxl-dot {
        animation: none !important;
    }
}

/* Signup / forgot / message — same full-screen split as login */
.nxl-shell.nxl-mode-signup .nxl-stage,
.nxl-shell.nxl-mode-forgot .nxl-stage,
.nxl-shell.nxl-mode-message .nxl-stage,
.nxl-shell.nxl-mode-login .nxl-stage {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
}
.nxl-shell.nxl-mode-signup,
.nxl-shell.nxl-mode-forgot,
.nxl-shell.nxl-mode-message,
.nxl-shell.nxl-mode-login {
    padding: 0;
}
.nxl-shell.nxl-mode-signup .nxl-panel,
.nxl-shell.nxl-mode-forgot .nxl-panel,
.nxl-shell.nxl-mode-message .nxl-panel,
.nxl-shell.nxl-mode-login .nxl-panel {
    overflow: auto;
    max-height: 100vh;
    max-height: 100dvh;
}
.nxl-shell.nxl-mode-signup .nxl-panel__body,
.nxl-shell.nxl-mode-forgot .nxl-panel__body,
.nxl-shell.nxl-mode-message .nxl-panel__body,
.nxl-shell.nxl-mode-login .nxl-panel__body {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    padding: 1.25rem 0 1rem;
}

.nxl-mode-signup .nxl-form-host form.mform > .fcontainer,
.nxl-mode-signup .nxl-form-host form.mform,
.nxl-mode-signup .nxl-form-host form > .fcontainer {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem;
    align-items: stretch;
    width: 100% !important;
}
.nxl-mode-signup .nxl-form-host legend,
.nxl-mode-signup .nxl-form-host .collapsible-actions,
.nxl-mode-signup .nxl-form-host .ftoggler {
    display: none !important;
}
.nxl-mode-signup .nxl-form-host .fitem,
.nxl-mode-signup .nxl-form-host .form-group,
.nxl-mode-signup .nxl-form-host .mb-3,
.nxl-mode-signup .nxl-form-host .row.fitem {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-width: 0;
}
.nxl-mode-signup .nxl-form-host .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 0 !important;
}
.nxl-mode-signup .nxl-form-host .felement,
.nxl-mode-signup .nxl-form-host [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.nxl-mode-signup .nxl-form-host .nxl-field {
    width: 100%;
    margin-bottom: 0;
}
.nxl-mode-signup .nxl-form-host .nxl-field input {
    width: 100% !important;
}
/* First + last name: equal two-column row only */
.nxl-mode-signup .nxl-form-host .nxl-name-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
    align-items: stretch;
}
.nxl-mode-signup .nxl-form-host .nxl-name-row > .fitem,
.nxl-mode-signup .nxl-form-host .nxl-name-row > .form-group,
.nxl-mode-signup .nxl-form-host .nxl-name-row > .mb-3,
.nxl-mode-signup .nxl-form-host .nxl-name-row > .row {
    margin: 0 !important;
    min-width: 0;
}
/* Keep policy checkbox / agreement labels visible */
.nxl-mode-signup .nxl-form-host .form-check label,
.nxl-mode-signup .nxl-form-host .checkbox label,
.nxl-mode-signup .nxl-form-host #fitem_id_policyagreed label {
    display: inline !important;
    margin: 0 !important;
    font-size: 0.86rem !important;
    color: var(--nxl-muted) !important;
    font-weight: 500 !important;
}
.nxl-mode-signup .nxl-form-host #fitem_id_city,
.nxl-mode-signup .nxl-form-host #fitem_id_country,
.nxl-mode-signup .nxl-form-host .nxl-hide-geo {
    display: none !important;
}

.nxl-mode-signup .nxl-pass-tip {
    width: 100%;
    margin: 0;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    background: var(--nxl-primary-soft);
    border: 1px solid #bfdbfe;
}
.nxl-mode-signup .nxl-pass-tip__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nxl-primary);
    margin-bottom: 0.2rem;
}
.nxl-mode-signup .nxl-pass-tip__text {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--nxl-muted);
}
.nxl-mode-signup .nxl-form-host #fitem_id_passwordpolicy,
.nxl-mode-signup .nxl-form-host .fitem_id_passwordpolicy,
.nxl-mode-signup .nxl-form-host .nxl-pass-policy-original,
.nxl-mode-signup .nxl-form-host [id*="passwordpolicy"],
.nxl-mode-signup .nxl-form-host [data-groupname="passwordpolicy"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.nxl-mode-signup .nxl-form-host .nxl-span-2,
.nxl-mode-signup .nxl-form-host #fitem_id_username,
.nxl-mode-signup .nxl-form-host #fitem_id_email,
.nxl-mode-signup .nxl-form-host #fitem_id_email2,
.nxl-mode-signup .nxl-form-host #fitem_id_password,
.nxl-mode-signup .nxl-form-host #fitem_id_passwordpolicy,
.nxl-mode-signup .nxl-form-host #fitem_id_policyagreed,
.nxl-mode-signup .nxl-form-host #fitem_id_recaptcha,
.nxl-mode-signup .nxl-form-host .fitem_actionbuttons,
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar,
.nxl-mode-signup .nxl-form-host .g-recaptcha,
.nxl-mode-signup .nxl-form-host .checkbox,
.nxl-mode-signup .nxl-form-host .form-check,
.nxl-mode-signup .nxl-form-host .fstatic,
.nxl-mode-signup .nxl-form-host .fdescription {
    width: 100% !important;
    max-width: 100% !important;
}
/* Signup CTA: hide Cancel; submit = full form width (2× a name field) */
.nxl-mode-signup .nxl-form-host .btn-cancel,
.nxl-mode-signup .nxl-form-host #id_cancel,
.nxl-mode-signup .nxl-form-host input[name="cancel"],
.nxl-mode-signup .nxl-form-host button[name="cancel"],
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar .fitem.btn-cancel {
    display: none !important;
}
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar,
.nxl-mode-signup .nxl-form-host .fitem_actionbuttons {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.35rem !important;
}
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar .felement,
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar .fgroup,
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar .form-inline,
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar [data-fieldtype="group"],
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar fieldset,
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar .inner-reverse,
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar .d-flex {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
}
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar .fitem,
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar .mb-3,
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar span[data-fieldtype="submit"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
}
.nxl-mode-signup .nxl-form-host #id_submitbutton,
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar .btn-primary,
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar input[type="submit"],
.nxl-mode-signup .nxl-form-host #fgroup_id_buttonar button[type="submit"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
.nxl-mode-signup .nxl-or,
.nxl-mode-signup .nxl-idp-host {
    display: none !important;
}
.nxl-mode-signup .nxl-legal {
    display: block;
    text-align: center;
}

/* Forgot password — match login/signup field + CTA chrome */
.nxl-mode-forgot .nxl-form-host form.mform > .fcontainer,
.nxl-mode-forgot .nxl-form-host form.mform,
.nxl-mode-forgot .nxl-form-host form > .fcontainer,
.nxl-mode-forgot .nxl-form-host fieldset,
.nxl-mode-forgot .nxl-form-host .fcontainer {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    align-items: stretch;
    width: 100% !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
}
.nxl-mode-forgot .nxl-form-host .fitem,
.nxl-mode-forgot .nxl-form-host .form-group,
.nxl-mode-forgot .nxl-form-host .mb-3,
.nxl-mode-forgot .nxl-form-host .row.fitem {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.nxl-mode-forgot .nxl-form-host .felement,
.nxl-mode-forgot .nxl-form-host [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.nxl-mode-forgot .nxl-form-host .nxl-field {
    width: 100%;
    margin: 0 0 0.15rem !important;
}
.nxl-mode-forgot .nxl-form-host .nxl-field + .nxl-field,
.nxl-mode-forgot .nxl-form-host .nxl-pass-tip {
    margin-top: 0 !important;
}
.nxl-mode-forgot .nxl-form-host .nxl-field input {
    width: 100% !important;
}
.nxl-mode-forgot .nxl-form-host #fitem_id_username {
    display: none !important;
}
.nxl-mode-forgot .nxl-form-host .nxl-field__icon + .nxl-field__icon {
    display: none !important;
}
.nxl-mode-forgot .nxl-form-host .btn-cancel,
.nxl-mode-forgot .nxl-form-host #id_cancel,
.nxl-mode-forgot .nxl-form-host input[name="cancel"],
.nxl-mode-forgot .nxl-form-host button[name="cancel"],
.nxl-mode-forgot .nxl-form-host .fitem.btn-cancel,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar .fitem.btn-cancel,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar .btn-cancel,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar #id_cancel,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar input[name="cancel"] {
    display: none !important;
}
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar,
.nxl-mode-forgot .nxl-form-host .fitem_actionbuttons,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar .felement,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar .fgroup,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar .form-inline,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar fieldset,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar .inner-reverse,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar .d-flex {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar .fitem:not(.btn-cancel),
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar .mb-3:not(.btn-cancel),
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar span[data-fieldtype="submit"]:not(.btn-cancel) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nxl-mode-forgot .nxl-form-host #id_submitbutton,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar .btn-primary,
.nxl-mode-forgot .nxl-form-host #fgroup_id_buttonar input[type="submit"]:not([name="cancel"]),
.nxl-mode-forgot .nxl-form-host button[type="submit"]:not([name="cancel"]),
.nxl-mode-forgot .nxl-form-host input[type="submit"]:not([name="cancel"]) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0.35rem 0 0 !important;
}
.nxl-mode-forgot .nxl-form-host legend,
.nxl-mode-forgot .nxl-form-host .collapsible-actions,
.nxl-mode-forgot .nxl-form-host .ftoggler,
.nxl-mode-forgot .nxl-form-host .fdescription.required,
.nxl-mode-forgot .nxl-form-host .required {
    display: none !important;
}
.nxl-mode-forgot .nxl-form-host .nxl-pass-tip {
    width: 100%;
    margin: 0;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    background: var(--nxl-primary-soft, #eff6ff);
    border: 1px solid #bfdbfe;
    text-align: left;
}
.nxl-mode-forgot .nxl-form-host .nxl-field--readonly,
.nxl-mode-forgot .nxl-form-host .nxl-readonly {
    width: 100%;
}
.nxl-mode-forgot .nxl-form-host .nxl-readonly {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.85rem 1rem 0.85rem 2.7rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f3f4f6;
    color: var(--nxl-text);
    font-size: 0.95rem;
    font-weight: 600;
    box-sizing: border-box;
}
.nxl-mode-forgot .nxl-form-host .form-check,
.nxl-mode-forgot .nxl-form-host .checkbox,
.nxl-mode-forgot .nxl-form-host #fitem_id_logoutothersessions {
    display: flex !important;
    align-items: center;
    gap: 0.45rem;
    margin: 0.15rem 0 0.25rem !important;
    text-align: left;
}
.nxl-mode-forgot .nxl-form-host .form-check label,
.nxl-mode-forgot .nxl-form-host .checkbox label,
.nxl-mode-forgot .nxl-form-host #fitem_id_logoutothersessions label {
    display: inline !important;
    margin: 0 !important;
    font-size: 0.86rem !important;
    color: var(--nxl-muted) !important;
    font-weight: 500 !important;
}
.nxl-mode-forgot .nxl-legal {
    display: block;
    text-align: center;
}
.nxl-shell.nxl-mode-forgot .nxl-stage {
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
}
.nxl-mode-forgot .nxl-showcase,
.nxl-mode-login .nxl-showcase,
.nxl-mode-signup .nxl-showcase,
.nxl-mode-message .nxl-showcase {
    display: flex !important;
    min-height: 100%;
    min-width: 0;
}

.nxl-mode-message .nxl-panel__body {
    text-align: center;
}
.nxl-mode-message .nxl-panel__sub {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}
.nxl-mode-message .nxl-panel__cta:empty,
.nxl-mode-message .nxl-panel__cta[hidden] {
    display: none !important;
}
.nxl-mode-message .nxl-form-host,
.nxl-mode-forgot .nxl-form-host {
    text-align: left;
}
.nxl-mode-message .nxl-form-host {
    text-align: center;
}
.nxl-mode-message .nxl-form-host #notice,
.nxl-mode-message .nxl-form-host .generalbox {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1.35rem !important;
    padding: 1rem 1.1rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    color: #475569 !important;
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
    text-align: center !important;
}
.nxl-mode-message .nxl-form-host #notice p,
.nxl-mode-message .nxl-form-host .generalbox p {
    margin: 0 0 0.7rem !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
.nxl-mode-message .nxl-form-host #notice p:last-child,
.nxl-mode-message .nxl-form-host .generalbox p:last-child {
    margin-bottom: 0 !important;
}
.nxl-mode-message .nxl-form-host #notice b,
.nxl-mode-message .nxl-form-host #notice strong,
.nxl-mode-message .nxl-form-host .generalbox b,
.nxl-mode-message .nxl-form-host .generalbox strong {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--nxl-ink, #0f172a) !important;
    font-weight: 700 !important;
    font-size: 0.92rem;
    word-break: break-all;
}
.nxl-mode-message .nxl-form-host .continuebutton,
.nxl-mode-message .nxl-form-host .singlebutton,
.nxl-mode-message .nxl-form-host .continuebutton form,
.nxl-mode-message .nxl-form-host .singlebutton form {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}
.nxl-mode-message .nxl-form-host .continuebutton .btn,
.nxl-mode-message .nxl-form-host .singlebutton .btn {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 920px) {
    .nxl-shell {
        padding: 0;
        place-items: stretch;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nxl-stage {
        grid-template-columns: 1fr !important;
        min-height: 100vh;
        min-height: 100dvh;
        width: 100%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .nxl-showcase {
        order: -1;
        min-height: 0;
        padding: 1.1rem 1.15rem 1rem;
    }
    .nxl-showcase__visual,
    .nxl-glass-roll,
    .nxl-float-mark,
    .nxl-showcase__tiles {
        display: none !important;
    }
    .nxl-showcase__copy {
        max-width: none;
    }
    .nxl-showcase__title {
        font-size: 1.15rem;
        margin-bottom: 0.3rem;
        line-height: 1.25;
    }
    .nxl-showcase__sub {
        font-size: 0.82rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .nxl-panel {
        padding: 1.1rem 1.15rem 1.35rem;
        min-height: auto;
        max-height: none !important;
        overflow: visible !important;
    }
    .nxl-panel__body {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 1.1rem 0 1rem !important;
        justify-content: flex-start !important;
    }
    .nxl-panel__top {
        flex-wrap: wrap;
        gap: 0.65rem;
        align-items: flex-start;
    }
    .nxl-panel__cta {
        width: 100%;
        justify-content: flex-start;
    }
    .nxl-brandbar__name {
        font-size: 0.95rem;
    }
    .nxl-brandbar__logo img,
    .nxl-brandbar__logo {
        height: 32px;
        max-width: 120px;
    }
    .nxl-avatar {
        width: 40px;
        height: 40px;
        margin-bottom: 0.85rem;
    }
    .nxl-panel__title {
        font-size: 1.45rem;
    }
    .nxl-panel__sub {
        font-size: 0.88rem;
        margin-bottom: 1.15rem;
    }
    .nxl-form-host input[type="text"],
    .nxl-form-host input[type="email"],
    .nxl-form-host input[type="password"],
    .nxl-form-host input[type="tel"],
    .nxl-form-host select,
    .nxl-form-host textarea,
    .nxl-form-host .form-control {
        min-height: 3rem !important;
        font-size: 16px !important; /* avoid iOS zoom */
        padding: 0.85rem 1rem !important;
    }
    .nxl-mode-login .nxl-field input,
    .nxl-mode-signup .nxl-field input,
    .nxl-mode-forgot .nxl-field input {
        padding-left: 2.7rem !important;
    }
    .nxl-form-host .btn-primary,
    .nxl-form-host button[type="submit"],
    .nxl-form-host input[type="submit"],
    .nxl-form-host .btn-login,
    .nxl-form-host .login-form-submit .btn {
        min-height: 3.05rem;
        font-size: 0.95rem !important;
    }
    .nxl-shell.nxl-mode-signup .nxl-stage,
    .nxl-shell.nxl-mode-forgot .nxl-stage,
    .nxl-shell.nxl-mode-message .nxl-stage,
    .nxl-shell.nxl-mode-login .nxl-stage {
        grid-template-columns: 1fr !important;
        max-height: none;
    }
    .nxl-shell.nxl-mode-signup .nxl-panel,
    .nxl-shell.nxl-mode-login .nxl-panel,
    .nxl-shell.nxl-mode-forgot .nxl-panel,
    .nxl-shell.nxl-mode-message .nxl-panel {
        max-height: none !important;
    }
    .nxl-mode-signup .nxl-form-host form.mform > .fcontainer,
    .nxl-mode-signup .nxl-form-host form.mform,
    .nxl-mode-signup .nxl-form-host form > .fcontainer {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.65rem !important;
    }
    .nxl-mode-signup .nxl-form-host .nxl-name-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }
    .nxl-panel__foot {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-bottom: 0.35rem;
    }
}

@media (max-width: 480px) {
    .nxl-showcase {
        padding: 0.95rem 1rem 0.85rem;
    }
    .nxl-showcase__title {
        font-size: 1.05rem;
    }
    .nxl-panel {
        padding: 1rem 1rem 1.25rem;
    }
    .nxl-btn-chip {
        padding: 0.34rem 0.7rem !important;
        font-size: 0.76rem !important;
    }
}
