


/* =========================================================
   Rootium WHMCS Style v18
   Base: working Twenty-One theme.
   Safe: no Order Now / Continue interception.
   ========================================================= */

:root {
    --ri-bg: #050812;
    --ri-bg-2: #08101f;
    --ri-card: #0b1428;
    --ri-card-2: #101d38;
    --ri-border: rgba(109, 245, 167, 0.20);
    --ri-border-soft: rgba(255,255,255,.085);
    --ri-text: #f6fff9;
    --ri-muted: #aab8cc;
    --ri-green: #6df5a7;
    --ri-cyan: #7dd3fc;
    --ri-blue: #38bdf8;
}

html,
body.rootium-whmcs-rootium,
body.primary-bg-color.rootium-whmcs-rootium {
    background:
        radial-gradient(circle at top left, rgba(109,245,167,.075), transparent 30%),
        radial-gradient(circle at 80% 0%, rgba(56,189,248,.08), transparent 28%),
        var(--ri-bg) !important;
    color: var(--ri-text) !important;
    font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rootium-whmcs-rootium a {
    color: var(--ri-green);
}

.rootium-whmcs-rootium a:hover {
    color: var(--ri-cyan);
}

/* Sale strip */
.ri-sale-strip {
    background: linear-gradient(90deg, rgba(109,245,167,.14), rgba(125,211,252,.08));
    border-bottom: 1px solid var(--ri-border);
    color: var(--ri-text);
    font-size: 13px;
}

.ri-sale-strip .container {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ri-sale-strip strong,
.ri-sale-strip b {
    color: var(--ri-green);
}

.ri-sale-strip a {
    margin-left: auto;
    color: #03120b !important;
    background: linear-gradient(135deg, var(--ri-green), var(--ri-cyan));
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

/* Header / navbar */
.rootium-whmcs-rootium #header,
.rootium-whmcs-rootium .header,
.rootium-whmcs-rootium .navbar,
.rootium-whmcs-rootium .main-navbar-wrapper {
    background: rgba(5, 8, 18, .96) !important;
    border-color: rgba(255,255,255,.08) !important;
}

.rootium-whmcs-rootium #header {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.rootium-whmcs-rootium .navbar-brand,
.rootium-whmcs-rootium .navbar-brand img {
    color: #fff !important;
    font-weight: 900;
}

.rootium-whmcs-rootium .navbar-brand {
    letter-spacing: .02em;
}

.rootium-whmcs-rootium .navbar-brand:before {
    content: "R";
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 10px;
    background: rgba(109,245,167,.12);
    border: 1px solid rgba(109,245,167,.25);
    color: var(--ri-green);
    font-weight: 900;
}

.rootium-whmcs-rootium .navbar-nav .nav-link,
.rootium-whmcs-rootium .navbar-nav > li > a,
.rootium-whmcs-rootium .nav-link {
    color: var(--ri-muted) !important;
    font-weight: 800;
}

.rootium-whmcs-rootium .navbar-nav .nav-link:hover,
.rootium-whmcs-rootium .navbar-nav > li > a:hover,
.rootium-whmcs-rootium .nav-link:hover {
    color: var(--ri-green) !important;
}

.rootium-whmcs-rootium .dropdown-menu {
    background: #071022;
    border: 1px solid var(--ri-border);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

.rootium-whmcs-rootium .dropdown-item,
.rootium-whmcs-rootium .dropdown-menu a {
    color: var(--ri-muted) !important;
}

.rootium-whmcs-rootium .dropdown-item:hover,
.rootium-whmcs-rootium .dropdown-menu a:hover {
    background: rgba(109,245,167,.12);
    color: #fff !important;
}

.rootium-whmcs-rootium .cart-btn {
    border: 1px solid var(--ri-border);
    background: rgba(109,245,167,.08);
    border-radius: 999px;
}

.rootium-whmcs-rootium .badge-info {
    background: var(--ri-green);
    color: #03120b;
}

/* Breadcrumb */
.rootium-whmcs-rootium .master-breadcrumb {
    background: rgba(255,255,255,.025);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.rootium-whmcs-rootium .breadcrumb {
    background: transparent;
}

.rootium-whmcs-rootium .breadcrumb-item,
.rootium-whmcs-rootium .breadcrumb-item a {
    color: var(--ri-muted) !important;
}

/* Main body */
.rootium-whmcs-rootium #main-body {
    background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
        transparent !important;
    background-size: 40px 40px;
    color: var(--ri-text);
}

.rootium-whmcs-rootium .main-content,
.rootium-whmcs-rootium .primary-content {
    color: var(--ri-text);
}

.rootium-whmcs-rootium h1,
.rootium-whmcs-rootium h2,
.rootium-whmcs-rootium h3,
.rootium-whmcs-rootium h4,
.rootium-whmcs-rootium h5,
.rootium-whmcs-rootium h6,
.rootium-whmcs-rootium .header-lined h1 {
    color: #fff;
    font-weight: 900;
}

.rootium-whmcs-rootium .header-lined h1 {
    letter-spacing: -.04em;
}

/* Cards / panels */
.rootium-whmcs-rootium .card,
.rootium-whmcs-rootium .panel,
.rootium-whmcs-rootium .panel-sidebar,
.rootium-whmcs-rootium .client-home-cards .card,
.rootium-whmcs-rootium #order-standard_cart .product,
.rootium-whmcs-rootium #orderSummary,
.rootium-whmcs-rootium .view-cart-items,
.rootium-whmcs-rootium .cart-items,
.rootium-whmcs-rootium .checkout-form,
.rootium-whmcs-rootium #frmCheckout {
    background: rgba(11, 20, 40, .96) !important;
    color: var(--ri-text) !important;
    border-color: var(--ri-border) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.20);
}

.rootium-whmcs-rootium .card-header,
.rootium-whmcs-rootium .panel-heading,
.rootium-whmcs-rootium #order-standard_cart .product header,
.rootium-whmcs-rootium #orderSummary .order-summary h2 {
    background: rgba(109,245,167,.09) !important;
    color: #fff !important;
    border-color: var(--ri-border) !important;
}

.rootium-whmcs-rootium .card-body,
.rootium-whmcs-rootium .panel-body {
    color: var(--ri-text);
}

/* Sidebar */
.rootium-whmcs-rootium .list-group-item {
    background: transparent !important;
    color: var(--ri-muted) !important;
    border-color: rgba(255,255,255,.075) !important;
}

.rootium-whmcs-rootium .list-group-item:hover,
.rootium-whmcs-rootium .list-group-item.active {
    background: rgba(109,245,167,.12) !important;
    color: #fff !important;
}

/* Tables */
.rootium-whmcs-rootium table,
.rootium-whmcs-rootium .table {
    color: var(--ri-text);
}

.rootium-whmcs-rootium .table td,
.rootium-whmcs-rootium .table th {
    border-color: rgba(255,255,255,.08);
}

.rootium-whmcs-rootium .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255,255,255,.025);
}

