/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Cart
 *
 * This block allows you to customize theme colors and styles for the entire Nexus Cart template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

html {
    font-size: 16px;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors — Code3Hosting brand */
    --primary: #1a8cff;
    --primary-lifted: #0088e6;
    --primary-accented: #0066cc;

    /* Secondary colors */
    --secondary: #7a8fa8;
    --secondary-lifted: #6b8099;
    --secondary-accented: #5c718a;

    /* Success colors */
    --success: #00e676;
    --success-lifted: #00c965;
    --success-accented: #00a854;

    /* Info colors */
    --info: #00d4ff;
    --info-lifted: #00b8e0;
    --info-accented: #0099c2;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

/* =====================================================
   Code3Hosting integration (merged for WHMCS load safety)
   ===================================================== */

/* Code3Hosting WHMCS integration — scoped to .code3h-theme so WHMCS classes stay intact */

html.nx-announce-dismissed body.code3h-theme .nx-announce {
    display: none !important;
}

body.code3h-theme {
    --nx-dark: #0c1428;
    --nx-navy: #0a1428;
    --nx-navy-2: #0d1b3e;
    --nx-blue: #1a8cff;
    --nx-cyan: #00d4ff;
    --nx-green: #00e676;
    --nx-text: #c9d6e8;
    --nx-muted: #7a8fa8;
    --nx-card-bg: rgba(10, 20, 48, 0.72);
    --nx-card-border: rgba(26, 140, 255, 0.15);
    --nx-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 80px;
    --product-rgb: 26, 140, 255;

    background-color: var(--nx-dark);
    color: var(--nx-text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.code3h-theme h1,
body.code3h-theme h2,
body.code3h-theme h3,
body.code3h-theme h4,
body.code3h-theme h5,
body.code3h-theme h6,
body.code3h-theme .card-title,
body.code3h-theme .nx-brand-name,
body.code3h-theme .nxf-heading,
body.code3h-theme .nxf-contact-title {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ── Announcement bar ── */
body.code3h-theme .nx-announce {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    background: linear-gradient(90deg, rgba(26, 140, 255, 0.12), rgba(6, 11, 24, 0.95) 35% 65%, rgba(0, 212, 255, 0.1));
    border-bottom: 1px solid rgba(26, 140, 255, 0.18);
    position: relative;
    z-index: 1040;
}

body.code3h-theme .nx-announce.is-closing {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    transition: opacity 0.28s ease, max-height 0.28s ease, padding 0.28s ease;
}

body.code3h-theme .nx-announce__text {
    margin: 0;
    font-size: 0.74rem;
    color: #e8f0fa;
    text-align: center;
    line-height: 1.35;
}

body.code3h-theme .nx-announce__line--short {
    display: none;
}

body.code3h-theme .announce-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-right: 0.45rem;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(0, 212, 255, 0.14);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: #7ee8ff;
}

body.code3h-theme .nx-announce a {
    color: var(--nx-cyan);
    text-decoration: none;
    font-weight: 600;
}

body.code3h-theme .nx-announce a:hover {
    color: #fff;
}

body.code3h-theme .announce-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(26, 140, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--nx-muted);
    cursor: pointer;
    transition: var(--nx-transition);
}

body.code3h-theme .announce-close:hover {
    color: #fff;
    border-color: rgba(26, 140, 255, 0.45);
}

@media (max-width: 575.98px) {
    body.code3h-theme .nx-announce__line--full {
        display: none;
    }

    body.code3h-theme .nx-announce__line--short {
        display: inline;
    }
}

/* ── Brand lockup ── */
body.code3h-theme .nx-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    line-height: 1;
}

body.code3h-theme .nx-brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}

body.code3h-theme .nx-brand-name {
    font-size: 1.22rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.98);
    white-space: nowrap;
    line-height: 1;
}

body.code3h-theme .nx-brand-sub {
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(0, 212, 255, 0.78);
    line-height: 1;
}

body.code3h-theme .nx-brand-mark {
    position: relative;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #f4f9ff;
    background: linear-gradient(155deg, rgba(36, 72, 128, 0.55), rgba(8, 16, 38, 0.98) 48%, #060c1c);
    border: 1px solid rgba(26, 140, 255, 0.42);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), inset 0 -1px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 212, 255, 0.08), 0 5px 14px rgba(0, 0, 0, 0.38), 0 0 18px rgba(26, 140, 255, 0.12);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

body.code3h-theme .nx-brand-mark__ring {
    position: absolute;
    inset: -2px;
    border-radius: 11px;
    border: 1px solid rgba(0, 212, 255, 0.22);
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.28s ease, border-color 0.28s ease;
}

body.code3h-theme .nx-brand-mark__shine {
    position: absolute;
    inset: 1px;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.04) 38%, transparent 62%);
    pointer-events: none;
}

body.code3h-theme .nx-brand-mark__svg {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

body.code3h-theme a.nx-brand:hover .nx-brand-mark,
body.code3h-theme a.nxf-brand:hover .nx-brand-mark {
    transform: translateY(-1px);
    border-color: rgba(0, 212, 255, 0.52);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), inset 0 -1px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 212, 255, 0.2), 0 8px 22px rgba(0, 0, 0, 0.42), 0 0 28px rgba(26, 140, 255, 0.28);
}

body.code3h-theme a.nx-brand:hover .nx-brand-mark__ring,
body.code3h-theme a.nxf-brand:hover .nx-brand-mark__ring {
    opacity: 1;
    border-color: rgba(0, 212, 255, 0.42);
}

body.code3h-theme a.nx-brand,
body.code3h-theme a.navbar-brand.nx-brand {
    text-decoration: none;
    color: #fff;
}

body.code3h-theme a.nx-brand:hover,
body.code3h-theme a.navbar-brand.nx-brand:hover {
    color: #fff;
    opacity: 0.92;
}

/* ── Header / navbar (colors only — do not override Bootstrap layout) ── */
body.code3h-theme header.header.nx-site-header {
    background: transparent;
}

body.code3h-theme header.header .topbar.nx-topbar {
    background: rgba(3, 7, 18, 0.95);
    border-bottom: 1px solid rgba(26, 140, 255, 0.1);
    color: var(--nx-muted);
    padding: 0.35rem 0;
}

body.code3h-theme header.header .topbar .btn,
body.code3h-theme header.header .topbar .active-client .input-group-text,
body.code3h-theme header.header .topbar .active-client .btn {
    color: var(--nx-text);
}

body.code3h-theme header.header .topbar .active-client .btn.btn-active-client span {
    border-bottom-color: rgba(0, 212, 255, 0.45);
}

body.code3h-theme header.header .navbar.navbar-light {
    background: rgba(3, 7, 18, 0.97);
    border-bottom: 1px solid rgba(26, 140, 255, 0.08);
    padding: 0.65rem 0;
}

body.code3h-theme header.header .main-navbar-wrapper {
    background: rgba(3, 7, 18, 0.95);
    border-bottom: 1px solid rgba(26, 140, 255, 0.12);
}

body.code3h-theme header.header .main-navbar-wrapper .navbar-collapse {
    background: transparent;
}

body.code3h-theme header.header .navbar a,
body.code3h-theme header.header .navbar-nav a {
    color: var(--nx-text);
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
}

body.code3h-theme header.header .navbar-nav .nav-link:hover,
body.code3h-theme header.header .navbar-nav .nav-link:focus {
    color: var(--nx-cyan);
}

body.code3h-theme header.header .search {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(26, 140, 255, 0.2);
}

body.code3h-theme header.header .search .form-control {
    background: transparent;
    color: var(--nx-text);
}

