/* Nex Level Pay orange brand theme. */
:root { --nx-blue:#c4510b; --nx-blue-dark:#9a3412; --nx-orange:#f97316; --nx-navy:#431f12; --nx-line:#f2dfd0; --bs-primary:#c4510b; --bs-primary-rgb:196,81,11; }
html body.g-sidenav-show, html body.nx-auth-page { background:linear-gradient(145deg,#fffaf5,#fff3e8) !important; }
html body.g-sidenav-show #sidenav-main { border-color:#f2dfd0 !important; }
html body.g-sidenav-show #sidenav-main .sidenav-header { background:linear-gradient(155deg,#fff,#fff0df) !important; }
html body.g-sidenav-show #sidenav-main .navbar-nav > .nav-item > .nav-link:hover,
html body.g-sidenav-show #sidenav-main .custom-navbar .nav-link:hover { background:#ffedd5 !important; color:#9a3412 !important; }
html body.g-sidenav-show #sidenav-main .navbar-nav > .nav-item > .nav-link.active,
html body.g-sidenav-show #sidenav-main .navbar-nav > .nav-item > .nav-link.active:hover { background:linear-gradient(115deg,#9a3412,#c4510b) !important; background-image:linear-gradient(115deg,#9a3412,#c4510b) !important; color:#fff !important; box-shadow:0 8px 18px rgba(194,65,12,.2) !important; }
html body.g-sidenav-show #sidenav-main .navbar-nav > .nav-item > .nav-link .icon { background:#fff2e5 !important; border-color:#fed7aa; }
html body.g-sidenav-show #sidenav-main .navbar-nav > .nav-item > .nav-link.active .icon { background:rgba(255,255,255,.16) !important; }
html body.g-sidenav-show #sidenav-main .custom-navbar { background:#fff7ed !important; border-color:#fed7aa !important; border-left-color:#f97316 !important; }
html body.g-sidenav-show #sidenav-main .wallet-mini-card { background:linear-gradient(135deg,#fff7ed,#ffedd5) !important; border-color:#fed7aa !important; }
html body.g-sidenav-show #sidenav-main .wallet-mini-card .value { color:#9a3412 !important; }
html body.g-sidenav-show .btn-primary, html body.g-sidenav-show .bg-gradient-primary,
html body.nx-auth-page .btn-primary, html body.nx-auth-page .nx-auth-panel #loginBtn,
html body.nx-auth-page .nx-auth-panel .login-form-actions .btn,
html body.nx-auth-page .nx-auth-panel #twofaForm .btn { background:linear-gradient(110deg,#9a3412,#c4510b) !important; border-color:#c4510b !important; color:#fff !important; box-shadow:0 6px 16px rgba(194,65,12,.17) !important; }
html body.g-sidenav-show .btn-primary:hover, html body.nx-auth-page .btn-primary:hover { background:linear-gradient(110deg,#7c2d12,#9a3412) !important; }
html body.g-sidenav-show .btn-outline-primary { color:#9a3412 !important; border-color:#c4510b !important; }
html body.g-sidenav-show .btn-outline-primary:hover { background:#c4510b !important; color:#fff !important; }
html body.g-sidenav-show .text-primary { color:#b54708 !important; }
html body.g-sidenav-show .pagination .page-item.active .page-link { background:#c4510b !important; border-color:#c4510b !important; color:#fff !important; }
html body.g-sidenav-show .page-link { color:#9a3412; }
html body.g-sidenav-show .form-control:focus, html body.g-sidenav-show .form-select:focus,
html body.nx-auth-page .nx-auth-panel .form-control:focus { border-color:#ea580c !important; box-shadow:0 0 0 3px rgba(249,115,22,.16) !important; }
html body.g-sidenav-show .form-check-input:checked, html body.g-sidenav-show input[type=checkbox],
html body.nx-auth-page .nx-auth-panel .form-check-input:checked { accent-color:#c4510b; }
html body.g-sidenav-show .form-check-input:checked, html body.nx-auth-page .nx-auth-panel .form-check-input:checked { background-color:#c4510b !important; border-color:#c4510b !important; }
html body.g-sidenav-show .select2-container--default .select2-results__option--highlighted[aria-selected],
html body.g-sidenav-show .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background:#c4510b !important; color:#fff !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3 .card::before { background:linear-gradient(#c4510b,#fb923c) !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3 .card .icon { background:#fff2e5 !important; border-color:#fed7aa !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3 .card .icon i { color:#c4510b !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3 > [class*="col-"]:first-child .card { background:linear-gradient(125deg,#7c2d12,#c4510b) !important; border-color:#9a3412 !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3 > [class*="col-"]:first-child .card p,
html body.g-sidenav-show .nx-dashboard .row.g-3 > [class*="col-"]:first-child .card small { color:#ffedd5 !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3 > [class*="col-"]:first-child .card .icon { background:rgba(255,255,255,.16) !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3 > [class*="col-"]:first-child .card .icon i { color:#fff !important; }
html body.g-sidenav-show .nx-footer-mark { background:linear-gradient(115deg,#9a3412,#c4510b) !important; color:#fff !important; }
html body.nx-auth-page .nx-auth-stage { background:radial-gradient(circle at 82% 14%,rgba(251,146,60,.17),transparent 35%),linear-gradient(145deg,#fffaf5,#ffedd5) !important; }
html body.nx-auth-page .nx-auth-frame { border-color:#fed7aa; box-shadow:0 28px 75px rgba(124,45,18,.12); }
html body.nx-auth-page .nx-auth-brand { background:radial-gradient(circle at 20% 10%,rgba(251,146,60,.26),transparent 40%),linear-gradient(150deg,#431407,#7c2d12 68%,#9a3412) !important; }
html body.nx-auth-page .nx-auth-brand-mark { color:#ffedd5; }
html body.nx-auth-page .nx-auth-panel h1 { color:#431f12; }

/* Primary palette and Bootstrap controls. */
:root { --bs-primary:#ea580c; --bs-primary-rgb:234,88,12; --bs-link-color:#c2410c; --bs-link-hover-color:#9a3412; --bs-primary-text-emphasis:#9a3412; --bs-primary-bg-subtle:#ffedd5; --bs-primary-border-subtle:#fed7aa; }
html body .btn-primary, html body .bg-primary, html body .bg-gradient-primary,
html body.g-sidenav-show .btn-primary, html body.g-sidenav-show .bg-gradient-primary,
html body.nx-auth-page .btn-primary, html body.nx-auth-page .nx-auth-panel #loginBtn,
html body.nx-auth-page .nx-auth-panel .login-form-actions .btn,
html body.nx-auth-page .nx-auth-panel #twofaForm .btn { background:#c2410c !important; background-image:linear-gradient(110deg,#c2410c,#d54b08) !important; border-color:#c2410c !important; color:#fff !important; }
html body .text-primary, html body .link-primary { color:#c2410c !important; }
html body .border-primary { border-color:#ea580c !important; }
html body .btn-outline-primary { color:#c2410c !important; border-color:#ea580c !important; }
html body .btn-outline-primary:hover, html body .btn-outline-primary.active { color:#fff !important; background:#c2410c !important; }
html body .nav-pills .nav-link.active, html body .nav-pills .show > .nav-link,
html body .dropdown-item.active, html body .dropdown-item:active,
html body .list-group-item.active { background-color:#c2410c !important; border-color:#c2410c !important; color:#fff !important; }
html body .alert-primary { background-color:#fff0df !important; border-color:#fed7aa !important; color:#9a3412 !important; }
html body .progress-bar { background-color:#c2410c; }

/* Dashboard spacing, news and metric contrast. */
html body.g-sidenav-show #sidenav-main .sidenav-header { height:auto !important; min-height:0 !important; padding:0 !important; }
html body.g-sidenav-show #sidenav-main .sidenav-header .navbar-brand { display:flex; justify-content:center; align-items:center; padding:6px 16px !important; height:auto !important; }
html body.g-sidenav-show #sidenav-main .navbar-brand img { max-height:96px !important; }
html body.g-sidenav-show #sidenav-main > hr { margin:0 0 8px !important; }
html body.g-sidenav-show .nx-dashboard .nx-news-strip { background:linear-gradient(110deg,#9a3412,#c2410c 60%,#d54b08) !important; color:#fff !important; border:0 !important; padding:12px 18px !important; box-shadow:0 6px 18px rgba(154,52,18,.13) !important; }
html body.g-sidenav-show .nx-dashboard .nx-news-strip marquee { color:#fff !important; font-size:.9rem; line-height:1.5; vertical-align:middle; }
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid .card { background:linear-gradient(135deg,#fff 35%,#fff7ed) !important; border-color:#f1dfce !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid .card p { color:#71513d !important; font-size:.8rem; line-height:1.4; letter-spacing:0; text-transform:none; }
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid .card h4 { color:#432819 !important; font-size:clamp(1.2rem,1.5vw,1.75rem); line-height:1.25; letter-spacing:-.025em; }
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid .card-body { align-items:center !important; gap:12px; }
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid .card .icon { flex-shrink:0; }
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid > [class*="col-"]:first-child .card { background:linear-gradient(125deg,#7c2d12,#c2410c 70%,#d54b08) !important; border-color:#9a3412 !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid > [class*="col-"]:first-child .card p,
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid > [class*="col-"]:first-child .card h4,
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid > [class*="col-"]:first-child .card small { color:#fff !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid > [class*="col-"]:first-child .card .icon { background:rgba(255,255,255,.16) !important; }
html body.g-sidenav-show .nx-dashboard .row.g-3.nx-stat-grid > [class*="col-"]:first-child .card .icon i { color:#fff !important; }

/* Login logo on a rounded white surface. */
html body.nx-auth-page .nx-auth-brand { background:#fff !important; border-radius:24px; margin:12px; border:1px solid #fed7aa; align-items:center; justify-content:center; }
html body.nx-auth-page .nx-auth-brand::before { display:none; }
html body.nx-auth-page .nx-auth-brand .nx-auth-brand-mark { display:none; }
html body.nx-auth-page .nx-login-logo { width:100%; max-width:400px; background:#fff; border-radius:20px; padding:12px; }
html body.nx-auth-page .nx-auth-brand .nx-login-logo img { display:block; width:100%; height:auto; mix-blend-mode:normal; border-radius:16px; }
@media(max-width:767.98px) { html body.nx-auth-page .nx-auth-brand { padding:12px 20px; } html body.nx-auth-page .nx-login-logo { max-width:260px; padding:0; } }

/* Primary actions, profile and Contact Us. */
html body.g-sidenav-show .main-content .btn-primary,
html body.g-sidenav-show .main-content .bg-gradient-primary,
html body.g-sidenav-show .main-content button.btn-primary,
html body.g-sidenav-show .premium-topbar .btn-primary { background:linear-gradient(115deg,#c2410c,#ea580c) !important; background-image:linear-gradient(115deg,#c2410c,#ea580c) !important; border-color:#c2410c !important; color:#fff !important; box-shadow:0 6px 14px rgba(194,65,12,.18) !important; }
html body.g-sidenav-show .main-content .btn-link { color:#c2410c !important; }
html body.g-sidenav-show .profile-hero { background:linear-gradient(120deg,#9a3412,#c2410c 58%,#ea580c) !important; box-shadow:0 18px 38px rgba(154,52,18,.2) !important; }
html body.g-sidenav-show .profile-hero .profile-name { color:#fff !important; }
html body.g-sidenav-show .profile-tabs .nav-link.active { background:linear-gradient(115deg,#c2410c,#ea580c) !important; color:#fff !important; }
html body.g-sidenav-show #contactUsModal .support-card { min-width:0; margin-top:0; border-radius:18px; overflow:hidden; }
html body.g-sidenav-show #contactUsModal .card-header { background:linear-gradient(115deg,#c2410c,#ea580c) !important; color:#fff !important; }
html body.g-sidenav-show #contactUsModal .card-header h5 { color:#fff !important; }
html body.g-sidenav-show #contactUsModal .support-item i { background:#fff0df; color:#c2410c !important; }
html body.g-sidenav-show #contactUsModal .support-item:hover i { background:#c2410c; color:#fff !important; }
html body.g-sidenav-show #contactUsModal .support-item a { color:#9a3412; overflow-wrap:anywhere; }

/* Centered logo surface inside the primary auth gradient. */
html body.nx-auth-page .nx-auth-brand { background:linear-gradient(135deg,#9a3412 0%,#c2410c 55%,#ea580c 100%) !important; border:0; margin:0; border-radius:0; display:flex; align-items:center; justify-content:center; padding:36px; }
html body.nx-auth-page .nx-auth-brand .nx-login-logo { background:#fff; border-radius:24px; padding:22px; width:100%; max-width:380px; box-shadow:0 16px 40px rgba(67,20,7,.2); }
html body.nx-auth-page .nx-auth-brand .nx-login-logo img { width:100%; height:auto; border-radius:16px; background:#fff; mix-blend-mode:normal; }
@media(max-width:767.98px) { html body.nx-auth-page .nx-auth-brand { padding:24px; } html body.nx-auth-page .nx-auth-brand .nx-login-logo { max-width:260px; padding:14px; border-radius:20px; } }