/* Forms */
.rootium-whmcs-rootium input.form-control,
.rootium-whmcs-rootium select.form-control,
.rootium-whmcs-rootium select.custom-select,
.rootium-whmcs-rootium textarea.form-control,
.rootium-whmcs-rootium #order-standard_cart input.form-control,
.rootium-whmcs-rootium #order-standard_cart select.form-control,
.rootium-whmcs-rootium #order-standard_cart select.custom-select,
.rootium-whmcs-rootium #order-standard_cart textarea.form-control {
    background: #071022 !important;
    color: #fff !important;
    border-color: rgba(148,163,184,.32) !important;
    border-radius: 12px;
}

.rootium-whmcs-rootium input.form-control:focus,
.rootium-whmcs-rootium select.form-control:focus,
.rootium-whmcs-rootium textarea.form-control:focus {
    border-color: rgba(109,245,167,.75) !important;
    box-shadow: 0 0 0 3px rgba(109,245,167,.12) !important;
}

.rootium-whmcs-rootium option {
    background: #071022;
    color: #fff;
}

.rootium-whmcs-rootium label {
    color: var(--ri-text);
    font-weight: 700;
}

/* Buttons */
.rootium-whmcs-rootium .btn-primary,
.rootium-whmcs-rootium .btn-success,
.rootium-whmcs-rootium #order-standard_cart .btn-primary,
.rootium-whmcs-rootium #order-standard_cart .btn-success,
.rootium-whmcs-rootium #order-standard_cart #btnCompleteProductConfig {
    background: linear-gradient(135deg, var(--ri-green), var(--ri-cyan)) !important;
    border: 0 !important;
    color: #03120b !important;
    font-weight: 900;
    border-radius: 999px;
}

.rootium-whmcs-rootium .btn-default,
.rootium-whmcs-rootium .btn-light,
.rootium-whmcs-rootium .btn-secondary {
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.14) !important;
    border-radius: 999px;
}

/* WHMCS cart styling, behaviour untouched */
.rootium-whmcs-rootium #order-standard_cart {
    color: var(--ri-text) !important;
}

.rootium-whmcs-rootium #order-standard_cart .price,
.rootium-whmcs-rootium #order-standard_cart .amt,
.rootium-whmcs-rootium #order-standard_cart .total-due-today {
    color: var(--ri-green) !important;
}

.rootium-whmcs-rootium #order-standard_cart .summary-container,
.rootium-whmcs-rootium #order-standard_cart #producttotal,
.rootium-whmcs-rootium #order-standard_cart .order-summary {
    background: rgba(11,20,40,.96) !important;
    color: var(--ri-text) !important;
}

.rootium-whmcs-rootium #order-standard_cart .product footer {
    background: rgba(255,255,255,.025) !important;
    border-top: 1px solid var(--ri-border-soft) !important;
}

.rootium-whmcs-rootium #order-standard_cart .product-desc,
.rootium-whmcs-rootium #order-standard_cart .product-info {
    color: var(--ri-text) !important;
}

/* Modals: style only, no display override */
.rootium-whmcs-rootium .modal-content {
    background: #071022;
    color: var(--ri-text);
    border: 1px solid var(--ri-border);
    border-radius: 18px;
}

.rootium-whmcs-rootium .modal-header,
.rootium-whmcs-rootium .modal-footer {
    border-color: var(--ri-border-soft);
}

.rootium-whmcs-rootium .modal .close {
    color: #fff;
    opacity: .9;
}

/* Full page overlay */
.rootium-whmcs-rootium #fullpage-overlay {
    background: rgba(5,8,18,.86);
}

/* Alerts */
.rootium-whmcs-rootium .alert {
    border-radius: 14px;
    border-color: rgba(255,255,255,.12);
}

.rootium-whmcs-rootium .alert-info {
    background: rgba(56,189,248,.10);
    color: #dff6ff;
}

.rootium-whmcs-rootium .alert-warning {
    background: rgba(250,204,21,.10);
    color: #fff2b8;
}

.rootium-whmcs-rootium .alert-danger {
    background: rgba(251,113,133,.10);
    color: #ffd4dc;
}

/* Footer */
.rootium-whmcs-rootium #footer.footer {
    background: #030611 !important;
    border-top: 1px solid rgba(255,255,255,.08);
    color: var(--ri-muted);
}

.ri-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3,1fr);
    gap: 28px;
    margin: 0 0 28px;
    text-align: left;
}

.ri-footer-grid h4,
.ri-footer-logo {
    color: #fff;
    font-weight: 900;
}

.ri-footer-logo span {
    color: var(--ri-green);
}

.ri-footer-grid p,
.ri-footer-grid a {
    color: var(--ri-muted) !important;
    font-size: 13px;
    line-height: 1.7;
}

.ri-footer-grid a {
    display: block;
    text-decoration: none;
    margin-bottom: 7px;
}

.ri-footer-grid a:hover {
    color: var(--ri-green) !important;
}

/* Mobile */
@media (max-width: 991px) {
    .ri-sale-strip .container {
        align-items: flex-start;
    }

    .ri-sale-strip a {
        margin-left: 0;
    }

    .ri-footer-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   ROOTIUM FULL VISUAL THEME v20
   CSS ONLY. WHMCS CART LOGIC UNTOUCHED.
   ========================================================= */

:root {
    --rootium-bg: #050812;
    --rootium-surface: rgba(11, 20, 40, 0.96);
    --rootium-surface-2: rgba(16, 29, 56, 0.96);
    --rootium-line: rgba(109, 245, 167, 0.20);
    --rootium-line-soft: rgba(255, 255, 255, 0.075);
    --rootium-text: #f6fff9;
    --rootium-muted: #aab8cc;
    --rootium-green: #6df5a7;
    --rootium-cyan: #7dd3fc;
    --rootium-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

/* Rootium background */
html,
body,
body.primary-bg-color {
    background:
        radial-gradient(circle at 8% 0%, rgba(109,245,167,.10), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(125,211,252,.09), transparent 32%),
        linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px),
        var(--rootium-bg) !important;
    background-size: auto, auto, 42px 42px, 42px 42px !important;
    color: var(--rootium-text) !important;
}

/* Header / brand */
#header.header,
#header .navbar,
.main-navbar-wrapper {
    background: rgba(5, 8, 18, 0.98) !important;
    border-color: rgba(109,245,167,.12) !important;
}

#header.header {
    border-bottom: 1px solid rgba(109,245,167,.12) !important;
    box-shadow: 0 14px 40px rgba(0,0,0,.25);
}