body.code3h-theme header.header .search .form-control::placeholder {
    color: var(--nx-muted);
}

body.code3h-theme header.header .search .btn {
    color: var(--nx-muted);
    background: transparent;
}

body.code3h-theme header.header .search:focus-within {
    border-color: rgba(26, 140, 255, 0.45);
    box-shadow: 0 0 0 2px rgba(26, 140, 255, 0.12);
}

body.code3h-theme header.header .toolbar .nav-link {
    border-color: rgba(26, 140, 255, 0.25);
    color: var(--nx-text);
    background: rgba(0, 0, 0, 0.25);
}

body.code3h-theme header.header .toolbar .nav-link:hover {
    color: var(--nx-cyan);
    border-color: rgba(26, 140, 255, 0.45);
}

body.code3h-theme header.header .toolbar .nav-link .badge {
    background: var(--nx-blue);
}

body.code3h-theme .btn-nav-deploy {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(26, 140, 255, 0.35);
    background: rgba(26, 140, 255, 0.12);
    color: #fff;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--nx-transition);
}

body.code3h-theme .btn-nav-deploy:hover {
    color: #fff;
    background: rgba(26, 140, 255, 0.22);
    border-color: rgba(26, 140, 255, 0.55);
    text-decoration: none;
}

body.code3h-theme header.header .dropdown-menu {
    background: rgba(6, 11, 24, 0.98);
    border: 1px solid rgba(26, 140, 255, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

body.code3h-theme header.header .dropdown-item {
    color: var(--nx-text);
}

body.code3h-theme header.header .dropdown-item:hover,
body.code3h-theme header.header .dropdown-item:focus {
    background: rgba(26, 140, 255, 0.12);
    color: #fff;
}

body.code3h-theme header.header .dropdown-item.active,
body.code3h-theme header.header .dropdown-item:active {
    background: rgba(26, 140, 255, 0.2);
    color: #fff;
}

/* ── Breadcrumb ── */
body.code3h-theme .master-breadcrumb {
    background: rgba(4, 10, 22, 0.85);
    border-bottom: 1px solid rgba(26, 140, 255, 0.08);
}

body.code3h-theme .master-breadcrumb .breadcrumb {
    background: transparent;
}

body.code3h-theme .master-breadcrumb .breadcrumb-item,
body.code3h-theme .master-breadcrumb .breadcrumb-item a {
    color: var(--nx-muted);
}

body.code3h-theme .master-breadcrumb .breadcrumb-item.active {
    color: var(--nx-text);
}

body.code3h-theme .master-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(122, 143, 168, 0.6);
}

/* ── Main content area ── */
body.code3h-theme.primary-bg-color {
    background-color: var(--nx-dark);
}

body.code3h-theme #main-body {
    padding-bottom: 2rem;
}

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

body.code3h-theme a {
    color: var(--nx-blue);
}

body.code3h-theme a:hover {
    color: var(--nx-cyan);
}

/* ── Cards & panels ── */
body.code3h-theme .card,
body.code3h-theme .mc-promo-manage,
body.code3h-theme .mc-promo-login {
    background: var(--nx-card-bg);
    border: 1px solid var(--nx-card-border);
    border-radius: 12px;
    color: var(--nx-text);
    backdrop-filter: blur(8px);
}

body.code3h-theme .card-header,
body.code3h-theme .card-footer {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(26, 140, 255, 0.12);
    color: var(--nx-text);
}

body.code3h-theme .panel,
body.code3h-theme .panel-default {
    background: var(--nx-card-bg);
    border-color: var(--nx-card-border);
    color: var(--nx-text);
}

body.code3h-theme .panel-heading,
body.code3h-theme .panel-footer {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(26, 140, 255, 0.12);
    color: var(--nx-text);
}

body.code3h-theme .list-group-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(26, 140, 255, 0.1);
    color: var(--nx-text);
}

body.code3h-theme .list-group-item.active {
    background: rgba(26, 140, 255, 0.18);
    border-color: rgba(26, 140, 255, 0.35);
    color: #fff;
}

/* ── Sidebar ── */
body.code3h-theme .sidebar .list-group-item {
    background: transparent;
}

body.code3h-theme .sidebar .list-group-item-action:hover {
    background: rgba(26, 140, 255, 0.1);
    color: var(--nx-cyan);
}

/* ── Forms ── */
body.code3h-theme .form-control,
body.code3h-theme .custom-select {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(26, 140, 255, 0.2);
    color: var(--nx-text);
}

body.code3h-theme .form-control:focus,
body.code3h-theme .custom-select:focus {
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(26, 140, 255, 0.45);
    color: #fff;
    box-shadow: 0 0 0 2px rgba(26, 140, 255, 0.15);
}

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

body.code3h-theme label,
body.code3h-theme .form-control-label {
    color: var(--nx-text);
}

/* ── Buttons ── */
body.code3h-theme .btn-primary {
    background: linear-gradient(135deg, var(--nx-blue), #00b4d8);
    border-color: rgba(26, 140, 255, 0.5);
    color: #fff;
    box-shadow: 0 6px 20px rgba(26, 140, 255, 0.28);
}

body.code3h-theme .btn-primary:hover,
body.code3h-theme .btn-primary:focus {
    background: linear-gradient(135deg, #2196ff, var(--nx-cyan));
    border-color: rgba(0, 212, 255, 0.55);
    color: #fff;
    box-shadow: 0 8px 28px rgba(26, 140, 255, 0.42);
}

body.code3h-theme .btn-default,
body.code3h-theme .btn-secondary {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(26, 140, 255, 0.25);
    color: var(--nx-text);
}

body.code3h-theme .btn-default:hover,
body.code3h-theme .btn-secondary:hover {
    background: rgba(26, 140, 255, 0.12);
    border-color: rgba(26, 140, 255, 0.4);
    color: #fff;
}

body.code3h-theme .btn-success {
    background: var(--nx-green);
    border-color: rgba(0, 230, 118, 0.5);
    color: #041510;
}

body.code3h-theme .btn-nx-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1.35rem;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--nx-blue), #00b4d8);
    color: #fff;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(26, 140, 255, 0.28);
    transition: var(--nx-transition);
}

body.code3h-theme .btn-nx-primary:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(26, 140, 255, 0.45);
    transform: translateY(-1px);
}

/* ── Tables ── */
body.code3h-theme .table {
    color: var(--nx-text);
}

