
/* =====================================================
   Code3Hosting — late brand fixes + motion (loads last)
   ===================================================== */

/* Sticky header shell */
body.code3h-theme header.header.nx-site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Announce bar — HTML scale (slightly smaller type) */
body.code3h-theme .nx-announce {
    padding: 0.42rem 1rem !important;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 0.74rem !important;
    font-weight: 600;
    letter-spacing: 0.04em;
}

body.code3h-theme .nx-announce__text {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    color: #e8f0fa !important;
}

body.code3h-theme .nx-announce .announce-badge,
body.code3h-theme .announce-badge {
    font-size: 0.58rem !important;
    padding: 0.1rem 0.5rem !important;
    letter-spacing: 0.08em;
}

body.code3h-theme .nx-announce .announce-badge i {
    font-size: 0.55rem !important;
}

body.code3h-theme .nx-announce a {
    font-size: inherit !important;
    font-weight: 700;
}

/* Desktop container — slightly narrower than prior WHMCS scale */
@media (min-width: 1200px) {
    body.code3h-theme .container {
        max-width: 1200px !important;
    }
}

@media (min-width: 1400px) {
    body.code3h-theme .container {
        max-width: 1320px !important;
    }
}

/* Marketing navbar — HTML parity: muted links, smaller type, content nudged down */
body.code3h-theme .nx-marketing-nav.nx-navbar {
    padding: 1.15rem 0 0.75rem !important;
    min-height: 84px !important;
    transition: padding 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                min-height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease,
                box-shadow 0.3s ease,
                backdrop-filter 0.3s ease;
}

body.code3h-theme .nx-marketing-nav .nx-navbar__inner {
    align-items: center;
    padding-top: 0.15rem;
}

body.code3h-theme .nx-marketing-nav .navbar-brand {
    padding-top: 0.25rem !important;
    padding-bottom: 0 !important;
}

body.code3h-theme .nx-marketing-nav.nx-navbar .nx-nav-list .nav-link {
    font-size: 0.9rem !important;
    letter-spacing: 0.07em !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 0.55rem 1rem !important;
    line-height: 1.45 !important;
}

body.code3h-theme .nx-marketing-nav.nx-navbar .nx-nav-list .nav-link:hover,
body.code3h-theme .nx-marketing-nav.nx-navbar .nx-nav-list .nav-link:focus {
    color: #fff !important;
}

body.code3h-theme .nx-marketing-nav.nx-navbar .nx-nav-list .nav-link.active {
    color: var(--nx-cyan) !important;
}

body.code3h-theme .nx-marketing-nav.nx-navbar.scrolled {
    padding: 0.62rem 0 0.48rem !important;
    min-height: 68px !important;
    background: rgba(6, 11, 24, 0.88) !important;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(26, 140, 255, 0.06) !important;
}

body.code3h-theme .nx-marketing-nav .nx-brand-mark {
    width: 42px;
    height: 42px;
    transition: width 0.32s ease, height 0.32s ease, transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

body.code3h-theme .nx-marketing-nav .nx-brand-mark__svg {
    width: 30px;
    height: 30px;
    transition: width 0.32s ease, height 0.32s ease;
}

body.code3h-theme .nx-marketing-nav.scrolled .nx-brand-mark {
    width: 38px;
    height: 38px;
}

body.code3h-theme .nx-marketing-nav.scrolled .nx-brand-mark__svg {
    width: 28px;
    height: 28px;
}

body.code3h-theme .nx-marketing-nav.scrolled .nx-nav-list .nav-link {
    font-size: 0.88rem !important;
    padding: 0.48rem 0.95rem !important;
}

/* Marketing row: keep brand + cart + hamburger on one line (mobile) */
@media (max-width: 991.98px) {
    body.code3h-theme .nx-marketing-nav .nx-navbar__inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    body.code3h-theme .nx-marketing-nav .navbar-brand {
        order: 1;
        margin-right: auto;
    }

    body.code3h-theme .nx-marketing-nav .nx-marketing-toolbar {
        order: 2;
        margin-left: 0.45rem;
        margin-right: 0;
    }

    body.code3h-theme .nx-marketing-nav .nx-hamburger {
        order: 3;
        margin-left: 0.4rem !important;
    }

    body.code3h-theme .nx-marketing-nav .nx-nav-menu {
        order: 4;
        width: 100%;
        flex-basis: 100%;
    }
}

/* WHMCS billing nav — own mobile row, separate from marketing menu */
body.code3h-theme .nx-whmcs-nav {
    background: rgba(4, 10, 22, 0.96);
    border-top: 1px solid rgba(26, 140, 255, 0.1);
    border-bottom: 1px solid rgba(26, 140, 255, 0.12);
    padding: 0;
}

body.code3h-theme .nx-whmcs-nav__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
    padding: 0.55rem 0;
    min-height: 48px;
}