#header .navbar-brand {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0 !important;
}

#header .navbar-brand img.logo-img {
    display: none !important;
}

#header .navbar-brand:before {
    content: "R";
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-right: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(109,245,167,.22), rgba(125,211,252,.12));
    border: 1px solid rgba(109,245,167,.35);
    color: var(--rootium-green);
    font-size: 20px;
    font-weight: 950;
}

#header .navbar-brand:after {
    content: "ROOTIUM";
    color: #fff;
    font-size: 20px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .04em;
}

/* Navigation */
.main-navbar-wrapper {
    background: rgba(7,16,34,.94) !important;
}

.navbar-nav .nav-link,
.navbar-nav > li > a {
    color: var(--rootium-muted) !important;
    font-weight: 850 !important;
    border-radius: 999px;
    transition: all .18s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav > li > a:hover {
    color: #fff !important;
    background: rgba(109,245,167,.10) !important;
}

.navbar-nav .active > .nav-link,
.navbar-nav > .active > a {
    color: #03120b !important;
    background: linear-gradient(135deg, var(--rootium-green), var(--rootium-cyan)) !important;
}

.cart-btn {
    background: linear-gradient(135deg, rgba(109,245,167,.14), rgba(125,211,252,.08)) !important;
    border: 1px solid rgba(109,245,167,.28) !important;
    border-radius: 999px !important;
    color: #fff !important;
}

.cart-btn .badge {
    background: var(--rootium-green) !important;
    color: #03120b !important;
}

/* Dropdowns */
.dropdown-menu {
    padding: 10px !important;
    background: rgba(7,16,34,.98) !important;
    border: 1px solid var(--rootium-line) !important;
    border-radius: 18px !important;
    box-shadow: var(--rootium-shadow) !important;
}

.dropdown-menu .dropdown-item,
.dropdown-menu a {
    border-radius: 12px !important;
    color: var(--rootium-muted) !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu a:hover {
    background: rgba(109,245,167,.12) !important;
    color: #fff !important;
}

/* Main */
#main-body {
    background: transparent !important;
    color: var(--rootium-text) !important;
}

h1, h2, h3, h4, h5, h6,
.header-lined h1 {
    color: #fff !important;
    font-weight: 950;
}

.header-lined h1 {
    letter-spacing: -.04em;
}

/* Cards / panels */
.card,
.panel,
.panel-sidebar,
.client-home-cards .card,
.tiles .tile,
#order_standard_cart .product,
#order-standard_cart .product,
#orderSummary,
.view-cart-items,
.cart-items,
.checkout-form,
#frmCheckout,
.domain-selection-options {
    background: radial-gradient(circle at top left, rgba(109,245,167,.055), transparent 34%), var(--rootium-surface) !important;
    border: 1px solid var(--rootium-line) !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.22) !important;
}

.card-header,
.panel-heading,
#order-standard_cart .product header,
#orderSummary .order-summary h2 {
    background: linear-gradient(135deg, rgba(109,245,167,.12), rgba(125,211,252,.045)) !important;
    border-bottom: 1px solid var(--rootium-line) !important;
    color: #fff !important;
}

.tiles .tile,
.client-home-cards .card,
#order-standard_cart .product {
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tiles .tile:hover,
.client-home-cards .card:hover,
#order-standard_cart .product:hover {
    transform: translateY(-2px);
    border-color: rgba(109,245,167,.36) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.30) !important;
}

/* Sidebar */
.panel-sidebar .list-group-item,
.list-group-item {
    background: transparent !important;
    color: var(--rootium-muted) !important;
    border-color: rgba(255,255,255,.065) !important;
    font-weight: 700;
}

.panel-sidebar .list-group-item:hover,
.panel-sidebar .list-group-item.active,
.list-group-item:hover,
.list-group-item.active {
    background: rgba(109,245,167,.12) !important;
    color: #fff !important;
}

/* Order product cards */
#order-standard_cart .product header span:first-child {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    letter-spacing: -.03em;
}

#order-standard_cart .product .qty {
    background: rgba(109,245,167,.14) !important;
    border: 1px solid rgba(109,245,167,.25) !important;
    color: var(--rootium-green) !important;
    border-radius: 999px !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

#order-standard_cart .product-desc {
    color: var(--rootium-text) !important;
}

#order-standard_cart .product-desc li {
    color: var(--rootium-muted) !important;
    margin-bottom: 6px !important;
}

#order-standard_cart .product-pricing .price,
#order-standard_cart .price {
    color: var(--rootium-green) !important;
    font-weight: 950 !important;
}

/* Configure */
#order-standard_cart .product-info,
#order-standard_cart .field-container,
#order-standard_cart .product-configurable-options {
    background: rgba(255,255,255,.035) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 18px !important;
}

#order-standard_cart .product-title {
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 950 !important;
}

/* Order summary */
#orderSummary .order-summary h2 {
    text-align: center;
    font-size: 20px !important;
}

#order-standard_cart .summary-container,
#order-standard_cart #producttotal {
    background: var(--rootium-surface-2) !important;
    color: var(--rootium-text) !important;
}

#order-standard_cart .amt,
#order-standard_cart .total-due-today {
    color: var(--rootium-green) !important;
    font-weight: 950 !important;
}

/* Forms */
.form-control,
.custom-select,
input.form-control,
select.form-control,
select.custom-select,
textarea.form-control {
    background: #071022 !important;
    border: 1px solid rgba(148,163,184,.32) !important;
    color: #fff !important;
    border-radius: 13px !important;
}

.form-control:focus,
.custom-select:focus {
    border-color: rgba(109,245,167,.78) !important;
    box-shadow: 0 0 0 4px rgba(109,245,167,.115) !important;
}

label {
    color: #fff !important;
    font-weight: 850 !important;
}