body.code3h-theme .table thead th {
    border-bottom-color: rgba(26, 140, 255, 0.2);
    color: var(--nx-cyan);
    font-family: 'Rajdhani', system-ui, sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

body.code3h-theme .table td,
body.code3h-theme .table th {
    border-top-color: rgba(26, 140, 255, 0.1);
}

body.code3h-theme .table-striped tbody tr:nth-of-type(odd) {
    background: rgba(0, 0, 0, 0.18);
}

body.code3h-theme .table-hover tbody tr:hover {
    background: rgba(26, 140, 255, 0.08);
    color: #fff;
}

/* ── Alerts ── */
body.code3h-theme .alert {
    border-radius: 10px;
    border-width: 1px;
}

body.code3h-theme .alert-success {
    background: rgba(0, 230, 118, 0.12);
    border-color: rgba(0, 230, 118, 0.35);
    color: #8fffc8;
}

body.code3h-theme .alert-info {
    background: rgba(26, 140, 255, 0.12);
    border-color: rgba(26, 140, 255, 0.35);
    color: #a8d8ff;
}

body.code3h-theme .alert-warning {
    background: rgba(255, 152, 0, 0.12);
    border-color: rgba(255, 152, 0, 0.35);
    color: #ffd699;
}

body.code3h-theme .alert-danger {
    background: rgba(244, 67, 54, 0.12);
    border-color: rgba(244, 67, 54, 0.35);
    color: #ffb4ad;
}

/* ── Modals ── */
body.code3h-theme .modal-content {
    background: rgba(6, 11, 24, 0.98);
    border: 1px solid rgba(26, 140, 255, 0.18);
    color: var(--nx-text);
}

body.code3h-theme .modal-header,
body.code3h-theme .modal-footer {
    border-color: rgba(26, 140, 255, 0.12);
}

body.code3h-theme .modal-localisation .item {
    color: var(--nx-text);
}

body.code3h-theme .modal-localisation .item.active,
body.code3h-theme .modal-localisation .item:hover {
    background: rgba(26, 140, 255, 0.15);
    color: #fff;
}

/* ── Pagination ── */
body.code3h-theme .page-link {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(26, 140, 255, 0.2);
    color: var(--nx-text);
}

body.code3h-theme .page-item.active .page-link {
    background: var(--nx-blue);
    border-color: var(--nx-blue);
}

body.code3h-theme .page-link:hover {
    background: rgba(26, 140, 255, 0.15);
    color: #fff;
}

/* ── Footer ── */
body.code3h-theme .nx-footer {
    position: relative;
    margin-top: 3rem;
    color: var(--nx-text);
    overflow: hidden;
}

body.code3h-theme .nx-footer .nxf-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 15% 0%, rgba(26, 140, 255, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 100%, rgba(0, 212, 255, 0.08), transparent 50%),
        linear-gradient(180deg, #060b18 0%, #040810 100%);
}

body.code3h-theme .nx-footer .nxf-shell {
    position: relative;
    z-index: 1;
}

body.code3h-theme .nx-footer .nxf-top-band {
    background: rgba(4, 10, 22, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 140, 255, 0.12);
    padding: clamp(1.5rem, 3.5vw, 2.25rem) 0;
}

body.code3h-theme .nx-footer .nxf-contact-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0, 212, 255, 0.85);
    margin: 0 0 0.35rem;
}

body.code3h-theme .nx-footer .nxf-contact-title {
    font-size: 1.65rem;
    color: #fff;
    margin: 0 0 0.45rem;
}

body.code3h-theme .nx-footer .nxf-contact-sub {
    margin: 0;
    color: rgba(201, 214, 232, 0.72);
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: none;
}

body.code3h-theme .nx-footer .nxf-contact-action {
    display: flex;
    justify-content: flex-end;
}

body.code3h-theme .nx-footer .nxf-brand {
    display: inline-flex;
    text-decoration: none;
    margin-bottom: 1rem;
    color: #fff;
}

body.code3h-theme .nx-footer .nxf-desc {
    font-size: 0.82rem;
    color: rgba(201, 214, 232, 0.48);
    line-height: 1.82;
    max-width: 295px;
    margin-bottom: 1.4rem;
}

body.code3h-theme .nx-footer .nxf-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    padding: 0;
}

body.code3h-theme .nx-footer .nxf-social .list-inline-item {
    margin: 0;
}

body.code3h-theme .nx-footer .nxf-social .btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(26, 140, 255, 0.15);
    border-radius: 9px;
    color: rgba(201, 214, 232, 0.5);
    font-size: 0.88rem;
}

body.code3h-theme .nx-footer .nxf-social .btn:hover {
    background: rgba(26, 140, 255, 0.12);
    border-color: rgba(26, 140, 255, 0.45);
    color: #7ec8ff;
    transform: translateY(-2px);
}

body.code3h-theme .nx-footer .nxf-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

body.code3h-theme .nx-footer .nxf-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(26, 140, 255, 0.12);
    border-radius: 50px;
    padding: 0.2rem 0.72rem;
    font-size: 0.65rem;
    color: rgba(201, 214, 232, 0.45);
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
}

body.code3h-theme .nx-footer .nxf-badge-live i {
    color: var(--nx-green);
    font-size: 0.45rem;
}

body.code3h-theme .nx-footer .nxf-heading {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 212, 255, 0.85);
    margin-bottom: 0.85rem;
}

body.code3h-theme .nx-footer .nxf-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.code3h-theme .nx-footer .nxf-links li {
    margin-bottom: 0.45rem;
}

body.code3h-theme .nx-footer .nxf-links a {
    color: rgba(201, 214, 232, 0.55);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

body.code3h-theme .nx-footer .nxf-links a:hover {
    color: #b4dcff;
}

body.code3h-theme .nx-footer .nxf-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.55rem;
    border-top: 1px solid rgba(26, 140, 255, 0.1);
    padding-top: 1.5rem;
    padding-bottom: 2.25rem;
}

body.code3h-theme .nx-footer .nxf-stat {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(26, 140, 255, 0.1);
    border-radius: 10px;
    padding: 0.85rem 0.7rem;
    text-align: center;
    transition: var(--nx-transition);
}

body.code3h-theme .nx-footer .nxf-stat:hover {
    border-color: rgba(26, 140, 255, 0.28);
    background: rgba(26, 140, 255, 0.06);
}