body.code3h-theme .nx-whmcs-nav__label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(201, 214, 232, 0.72);
}

body.code3h-theme .nx-whmcs-nav__label i {
    color: var(--nx-cyan);
    font-size: 1rem;
}

body.code3h-theme .nx-whmcs-nav .nx-whmcs-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(26, 140, 255, 0.28);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    color: var(--nx-text);
}

body.code3h-theme .nx-whmcs-nav .nx-whmcs-toggler:hover,
body.code3h-theme .nx-whmcs-nav .nx-whmcs-toggler:focus,
body.code3h-theme .nx-whmcs-nav .nx-whmcs-toggler[aria-expanded="true"] {
    color: #fff;
    border-color: rgba(0, 212, 255, 0.45);
    background: rgba(26, 140, 255, 0.14);
}

@media (max-width: 1199.98px) {
    body.code3h-theme .nx-whmcs-nav.navbar > .container,
    body.code3h-theme .nx-whmcs-nav > .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
    }

    body.code3h-theme .nx-whmcs-nav .navbar-collapse {
        width: 100%;
        flex-basis: auto;
        margin: 0 0 0.65rem;
        padding: 0.55rem 0.75rem 0.75rem;
        background: rgba(6, 11, 24, 0.98);
        border: 1px solid rgba(26, 140, 255, 0.14);
        border-radius: 10px;
    }

    body.code3h-theme .nx-whmcs-nav .navbar-nav {
        width: 100%;
    }

    body.code3h-theme .nx-whmcs-nav .navbar-nav .nav-link {
        padding: 0.62rem 0.75rem !important;
        border-radius: 7px;
        color: rgba(201, 214, 232, 0.88) !important;
    }

    body.code3h-theme .nx-whmcs-nav .navbar-nav .nav-link:hover,
    body.code3h-theme .nx-whmcs-nav .navbar-nav .nav-link:focus {
        color: #fff !important;
        background: rgba(26, 140, 255, 0.1);
    }

    body.code3h-theme .nx-whmcs-nav .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0.15rem 0 0.35rem;
        border-radius: 8px;
        box-shadow: none;
    }
}

@media (min-width: 1200px) {
    body.code3h-theme .nx-whmcs-nav {
        padding: 0.35rem 0;
        border-top-color: rgba(26, 140, 255, 0.08);
    }

    body.code3h-theme .nx-whmcs-nav__bar {
        display: none !important;
    }
}

/* Continue shopping — lighter secondary action in checkout */
body.code3h-theme button[name="continue"].btn-default,
body.code3h-theme .store-order-container button[name="continue"],
body.code3h-theme #order-standard_cart button[name="continue"],
body.code3h-theme #order-standard_cart .btn-continue-shopping,
body.code3h-theme #order-standard_cart a.continue-shopping,
body.code3h-theme .view-cart-empty a,
body.code3h-theme a.btn-continue-shopping {
    color: rgba(201, 214, 232, 0.78) !important;
    background: transparent !important;
    border-color: rgba(26, 140, 255, 0.22) !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    box-shadow: none !important;
}