/* Buttons */
.btn-primary,
.btn-success,
#btnCompleteProductConfig,
#order-standard_cart .btn-order-now {
    background: linear-gradient(135deg, var(--rootium-green), var(--rootium-cyan)) !important;
    color: #03120b !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-weight: 950 !important;
    box-shadow: 0 14px 34px rgba(109,245,167,.14) !important;
}

.btn-default,
.btn-light,
.btn-secondary {
    background: rgba(255,255,255,.075) !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 850 !important;
}

/* Checkout/cart */
.view-cart-items,
.cart-items,
#frmCheckout,
.checkout-form,
.promo-container,
.mc-promo,
.empty-cart {
    background: var(--rootium-surface) !important;
    color: var(--rootium-text) !important;
}

/* Modals: visual only */
.modal-content {
    background: radial-gradient(circle at top left, rgba(109,245,167,.06), transparent 32%), #071022 !important;
    border: 1px solid var(--rootium-line) !important;
    border-radius: 22px !important;
    color: var(--rootium-text) !important;
    box-shadow: var(--rootium-shadow) !important;
}

/* Footer */
#footer.footer {
    background: #030611 !important;
    border-top: 1px solid rgba(109,245,167,.12) !important;
}

#footer.footer:before {
    content: "ROOTIUM · DDoS Protected Hosting · KVM VPS · Dedicated Servers";
    display: block;
    max-width: 1140px;
    margin: 0 auto 18px;
    padding: 0 15px;
    color: #fff;
    font-weight: 950;
    letter-spacing: .02em;
}




/* =========================================================
   ROOTIUM PREMIUM POLISH v21
   CSS ONLY — WHMCS functionality untouched.
   ========================================================= */

/* Overall depth */
body.primary-bg-color {
    min-height: 100vh;
}

#main-body {
    padding-top: 44px !important;
    padding-bottom: 70px !important;
}

/* Better page headline spacing */
.header-lined {
    border: 0 !important;
    margin: 0 0 26px !important;
    padding: 0 !important;
}

.header-lined h1 {
    display: inline-block;
    position: relative;
    padding-bottom: 14px;
}

.header-lined h1:after {
    content: "";
    display: block;
    width: 86px;
    height: 4px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rootium-green), var(--rootium-cyan));
    box-shadow: 0 0 24px rgba(109,245,167,.22);
}

/* Header premium nav */
#header .navbar:first-of-type {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.main-navbar-wrapper .navbar-collapse {
    padding-top: 8px;
    padding-bottom: 8px;
}

.navbar-nav .nav-link,
.navbar-nav > li > a {
    padding: 9px 13px !important;
}

.navbar-nav .nav-link i,
.navbar-nav > li > a i {
    color: var(--rootium-green);
}

/* Search refinement */
#header .search {
    box-shadow: 0 16px 34px rgba(0,0,0,.14);
}

#header .search .form-control::placeholder {
    color: rgba(234, 242, 255, .55);
}

/* Buttons stronger */
.btn {
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease !important;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-success,
#btnCompleteProductConfig,
#order-standard_cart .btn-order-now {
    min-height: 40px;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

/* Card polish */
.card,
.panel,
.panel-sidebar,
.client-home-cards .card,
.tiles .tile,
#order-standard_cart .product,
#orderSummary,
.view-cart-items,
.cart-items,
.checkout-form,
#frmCheckout,
.domain-selection-options {
    backdrop-filter: blur(10px);
}

.card-body,
.panel-body {
    line-height: 1.65;
}

.card-title,
.panel-title {
    font-weight: 950 !important;
}

/* Client area tiles */
.tiles {
    margin-top: 10px;
}

.tiles .tile {
    padding: 24px 18px !important;
    border-radius: 24px !important;
    position: relative;
}

.tiles .tile:after {
    content: "";
    position: absolute;
    inset: auto 18px 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, transparent, rgba(109,245,167,.75), transparent);
    opacity: .7;
}

.tiles .tile .icon {
    font-size: 30px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 16px rgba(109,245,167,.18));
}

/* Product category cards */
#order-standard_cart .products .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

#order-standard_cart .products [class*="col-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-bottom: 20px;
}

#order-standard_cart .product {
    min-height: 100%;
    position: relative;
}

#order-standard_cart .product:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(125,211,252,.09), transparent 34%),
        radial-gradient(circle at bottom left, rgba(109,245,167,.07), transparent 30%);
}

#order-standard_cart .product header,
#order-standard_cart .product-desc,
#order-standard_cart .product footer {
    position: relative;
    z-index: 1;
}

#order-standard_cart .product-desc ul {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

#order-standard_cart .product-desc li {
    list-style: none !important;
    padding: 8px 10px 8px 30px !important;
    margin-bottom: 8px !important;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.035);
    border-radius: 12px;
}

#order-standard_cart .product-desc li:before {
    left: 10px !important;
    top: 8px !important;
}

#order-standard_cart .product footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

#order-standard_cart .product-pricing {
    line-height: 1.2;
}

#order-standard_cart .product-pricing .price {
    display: inline-block;
    margin-bottom: 3px;
}

/* Configure product page */
#order-standard_cart .product-info {
    position: relative;
    overflow: hidden;
}

#order-standard_cart .product-info:before {
    content: "LIVE WHMCS PRODUCT";
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(109,245,167,.12);
    border: 1px solid rgba(109,245,167,.25);
    color: var(--rootium-green);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .06em;
}

#order-standard_cart .product-info p:not(.product-title),
#order-standard_cart .product-info li {
    color: var(--rootium-muted) !important;
}

#order-standard_cart .field-container,
#order-standard_cart .product-configurable-options {
    margin-bottom: 20px !important;
}

#order-standard_cart .field-container .row,
#order-standard_cart .product-configurable-options .row {
    margin-left: -8px;
    margin-right: -8px;
}

#order-standard_cart .field-container [class*="col-"],
#order-standard_cart .product-configurable-options [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

/* Order summary premium */
#orderSummary {
    overflow: hidden;
}

#orderSummary .order-summary h2:before {
    content: "🛡️ ";
}

#order-standard_cart .summary-container,
#order-standard_cart #producttotal {
    padding: 18px !important;
    min-height: 86px;
}

#order-standard_cart #btnCompleteProductConfig {
    width: calc(100% - 32px);
    margin: 16px !important;
    min-height: 52px;
}