body.code3h-theme .nx-footer .nxf-stat-val {
    display: block;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(135deg, #1a8cff 0%, #00d4ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #1a8cff !important;
}

body.code3h-theme .nx-footer .nxf-stat-lbl {
    display: block;
    font-size: 0.62rem;
    color: rgba(201, 214, 232, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
}

body.code3h-theme .nx-footer .nxf-bottom {
    background: rgba(0, 0, 0, 0.55);
    border-top: 1px solid rgba(26, 140, 255, 0.08);
    padding: 1.1rem 0;
}

body.code3h-theme .nx-footer .nxf-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

body.code3h-theme .nx-footer .nxf-copy {
    font-size: 0.72rem;
    color: rgba(201, 214, 232, 0.32);
}

body.code3h-theme .nx-footer .nxf-bottom-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

body.code3h-theme .nx-footer .nxf-bottom-link,
body.code3h-theme .nx-footer .nxf-lang-btn {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.71rem;
    color: rgba(201, 214, 232, 0.45);
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

body.code3h-theme .nx-footer .nxf-bottom-link:hover,
body.code3h-theme .nx-footer .nxf-lang-btn:hover {
    color: rgba(180, 220, 255, 0.95);
}

@media (max-width: 767.98px) {
    body.code3h-theme .nx-footer .nxf-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    body.code3h-theme .nx-footer .nxf-contact-action {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    body.code3h-theme .nx-footer .nxf-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Misc WHMCS UI ── */
body.code3h-theme .badge-info {
    background: var(--nx-blue);
}

body.code3h-theme .badge-success {
    background: var(--nx-green);
    color: #041510;
}

body.code3h-theme .domain-checker-result,
body.code3h-theme .promo-banner {
    border-radius: 10px;
}

body.code3h-theme .btn-return-to-admin {
    background: rgba(255, 152, 0, 0.9);
    color: #1a1200;
}

body.code3h-theme #fullpage-overlay {
    background: rgba(4, 8, 16, 0.85);
}

body.code3h-theme .popover {
    background: rgba(6, 11, 24, 0.98);
    border-color: rgba(26, 140, 255, 0.2);
}

body.code3h-theme .popover-body {
    color: var(--nx-text);
}

body.code3h-theme .client-alerts .message {
    color: var(--nx-text);
}

/* =====================================================
   Phase 2: marketing nav, dark surfaces, layout scale
   ===================================================== */

body.code3h-theme {
    font-size: 1rem;
    line-height: 1.65;
}

@media (min-width: 1200px) {
    body.code3h-theme .container {
        max-width: 1200px;
    }
}

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

/* Marketing nav (code3h-html style) */
body.code3h-theme .nx-marketing-nav {
    padding: 0.65rem 0;
    min-height: 72px;
    background: rgba(3, 7, 18, 0.97);
    border-bottom: 1px solid rgba(26, 140, 255, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(26, 140, 255, 0.06);
}

body.code3h-theme .nx-marketing-nav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

body.code3h-theme .nx-marketing-nav .navbar-brand {
    margin-right: 1rem;
    padding: 0.15rem 0;
}

@media (min-width: 992px) {
    body.code3h-theme .nx-marketing-nav__collapse {
        flex: 1 1 auto;
        justify-content: center;
    }
}

body.code3h-theme .nx-marketing-nav .nx-nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
}

body.code3h-theme .nx-marketing-nav .nx-nav-list .nav-link {
    color: rgba(201, 214, 232, 0.88);
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    padding: 0.55rem 1rem;
    transition: color 0.2s ease;
}

body.code3h-theme .nx-marketing-nav .nx-nav-list .nav-link:hover,
body.code3h-theme .nx-marketing-nav .nx-nav-list .nav-link:focus {
    color: var(--nx-cyan);
}

body.code3h-theme .nx-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

body.code3h-theme .btn-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 1.4rem;
    border-radius: 8px;
    border: 1px solid rgba(26, 140, 255, 0.45);
    background: linear-gradient(135deg, #1a8cff, #00b4d8);
    color: #fff;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(26, 140, 255, 0.28);
    transition: var(--nx-transition);
}

body.code3h-theme .btn-nav-cta:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(26, 140, 255, 0.42);
    transform: translateY(-1px);
}

body.code3h-theme .nx-marketing-toolbar {
    flex-direction: row;
    align-items: center;
    margin-left: 0.75rem;
}

body.code3h-theme .nx-marketing-toolbar .cart-btn {
    border: 1px solid rgba(26, 140, 255, 0.25);
    color: var(--nx-text);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
}

body.code3h-theme .nx-marketing-toolbar .cart-btn:hover {
    color: var(--nx-cyan);
    border-color: rgba(26, 140, 255, 0.45);
}

body.code3h-theme .nx-marketing-toggler,
body.code3h-theme .nx-whmcs-toggler {
    border: 1px solid rgba(26, 140, 255, 0.25);
    background: rgba(0, 0, 0, 0.25);
    color: var(--nx-text);
    border-radius: 8px;
    padding: 0.35rem 0.55rem;
}

body.code3h-theme .nx-marketing-toggler__icon {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

@media (max-width: 991.98px) {
    body.code3h-theme .nx-marketing-nav__collapse {
        width: 100%;
        flex-basis: 100%;
        margin-top: 0.65rem;
        padding-top: 0.65rem;
        border-top: 1px solid rgba(26, 140, 255, 0.12);
    }

    body.code3h-theme .nx-marketing-nav .nx-nav-list {
        margin-bottom: 0.5rem;
    }

    body.code3h-theme .nx-nav-actions.d-lg-flex {
        display: none !important;
    }
}

/* WHMCS billing nav row */
body.code3h-theme .nx-whmcs-nav {
    background: rgba(4, 10, 22, 0.92);
    border-bottom: 1px solid rgba(26, 140, 255, 0.1);
}

body.code3h-theme .nx-whmcs-nav .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.55rem 0.85rem;
}

@media (max-width: 1199.98px) {
    body.code3h-theme .nx-whmcs-nav .navbar-collapse {
        background: rgba(6, 11, 24, 0.98);
        border: 1px solid rgba(26, 140, 255, 0.15);
        border-radius: 10px;
        margin: 0.5rem 0 0.75rem;
        padding: 0.75rem;
    }
}

/* Dark theme: kill remaining white surfaces */
body.code3h-theme.primary-bg-color,
body.code3h-theme #main-body,
body.code3h-theme .primary-content {
    background-color: var(--nx-dark);
    color: var(--nx-text);
}

body.code3h-theme header.header {
    background: transparent;
}

body.code3h-theme .card,
body.code3h-theme .mc-promo-manage,
body.code3h-theme .mc-promo-login,
body.code3h-theme .panel-default,
body.code3h-theme .panel,
body.code3h-theme .well {
    background-color: var(--nx-card-bg);
    background-image: none;
}

body.code3h-theme .card-body,
body.code3h-theme .panel-body,
body.code3h-theme .list-group-item,
body.code3h-theme .table,
body.code3h-theme .table td,
body.code3h-theme .table th,
body.code3h-theme .form-control,
body.code3h-theme .custom-select,
body.code3h-theme .input-group-text,
body.code3h-theme .dropdown-menu,
body.code3h-theme .modal-content,
body.code3h-theme .popover-body,
body.code3h-theme .domain-checker-container,
body.code3h-theme .home-domain-search,
body.code3h-theme .tile,
body.code3h-theme .feature-box,
body.code3h-theme .promo-container,
body.code3h-theme .promo-banner,
body.code3h-theme .sidebar .list-group-item,
body.code3h-theme .dataTables_wrapper .table {
    background-color: rgba(8, 14, 32, 0.85);
    color: var(--nx-text);
}

body.code3h-theme .card-header,
body.code3h-theme .card-footer,
body.code3h-theme .panel-heading,
body.code3h-theme .panel-footer,
body.code3h-theme .modal-header,
body.code3h-theme .modal-footer {
    background-color: rgba(0, 0, 0, 0.28);
    border-color: rgba(26, 140, 255, 0.12);
    color: var(--nx-text);
}

body.code3h-theme .master-breadcrumb,
body.code3h-theme .breadcrumb {
    background-color: rgba(4, 10, 22, 0.85);
}

body.code3h-theme .table thead th {
    background-color: rgba(0, 0, 0, 0.25);
}

body.code3h-theme .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.18);
}

body.code3h-theme .table-hover tbody tr:hover {
    background-color: rgba(26, 140, 255, 0.08);
    color: #fff;
}

body.code3h-theme .form-control:focus,
body.code3h-theme .custom-select:focus {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

body.code3h-theme .btn-default,
body.code3h-theme .btn-secondary,
body.code3h-theme .btn-light {
    background-color: rgba(0, 0, 0, 0.35);
    border-color: rgba(26, 140, 255, 0.25);
    color: var(--nx-text);
}

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

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

body.code3h-theme .bg-white,
body.code3h-theme .bg-light {
    background-color: rgba(8, 14, 32, 0.85) !important;
}

body.code3h-theme .domain-promo-box,
body.code3h-theme .home-kb-search,
body.code3h-theme .action-icon-btns a {
    color: var(--nx-text);
}

body.code3h-theme .section-header h2,
body.code3h-theme .section-header p,
body.code3h-theme label,
body.code3h-theme .control-label {
    color: var(--nx-text);
}

body.code3h-theme .nx-brand-name {
    font-size: 1.36rem;
}

body.code3h-theme .nx-brand-sub {
    font-size: 0.58rem;
}

/* =====================================================
   Phase 3: full HTML parity — nav, surfaces, spacing
   ===================================================== */

@keyframes nx-nav-deploy-sheen {
    0%, 78% { transform: translateX(-120%); }
    92% { transform: translateX(120%); }
    100% { transform: translateX(120%); }
}

body.code3h-theme {
    font-size: 1rem;
    line-height: 1.65;
}

@media (min-width: 1200px) {
    body.code3h-theme .container {
        max-width: 1200px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1400px) {
    body.code3h-theme .container {
        max-width: 1320px;
        padding-left: 2.25rem;
        padding-right: 2.25rem;
    }
}

body.code3h-theme #main-body {
    padding-top: 2.75rem;
    padding-bottom: 4rem;
}

body.code3h-theme .card-body,
body.code3h-theme .panel-body {
    padding: 1.75rem 2rem !important;
}

body.code3h-theme .card-header,
body.code3h-theme .card-footer,
body.code3h-theme .panel-heading,
body.code3h-theme .panel-footer {
    padding: 1.1rem 2rem;
}

/* Marketing navbar — HTML nx-navbar parity */
body.code3h-theme .nx-marketing-nav.nx-navbar {
    position: relative;
    padding: 1.15rem 0 0.75rem;
    min-height: 84px;
    background: rgba(3, 7, 18, 0.97);
    border-bottom: 1px solid rgba(26, 140, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(26, 140, 255, 0.06);
}

body.code3h-theme .nx-marketing-nav.nx-navbar:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(26, 140, 255, 0.55) 50%, transparent 100%);
    opacity: 1;
    pointer-events: none;
}

body.code3h-theme .nx-marketing-nav .nx-navbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

@media (min-width: 992px) {
    body.code3h-theme .nx-marketing-nav .nx-nav-menu {
        flex: 1 1 auto;
        justify-content: center;
    }
}

body.code3h-theme .nx-marketing-nav .nx-nav-list .nav-link {
    position: relative;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 0.55rem 1rem !important;
    border-radius: 7px;
}

body.code3h-theme .nx-marketing-nav .nx-nav-list .nav-link:after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a8cff, #00d4ff);
    transition: width 0.28s ease;
    border-radius: 2px;
}