body.code3h-theme button[name="continue"].btn-default:hover,
body.code3h-theme .store-order-container button[name="continue"]:hover,
body.code3h-theme #order-standard_cart button[name="continue"]:hover,
body.code3h-theme #order-standard_cart .btn-continue-shopping:hover,
body.code3h-theme #order-standard_cart a.continue-shopping:hover,
body.code3h-theme .view-cart-empty a:hover,
body.code3h-theme a.btn-continue-shopping:hover {
    color: #fff !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
    background: rgba(26, 140, 255, 0.08) !important;
}

/* Button motion — all branded CTAs */
body.code3h-theme .btn-primary,
body.code3h-theme .btn-nx-primary,
body.code3h-theme .btn-success,
body.code3h-theme .btn-outline-primary {
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.28s ease,
                background 0.28s ease,
                border-color 0.28s ease,
                color 0.28s ease !important;
}

body.code3h-theme .btn-primary:hover,
body.code3h-theme .btn-primary:focus,
body.code3h-theme .btn-nx-primary:hover,
body.code3h-theme .btn-nx-primary:focus {
    transform: translateY(-1px);
}

body.code3h-theme .btn-outline-primary {
    color: var(--nx-cyan) !important;
    border-color: rgba(26, 140, 255, 0.45) !important;
    background: transparent !important;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.code3h-theme .btn-outline-primary:hover,
body.code3h-theme .btn-outline-primary:focus {
    color: #fff !important;
    background: rgba(26, 140, 255, 0.12) !important;
    border-color: rgba(0, 212, 255, 0.55) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 140, 255, 0.18);
}

body.code3h-theme .btn-outline-secondary,
body.code3h-theme .btn-outline-light {
    color: var(--nx-text) !important;
    border-color: rgba(26, 140, 255, 0.25) !important;
    background: transparent !important;
}

body.code3h-theme .btn-outline-secondary:hover,
body.code3h-theme .btn-outline-light:hover {
    background: rgba(26, 140, 255, 0.1) !important;
    color: #fff !important;
}

/* Footer stat hover motion */
body.code3h-theme .nx-footer .nxf-stat {
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body.code3h-theme .nx-footer .nxf-social .btn {
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

/* ── Tables (bare table-list — list pages) ── */
body.code3h-theme table.table-list thead th {
    background-color: rgba(0, 0, 0, 0.35) !important;
    border-color: rgba(26, 140, 255, 0.15) !important;
    color: var(--nx-cyan) !important;
}

body.code3h-theme .table-list > tbody > tr > td {
    background-color: rgba(8, 14, 32, 0.75) !important;
    border-color: rgba(26, 140, 255, 0.08) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .table-list > tbody > tr:hover > td {
    background-color: rgba(26, 140, 255, 0.08) !important;
}

body.code3h-theme .page-item.disabled .page-link {
    background-color: rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(26, 140, 255, 0.1) !important;
    color: rgba(201, 214, 232, 0.35) !important;
}

/* ── Domain pricing ── */
body.code3h-theme .featured-tld {
    background: rgba(8, 14, 32, 0.92) !important;
    border: 1px solid rgba(26, 140, 255, 0.15) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .featured-tld .price {
    background: rgba(0, 0, 0, 0.35) !important;
    color: var(--nx-text) !important;
    border-top: 1px solid rgba(26, 140, 255, 0.1) !important;
}

body.code3h-theme .domain-pricing .tld-pricing-header .col-xs-2,
body.code3h-theme .domain-pricing .tld-pricing-header .col-sm-2 {
    background: rgba(0, 0, 0, 0.35) !important;
    color: var(--nx-cyan) !important;
    border-color: rgba(26, 140, 255, 0.12) !important;
}

body.code3h-theme .domain-pricing .tld-row {
    border-bottom-color: rgba(26, 140, 255, 0.08) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .domain-pricing .tld-row.highlighted {
    background: rgba(26, 140, 255, 0.08) !important;
}

body.code3h-theme .tld-filters .badge-secondary {
    background: rgba(0, 0, 0, 0.35) !important;
    color: var(--nx-muted) !important;
    border: 1px solid rgba(26, 140, 255, 0.15);
}

body.code3h-theme .tld-filters .badge-success {
    background: rgba(26, 140, 255, 0.2) !important;
    color: var(--nx-cyan) !important;
    border: 1px solid rgba(26, 140, 255, 0.35);
}

/* ── Registration legacy fields ── */
body.code3h-theme #registration .field,
body.code3h-theme #registration input.field,
body.code3h-theme #registration select.field,
body.code3h-theme #registration textarea.field {
    background: rgba(0, 0, 0, 0.38) !important;
    border: 1px solid rgba(26, 140, 255, 0.2) !important;
    color: var(--nx-text) !important;
    border-radius: 8px !important;
    padding: 0.7rem 1rem !important;
}

body.code3h-theme #registration .field[readonly] {
    background: rgba(0, 0, 0, 0.28) !important;
}

body.code3h-theme #registration label {
    color: var(--nx-text) !important;
}

body.code3h-theme #registration .sub-heading {
    border-bottom-color: rgba(26, 140, 255, 0.2) !important;
}

body.code3h-theme #registration .sub-heading span {
    background: rgba(8, 14, 32, 0.95) !important;
    color: var(--nx-cyan) !important;
}