/* Cart checkout rows */
.view-cart-items,
.cart-items {
    overflow: hidden;
}

.view-cart-items .item,
.cart-item,
.view-cart-items .item-title {
    color: var(--rootium-text) !important;
}

.view-cart-items .item-title,
.cart-item-title {
    font-weight: 950 !important;
}

.view-cart-items .item-price,
.cart-item .price {
    color: var(--rootium-green) !important;
    font-weight: 950 !important;
}

/* Promo / coupon area */
.promo-container,
.mc-promo {
    border-radius: 22px !important;
    border: 1px solid var(--rootium-line) !important;
    padding: 18px !important;
}

/* Knowledgebase / announcements */
.kb-article,
.announcement-single,
.marketing-email-optin {
    background: var(--rootium-surface) !important;
    border: 1px solid var(--rootium-line) !important;
    border-radius: 22px !important;
    color: var(--rootium-text) !important;
}

/* Login/register */
.logincontainer,
.registration-form,
#registration {
    background: var(--rootium-surface) !important;
    border: 1px solid var(--rootium-line) !important;
    border-radius: 26px !important;
    box-shadow: var(--rootium-shadow) !important;
    padding: 28px !important;
}

/* Alerts more Rootium */
.alert {
    box-shadow: 0 14px 38px rgba(0,0,0,.16);
}

.alert-success {
    background: rgba(109,245,167,.11) !important;
    border-color: rgba(109,245,167,.28) !important;
    color: #dfffee !important;
}

/* Status badges */
.badge,
.label {
    border-radius: 999px !important;
    font-weight: 900 !important;
}

/* Footer enhancement */
#footer.footer {
    padding-top: 42px !important;
    padding-bottom: 34px !important;
}

#footer.footer:before {
    background:
        linear-gradient(135deg, rgba(109,245,167,.10), rgba(125,211,252,.045));
    border: 1px solid var(--rootium-line);
    border-radius: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

/* Mobile polish */
@media (max-width: 767px) {
    #main-body {
        padding-top: 28px !important;
    }

    #header .navbar-brand:before {
        width: 36px;
        height: 36px;
    }

    #header .navbar-brand:after {
        font-size: 17px;
    }

    #order-standard_cart .product footer {
        display: block;
    }

    #order-standard_cart .product footer .btn,
    #order-standard_cart .product footer a.btn {
        width: 100%;
        margin-top: 12px;
    }

    .card,
    .panel,
    #order-standard_cart .product,
    #orderSummary {
        border-radius: 18px !important;
    }
}




/* =========================================================
   ROOTIUM DARK PREMIUM v22 — WHITE PATCH KILLER
   CSS ONLY. WHMCS CART LOGIC UNTOUCHED.
   ========================================================= */

/* Broad dark surface reset for WHMCS/Twenty-One white components */
body.primary-bg-color,
#main-body,
.main-content,
.primary-content,
#main-body .container,
#main-body .container-fluid {
    color: var(--rootium-text) !important;
}

.main-content > div:not(.modal):not(.dropdown-menu),
.primary-content > div:not(.modal):not(.dropdown-menu),
#order-standard_cart,
#order-standard_cart > div,
#order-standard_cart .cart-body,
#order-standard_cart .secondary-cart-body,
#order-standard_cart .secondary-cart-sidebar,
#order-standard_cart .cart-sidebar,
#order-standard_cart .sidebar-collapsed,
#order-standard_cart .products,
#order-standard_cart .row-eq-height,
#order-standard_cart .view-cart-tabs,
#order-standard_cart .view-cart-body,
#order-standard_cart .order-summary,
#order-standard_cart .summary-container,
#order-standard_cart #producttotal,
#order-standard_cart .sub-heading,
#order-standard_cart .domain-selection-options,
#order-standard_cart .domain-renewals,
#order-standard_cart .spotlight-tld,
#order-standard_cart .suggested-domains,
#order-standard_cart .domain-pricing,
#order-standard_cart .cart-warning,
#order-standard_cart .checkout-security-msg,
#order-standard_cart .cc-input-container,
#order-standard_cart .existing-cc-grid,
#order-standard_cart .payment-methods,
#order-standard_cart .account-select-container,
#order-standard_cart .order-summary .subtotal,
#order-standard_cart .order-summary .recurring-totals,
#order-standard_cart .order-summary .total-due-today {
    background-color: transparent !important;
    color: var(--rootium-text) !important;
}

/* Force common white Bootstrap/WHMCS surfaces dark */
.bg-white,
.bg-light,
.bg-default,
.card.bg-white,
.card.bg-light,
.panel.bg-white,
.panel.bg-light,
.well,
.marketing-email-optin,
.logincontainer,
.signupfields,
.client-home-panels,
.tiles,
.tile,
.ticket-reply,
.ticket-reply.staff,
.ticket-reply.markdown-content,
.md-editor,
.md-editor > textarea,
.md-editor > .md-header,
.md-editor > .md-footer,
.kb-article-content,
.announcement-single,
.announcement,
.domain-checker-container,
.domain-checker-bg,
.domain-pricing,
.pricing-table,
.product-details,
.product-info,
.product-configurable-options,
.field-container,
.view-cart-items,
.empty-cart,
.order-summary,
.summary-container,
.cart-sidebar .panel,
.cart-sidebar .card,
.sidebar .panel,
.sidebar .card,
.sidebar .list-group,
.sidebar-collapsed .panel,
.sidebar-collapsed .card,
.dataTables_wrapper,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_processing,
.table-container,
.invoice-summary,
.invoice-items,
.invoice-container,
.invoice,
.quote,
.quote-items,
.home-domain-search,
.home-shortcuts,
.promo-banner,
.promo-container,
#frmCheckout,
#registration,
#creditCardInputFields,
#existingCardsContainer,
#btnAlreadyRegistered,
#containerNewUserSignup,
#containerExistingUserSignin {
    background:
        radial-gradient(circle at top left, rgba(109,245,167,.045), transparent 30%),
        rgba(11,20,40,.97) !important;
    color: var(--rootium-text) !important;
    border-color: var(--rootium-line) !important;
}

/* Make nested white descendants dark without touching icons/images */
.card *,
.panel *,
.well *,
.view-cart-items *,
.cart-items *,
.invoice-container *,
.invoice-summary *,
.invoice-items *,
.quote *,
.table-container *,
.domain-checker-container *,
.product-details *,
.product-info *,
.field-container *,
.product-configurable-options *,
.logincontainer *,
.registration-form *,
#registration *,
#frmCheckout *,
#order-standard_cart * {
    border-color: rgba(255,255,255,.085);
}

