/* Host9x WHMCS theme – website-matching look for the client area (works with Twenty-One and its child themes) */
:root { --h9x-navy: #1b2b4b; --h9x-blue: #2f6fed; --h9x-blue-dark: #2559c9; --h9x-green: #27c46b; --h9x-bg: #f6f8fc; --h9x-text: #1b2b4b; --h9x-muted: #64748b; --h9x-radius: 16px; }

/* ---- hide WHMCS default header / menu / footer (we render our own) */
body > section#header, body > #header, body > section#main-menu, body > #main-menu, body > section#footer, body > footer#footer, body > #footer, .header.header-with-hero, #header-hero { display: none !important; }

html, body { font-family: 'DM Sans', 'Rubik', system-ui, sans-serif !important; font-weight: 400 !important; font-size: 14.5px; line-height: 1.55; background: var(--h9x-bg) !important; color: var(--h9x-text); }
body p, body td, body li, body dd, body span, body small, body .text-muted, body .form-text { font-weight: inherit; }
b, strong, .font-weight-bold { font-weight: 600 !important; }
body { padding-top: 0 !important; }
h1, h2, h3, h4, h5, .card-title, .panel-title, .h1, .h2, .h3 { font-family: 'Rubik', sans-serif; font-weight: 700; color: var(--h9x-navy); letter-spacing: -0.01em; }
a { color: var(--h9x-blue); }
a:hover { color: var(--h9x-blue-dark); }
.h9x-wrap { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* ---- top bar */
.h9x-topbar { background: var(--h9x-navy); color: #fff; font-size: 12.5px; font-weight: 500; }
.h9x-topbar .h9x-wrap { display: flex; align-items: center; justify-content: space-between; height: 32px; gap: 16px; }
.h9x-topbar a { color: #cbd5e1; text-decoration: none; margin-left: 18px; transition: color .2s; }
.h9x-topbar a:hover { color: #fff; }
.h9x-topbar .h9x-offer { color: #ff6b6b; font-weight: 700; letter-spacing: .08em; margin-left: 0; }
.h9x-topbar .h9x-top-user { color: #fff; font-weight: 700; }
.h9x-top-right { display: flex; align-items: center; }

/* ---- header */
.h9x-header { background: #fff; border-bottom: 1px solid #e8edf5; position: sticky; top: 0; z-index: 1030; box-shadow: 0 6px 24px -18px rgba(12,18,51,.35); }
.h9x-header .h9x-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 20px; position: relative; }
.h9x-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.h9x-logo img { height: 40px; width: auto; border-radius: 10px; }
.h9x-logo-text b { display: block; font-family: 'Rubik', sans-serif; font-size: 24px; font-weight: 800; letter-spacing: .02em; color: var(--h9x-navy); line-height: 1; }
.h9x-logo-text b i { font-style: normal; color: var(--h9x-blue); }
.h9x-logo-text small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .22em; color: var(--h9x-muted); margin-top: 3px; }
.h9x-logo-light .h9x-logo-text b { color: #fff; }
.h9x-logo-light .h9x-logo-text small { color: #94a3b8; }
.h9x-nav { display: flex; align-items: center; gap: 18px; }
.h9x-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.h9x-item { position: relative; }
.h9x-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; white-space: nowrap; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--h9x-navy) !important; text-decoration: none !important; border-radius: 8px; transition: color .2s, background-color .2s; }
.h9x-link:hover, .h9x-item.open > .h9x-link, .h9x-item.is-current > .h9x-link { color: var(--h9x-blue) !important; background: #f0f4ff; }
.h9x-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.h9x-badge { font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 999px; background: var(--h9x-blue); color: #fff; letter-spacing: .05em; }
.h9x-badge-red { background: #ef4444; position: absolute; top: -6px; right: 8px; }
.h9x-mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 12px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 1040; }
.h9x-item.has-drop:hover > .h9x-mega, .h9x-item.open > .h9x-mega { opacity: 1; visibility: visible; }
.h9x-drop { background: #fff; border: 1px solid #f1f5f9; border-radius: 14px; box-shadow: 0 24px 60px -15px rgba(27,43,75,.3); padding: 12px; list-style: none; margin: 0; display: grid; grid-template-columns: 1fr; gap: 4px; width: max-content; }
.h9x-mega-2 .h9x-drop { grid-template-columns: 1fr 1fr; }
.h9x-right .h9x-mega { left: auto; right: 0; transform: none; }
.h9x-drop li a { display: flex; align-items: flex-start; gap: 12px; min-width: 260px; padding: 10px 12px; border-radius: 10px; color: var(--h9x-navy) !important; text-decoration: none !important; transition: background-color .2s; }
.h9x-drop li a b { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.h9x-drop li a small { display: block; font-size: 12px; color: var(--h9x-muted); font-weight: 400; margin-top: 2px; }
.h9x-drop li a:hover { background: #eff6ff; }
.h9x-flag { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,.15); margin-top: 3px; flex-shrink: 0; }
.h9x-flag-empty { display: inline-block; background: #dbeafe; }
/* WHMCS account menus (simple list dropdown) */
.h9x-whmcs-menu .h9x-mega { left: 0; transform: none; }
.h9x-whmcs-menu > .h9x-item > .h9x-drop, .h9x-whmcs-menu .h9x-simple { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 1040; }
.h9x-whmcs-menu .h9x-item.has-drop:hover > .h9x-drop, .h9x-whmcs-menu .h9x-item.open > .h9x-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.h9x-whmcs-menu .h9x-drop li a { min-width: 0; font-weight: 500; font-size: 13.5px; padding: 5px 10px; align-items: center; gap: 10px; }
.h9x-whmcs-menu > .h9x-item > .h9x-drop { gap: 0; padding: 8px; }
.h9x-whmcs-menu .h9x-drop li a i { width: 18px; color: var(--h9x-blue); text-align: center; }
.h9x-right .h9x-drop { left: auto; right: 0; }
.h9x-item.has-drop:hover > .h9x-link, .h9x-item.open > .h9x-link { color: var(--h9x-blue) !important; background: #eff6ff; }
.h9x-item.has-drop:hover > .h9x-link .h9x-caret, .h9x-item.open > .h9x-link .h9x-caret { transform: translateY(2px) rotate(-135deg); }
.h9x-caret { transition: transform .2s; }
.h9x-topbar .h9x-top-green { color: var(--h9x-green); }
.h9x-topbar i { font-size: 11px; margin-right: 2px; }
.h9x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 8px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none !important; transition: background-color .2s, box-shadow .2s, transform .2s; }
.h9x-btn-primary { background: var(--h9x-blue); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(30,91,241,.6); }
.h9x-btn-primary:hover { background: var(--h9x-blue-dark); box-shadow: 0 10px 24px -8px rgba(30,91,241,.75); }
.h9x-nav-toggle, .h9x-burger { display: none; }

/* ---- WHMCS account sub-navigation (Services, Domains, Billing, Support, account dropdown) */
.h9x-subnav { background: #fff; border-bottom: 1px solid #e8edf5; }
.h9x-subnav .h9x-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.h9x-whmcs-menu .h9x-link { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: #475569 !important; padding: 8px 12px; }
.h9x-whmcs-menu .h9x-link i { color: var(--h9x-blue); font-size: 13px; width: 16px; text-align: center; }
.h9x-whmcs-menu .h9x-link i.h9x-dot, .h9x-drop i.h9x-dot { font-size: 6px; opacity: .5; }
.h9x-whmcs-menu .h9x-item.is-current > .h9x-link { color: var(--h9x-blue) !important; background: #f0f4ff; }

/* ---- main body */
#main-body { padding: 36px 0 60px !important; background: var(--h9x-bg); }
#main-body .container, #main-body .container-fluid { max-width: 1300px; }
.card, .panel, .tile, .list-group, .table-container, .alert, .modal-content, .well, .login-card, .frm-container, .form-card { border-radius: var(--h9x-radius) !important; border: 1px solid #e8edf5 !important; box-shadow: 0 20px 50px -30px rgba(12,18,51,.25) !important; }
.card-header, .panel-heading { background: #fff !important; border-bottom: 1px solid #eef2f7 !important; border-radius: var(--h9x-radius) var(--h9x-radius) 0 0 !important; font-weight: 600; font-size: 15px; color: var(--h9x-navy) !important; }
.card.card-sidebar .card-header, .panel-sidebar .panel-heading { background: var(--h9x-navy) !important; color: #fff !important; }
.card.card-sidebar .card-header .card-title, .card.card-sidebar .card-header a { color: #fff !important; }
.list-group-item { border-color: #eef2f7 !important; font-weight: 400; font-size: 14px; color: #334155; }
.card-sidebar .card-body, .card-sidebar .list-group-item, .card-sidebar address, .card-sidebar p { font-weight: 400; font-size: 14px; color: #475569; }
.card-sidebar .card-header .card-title, .card-sidebar .card-header h3 { font-size: 15.5px; font-weight: 600; }
.card-sidebar .card-header { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-sidebar .card-header .card-title, .card-sidebar .card-header h3 { margin: 0; font-size: 17px; }
.card-sidebar.h9x-open .collapse, .card-sidebar.h9x-open .collapsable-card-body, .card-sidebar.h9x-open .card-body, .panel-sidebar.h9x-open .panel-collapse { display: block !important; height: auto !important; visibility: visible !important; }
.card-sidebar .card-header .card-minimise { transition: transform .25s; }
.card-sidebar .card-header.collapsed .card-minimise { transform: rotate(180deg); }
.list-group-item.active, .list-group-item.active:hover { background: var(--h9x-blue) !important; border-color: var(--h9x-blue) !important; }
.list-group-item:hover { background: #f0f4ff; }
.tile { transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-4px); }
.tile .icon, .tile .stat { color: var(--h9x-blue) !important; }
.tile.tile-primary, .tile.tile-info, .tile.tile-success, .tile.tile-warning, .tile.tile-danger { background: #fff !important; color: var(--h9x-navy) !important; }
.btn-primary, .btn-default.btn-primary, .btn-styled-blue, .btn-success { background: var(--h9x-blue) !important; border-color: var(--h9x-blue) !important; color: #fff !important; border-radius: 8px !important; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(30,91,241,.6); transition: background-color .2s, box-shadow .2s; }
.btn-primary:hover, .btn-success:hover { background: var(--h9x-blue-dark) !important; border-color: var(--h9x-blue-dark) !important; }
.btn-success { background: var(--h9x-green) !important; border-color: var(--h9x-green) !important; box-shadow: 0 8px 20px -8px rgba(39,196,107,.6); }
.btn-success:hover { background: #1fa85a !important; border-color: #1fa85a !important; }
.btn, .btn-default, .btn-secondary, .btn-outline-primary { border-radius: 8px !important; font-weight: 600; }
.btn-default, .btn-secondary { background: #fff !important; color: var(--h9x-navy) !important; border: 1px solid #d5dbe5 !important; }
.btn-default:hover, .btn-secondary:hover { border-color: var(--h9x-blue) !important; color: var(--h9x-blue) !important; }
.form-control, .custom-select, .input-group-text { border-radius: 8px !important; border-color: #d5dbe5 !important; min-height: 44px; font-size: 15px; }
.form-control:focus { border-color: var(--h9x-blue) !important; box-shadow: 0 0 0 3px rgba(47,111,237,.15) !important; }
label { font-weight: 600; color: #475569; font-size: 13px; }
.table thead th { background: #f6f8fc; color: #475569; font-weight: 600; border-bottom: 1px solid #e8edf5 !important; text-transform: uppercase; font-size: 11.5px; letter-spacing: .04em; }
.table-hover tbody tr:hover { background: #f0f4ff; }
.badge, .label { border-radius: 999px !important; padding: 5px 10px; font-weight: 700; }
.badge-success, .label-success, .status-active { background: #e8f8ef !important; color: #1b7a3d !important; }
.badge-danger, .label-danger { background: #fdecec !important; color: #b42318 !important; }
.badge-warning, .label-warning { background: #fff5e6 !important; color: #b45309 !important; }
.badge-info, .label-info { background: #eaf1ff !important; color: var(--h9x-blue) !important; }
.alert-info { background: #eaf1ff !important; color: var(--h9x-navy) !important; border-color: #d6e2ff !important; }
.alert-success { background: #e8f8ef !important; color: #1b7a3d !important; }
.alert-danger { background: #fdecec !important; color: #b42318 !important; }
.page-header, .main-content > h1, h1.page-title, #main-body h1 { font-size: 28px; font-weight: 700; }
.tile .stat, .tile .stats { font-size: 34px !important; font-weight: 700 !important; letter-spacing: -0.02em; }
.tile .title, .tile .desc { font-size: 12px !important; font-weight: 600 !important; letter-spacing: .04em; color: #475569 !important; }
.list-group-item strong, .table td strong, #main-body .card-body strong { font-weight: 600; color: var(--h9x-navy); }
.btn, .h9x-btn { font-size: 13px; }
.btn.btn-sm, .btn-xs { font-weight: 500; }
.breadcrumb { background: transparent !important; padding-left: 0 !important; font-size: 13px; }
.breadcrumb a { color: var(--h9x-muted); }
.nav-tabs .nav-link.active { color: var(--h9x-blue); border-color: #e8edf5 #e8edf5 #fff; font-weight: 700; }
.nav-tabs .nav-link { color: var(--h9x-muted); font-weight: 600; }
.pagination .page-link { border-radius: 8px !important; margin: 0 2px; color: var(--h9x-navy); }
.pagination .page-item.active .page-link { background: var(--h9x-blue); border-color: var(--h9x-blue); }
.modal-header { background: var(--h9x-navy) !important; color: #fff !important; border-radius: var(--h9x-radius) var(--h9x-radius) 0 0 !important; }
.modal-header .close, .modal-header .modal-title { color: #fff !important; }
.text-primary, .text-info { color: var(--h9x-blue) !important; }
.bg-primary, .bg-info { background: var(--h9x-blue) !important; }
.progress-bar { background: var(--h9x-blue) !important; }
/* login / password reset – tight two-column layout: trust panel + centred card (like host9x.com/login) */
body.login #main-body, body.pwreset #main-body, body.password-reset #main-body, body.h9x-login-ready #main-body { padding: 28px 0 56px !important; }
body.h9x-login-ready .page-header, body.h9x-login-ready .breadcrumb { display: none; }
body.login .page-header, body.login .breadcrumb, body.login #main-body h1.h9x-hide, body.pwreset .breadcrumb { display: none; }
.h9x-login-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; width: 100%; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.h9x-login-aside { position: relative; overflow: hidden; background: var(--h9x-navy); color: #fff; border-radius: 24px; padding: 40px 38px; display: flex; flex-direction: column; box-shadow: 0 30px 70px -30px rgba(12,18,51,.6); }
.h9x-login-aside::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(47,111,237,.35); filter: blur(60px); top: -120px; right: -100px; }
.h9x-login-aside::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(39,196,107,.22); filter: blur(60px); bottom: -120px; left: -80px; }
.h9x-login-aside > * { position: relative; z-index: 1; }
.h9x-login-aside h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 34px 0 8px; line-height: 1.2; }
.h9x-aside-sub { color: #cbd5e1; font-size: 15px; margin: 0 0 26px; }
.h9x-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.h9x-trust li { display: flex; gap: 14px; align-items: flex-start; }
.h9x-trust-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; color: #93c5fd; font-size: 16px; flex-shrink: 0; }
.h9x-trust b { display: block; font-size: 15px; font-weight: 700; }
.h9x-trust small { display: block; font-size: 13px; color: #94a3b8; margin-top: 2px; line-height: 1.45; }
.h9x-aside-foot { margin-top: auto; padding-top: 26px; font-size: 14px; color: #94a3b8; }
.h9x-aside-foot a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.h9x-aside-foot a:hover { border-color: #fff; }
.h9x-login-right { display: flex; align-items: stretch; }
.h9x-login-right > * { flex: 1 1 auto !important; max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin: 0 !important; }
.h9x-login-right .card, .h9x-login-right .login-card, .h9x-login-right .panel { height: 100%; margin: 0 !important; padding: 18px 10px; display: flex; flex-direction: column; justify-content: center; }
.h9x-login-right h1, .h9x-login-right h2, .h9x-login-right .card-title { font-size: 30px; font-weight: 800; }
.h9x-login-right .btn-primary { min-height: 44px; padding-left: 24px; padding-right: 24px; }
@media (max-width: 900px) { .h9x-login-wrap { grid-template-columns: 1fr; } .h9x-login-aside { order: 2; padding: 30px 26px; } .h9x-login-aside h2 { font-size: 24px; margin-top: 22px; } }
/* shopping cart */
.view-cart .cart-body .product, .product-box, .package { border-radius: var(--h9x-radius) !important; box-shadow: 0 20px 50px -30px rgba(12,18,51,.25) !important; border: 1px solid #e8edf5 !important; }
.view-cart .summary-container, .order-summary { border-radius: var(--h9x-radius) !important; }
.package .package-header, .product-box .header { background: var(--h9x-navy) !important; border-radius: var(--h9x-radius) var(--h9x-radius) 0 0 !important; }

/* ---- footer */
.h9x-footer { background: var(--h9x-navy); color: #fff; margin-top: 30px; font-size: 14px; }
.h9x-footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr) 1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.h9x-footer h4 { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.h9x-footer ul { list-style: none; margin: 0; padding: 0; }
.h9x-footer li { margin: 0 0 9px; }
.h9x-footer li a, .h9x-f-link { color: #cbd5e1; text-decoration: none; transition: color .2s; display: inline-block; }
.h9x-footer li a:hover, .h9x-f-link:hover { color: #fff; }
.h9x-f-label { margin: 18px 0 4px; font-weight: 600; color: #cbd5e1; }
.h9x-payments { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; padding-bottom: 28px; text-align: center; }
.h9x-pay-title { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #64748b; }
.h9x-pay-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.h9x-pay { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--h9x-navy); font-weight: 700; font-size: 13.5px; padding: 10px 16px; border-radius: 12px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.h9x-pay img { height: 20px; width: auto; }
.h9x-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: 13px; }
.h9x-bottom-links a { color: #94a3b8; text-decoration: none; margin-left: 16px; }
.h9x-bottom-links a:hover { color: #fff; }

/* ---- responsive */
@media (max-width: 1100px) {
  .h9x-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .h9x-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin: 0; }
  .h9x-burger span { display: block; width: 24px; height: 2.5px; background: var(--h9x-navy); border-radius: 2px; }
  .h9x-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid #e8edf5; box-shadow: 0 30px 60px -20px rgba(12,18,51,.35); gap: 8px; }
  .h9x-nav-toggle:checked ~ .h9x-nav { display: flex; }
  .h9x-menu { flex-direction: column; align-items: stretch; }
  .h9x-mega, .h9x-whmcs-menu > .h9x-item > .h9x-drop { position: static; opacity: 1; visibility: visible; transform: none; display: none; padding: 0; }
  .h9x-item.open > .h9x-mega, .h9x-whmcs-menu .h9x-item.open > .h9x-drop { display: block; }
  .h9x-drop { box-shadow: none; border: 0; padding: 0 0 8px 12px; grid-template-columns: 1fr !important; width: auto; }
  .h9x-drop li a { min-width: 0; }
  .h9x-badge-red { position: static; margin-left: 6px; }
  .h9x-subnav .h9x-wrap { flex-wrap: nowrap; overflow-x: auto; gap: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .h9x-subnav .h9x-wrap::-webkit-scrollbar { display: none; }
  .h9x-subnav .h9x-menu { flex-direction: row; flex-wrap: nowrap; }
  .h9x-whmcs-menu .h9x-link { white-space: nowrap; padding: 8px 10px; }
  .h9x-whmcs-menu > .h9x-item > .h9x-drop { position: absolute; display: none; }
  .h9x-whmcs-menu .h9x-item.open > .h9x-drop { display: grid; }
  .h9x-topbar .h9x-top-right a:not(.h9x-top-user):not(:last-child) { display: none; }
}
@media (max-width: 640px) {
  .h9x-footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .h9x-bottom { flex-direction: column; align-items: center; text-align: center; }
  .h9x-bottom-links a { margin: 0 8px; }
  .h9x-logo-text { display: none; }
}

/* ---- v1.4: cart + tables polish */
body *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not([class*="fa-"]):not(.glyphicon):not(code):not(pre):not(kbd):not(.star):not([class*="star"]):not([class*="rating"]):not([class*="icon"]):not(.ui-icon):not(.select2-selection__arrow b):not(.toggle-switch *):not(.rating *) { font-family: 'DM Sans', 'Rubik', system-ui, sans-serif; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .card-title, .panel-title, .h9x-link, .h9x-logo-text b, .h9x-btn, .btn, .tile .stat, .h9x-footer h4 { font-family: 'Rubik', 'DM Sans', sans-serif !important; }
/* ticket reply star ratings (Font Awesome glyphs) */
.rating .star, .rating .star::before, .rating span, .rating-star, [class*="rating"] .star { font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', 'FontAwesome' !important; font-weight: 900; color: #f5a623; }
.rating .star.active, .rating .star.hover, .rating .star.filled { color: #f5a623; }
a:visited { color: var(--h9x-blue); }
.card-sidebar .card-header, .card-sidebar .card-header *, .panel-sidebar .panel-heading, .panel-sidebar .panel-heading * { color: #fff !important; text-decoration: none !important; }
.list-group-item.active, .list-group-item.active *, .list-group-item.active:hover { color: #fff !important; }
#order-standard_cart .product h3, #order-standard_cart .product-info h3, .products .product h3, .product .product-name, #order-standard_cart .product h3 a, .product-desc h3 { color: var(--h9x-navy) !important; font-weight: 800; font-size: 22px; }
#order-standard_cart .product .product-pricing .price, #order-standard_cart .product .pricing .price, .product .price { color: var(--h9x-navy) !important; font-weight: 800; }
#order-standard_cart .product .product-pricing .price span.cycle, .product .price small, .product .cycle { color: var(--h9x-muted) !important; font-size: 13px; font-weight: 500; }
#order-standard_cart .product .btn-order-now, #order-standard_cart .btn-success, .product .btn { border-radius: 8px !important; font-weight: 700; letter-spacing: .02em; }
#order-standard_cart .product .product-desc ul li, #order-standard_cart .product ul li, .product .product-desc li { color: #475569; font-size: 14px; padding: 6px 0; }
#order-standard_cart .product .product-desc ul li i, .product li i { color: var(--h9x-green) !important; }
#order-standard_cart .product, .products .product { border-radius: var(--h9x-radius) !important; border: 1px solid #e8edf5 !important; box-shadow: 0 20px 50px -30px rgba(12,18,51,.25) !important; transition: transform .3s, box-shadow .3s; }
#order-standard_cart .product:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -30px rgba(12,18,51,.35) !important; }
#order-standard_cart .header-lined h1, #order-standard_cart h1, #order-standard_cart .section-title { color: var(--h9x-navy) !important; font-weight: 800; }
.breadcrumb, .breadcrumb-bar, #order-standard_cart .breadcrumb { font-size: 13px; }
/* data tables (tickets, invoices, services): fit on one screen */
.table-container { overflow-x: auto; border-radius: var(--h9x-radius) !important; }
.table { width: 100% !important; table-layout: auto; margin-bottom: 0; }
.table td, .table th { padding: 11px 12px !important; font-size: 13.5px; font-weight: 400; color: #334155; vertical-align: middle !important; white-space: normal !important; word-break: normal; }
.table td.h9x-date, #tableInvoicesList td, #tableQuotesList td, #tableDomainsList td, .table td:has(> .label:only-child), .table td:has(> .badge:only-child) { white-space: nowrap !important; }
.table td.h9x-date { font-variant-numeric: tabular-nums; }
.table thead th { font-size: 11px; letter-spacing: .03em; white-space: nowrap !important; }
.table td a { font-weight: 500; }
.table .label, .table .badge, .table .status { white-space: nowrap; font-size: 11px; }
table.dataTable { width: 100% !important; }
.dataTables_wrapper .dataTables_filter input { border-radius: 8px; border: 1px solid #d5dbe5; min-height: 40px; }
.main-content .table-container, .main-content .card { max-width: 100%; }
.dataTables_wrapper .row { margin: 0; }
@media (min-width: 992px) { .main-content .table td:nth-child(n+2) { max-width: 420px; } }

/* ---- invoice quick pay + service health badges */
.h9x-paynow { display: inline-flex; align-items: center; gap: 3px; margin: 4px 0 0 0; padding: 0 7px; height: 18px; border-radius: 999px; background: #fff; border: 1px solid var(--h9x-blue); color: var(--h9x-blue) !important; font-size: 10px !important; font-weight: 600; line-height: 16px; text-decoration: none !important; white-space: nowrap; vertical-align: middle; transition: background-color .2s, color .2s; }
.h9x-paynow:hover { background: var(--h9x-blue); color: #fff !important; }
.h9x-paynow i { font-size: 8px; }
td .h9x-paynow { display: flex; width: max-content; }
.h9x-sk { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h9x-tpl-clientareainvoices .h9x-hide-side { display: none !important; }
.h9x-tpl-clientareainvoices .main-content.h9x-full, .h9x-full { flex: 0 0 100% !important; max-width: 100% !important; }
.h9x-health { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.h9x-hs, .h9x-due { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.h9x-hs i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.h9x-hs-online { background: #e8f8ef; color: #15803d; }
.h9x-hs-online i { box-shadow: 0 0 0 3px rgba(34,197,94,.18); animation: h9x-pulse 2s infinite; }
.h9x-hs-offline { background: #fdecec; color: #b91c1c; }
.h9x-hs-unknown { background: #eef2f7; color: #64748b; }
.h9x-due { background: #f1f5fb; color: #475569; }
.h9x-due i { font-size: 10px; }
.h9x-due-soon { background: #fff4e0; color: #b45309; }
.h9x-due-over { background: #fdecec; color: #b91c1c; }
@keyframes h9x-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.18); } 50% { box-shadow: 0 0 0 5px rgba(34,197,94,.05); } }

/* compact invoice / quote tables so all columns fit on one screen */
#tableInvoicesList td, #tableInvoicesList th, #tableQuotesList td, #tableQuotesList th { padding: 8px 8px !important; font-size: 13px; }
#tableInvoicesList thead th, #tableQuotesList thead th { font-size: 10.5px; letter-spacing: .02em; }
#tableInvoicesList .btn-sm, #tableInvoicesList .btn-xs, .table .btn-sm { padding: 3px 9px !important; font-size: 11px !important; line-height: 1.5; }
#tableInvoicesList .label, #tableInvoicesList .status { font-size: 10.5px; padding: 3px 8px; }
#tableInvoicesList td:last-child, #tableInvoicesList th:last-child { text-align: right; }
.table td.h9x-date, .table td .h9x-date { white-space: nowrap !important; }

/* product details: inline health + service action shortcuts */
.h9x-health-inline { display: inline-flex; gap: 6px; margin: 0 0 0 10px; vertical-align: middle; }
.h9x-svc-action { display: flex !important; align-items: center; gap: 7px; white-space: nowrap; padding: 9px 12px !important; font-size: 13px; }
.h9x-svc-action > i { width: 16px; flex: 0 0 16px; text-align: center; color: var(--h9x-blue); }
.h9x-svc-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.h9x-svc-action small { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; background: #f1f5fb; color: #94a3b8; }
.h9x-svc-action small i { font-size: 10px; width: auto; color: inherit; }
.h9x-svc-action:hover small { color: var(--h9x-blue); }
.card-sidebar .list-group-item.active .h9x-health { display: none; }
.h9x-svc-status { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; }
.h9x-svc-status .h9x-health { margin: 0; }
.h9x-svc-status-label { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