/* ── Custom controls (checkbox / radio / switch) ── */
body.code3h-theme .custom-control-label::before {
    background-color: rgba(0, 0, 0, 0.38) !important;
    border-color: rgba(26, 140, 255, 0.3) !important;
}

body.code3h-theme .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--nx-blue) !important;
    border-color: var(--nx-blue) !important;
}

body.code3h-theme .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 2px rgba(26, 140, 255, 0.2) !important;
}

body.code3h-theme .custom-file-label::after {
    background: rgba(26, 140, 255, 0.15) !important;
    color: var(--nx-cyan) !important;
    border-left-color: rgba(26, 140, 255, 0.2) !important;
}

/* Intl phone dropdown */
body.code3h-theme .intl-tel-input .country-list {
    background: rgba(6, 11, 24, 0.98) !important;
    border-color: rgba(26, 140, 255, 0.2) !important;
}

body.code3h-theme .intl-tel-input .country-list .country {
    color: var(--nx-text) !important;
}

body.code3h-theme .intl-tel-input .country-list .country:hover,
body.code3h-theme .intl-tel-input .country-list .country.highlight {
    background: rgba(26, 140, 255, 0.12) !important;
}

body.code3h-theme .intl-tel-input .country-list .divider {
    border-bottom-color: rgba(26, 140, 255, 0.12) !important;
}