/* Tables - the biggest source of white patches */
.table,
table.table,
.dataTable,
.dataTables_wrapper table,
.table-list,
.table-list > tbody > tr > td,
.table-list > tbody > tr > th,
.table-striped,
.table-hover,
.invoices-table,
.services-table,
.domain-table,
#tableServicesList,
#tableDomainsList,
#tableTicketsList,
#tableInvoicesList,
#tableQuotesList {
    background: rgba(11,20,40,.96) !important;
    color: var(--rootium-text) !important;
    border-color: rgba(255,255,255,.085) !important;
}

.table thead th,
table.table thead th,
.dataTable thead th,
.table-list thead th {
    background: rgba(109,245,167,.10) !important;
    color: #fff !important;
    border-color: var(--rootium-line) !important;
    font-weight: 950 !important;
}

.table tbody tr,
table.table tbody tr,
.dataTable tbody tr,
.table-list tbody tr {
    background: rgba(11,20,40,.88) !important;
    color: var(--rootium-text) !important;
}

.table-striped tbody tr:nth-of-type(odd),
.table-hover tbody tr:hover,
.dataTable tbody tr:hover,
.table-list tbody tr:hover {
    background: rgba(109,245,167,.07) !important;
    color: #fff !important;
}

.table td,
.table th,
table.table td,
table.table th,
.dataTable td,
.dataTable th,
.table-list td,
.table-list th {
    color: inherit !important;
    border-color: rgba(255,255,255,.085) !important;
}

/* DataTables controls */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .form-control {
    background: #071022 !important;
    color: #fff !important;
    border: 1px solid rgba(148,163,184,.32) !important;
}

.pagination .page-link,
.dataTables_paginate .paginate_button,
.page-item .page-link {
    background: rgba(11,20,40,.96) !important;
    color: var(--rootium-muted) !important;
    border-color: rgba(255,255,255,.10) !important;
}

.pagination .page-item.active .page-link,
.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button:hover,
.page-item.active .page-link {
    background: linear-gradient(135deg, var(--rootium-green), var(--rootium-cyan)) !important;
    color: #03120b !important;
    border-color: transparent !important;
}

/* Invoice / quote pages */
.invoice-container,
.invoice-summary,
.invoice-items,
.invoice-total,
.invoice-status,
.payment-btn-container,
.paymethod-info,
.gateway-errors,
.client-details,
.company-details {
    border-radius: 22px !important;
}

.invoice-container .invoice-status,
.invoice-status {
    background: rgba(109,245,167,.12) !important;
    border: 1px solid rgba(109,245,167,.28) !important;
    color: var(--rootium-green) !important;
}

/* Cart checkout: make all hidden/visible boxes dark */
#order-standard_cart .view-cart-items .item,
#order-standard_cart .view-cart-items .item-title,
#order-standard_cart .view-cart-items .item-group,
#order-standard_cart .view-cart-items .item-price,
#order-standard_cart .view-cart-items .item-domain,
#order-standard_cart .view-cart-items .item-qty,
#order-standard_cart .view-cart-items .item-actions,
#order-standard_cart .cart-item,
#order-standard_cart .checkout-error-feedback,
#order-standard_cart .payment-method,
#order-standard_cart .cc-details,
#order-standard_cart .apply-credit-container,
#order-standard_cart .taxes,
#order-standard_cart .total,
#order-standard_cart .summary-totals,
#order-standard_cart .recurring-totals,
#order-standard_cart .setup-fee,
#order-standard_cart .order-summary .summary-container {
    background: rgba(11,20,40,.97) !important;
    color: var(--rootium-text) !important;
    border-color: rgba(255,255,255,.085) !important;
}

#order-standard_cart .view-cart-items .item {
    border-radius: 18px !important;
    margin-bottom: 14px !important;
    padding: 16px !important;
}

#order-standard_cart .view-cart-items .item-title {
    color: #fff !important;
    font-weight: 950 !important;
}

#order-standard_cart .view-cart-items .item-price,
#order-standard_cart .cart-item .price,
#order-standard_cart .summary-totals .amt,
#order-standard_cart .total-due-today .amt {
    color: var(--rootium-green) !important;
    font-weight: 950 !important;
}

/* Order summary spinner/loader styling only */
#orderSummaryLoader,
.order-summary .loader {
    color: var(--rootium-green) !important;
}

#orderSummary .loader i,
#orderSummaryLoader i {
    color: var(--rootium-green) !important;
}

/* Product cards 10x better */
#order-standard_cart .product {
    border-radius: 28px !important;
    overflow: hidden !important;
    position: relative;
    min-height: 100%;
}

#order-standard_cart .product::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,.055), transparent 28%),
        radial-gradient(circle at top right, rgba(125,211,252,.10), transparent 30%);
    opacity: .85;
}

#order-standard_cart .product header,
#order-standard_cart .product .product-desc,
#order-standard_cart .product footer {
    position: relative;
    z-index: 2;
}

#order-standard_cart .product header {
    min-height: 78px;
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

#order-standard_cart .product footer {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#order-standard_cart .btn-order-now {
    min-width: 138px;
    min-height: 44px;
}

/* Product specs as premium chips */
#order-standard_cart .product-desc ul {
    display: grid;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
}

#order-standard_cart .product-desc li {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 13px;
    padding: 9px 10px 9px 32px !important;
    color: var(--rootium-text) !important;
}

/* Forms and selects - remove white patches everywhere */
input,
select,
textarea,
.form-control,
.custom-select,
.input-group-text,
.input-group-prepend .btn,
.input-group-append .btn,
.bootstrap-select .dropdown-toggle,
.intl-tel-input .selected-flag,
.iti__selected-flag,
.iti__country-list {
    background-color: #071022 !important;
    color: #fff !important;
    border-color: rgba(148,163,184,.32) !important;
}

.input-group-text {
    color: var(--rootium-green) !important;
    background: rgba(109,245,167,.09) !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(234,242,255,.48) !important;
}

/* Select2 / chosen style widgets */
.select2-container .select2-selection,
.select2-dropdown,
.chosen-container-single .chosen-single,
.chosen-container .chosen-drop {
    background: #071022 !important;
    color: #fff !important;
    border-color: rgba(148,163,184,.32) !important;
}