body.code3h-theme .nx-marketing-nav .nx-nav-list .nav-link:hover {
    color: #fff !important;
    background: rgba(26, 140, 255, 0.07);
}

body.code3h-theme .nx-marketing-nav .nx-nav-list .nav-link:hover:after {
    width: 55%;
}

body.code3h-theme .nx-marketing-nav .btn-nav-deploy {
    position: relative;
    overflow: hidden;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.96rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.62rem 1.35rem;
    background: transparent !important;
    border: 1px solid rgba(26, 140, 255, 0.45);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}

body.code3h-theme .nx-marketing-nav .btn-nav-deploy:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: nx-nav-deploy-sheen 4.5s ease-in-out infinite;
    pointer-events: none;
}

body.code3h-theme .nx-marketing-nav .btn-nav-deploy:hover {
    background: rgba(26, 140, 255, 0.12) !important;
    border-color: rgba(0, 212, 255, 0.55);
    color: #fff;
}

body.code3h-theme .nx-marketing-nav .btn-nav-cta {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.58rem 1.4rem;
    background: linear-gradient(135deg, #1a8cff, #00b4d8) !important;
    border: none;
    border-radius: 7px;
    color: #fff;
    box-shadow: 0 0 12px rgba(26, 140, 255, 0.32);
}

body.code3h-theme .nx-marketing-nav .btn-nav-cta:hover {
    box-shadow: 0 0 32px rgba(26, 140, 255, 0.75);
    transform: translateY(-1px);
    color: #fff;
}

body.code3h-theme .nx-marketing-nav .nx-hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid rgba(26, 140, 255, 0.25);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
}

body.code3h-theme .nx-marketing-nav .ham-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--nx-text);
    border-radius: 2px;
}

@media (max-width: 991.98px) {
    body.code3h-theme .nx-marketing-nav.nx-navbar {
        padding: 0.72rem 0;
        min-height: 68px;
    }

    body.code3h-theme .nx-marketing-nav .nx-nav-menu {
        width: 100%;
        flex-basis: 100%;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(26, 140, 255, 0.12);
    }
}

/* Logo — HTML sizing */
body.code3h-theme .nx-brand-mark {
    width: 42px;
    height: 42px;
}

body.code3h-theme .nx-brand-name {
    font-size: 1.42rem;
    letter-spacing: 0.055em;
}

body.code3h-theme .nx-footer .nxf-stat .nxf-stat-val {
    background: linear-gradient(135deg, #1a8cff 0%, #00d4ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #1a8cff !important;
}

body.code3h-theme .nx-footer .nxf-stat .nxf-stat-lbl {
    font-size: 0.6rem;
    color: rgba(201, 214, 232, 0.35);
}

/* Client area tiles */
body.code3h-theme .tiles .tile {
    background-color: rgba(8, 14, 32, 0.88) !important;
    border-right: 1px solid rgba(26, 140, 255, 0.12) !important;
    padding: 1.35rem 1.5rem;
    min-height: 120px;
}

body.code3h-theme .tiles .tile:hover {
    background-color: rgba(26, 140, 255, 0.08) !important;
}

body.code3h-theme .tiles .tile .stat {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1a8cff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1a8cff;
}

body.code3h-theme .tiles .tile .title {
    color: rgba(201, 214, 232, 0.55);
    font-size: 0.78rem;
}

body.code3h-theme .tiles .tile i {
    color: rgba(26, 140, 255, 0.18);
}

@media (max-width: 1199.98px) {
    body.code3h-theme .tiles div:nth-child(1) > .tile,
    body.code3h-theme .tiles div:nth-child(2) > .tile {
        border-bottom: 1px solid rgba(26, 140, 255, 0.12) !important;
    }
}

/* Domain search */
body.code3h-theme .home-domain-search,
body.code3h-theme .home-domain-search.bg-white,
body.code3h-theme .nx-domain-search {
    background: linear-gradient(180deg, rgba(8, 14, 32, 0.95) 0%, rgba(6, 11, 24, 0.98) 100%) !important;
    border-top: 1px solid rgba(26, 140, 255, 0.1);
    border-bottom: 1px solid rgba(26, 140, 255, 0.1);
}

body.code3h-theme .home-domain-search .p-5 {
    padding: 2.5rem 1.75rem !important;
}

body.code3h-theme .home-domain-search h2 {
    color: #fff;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 1.75rem;
}

body.code3h-theme .home-domain-search .input-group-wrapper {
    background-color: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(26, 140, 255, 0.22) !important;
    border-radius: 10px;
}

body.code3h-theme .home-domain-search .tld-logos {
    color: var(--nx-muted);
}

/* Tabs */
body.code3h-theme .nav-tabs {
    border-bottom-color: rgba(26, 140, 255, 0.15);
}

body.code3h-theme .nav-tabs .nav-link {
    color: rgba(201, 214, 232, 0.65);
    border-color: transparent;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.15rem;
}

body.code3h-theme .nav-tabs .nav-link:hover {
    color: var(--nx-cyan);
    background: rgba(26, 140, 255, 0.06);
}

body.code3h-theme .nav-tabs .nav-link.active,
body.code3h-theme .nav-tabs .nav-item.show .nav-link {
    color: #fff !important;
    background-color: rgba(8, 14, 32, 0.95) !important;
    border-color: rgba(26, 140, 255, 0.2) rgba(26, 140, 255, 0.2) rgba(8, 14, 32, 0.95) !important;
}

body.code3h-theme .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #1a8cff, #00b4d8);
}

/* Tables */
body.code3h-theme .dataTables_wrapper table.table-list {
    border: 1px solid rgba(26, 140, 255, 0.15) !important;
    border-radius: 10px;
    background: transparent !important;
}