/* Multiselect toggle (domain search) */
body.code3h-theme .multiselect {
    background: rgba(0, 0, 0, 0.38) !important;
    border-color: rgba(26, 140, 255, 0.2) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .multiselect:hover,
body.code3h-theme .multiselect:focus {
    background: rgba(0, 0, 0, 0.48) !important;
    color: #fff !important;
}

/* ── Support tickets / markdown ── */
body.code3h-theme .md-editor > .btn-toolbar {
    background: rgba(0, 0, 0, 0.35) !important;
    border-color: rgba(26, 140, 255, 0.15) !important;
}

body.code3h-theme .md-editor > textarea,
body.code3h-theme .md-editor .md-preview,
body.code3h-theme .md-preview {
    background: rgba(8, 14, 32, 0.9) !important;
    border-color: rgba(26, 140, 255, 0.15) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .markdown-content h1,
body.code3h-theme .markdown-content h2,
body.code3h-theme .markdown-content h3,
body.code3h-theme .markdown-content h4 {
    color: #fff !important;
}

body.code3h-theme .markdown-content table {
    color: var(--nx-text) !important;
}

body.code3h-theme .markdown-content table thead th {
    background: rgba(0, 0, 0, 0.35) !important;
    color: var(--nx-cyan) !important;
}

body.code3h-theme .markdown-content table tbody td {
    background: rgba(8, 14, 32, 0.85) !important;
    border-color: rgba(26, 140, 255, 0.08) !important;
}

body.code3h-theme .view-ticket .posted-by {
    background: rgba(0, 0, 0, 0.28) !important;
    border-color: rgba(26, 140, 255, 0.1) !important;
    color: var(--nx-muted) !important;
}

body.code3h-theme .view-ticket .attachment-list li span {
    border-color: rgba(26, 140, 255, 0.15) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .view-ticket .attachment-list li figure {
    background: rgba(0, 0, 0, 0.35) !important;
}

body.code3h-theme .ticketfeedbackstaffcont {
    background: rgba(8, 14, 32, 0.88) !important;
    border: 1px solid rgba(26, 140, 255, 0.12) !important;
    color: var(--nx-text) !important;
}

/* ── Verification banner ── */
body.code3h-theme .verification-banner {
    background: rgba(8, 14, 32, 0.92) !important;
    border: 1px solid rgba(26, 140, 255, 0.18) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .verification-banner.alert-info {
    border-left-color: var(--nx-cyan) !important;
}

body.code3h-theme .verification-banner .btn.close {
    color: var(--nx-muted) !important;
    text-shadow: none;
}

/* ── Notification popover ── */
body.code3h-theme .popover-user-notifications {
    background: rgba(6, 11, 24, 0.98) !important;
    border-color: rgba(26, 140, 255, 0.2) !important;
}

body.code3h-theme .popover-user-notifications ul li {
    border-bottom-color: rgba(26, 140, 255, 0.1) !important;
}

body.code3h-theme .popover-user-notifications ul li a {
    color: var(--nx-text) !important;
}

body.code3h-theme .popover-user-notifications ul li a:hover {
    background: rgba(26, 140, 255, 0.1) !important;
    color: #fff !important;
}

body.code3h-theme .popover-header {
    background: rgba(0, 0, 0, 0.35) !important;
    border-bottom-color: rgba(26, 140, 255, 0.12) !important;
    color: #fff !important;
}

body.code3h-theme .popover .arrow::before,
body.code3h-theme .popover .arrow::after {
    border-color: transparent !important;
}

body.code3h-theme .bs-popover-bottom > .arrow::after,
body.code3h-theme .bs-popover-auto[x-placement^="bottom"] > .arrow::after {
    border-bottom-color: rgba(6, 11, 24, 0.98) !important;
}

body.code3h-theme .bs-popover-top > .arrow::after,
body.code3h-theme .bs-popover-auto[x-placement^="top"] > .arrow::after {
    border-top-color: rgba(6, 11, 24, 0.98) !important;
}

/* ── Product details tabs ── */
body.code3h-theme .product-details-tab-container {
    background: rgba(8, 14, 32, 0.9) !important;
    border-color: rgba(26, 140, 255, 0.12) !important;
}

@media (max-width: 767.98px) {
    body.code3h-theme .responsive-tabs-sm .nav-tabs {
        background: rgba(8, 14, 32, 0.95) !important;
        border-color: rgba(26, 140, 255, 0.12) !important;
    }

    body.code3h-theme .responsive-tabs-sm .nav-tabs .nav-link {
        border-color: rgba(26, 140, 255, 0.1) !important;
        color: var(--nx-text) !important;
        background: transparent !important;
    }

    body.code3h-theme .responsive-tabs-sm .nav-tabs .nav-link.active {
        background: rgba(26, 140, 255, 0.12) !important;
        color: var(--nx-cyan) !important;
    }
}

/* ── Badges ── */
body.code3h-theme .badge-secondary {
    background: rgba(0, 0, 0, 0.4) !important;
    color: var(--nx-muted) !important;
    border: 1px solid rgba(26, 140, 255, 0.12);
}

body.code3h-theme .badge-light {
    background: rgba(26, 140, 255, 0.15) !important;
    color: var(--nx-cyan) !important;
}

body.code3h-theme .badge-warning {
    background: rgba(255, 152, 0, 0.18) !important;
    color: #ffb74d !important;
}

body.code3h-theme .badge-info {
    background: rgba(26, 140, 255, 0.2) !important;
    color: var(--nx-cyan) !important;
}

/* ── Upgrade flow ── */
body.code3h-theme .upgrade .products .product {
    background: rgba(8, 14, 32, 0.9) !important;
    border-color: rgba(26, 140, 255, 0.12) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .upgrade .products .product .header {
    background: rgba(0, 0, 0, 0.28) !important;
    color: #fff !important;
}

body.code3h-theme .upgrade .products .product .recommended,
body.code3h-theme .upgrade .products .product .current {
    background: rgba(26, 140, 255, 0.15) !important;
    color: var(--nx-cyan) !important;
}

/* ── Store / landing pages (loaded after custom.css) ── */
body.code3h-theme .landing-page,
body.code3h-theme .landing-page.bg-white {
    background: var(--nx-dark) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .landing-page .hero,
body.code3h-theme .landing-page .hero h1,
body.code3h-theme .landing-page .hero h2,
body.code3h-theme .landing-page .hero p {
    color: var(--nx-text) !important;
}

body.code3h-theme .landing-page .navbar.navbar-light,
body.code3h-theme .landing-page .navbar.bg-light {
    background: rgba(3, 7, 18, 0.97) !important;
    border-bottom: 1px solid rgba(26, 140, 255, 0.12) !important;
}

body.code3h-theme .landing-page .product-options .item,
body.code3h-theme .landing-page .pricing-item,
body.code3h-theme .landing-page .feature-panel,
body.code3h-theme .content-block.feature-tabs,
body.code3h-theme .content-block.pricing,
body.code3h-theme .store-promoted-product,
body.code3h-theme .store-domain-tab-content,
body.code3h-theme .tab-content.bg-white {
    background: rgba(8, 14, 32, 0.9) !important;
    border-color: rgba(26, 140, 255, 0.12) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .landing-page .product-options .item:hover {
    border-color: rgba(26, 140, 255, 0.35) !important;
    background: rgba(26, 140, 255, 0.08) !important;
}

body.code3h-theme .landing-page hr,
body.code3h-theme .landing-page .divider {
    border-color: rgba(26, 140, 255, 0.12) !important;
}

body.code3h-theme .landing-page .btn-primary {
    box-shadow: 0 6px 20px rgba(26, 140, 255, 0.28);
}

/* Dynamic store */
body.code3h-theme .pricing-card,
body.code3h-theme .store-order-container,
body.code3h-theme #dynamicStoreBody {
    background: rgba(8, 14, 32, 0.9) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .pricing-card {
    border: 1px solid rgba(26, 140, 255, 0.12) !important;
}

body.code3h-theme .pricing-card:hover {
    border-color: rgba(26, 140, 255, 0.3) !important;
    box-shadow: 0 8px 28px rgba(26, 140, 255, 0.12) !important;
}

/* Blockquote in KB / announcements */
body.code3h-theme .blockquote,
body.code3h-theme blockquote,
body.code3h-theme .announcements .announcement article {
    background: rgba(8, 14, 32, 0.85) !important;
    border-left-color: var(--nx-blue) !important;
    color: var(--nx-text) !important;
}

/* KB hover rows */
body.code3h-theme .kb-category a:hover,
body.code3h-theme .kb-article-item:hover {
    background: rgba(26, 140, 255, 0.08) !important;
}

/* Network issues */
body.code3h-theme .network-issue-alert {
    background: rgba(8, 14, 32, 0.92) !important;
}

/* DataTables filter input */
body.code3h-theme .dataTables_wrapper .dataTables_filter .form-control {
    background: rgba(0, 0, 0, 0.38) !important;
    border-color: rgba(26, 140, 255, 0.2) !important;
    color: var(--nx-text) !important;
}

/* Alert bordered variants */
body.code3h-theme .alert-bordered-left {
    border-left-color: var(--nx-blue) !important;
}

body.code3h-theme .alert-link {
    color: var(--nx-cyan) !important;
}

/* OAuth standalone */
body.code3h-theme.oauth-page {
    background: var(--nx-dark) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme.oauth-page #header,
body.code3h-theme.oauth-page #content,
body.code3h-theme.oauth-page #footer {
    background: transparent !important;
    color: var(--nx-text) !important;
}

body.code3h-theme.oauth-page .content-container,
body.code3h-theme.oauth-page .panel,
body.code3h-theme.oauth-page .well {
    background: rgba(8, 14, 32, 0.9) !important;
    border: 1px solid rgba(26, 140, 255, 0.12) !important;
    color: var(--nx-text) !important;
}

/* Invoice standalone */
body.code3h-theme.invoice-page {
    background: var(--nx-dark) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme.invoice-page .invoice-container {
    background: transparent !important;
}

body.code3h-theme.invoice-page .panel,
body.code3h-theme.invoice-page .panel-heading,
body.code3h-theme.invoice-page .panel-body,
body.code3h-theme.invoice-page .table {
    background: rgba(8, 14, 32, 0.9) !important;
    border-color: rgba(26, 140, 255, 0.12) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme.invoice-page .panel-heading {
    background: rgba(0, 0, 0, 0.28) !important;
    color: #fff !important;
}

body.code3h-theme.invoice-page .table-striped tbody tr:nth-of-type(odd) {
    background: rgba(0, 0, 0, 0.2) !important;
}

body.code3h-theme.invoice-page .invoice-summary-table td.total-row {
    background: rgba(26, 140, 255, 0.1) !important;
    color: #fff !important;
}

/* Catch-all: common Bootstrap light surfaces */
body.code3h-theme hr {
    border-top-color: rgba(26, 140, 255, 0.12) !important;
}

body.code3h-theme .close {
    color: var(--nx-muted) !important;
    text-shadow: none;
    opacity: 0.85;
}

body.code3h-theme .close:hover {
    color: #fff !important;
    opacity: 1;
}

body.code3h-theme .list-group-item-action {
    background-color: transparent !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .input-group-prepend .input-group-text,
body.code3h-theme .input-group-append .input-group-text {
    background: rgba(0, 0, 0, 0.38) !important;
    border-color: rgba(26, 140, 255, 0.2) !important;
    color: var(--nx-muted) !important;
}

body.code3h-theme header.header .topbar .input-group-text {
    background: rgba(0, 0, 0, 0.35) !important;
    border-color: rgba(26, 140, 255, 0.15) !important;
}

body.code3h-theme .btn-success:hover,
body.code3h-theme .btn-success:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.25);
}

body.code3h-theme .nxf-contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(26, 140, 255, 0.45) !important;
}

/* Secondary alert backgrounds stay semantic but darkened */
body.code3h-theme .alert-secondary {
    background: rgba(8, 14, 32, 0.9) !important;
    border-color: rgba(26, 140, 255, 0.15) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .alert-light {
    background: rgba(8, 14, 32, 0.88) !important;
    border-color: rgba(26, 140, 255, 0.12) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .mark,
body.code3h-theme mark {
    background: rgba(26, 140, 255, 0.2) !important;
    color: #fff !important;
}

body.code3h-theme pre,
body.code3h-theme code {
    background: rgba(0, 0, 0, 0.35) !important;
    color: var(--nx-cyan) !important;
    border: 1px solid rgba(26, 140, 255, 0.12);
}

body.code3h-theme .tooltip-inner {
    background: rgba(6, 11, 24, 0.98) !important;
    border: 1px solid rgba(26, 140, 255, 0.15);
}

body.code3h-theme .bs-tooltip-bottom .arrow::before {
    border-bottom-color: rgba(6, 11, 24, 0.98) !important;
}

body.code3h-theme .bs-tooltip-top .arrow::before {
    border-top-color: rgba(6, 11, 24, 0.98) !important;
}

/* Hide legacy topbar if anything reintroduces it */
body.code3h-theme .topbar,
body.code3h-theme .nx-topbar {
    display: none !important;
}

/* Compact admin masquerade strip only */
body.code3h-theme .nx-admin-bar {
    background: rgba(245, 74, 0, 0.12);
    border-bottom: 1px solid rgba(245, 74, 0, 0.28);
    padding: 0.4rem 0;
}

body.code3h-theme .nx-admin-bar .btn-return-to-admin {
    color: #ffb74d !important;
    font-size: 0.82rem;
    padding: 0.25rem 0.5rem;
}

body.code3h-theme .nx-admin-bar .btn-return-to-admin:hover {
    color: #fff !important;
}

/* Client area lists / panels — soft faded borders (not whitish) */
body.code3h-theme .client-home-cards .card,
body.code3h-theme .client-home-cards .card.card-accent-blue,
body.code3h-theme .client-home-cards .card.card-accent-green,
body.code3h-theme .client-home-cards .card.card-accent-red,
body.code3h-theme .client-home-cards .card.card-accent-gold,
body.code3h-theme .client-home-cards .card.card-accent-orange,
body.code3h-theme .client-home-cards .card.card-accent-pink,
body.code3h-theme .client-home-cards .card.card-accent-purple,
body.code3h-theme .client-home-cards .card.card-accent-magenta,
body.code3h-theme .client-home-cards .card.card-accent-cyan,
body.code3h-theme .client-home-cards .card.card-accent-emerald {
    border-color: rgba(122, 143, 168, 0.1) !important;
}

body.code3h-theme .client-home-cards .card-header,
body.code3h-theme .client-home-cards .card-footer {
    border-color: rgba(122, 143, 168, 0.08) !important;
}

body.code3h-theme .client-home-cards .list-group-item,
body.code3h-theme .client-home-cards .list-group-item-action,
body.code3h-theme .list-group-item,
body.code3h-theme .list-group-flush > .list-group-item {
    border-color: rgba(122, 143, 168, 0.07) !important;
    border-top-color: rgba(122, 143, 168, 0.07) !important;
    border-bottom-color: rgba(122, 143, 168, 0.07) !important;
}

body.code3h-theme .client-home-cards .list-group-item:first-child {
    border-top-color: transparent !important;
}

body.code3h-theme .client-home-cards .card > .list-group:last-child .list-group-item:last-child,
body.code3h-theme .list-group-flush > .list-group-item:last-child {
    border-bottom-color: transparent !important;
}

body.code3h-theme .sidebar .list-group-item,
body.code3h-theme .card-sidebar .list-group-item {
    border-color: rgba(122, 143, 168, 0.06) !important;
}

body.code3h-theme .sidebar .card,
body.code3h-theme .card.card-sidebar {
    border-color: rgba(122, 143, 168, 0.1) !important;
}

body.code3h-theme .sidebar .card-header,
body.code3h-theme .card-sidebar > .card-header {
    border-bottom-color: rgba(122, 143, 168, 0.08) !important;
}

body.code3h-theme .sidebar .card-footer,
body.code3h-theme .card-sidebar .card-footer {
    border-top-color: rgba(122, 143, 168, 0.06) !important;
}

body.code3h-theme .card,
body.code3h-theme .panel,
body.code3h-theme .panel-default {
    border-color: rgba(122, 143, 168, 0.1) !important;
}

body.code3h-theme .card-header,
body.code3h-theme .card-footer,
body.code3h-theme .panel-heading,
body.code3h-theme .panel-footer {
    border-color: rgba(122, 143, 168, 0.08) !important;
}

body.code3h-theme .table td,
body.code3h-theme .table th,
body.code3h-theme .table thead th {
    border-color: rgba(122, 143, 168, 0.08) !important;
}

body.code3h-theme hr {
    border-top-color: rgba(122, 143, 168, 0.1) !important;
}