.select2-results__option,
.chosen-container .chosen-results li {
    background: #071022 !important;
    color: #fff !important;
}

.select2-results__option--highlighted,
.chosen-container .chosen-results li.highlighted {
    background: rgba(109,245,167,.14) !important;
    color: #fff !important;
}

/* Domain checker */
.domain-checker-container {
    padding: 26px !important;
    border-radius: 28px !important;
    box-shadow: var(--rootium-shadow) !important;
}

.domain-checker-bg {
    background: transparent !important;
}

.spotlight-tld {
    border-radius: 18px !important;
}

/* KB / announcements */
.kb-article,
.kb-article-content,
.announcement-single,
.announcement,
.marketing-email-optin {
    padding: 22px !important;
    border-radius: 24px !important;
}

.kb-article-content p,
.announcement-single p,
.marketing-email-optin p {
    color: var(--rootium-muted) !important;
}

/* Login/register max polish */
.logincontainer,
.registration-form,
#registration,
#containerNewUserSignup,
#containerExistingUserSignin {
    max-width: none;
    box-shadow: var(--rootium-shadow) !important;
}

.logincontainer .header-lined,
.registration-form .header-lined {
    text-align: left;
}

/* Avoid white text-on-white in dropdown/modal internals */
.dropdown-menu *,
.modal-content *,
.popover *,
.tooltip * {
    color: inherit;
}

.popover {
    background: #071022 !important;
    border: 1px solid var(--rootium-line) !important;
    color: var(--rootium-text) !important;
}

/* Keep modals functional but visually dark */
.modal-body,
.modal-footer,
.modal-header {
    background: transparent !important;
    color: var(--rootium-text) !important;
}

/* Footer links */
#footer.footer .nav-link,
#footer.footer a,
#footer.footer p,
#footer.footer .copyright {
    color: var(--rootium-muted) !important;
}

#footer.footer a:hover {
    color: var(--rootium-green) !important;
}

/* Mobile product cards */
@media (max-width: 767px) {
    #order-standard_cart .product footer {
        flex-direction: column;
        align-items: stretch;
    }

    #order-standard_cart .btn-order-now {
        width: 100%;
    }

    .table-responsive {
        border: 1px solid var(--rootium-line);
        border-radius: 18px;
        background: rgba(11,20,40,.96);
    }
}




/* =========================================================
   ROOTIUM HEADER + FOOTER v23
   Safe: WHMCS Twenty-One logic/scripts preserved.
   ========================================================= */

.ri-sale-strip-v23 {
    background:
        linear-gradient(90deg, rgba(109,245,167,.16), rgba(125,211,252,.08)),
        #050812;
    border-bottom: 1px solid rgba(109,245,167,.20);
    color: var(--rootium-text);
    position: relative;
    z-index: 1040;
}

.ri-sale-strip-v23 .container {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ri-mini-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none !important;
    color: #fff !important;
}

.ri-mini-mark,
.ri-footer-mark {
    display: inline-grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 10px;
    background: rgba(109,245,167,.14);
    border: 1px solid rgba(109,245,167,.32);
    color: var(--rootium-green);
    font-weight: 950;
}

.ri-mini-brand strong,
.ri-footer-brand strong {
    color: #fff;
    letter-spacing: .04em;
    font-weight: 950;
}

.ri-mini-brand strong span,
.ri-footer-brand strong span {
    color: var(--rootium-green);
}

.ri-sale-strip-v23 b {
    color: var(--rootium-green);
}

.ri-strip-cta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rootium-green), var(--rootium-cyan));
    color: #03120b !important;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none !important;
}

.ri-rootium-link .nav-link {
    color: #dfffee !important;
}

.ri-rootium-link .nav-link:hover {
    background: rgba(109,245,167,.14) !important;
    color: #fff !important;
}

/* Footer grid */
.ri-footer-grid-v23 {
    display: grid;
    grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin-bottom: 32px;
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(109,245,167,.08), transparent 34%),
        rgba(11,20,40,.72);
    border: 1px solid rgba(109,245,167,.18);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
    text-align: left;
}

.ri-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    margin-bottom: 12px;
}

.ri-footer-brand-block p {
    color: var(--rootium-muted) !important;
    margin: 0 0 16px;
    line-height: 1.7;
    max-width: 360px;
}

.ri-footer-grid-v23 h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    margin: 0 0 13px;
    letter-spacing: .02em;
}

.ri-footer-grid-v23 a {
    display: block;
    color: var(--rootium-muted) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.45;
}

.ri-footer-grid-v23 a:hover {
    color: var(--rootium-green) !important;
}

.ri-footer-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ri-footer-badges span {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(109,245,167,.10);
    border: 1px solid rgba(109,245,167,.20);
    color: var(--rootium-green);
    font-size: 11px;
    font-weight: 900;
}

/* Tidy original footer elements underneath */
#footer.footer .list-inline,
#footer.footer .nav {
    opacity: .92;
}

#footer.footer .copyright {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 18px;
    margin-top: 18px;
}

/* Remove the older CSS-only footer label if present */
#footer.footer:before {
    display: none !important;
    content: none !important;
}

/* Make header feel more complete */
#header.header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

@media (max-width: 1200px) {
    .ri-footer-grid-v23 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ri-footer-brand-block {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .ri-sale-strip-v23 .container {
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .ri-strip-cta {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .ri-footer-grid-v23 {
        grid-template-columns: 1fr;
        padding: 20px;
        border-radius: 22px;
    }

    #header.header {
        position: relative;
    }
}




/* =========================================================
   ROOTIUM HOMEPAGE MATCH v24
   CSS ONLY + safe header visual additions.
   WHMCS cart logic untouched.
   ========================================================= */

/* Rootium homepage-grade background */
body.primary-bg-color,
body.rootium-hf-v23 {
    background:
        radial-gradient(circle at 8% -4%, rgba(109,245,167,.16), transparent 28%),
        radial-gradient(circle at 90% 0%, rgba(125,211,252,.12), transparent 32%),
        radial-gradient(circle at 50% 18%, rgba(37,99,235,.10), transparent 35%),
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
        #050812 !important;
    background-size: auto, auto, auto, 44px 44px, 44px 44px !important;
}

/* Sale strip more like homepage promo */
.ri-sale-strip-v23 {
    background:
        linear-gradient(90deg, rgba(109,245,167,.18), rgba(125,211,252,.10), rgba(37,99,235,.10)),
        #050812 !important;
    border-bottom: 1px solid rgba(109,245,167,.24) !important;
    box-shadow: 0 10px 32px rgba(0,0,0,.20);
}

.ri-sale-strip-v23 .container {
    min-height: 48px;
}

.ri-mini-mark {
    box-shadow: 0 0 24px rgba(109,245,167,.18);
}

/* Header closer to marketing homepage */
#header.header {
    background: rgba(5,8,18,.88) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.075) !important;
}