body.code3h-theme .dataTables_wrapper table.table-list thead th {
    background-color: rgba(0, 0, 0, 0.35) !important;
    border-bottom: 2px solid rgba(26, 140, 255, 0.2) !important;
    color: var(--nx-cyan);
    font-family: 'Rajdhani', system-ui, sans-serif;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

body.code3h-theme .dataTables_wrapper table.table-list thead th.sorting_asc,
body.code3h-theme .dataTables_wrapper table.table-list thead th.sorting_desc {
    background-color: rgba(26, 140, 255, 0.1) !important;
}

body.code3h-theme .table td,
body.code3h-theme .table th,
body.code3h-theme .dataTables_wrapper table.table-list td {
    border-color: rgba(26, 140, 255, 0.08) !important;
    background-color: transparent;
}

body.code3h-theme .dataTables_wrapper .dataTables_filter label .form-control {
    background-color: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(26, 140, 255, 0.2);
    color: var(--nx-text);
}

body.code3h-theme .dataTables_empty,
body.code3h-theme td.dataTables_empty {
    background-color: rgba(8, 14, 32, 0.6) !important;
    color: var(--nx-muted) !important;
}

body.code3h-theme .dataTables_wrapper .dataTables_info,
body.code3h-theme .dataTables_wrapper .dataTables_length label {
    color: var(--nx-muted);
}

/* Softer borders */
body.code3h-theme .card,
body.code3h-theme .panel,
body.code3h-theme .list-group-item,
body.code3h-theme .modal-content,
body.code3h-theme .dropdown-menu {
    border-color: rgba(26, 140, 255, 0.12) !important;
}

body.code3h-theme .list-group-item-action:hover {
    background-color: rgba(26, 140, 255, 0.08);
}

body.code3h-theme .list-group-item.active {
    background-color: rgba(26, 140, 255, 0.16) !important;
    border-color: rgba(26, 140, 255, 0.35) !important;
    color: #fff;
}

body.code3h-theme .client-home-cards .card {
    background-color: rgba(8, 14, 32, 0.88) !important;
    border: 1px solid rgba(26, 140, 255, 0.12);
}

body.code3h-theme .client-home-cards .card-header {
    background: rgba(0, 0, 0, 0.28);
}

body.code3h-theme .client-home-cards .card-title {
    color: #fff;
}

body.code3h-theme .nx-whmcs-nav {
    padding: 0.35rem 0;
}

body.code3h-theme .master-breadcrumb .breadcrumb {
    padding: 0.65rem 0;
    font-size: 0.92rem;
}

body.code3h-theme .section-header h2 {
    font-size: 1.65rem;
    color: #fff;
}

body.code3h-theme .home-domain-search .input-group-wrapper .advanced-input label {
    color: var(--nx-muted) !important;
}

body.code3h-theme .multiselect-container {
    background-color: rgba(6, 11, 24, 0.98) !important;
}

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

/* =====================================================
   Phase 4: full dark sweep + HTML nav parity
   ===================================================== */

/* Marketing nav — HTML hover / active (no Deploy / Client Area) */
body.code3h-theme .nx-marketing-nav.nx-navbar .nx-nav-list .nav-link {
    position: relative;
    font-family: 'Rajdhani', system-ui, sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 0.55rem 1rem !important;
    border-radius: 7px !important;
    background: transparent !important;
}

body.code3h-theme .nx-marketing-nav.nx-navbar .nx-nav-list .nav-link:after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a8cff, #00d4ff);
    transition: width 0.28s ease;
    border-radius: 2px;
}

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;
    background: rgba(26, 140, 255, 0.07) !important;
}

body.code3h-theme .nx-marketing-nav.nx-navbar .nx-nav-list .nav-link:hover:after,
body.code3h-theme .nx-marketing-nav.nx-navbar .nx-nav-list .nav-link:focus:after {
    width: 55%;
}

body.code3h-theme .nx-marketing-nav.nx-navbar .nx-nav-list .nav-link.active {
    color: var(--nx-cyan) !important;
    background: rgba(26, 140, 255, 0.05) !important;
}

body.code3h-theme .nx-marketing-nav.nx-navbar .nx-nav-list .nav-link.active:after {
    width: 55%;
}

/* Hide leftover deploy/cta if any */
body.code3h-theme .nx-marketing-nav .nx-nav-actions,
body.code3h-theme .nx-marketing-nav .btn-nav-deploy,
body.code3h-theme .nx-marketing-nav .btn-nav-cta {
    display: none !important;
}

body.code3h-theme .nx-marketing-nav .nx-marketing-toolbar {
    margin-left: auto;
}