#header .navbar:first-of-type {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

#header .navbar-brand:before {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 28%),
        linear-gradient(135deg, rgba(109,245,167,.28), rgba(125,211,252,.16)) !important;
    border-color: rgba(109,245,167,.42) !important;
}

#header .navbar-brand:after {
    font-size: 22px;
    letter-spacing: .055em;
}

/* Homepage-like service strip */
.ri-service-strip-v24 {
    background: rgba(7,16,34,.74);
    border-bottom: 1px solid rgba(109,245,167,.12);
    backdrop-filter: blur(14px);
}

.ri-service-strip-v24 .container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.ri-service-strip-v24 a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(109,245,167,.08), transparent 34%),
        rgba(11,20,40,.88);
    border: 1px solid rgba(109,245,167,.16);
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ri-service-strip-v24 a:hover {
    transform: translateY(-2px);
    border-color: rgba(109,245,167,.36);
    box-shadow: 0 18px 46px rgba(0,0,0,.24);
}

.ri-service-strip-v24 span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(109,245,167,.12);
    border: 1px solid rgba(109,245,167,.22);
}

.ri-service-strip-v24 strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
}

.ri-service-strip-v24 small {
    display: block;
    color: var(--rootium-muted);
    font-size: 11px;
    margin-top: 2px;
}

/* Portal hero matching homepage */
.ri-portal-hero-v24 {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(109,245,167,.10);
    background:
        radial-gradient(circle at 16% 10%, rgba(109,245,167,.12), transparent 28%),
        radial-gradient(circle at 86% 20%, rgba(125,211,252,.10), transparent 32%),
        rgba(5,8,18,.18);
}

.ri-portal-hero-v24:before {
    content: "∑ π √ ∞";
    position: absolute;
    right: 7%;
    top: 18px;
    color: rgba(255,255,255,.035);
    font-size: clamp(54px, 10vw, 130px);
    font-weight: 950;
    letter-spacing: .05em;
    pointer-events: none;
}

.ri-portal-hero-grid-v24 {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: center;
    padding: 52px 0;
}

.ri-hero-kicker-v24 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(109,245,167,.12);
    border: 1px solid rgba(109,245,167,.24);
    color: var(--rootium-green);
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 14px;
}

.ri-hero-kicker-v24 span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--rootium-green);
    box-shadow: 0 0 18px rgba(109,245,167,.7);
}

.ri-portal-hero-v24 h1 {
    color: #fff !important;
    font-size: clamp(38px, 5.6vw, 72px);
    line-height: .92;
    letter-spacing: -.065em;
    font-weight: 950;
    margin: 0 0 18px;
}

.ri-portal-hero-v24 p {
    color: var(--rootium-muted);
    max-width: 760px;
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
}

.ri-hero-actions-v24 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.ri-hero-btn-v24 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none !important;
}

.ri-hero-btn-main-v24 {
    background: linear-gradient(135deg, var(--rootium-green), var(--rootium-cyan));
    color: #03120b !important;
    box-shadow: 0 16px 40px rgba(109,245,167,.16);
}

.ri-hero-btn-ghost-v24 {
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff !important;
}

.ri-hero-status-card-v24 {
    padding: 26px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(109,245,167,.10), transparent 32%),
        rgba(11,20,40,.86);
    border: 1px solid rgba(109,245,167,.22);
    box-shadow: 0 26px 75px rgba(0,0,0,.28);
    text-align: center;
}

.ri-guardian-orb-v24 {
    display: inline-grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(109,245,167,.20), rgba(125,211,252,.12));
    border: 1px solid rgba(109,245,167,.34);
    color: var(--rootium-green);
    font-size: 32px;
    font-weight: 950;
    box-shadow: 0 0 44px rgba(109,245,167,.15);
    margin-bottom: 16px;
}

.ri-hero-status-card-v24 strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.ri-hero-status-card-v24 > span {
    display: block;
    color: var(--rootium-muted);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 6px;
}

.ri-hero-metrics-v24 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.ri-hero-metrics-v24 div {
    padding: 12px 8px;
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.075);
}

.ri-hero-metrics-v24 b {
    display: block;
    color: var(--rootium-green);
    font-size: 15px;
    font-weight: 950;
}

.ri-hero-metrics-v24 small {
    display: block;
    color: var(--rootium-muted);
    font-size: 10px;
    margin-top: 4px;
}

/* Better content spacing after hero */
.ri-portal-hero-v24 + #main-body,
.ri-portal-hero-v24 ~ #main-body {
    padding-top: 42px !important;
}

/* Hide older standard page title line a bit since hero now leads */
.ri-portal-hero-v24 ~ #main-body .header-lined h1 {
    font-size: 30px !important;
}

/* Product cards more homepage-like */
#order-standard_cart .product {
    background:
        linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
        radial-gradient(circle at top right, rgba(125,211,252,.12), transparent 34%),
        rgba(11,20,40,.96) !important;
}

#order-standard_cart .product header {
    background:
        linear-gradient(135deg, rgba(109,245,167,.15), rgba(125,211,252,.06)) !important;
}

/* Footer homepage consistency */
.ri-footer-grid-v23 {
    background:
        radial-gradient(circle at 10% 0%, rgba(109,245,167,.10), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(125,211,252,.08), transparent 34%),
        rgba(11,20,40,.78) !important;
}

.ri-footer-brand .ri-footer-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 1100px) {
    .ri-service-strip-v24 .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ri-portal-hero-grid-v24 {
        grid-template-columns: 1fr;
    }

    .ri-hero-status-card-v24 {
        max-width: 520px;
    }
}

@media (max-width: 700px) {
    .ri-service-strip-v24 .container {
        grid-template-columns: 1fr;
    }

    .ri-portal-hero-grid-v24 {
        padding: 38px 0;
    }

    .ri-portal-hero-v24 h1 {
        font-size: 42px;
    }

    .ri-hero-metrics-v24 {
        grid-template-columns: 1fr;
    }
}