/* Sidebar boxes (Announcements, Network Status, KB, etc.) */
body.code3h-theme .sidebar .card,
body.code3h-theme .sidebar .card-sidebar,
body.code3h-theme .card.card-sidebar {
    background-color: rgba(8, 14, 32, 0.92) !important;
    border: 1px solid rgba(26, 140, 255, 0.12) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .sidebar .card-header,
body.code3h-theme .card-sidebar > .card-header {
    background: rgba(0, 0, 0, 0.32) !important;
    border-bottom: 1px solid rgba(26, 140, 255, 0.1) !important;
    color: #fff !important;
}

body.code3h-theme .sidebar .card-title,
body.code3h-theme .card-sidebar .card-title {
    color: #fff !important;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

body.code3h-theme .sidebar .card-body,
body.code3h-theme .card-sidebar .card-body,
body.code3h-theme .sidebar .collapsable-card-body {
    background-color: transparent !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .sidebar .card-footer,
body.code3h-theme .card-sidebar .card-footer {
    background: rgba(0, 0, 0, 0.22) !important;
    border-top: 1px solid rgba(26, 140, 255, 0.08) !important;
}

body.code3h-theme .sidebar .list-group,
body.code3h-theme .card-sidebar .list-group {
    background: transparent !important;
}

body.code3h-theme .sidebar .list-group-item,
body.code3h-theme .card-sidebar .list-group-item {
    background-color: transparent !important;
    border-color: rgba(26, 140, 255, 0.08) !important;
    color: rgba(201, 214, 232, 0.82) !important;
}

body.code3h-theme .sidebar .list-group-item-action:hover,
body.code3h-theme .card-sidebar .list-group-item-action:hover {
    background-color: rgba(26, 140, 255, 0.08) !important;
    color: var(--nx-cyan) !important;
}

body.code3h-theme .sidebar .list-group-item.active,
body.code3h-theme .card-sidebar .list-group-item.active {
    background-color: rgba(26, 140, 255, 0.16) !important;
    border-color: rgba(26, 140, 255, 0.35) !important;
    color: #fff !important;
}

body.code3h-theme .sidebar .list-group-item .badge,
body.code3h-theme .card-sidebar .list-group-item .badge,
body.code3h-theme .sidebar-menu-item-badge .badge {
    background-color: rgba(26, 140, 255, 0.18) !important;
    color: var(--nx-cyan) !important;
    border: 1px solid rgba(26, 140, 255, 0.25);
}

body.code3h-theme .sidebar .list-group-item > i.far.fa-circle {
    color: var(--nx-muted) !important;
}

body.code3h-theme .sidebar-menu-item-icon {
    color: rgba(26, 140, 255, 0.55) !important;
}

/* Blockquotes / announcement articles */
body.code3h-theme blockquote,
body.code3h-theme .blockquote {
    background-color: rgba(8, 14, 32, 0.8) !important;
    border-left: 4px solid var(--nx-blue) !important;
    color: var(--nx-text) !important;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

body.code3h-theme .blockquote-footer {
    color: var(--nx-muted) !important;
}

body.code3h-theme .announcements .announcement article {
    background-color: rgba(8, 14, 32, 0.85) !important;
    border-left: 4px solid var(--nx-blue) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .announcements .announcement article p {
    color: var(--nx-text) !important;
}

/* Domain search inputs */
body.code3h-theme .home-domain-search .form-control,
body.code3h-theme .home-domain-search textarea,
body.code3h-theme .home-domain-search input[type="text"],
body.code3h-theme .nx-domain-search .form-control {
    background-color: rgba(0, 0, 0, 0.4) !important;
    color: var(--nx-text) !important;
    border: none !important;
}

body.code3h-theme .home-domain-search .input-group-wrapper .form-control:focus,
body.code3h-theme .home-domain-search textarea:focus {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.code3h-theme .home-domain-search h2,
body.code3h-theme .home-domain-search .text-center {
    color: #fff !important;
}

/* Cart / order summary / promo / pricing (Standard Cart + common WHMCS) */
body.code3h-theme #order-standard_cart,
body.code3h-theme #order-standard_cart .cart-body,
body.code3h-theme #order-standard_cart .sidebar-collapsed,
body.code3h-theme #order-standard_cart .cart-sidebar,
body.code3h-theme #order-standard_cart .order-summary,
body.code3h-theme #order-standard_cart .summary-container,
body.code3h-theme #order-standard_cart .view-cart-items,
body.code3h-theme #order-standard_cart .view-cart-items-header,
body.code3h-theme #order-standard_cart .view-cart-empty,
body.code3h-theme #order-standard_cart .panel,
body.code3h-theme #order-standard_cart .panel-default,
body.code3h-theme #order-standard_cart .panel-heading,
body.code3h-theme #order-standard_cart .panel-body,
body.code3h-theme #order-standard_cart .panel-footer,
body.code3h-theme #order-standard_cart .product,
body.code3h-theme #order-standard_cart .product-info,
body.code3h-theme #order-standard_cart .product-details,
body.code3h-theme #order-standard_cart #scrollingPanelContainer,
body.code3h-theme .products .product,
body.code3h-theme .product-details,
body.code3h-theme .product-info,
body.code3h-theme .pricing-table,
body.code3h-theme .pricing-item,
body.code3h-theme .package,
body.code3h-theme .package-content {
    background-color: rgba(8, 14, 32, 0.9) !important;
    color: var(--nx-text) !important;
    border-color: rgba(26, 140, 255, 0.12) !important;
}

body.code3h-theme #order-standard_cart .order-summary h2,
body.code3h-theme #order-standard_cart .cart-sidebar h3,
body.code3h-theme #order-standard_cart .subtotal,
body.code3h-theme #order-standard_cart .recurring-totals,
body.code3h-theme #order-standard_cart .summary-total {
    color: var(--nx-text) !important;
}

body.code3h-theme #order-standard_cart .view-cart-items .item,
body.code3h-theme #order-standard_cart .view-cart-items .item:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(26, 140, 255, 0.08) !important;
}

body.code3h-theme #order-standard_cart .promo-code,
body.code3h-theme #order-standard_cart #applyPromo,
body.code3h-theme #order-standard_cart .promo,
body.code3h-theme .promo-box,
body.code3h-theme .promotion-code {
    background-color: rgba(8, 14, 32, 0.88) !important;
    border: 1px solid rgba(26, 140, 255, 0.12) !important;
}

/* Global form controls (stronger) */
body.code3h-theme input.form-control,
body.code3h-theme textarea.form-control,
body.code3h-theme select.form-control,
body.code3h-theme select.custom-select,
body.code3h-theme .custom-file-label {
    background-color: rgba(0, 0, 0, 0.38) !important;
    border-color: rgba(26, 140, 255, 0.2) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme input.form-control:focus,
body.code3h-theme textarea.form-control:focus,
body.code3h-theme select.form-control:focus,
body.code3h-theme select.custom-select:focus {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(26, 140, 255, 0.45) !important;
    color: #fff !important;
    box-shadow: 0 0 0 2px rgba(26, 140, 255, 0.12) !important;
}

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

/* Bootstrap utility overrides */
body.code3h-theme .bg-white,
body.code3h-theme .bg-light,
body.code3h-theme .card.bg-light,
body.code3h-theme .list-group-item.bg-light {
    background-color: rgba(8, 14, 32, 0.88) !important;
    color: var(--nx-text) !important;
}

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

body.code3h-theme .border,
body.code3h-theme .border-top,
body.code3h-theme .border-bottom,
body.code3h-theme .border-left,
body.code3h-theme .border-right {
    border-color: rgba(26, 140, 255, 0.12) !important;
}

/* Tabs (stronger) */
body.code3h-theme .nav-tabs .nav-link.active,
body.code3h-theme .nav-tabs .nav-item.show .nav-link {
    background-color: rgba(8, 14, 32, 0.95) !important;
    color: var(--nx-cyan) !important;
    border-color: rgba(26, 140, 255, 0.2) rgba(26, 140, 255, 0.2) rgba(8, 14, 32, 0.95) !important;
}

body.code3h-theme .tab-content,
body.code3h-theme .tab-pane {
    background: transparent !important;
    color: var(--nx-text) !important;
}

/* Tables (stronger) */
body.code3h-theme .table,
body.code3h-theme .table-responsive {
    background-color: transparent !important;
}

body.code3h-theme .table td,
body.code3h-theme .table th {
    background-color: transparent !important;
    border-color: rgba(26, 140, 255, 0.08) !important;
}

body.code3h-theme .dataTables_wrapper table.table-list tbody tr {
    background-color: transparent !important;
}

body.code3h-theme .dataTables_wrapper table.table-list tbody tr.odd,
body.code3h-theme .dataTables_wrapper table.table-list tbody tr.even {
    background-color: rgba(0, 0, 0, 0.15) !important;
}

/* Cards everywhere */
body.code3h-theme .card,
body.code3h-theme .panel-default,
body.code3h-theme .panel {
    background-color: rgba(8, 14, 32, 0.9) !important;
    border-color: rgba(26, 140, 255, 0.12) !important;
}

body.code3h-theme .card-header,
body.code3h-theme .panel-heading {
    background-color: rgba(0, 0, 0, 0.28) !important;
    border-color: rgba(26, 140, 255, 0.1) !important;
    color: #fff !important;
}

body.code3h-theme .card-body,
body.code3h-theme .panel-body {
    background-color: transparent !important;
}

/* Modals, dropdowns, popovers */
body.code3h-theme .modal-header {
    background-color: rgba(0, 0, 0, 0.32) !important;
    border-color: rgba(26, 140, 255, 0.12) !important;
}

body.code3h-theme .dropdown-menu {
    background-color: rgba(6, 11, 24, 0.98) !important;
    border-color: rgba(26, 140, 255, 0.15) !important;
}

body.code3h-theme .dropdown-item {
    color: var(--nx-text) !important;
}

body.code3h-theme .dropdown-item:hover,
body.code3h-theme .dropdown-item:focus {
    background-color: rgba(26, 140, 255, 0.1) !important;
    color: #fff !important;
}

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

/* Network status / alerts on homepage */
body.code3h-theme .network-issue-alert {
    background-color: rgba(8, 14, 32, 0.9) !important;
    border-color: rgba(26, 140, 255, 0.15) !important;
    color: var(--nx-text) !important;
}

/* Footer stats — ensure gradient */
body.code3h-theme .nx-footer .nxf-stat-val,
body.code3h-theme .nx-footer .nxf-stat .nxf-stat-val {
    background: linear-gradient(135deg, #1a8cff 0%, #00d4ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #1a8cff !important;
}

/* Accordion */
body.code3h-theme .accordion .card-header {
    background-color: rgba(0, 0, 0, 0.28) !important;
}

body.code3h-theme .accordion .card-body {
    background-color: rgba(8, 14, 32, 0.85) !important;
}

/* Homepage pricing plans + action boxes */
body.code3h-theme .card-columns.home .card,
body.code3h-theme .card-columns.home .card .card-body {
    background-color: rgba(8, 14, 32, 0.9) !important;
    border-color: rgba(26, 140, 255, 0.12) !important;
    color: var(--nx-text) !important;
}

body.code3h-theme .card-columns.home .pricing-card-title,
body.code3h-theme .card-columns.home .card-title {
    color: #fff !important;
    font-family: 'Rajdhani', system-ui, sans-serif;
}

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

body.code3h-theme .action-icon-btns a:hover {
    background-color: rgba(26, 140, 255, 0.1) !important;
    color: #fff !important;
    border-color: rgba(26, 140, 255, 0.25) !important;
}

body.code3h-theme .action-icon-btns a .ico-container i {
    color: rgba(26, 140, 255, 0.45) !important;
}

body.code3h-theme .client-home-cards .card-header {
    background-color: rgba(0, 0, 0, 0.28) !important;
    color: #fff !important;
}

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

body.code3h-theme .announce-badge,
body.code3h-theme .nx-announce .announce-badge {
    background: rgba(0, 212, 255, 0.14) !important;
    border: 1px solid rgba(0, 212, 255, 0.35) !important;
    color: #7ee8ff !important;
}

body.code3h-theme .home-domain-search .input-group-wrapper .advanced-input label {
    color: var(--nx-muted) !important;
}

body.code3h-theme .home-domain-search .btn-link {
    color: var(--nx-cyan) !important;
}

/* =====================================================
   Phase 5: HTML scale — width, padding, type, controls
   ===================================================== */

body.code3h-theme {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

body.code3h-theme p,
body.code3h-theme li,
body.code3h-theme dd,
body.code3h-theme .list-group-item,
body.code3h-theme .table,
body.code3h-theme label,
body.code3h-theme .form-control-label {
    line-height: 1.65;
}

@media (min-width: 768px) {
    body.code3h-theme .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

body.code3h-theme h1,
body.code3h-theme .h1 {
    font-size: calc(1.375rem + 1.2vw);
    line-height: 1.2;
}

body.code3h-theme h2,
body.code3h-theme .h2 {
    font-size: calc(1.325rem + 0.75vw);
    line-height: 1.25;
}

body.code3h-theme h3,
body.code3h-theme .h3 {
    font-size: calc(1.2rem + 0.35vw);
    line-height: 1.3;
}

@media (min-width: 1200px) {
    body.code3h-theme h1,
    body.code3h-theme .h1 {
        font-size: 2.5rem;
    }

    body.code3h-theme h2,
    body.code3h-theme .h2 {
        font-size: 2rem;
    }

    body.code3h-theme h3,
    body.code3h-theme .h3 {
        font-size: 1.75rem;
    }
}

/* Marketing nav — HTML sizes */
body.code3h-theme .nx-marketing-nav.nx-navbar {
    padding: 1.15rem 0 0.75rem !important;
    min-height: 84px !important;
}

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

body.code3h-theme .nx-marketing-nav .nx-brand-name {
    font-size: 1.42rem;
}

body.code3h-theme .nx-marketing-nav .nx-brand-sub {
    font-size: 0.62rem;
}

/* WHMCS billing nav */
body.code3h-theme header.header .navbar.navbar-light {
    padding: 0.75rem 0;
}

body.code3h-theme header.header .navbar-nav .nav-link,
body.code3h-theme .nx-whmcs-nav .navbar-nav .nav-link {
    font-size: 1rem !important;
    padding: 0.62rem 1rem !important;
    line-height: 1.65 !important;
}

body.code3h-theme header.header .topbar {
    padding: 0.45rem 0;
    font-size: 0.95rem;
}

/* Forms — HTML .form-control parity */
body.code3h-theme .form-control,
body.code3h-theme .custom-select,
body.code3h-theme select.form-control,
body.code3h-theme textarea.form-control {
    height: auto !important;
    min-height: calc(1.65em + 1.4rem + 2px) !important;
    padding: 0.7rem 1rem !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    border-radius: 8px !important;
}

body.code3h-theme .input-group-text {
    padding: 0.7rem 1rem !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    border-radius: 8px !important;
}

body.code3h-theme .custom-file-label {
    min-height: calc(1.65em + 1.4rem + 2px) !important;
    padding: 0.7rem 1rem !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
}

body.code3h-theme .form-group,
body.code3h-theme .form-row,
body.code3h-theme .mb-3 {
    margin-bottom: 1.25rem !important;
}

/* Buttons — HTML scale */
body.code3h-theme .btn {
    padding: 0.5rem 1rem !important;
    font-family: 'Rajdhani', system-ui, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
    border-radius: 8px !important;
}

body.code3h-theme .btn-lg,
body.code3h-theme .btn-group-lg > .btn {
    padding: 0.65rem 1.35rem !important;
    font-size: 1.05rem !important;
    border-radius: 9px !important;
}

body.code3h-theme .btn-sm,
body.code3h-theme .btn-group-sm > .btn {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.875rem !important;
}

body.code3h-theme .btn-block {
    padding-top: 0.62rem !important;
    padding-bottom: 0.62rem !important;
}

body.code3h-theme .btn-nx-primary,
body.code3h-theme .btn-primary,
body.code3h-theme .btn-success {
    padding: 0.72rem 1.5rem !important;
    font-size: 0.97rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 9px !important;
}

body.code3h-theme .home-domain-search .input-group-wrapper {
    padding: 0.55rem !important;
    border-radius: 10px !important;
}

body.code3h-theme .home-domain-search .input-group-wrapper .btn {
    padding: 0.62rem 1.25rem !important;
    font-size: 0.97rem !important;
}

body.code3h-theme .home-domain-search .p-5 {
    padding: 3rem 2rem !important;
}

body.code3h-theme .home-domain-search h2 {
    font-size: 1.85rem !important;
    margin-bottom: 1.25rem !important;
}

/* Sidebar + homepage panels */
body.code3h-theme .sidebar .list-group-item,
body.code3h-theme .card-sidebar .list-group-item {
    padding: 0.65rem 1.1rem !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
}

body.code3h-theme .sidebar .card-title,
body.code3h-theme .card-sidebar .card-title {
    font-size: 1.05rem !important;
}

body.code3h-theme .card-columns.home .card-body {
    padding: 2rem 1.75rem !important;
}

body.code3h-theme .card-columns.home .pricing-card-title {
    font-size: 1.35rem !important;
}

body.code3h-theme .action-icon-btns a {
    padding: 1.15rem 0.75rem 1.35rem !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
}

body.code3h-theme .action-icon-btns a .ico-container {
    line-height: 60px !important;
    font-size: 2.75em !important;
}

body.code3h-theme .tiles .tile {
    padding: 1.35rem 1.15rem !important;
}

body.code3h-theme .tiles .tile .stat {
    font-size: 2rem !important;
}

body.code3h-theme .nav-tabs .nav-link {
    padding: 0.85rem 1.25rem !important;
    font-size: 1rem !important;
}

body.code3h-theme .section-header {
    margin-bottom: 1.75rem !important;
}

body.code3h-theme .section-header h2 {
    font-size: 1.75rem !important;
    margin-bottom: 0.65rem !important;
}

body.code3h-theme .master-breadcrumb {
    padding: 0.85rem 0 !important;
    font-size: 0.95rem !important;
}

body.code3h-theme .primary-content > .m-4,
body.code3h-theme .primary-content > h2.text-center {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

body.code3h-theme .row.my-5 {
    margin-top: 2.75rem !important;
    margin-bottom: 2.75rem !important;
}

