/* ============================================================================
   DurontoHost WHMCS 8.x Child Theme Stylesheet (css/custom.css)
   Parent: twenty-one | Prefix: dh- | Palette: #0866F5, #0A1F5C, #1450D8, #00D4FF
   ============================================================================ */

:root {
  color-scheme: light only;
  --dh-blue: #2563EB;
  --dh-navy: #0A1F5C;
  --dh-royal: #1D4ED8;
  --dh-cyan: #00D4FF;
  --dh-grad: linear-gradient(135deg, #1E40AF 0%, #2563EB 55%, #1D4ED8 100%);
  --dh-grad-bright: linear-gradient(135deg, #0866F5 0%, #2563EB 58%, #1D4ED8 100%);

  --dh-bg: #F8FAFC;
  --dh-surface: #FFFFFF;
  --dh-glass: rgba(255, 255, 255, 0.94);
  --dh-subtle: #F1F5F9;
  --dh-text: #0F172A;
  --dh-text-2: #334155;
  --dh-muted: #64748B;
  --dh-border: #E2E8F0;
  --dh-border-strong: #CBD5E1;
  --dh-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);

  --dh-radius: 18px;
  --dh-font-display: 'Plus Jakarta Sans', 'Inter', 'Noto Sans Bengali', system-ui, sans-serif;
  --dh-font-body: 'Inter', 'Plus Jakarta Sans', 'Noto Sans Bengali', system-ui, sans-serif;
}

/* Base */
body.dh-body {
  background: var(--dh-bg) !important;
  color: var(--dh-text);
  font-family: var(--dh-font-body);
  overflow-x: clip;
  margin: 0;
}
body.dh-loading, body.dh-drawer-open { overflow: hidden; }
.dh-container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 28px); }
.dh-body h1, .dh-body h2, .dh-body h3, .dh-body h4 { font-family: var(--dh-font-display); color: var(--dh-text); letter-spacing: -0.02em; }
.dh-muted { color: var(--dh-muted); }
.dh-link { color: var(--dh-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dh-text-sm { font-size: 0.84rem; }
.dh-text-right { text-align: right; }
.dh-center-mt { text-align: center; margin-top: 18px; }
.dh-grad-text { background: var(--dh-grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent; }

.dh-body :focus-visible { outline: 2.5px solid var(--dh-cyan); outline-offset: 2px; border-radius: 6px; }
.dh-skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 9999;
  padding: 12px 18px; border-radius: 999px; background: var(--dh-navy); color: #FFFFFF; font-weight: 700;
}
.dh-skip-link:focus { top: 16px; }

/* Scroll Progress Bar */
.dh-scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 950; pointer-events: none; }
.dh-scroll-progress-bar { height: 100%; width: 100%; background: var(--dh-grad-bright); transform-origin: left center; transform: scaleX(0); }

/* 3D Skeleton Loader */
.dh-skeleton-loader {
  position: fixed; inset: 0; z-index: 9000; background: var(--dh-bg);
  display: grid; place-items: center; padding: 24px; transition: opacity 380ms ease, visibility 380ms ease;
}
.dh-skeleton-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.dh-skel-grid { position: absolute; inset: 0; max-width: 1120px; margin: 76px auto 0; padding: 0 20px; display: flex; flex-direction: column; gap: 20px; perspective: 1100px; opacity: 0.7; }
.dh-shimmer { position: relative; overflow: hidden; background: rgba(8, 102, 245, 0.09); border: 1px solid rgba(0, 212, 255, 0.22); border-radius: 20px; }
.dh-shimmer::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(100deg, transparent 15%, rgba(0, 212, 255, 0.28) 50%, transparent 85%); animation: dh-shim 1.4s ease-in-out infinite; }
@keyframes dh-shim { 100% { transform: translateX(100%); } }
.dh-skel-bar { height: 68px; }
.dh-skel-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.dh-skel-card { height: 180px; }
.dh-skel-a { transform: rotateX(8deg) rotateY(6deg); }
.dh-skel-b { transform: rotateX(8deg) rotateY(-6deg); }
.dh-skel-center { position: relative; z-index: 2; padding: 22px 30px; border-radius: 24px; background: var(--dh-glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--dh-border-strong); box-shadow: var(--dh-shadow); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dh-skel-ring-wrap { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.dh-skel-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.dh-skel-ring-wrap img { width: 64px; height: 64px; border-radius: 50%; background: #FFFFFF; object-fit: cover; }
.dh-skel-brand { font-family: var(--dh-font-display); font-weight: 800; }

/* Promo Bar */
.dh-promo-bar { background: var(--dh-grad); color: #FFFFFF; font-size: 0.88rem; }
.dh-promo-bar[hidden] { display: none; }
.dh-promo-inner { min-height: 44px; padding-block: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dh-promo-text { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; }
.dh-promo-cta { color: #FFFFFF; text-decoration: underline; font-weight: 800; }
.dh-promo-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: #FFFFFF; display: grid; place-items: center; }

/* Sticky Glass Header */
.dh-header {
  position: sticky; top: 0; z-index: 800;
  background: var(--dh-glass); -webkit-backdrop-filter: blur(22px) saturate(175%); backdrop-filter: blur(22px) saturate(175%);
  border-bottom: 1px solid var(--dh-border);
}
.dh-nav-wrap { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dh-brand-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: inherit; }
.dh-logo-ring { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: #FFFFFF; box-shadow: 0 4px 12px rgba(8, 102, 245, 0.24); display: grid; place-items: center; flex-shrink: 0; }
.dh-logo-sm { width: 36px; height: 36px; }
.dh-brand-text { display: flex; flex-direction: column; }
.dh-brand-name { font-family: var(--dh-font-display); font-size: 1.12rem; font-weight: 800; line-height: 1.08; }
.dh-brand-tag { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dh-muted); }

.dh-desktop-nav { display: none; }
.dh-desktop-only { display: none; }
@media (min-width: 960px) {
  .dh-desktop-nav { display: block; }
  .dh-desktop-only { display: inline-flex; }
}
.dh-nav-list { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 4px; }
.dh-nav-link {
  display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 8px 14px;
  border: 0; border-radius: 999px; background: transparent; color: var(--dh-text-2); font-weight: 600; font-size: 0.92rem; text-decoration: none;
}
.dh-nav-link:hover { color: var(--dh-blue); background: rgba(8, 102, 245, 0.08); }

.dh-dropdown { position: relative; }
.dh-drop-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 8px;
  border-radius: 16px; background: var(--dh-surface); border: 1.5px solid var(--dh-border-strong); box-shadow: var(--dh-shadow);
  display: none; flex-direction: column; gap: 2px; z-index: 820;
}
.dh-dropdown.is-open .dh-drop-menu { display: flex; }
.dh-drop-menu a { padding: 10px 12px; border-radius: 10px; font-size: 0.88rem; font-weight: 600; color: var(--dh-text); text-decoration: none; }
.dh-drop-menu a:hover { background: var(--dh-subtle); color: var(--dh-blue); }

.dh-nav-actions { display: flex; align-items: center; gap: 8px; }
.dh-icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--dh-border); background: var(--dh-surface); color: var(--dh-text);
  display: inline-grid; place-items: center; text-decoration: none;
}
.dh-cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--dh-blue); color: #FFFFFF; font-size: 0.7rem; font-weight: 800; display: grid; place-items: center;
}
.dh-hamburger {
  width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--dh-border); background: var(--dh-surface);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.dh-hamburger span { width: 20px; height: 2px; border-radius: 2px; background: var(--dh-text); transition: transform 220ms ease, opacity 180ms ease; }
.dh-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dh-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.dh-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 960px) { .dh-hamburger { display: none; } }

/* Buttons */
.dh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 10px 20px; border-radius: 999px;
  font-family: var(--dh-font-display); font-size: 0.92rem; font-weight: 700; text-decoration: none;
  border: 1.5px solid transparent; transition: transform 160ms ease, box-shadow 160ms ease;
}
.dh-btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.dh-btn-lg { min-height: 50px; padding: 13px 26px; font-size: 0.98rem; }
.dh-btn-full { width: 100%; }
.dh-btn-primary { background: var(--dh-grad-bright); color: #FFFFFF !important; box-shadow: 0 10px 24px -8px rgba(8, 102, 245, 0.52); }
.dh-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(8, 102, 245, 0.65); }
.dh-btn-outline { background: var(--dh-surface); border-color: var(--dh-border-strong); color: var(--dh-text) !important; }
.dh-btn-outline:hover { border-color: var(--dh-blue); color: var(--dh-blue) !important; }
.dh-btn-white { background: #FFFFFF; color: var(--dh-navy) !important; }
.dh-btn-wa { background: linear-gradient(135deg, #0FA958 0%, #0A8C48 100%); color: #FFFFFF !important; }

/* Mobile Slide-In Drawer */
.dh-drawer-backdrop { position: fixed; inset: 0; z-index: 860; background: rgba(6, 16, 43, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dh-drawer-backdrop[hidden] { display: none; }
.dh-mobile-drawer {
  position: fixed; top: 0; right: 0; z-index: 880; width: min(88vw, 340px); height: 100vh; height: 100dvh;
  background: var(--dh-surface); border-left: 1px solid var(--dh-border-strong); box-shadow: -20px 0 60px rgba(6, 16, 43, 0.35);
  display: flex; flex-direction: column; transform: translateX(104%); transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.dh-mobile-drawer.is-open { transform: translateX(0); }
.dh-drawer-head { padding: 16px 18px; border-bottom: 1px solid var(--dh-border); display: flex; align-items: center; justify-content: space-between; }
.dh-drawer-body { padding: 16px 18px calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.dh-drawer-account { padding: 14px; border-radius: 16px; background: var(--dh-subtle); border: 1px solid var(--dh-border); display: flex; flex-direction: column; gap: 10px; }
.dh-drawer-user { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }
.dh-drawer-account-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dh-drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.dh-drawer-link, .dh-acc-trigger {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 0; background: transparent;
  display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--dh-text); text-decoration: none;
}
.dh-drawer-link:hover, .dh-acc-trigger:hover { background: var(--dh-subtle); }
.dh-acc-panel { display: flex; flex-direction: column; padding-left: 14px; gap: 2px; }
.dh-acc-panel[hidden] { display: none; }
.dh-acc-panel a { min-height: 40px; display: flex; align-items: center; font-size: 0.9rem; color: var(--dh-text-2); text-decoration: none; }
.dh-drawer-prefs, .dh-drawer-contact-btns { display: flex; flex-direction: column; gap: 8px; }
.dh-drawer-foot-info { font-size: 0.8rem; color: var(--dh-muted); border-top: 1px solid var(--dh-border); padding-top: 12px; }

/* Mobile Bottom Tab Bar (< 768px) */
.dh-bottom-tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 820;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  background: var(--dh-glass); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  border-top: 1px solid var(--dh-border-strong);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  transition: transform 260ms ease;
}
.dh-bottom-tabs.is-hidden-scroll { transform: translateY(110%); }
@media (min-width: 768px) { .dh-bottom-tabs { display: none; } }
.dh-tab-item {
  min-height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 0.68rem; font-weight: 700; color: var(--dh-muted); text-decoration: none; border-radius: 12px;
}
.dh-tab-item.is-active { color: var(--dh-blue); background: rgba(8, 102, 245, 0.1); }
.dh-tab-icon-wrap { position: relative; display: inline-flex; }

/* Cards, Forms & Homepage */
.dh-main-body { padding-block: 24px 64px; min-height: 62vh; }
.dh-glass-card {
  background: var(--dh-glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1.5px solid var(--dh-border); border-radius: var(--dh-radius); box-shadow: var(--dh-shadow);
  padding: clamp(20px, 3vw, 28px); min-width: 0;
}
.dh-tilt-card { transition: transform 220ms ease, border-color 180ms ease; }
@media (hover: none), (pointer: coarse) { .dh-tilt-card:active { transform: scale(0.98) !important; } }

.dh-eyebrow {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.74rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.07em; background: rgba(8, 102, 245, 0.12); color: var(--dh-blue); margin-bottom: 10px;
}
.dh-eyebrow-cyan { background: rgba(0, 212, 255, 0.16); color: #00D4FF; }
.dh-hero { padding: clamp(28px, 5vw, 56px) 0 36px; text-align: center; }
.dh-hero-inner { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dh-hero-title { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 800; line-height: 1.1; margin: 0; }
.dh-hero-sub { font-size: 1.05rem; color: var(--dh-text-2); max-width: 60ch; margin: 0; }
.dh-domain-form { width: 100%; max-width: 620px; }
.dh-domain-shell { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 18px; background: var(--dh-surface); border: 1.5px solid var(--dh-border-strong); box-shadow: var(--dh-shadow); }
@media (min-width: 560px) { .dh-domain-shell { flex-direction: row; align-items: center; } }
.dh-domain-input { flex: 1; min-height: 46px; padding: 8px 14px; border: 0; background: transparent; color: var(--dh-text); font-size: 1rem; }
.dh-domain-btns { display: flex; gap: 8px; }
.dh-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.dh-trust-strip { padding: 20px; border-radius: 22px; background: var(--dh-surface); border: 1.5px solid var(--dh-border); box-shadow: var(--dh-shadow); margin-block: 24px; }
.dh-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--dh-border); }
.dh-trust-cell { display: flex; align-items: center; gap: 12px; }
.dh-trust-cell strong { display: block; font-size: 0.94rem; }
.dh-trust-cell span { display: block; font-size: 0.8rem; color: var(--dh-muted); }
.dh-payments-row { padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dh-pay-title { font-size: 0.84rem; font-weight: 700; color: var(--dh-muted); }
.dh-pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-pay-bg { fill: var(--dh-subtle); }
.dh-pay-txt { fill: var(--dh-text); font-family: var(--dh-font-display); font-size: 12px; font-weight: 700; }

.dh-section { margin-top: 48px; }
.dh-sec-head { text-align: center; margin-bottom: 24px; }
.dh-sec-light h2 { color: #FFFFFF; }
.dh-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.dh-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; padding: 0; list-style: none; }
.dh-step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--dh-grad-bright); color: #FFFFFF; font-weight: 800; margin-bottom: 10px; }
.dh-navy-band { padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--dh-navy); color: #FFFFFF; }
.dh-dark-card { padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(0, 212, 255, 0.22); }
.dh-dark-card h3 { color: #FFFFFF; font-size: 1.08rem; }
.dh-dark-card p { color: #C4D6F5; font-size: 0.9rem; margin: 6px 0 0; }
.dh-cta-banner { margin-top: 48px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--dh-grad); color: #FFFFFF; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.dh-cta-banner h2 { color: #FFFFFF; margin: 0 0 6px; }
.dh-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Client Area Dashboard, Product Details, Forms & Auth */
.dh-dash-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.dh-dash-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; margin-bottom: 20px; }
.dh-stat-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.dh-stat-val { font-family: var(--dh-font-display); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.dh-stat-label { font-size: 0.86rem; font-weight: 600; color: var(--dh-muted); }
.dh-wallet-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-bottom: 22px; }
.dh-wallet-card { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.dh-wallet-balance { font-size: 2.1rem; margin: 0; }
.dh-shortcut-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dh-shortcut-pill { padding: 8px 14px; border-radius: 999px; background: var(--dh-subtle); border: 1px solid var(--dh-border); font-size: 0.85rem; font-weight: 700; color: var(--dh-text); text-decoration: none; }
.dh-panels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.dh-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }

.dh-svc-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dh-svc-billing-meta { display: flex; flex-wrap: wrap; gap: 18px; }
.dh-svc-billing-meta span { display: block; font-size: 0.76rem; color: var(--dh-muted); }
.dh-status-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; background: rgba(16, 185, 104, 0.15); color: #066C41; margin-bottom: 8px; }
.dh-st-unpaid, .dh-st-suspended, .dh-st-cancelled { background: rgba(220, 38, 38, 0.15); color: #991B1B; }
.dh-gauges-card, .dh-module-box { margin-bottom: 18px; }
.dh-gauges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 12px; }
.dh-gauge-top { display: flex; justify-content: space-between; font-size: 0.86rem; margin-bottom: 6px; }
.dh-gauge-track { height: 10px; border-radius: 999px; background: var(--dh-subtle); overflow: hidden; }
.dh-gauge-fill { height: 100%; background: var(--dh-grad-bright); border-radius: 999px; }
.dh-svc-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: 18px; }
.dh-cred-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--dh-border); font-size: 0.88rem; }
.dh-copy-wrap { display: inline-flex; align-items: center; gap: 6px; }
.dh-copy-btn { min-height: 32px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--dh-border-strong); background: var(--dh-subtle); color: var(--dh-text); font-size: 0.76rem; font-weight: 700; }

/* Mobile Collapsible Client Sidebar + Responsive Stacked Tables */
.dh-sidebar-mobile-toggle {
  display: inline-flex; align-items: center; gap: 8px; width: 100%; min-height: 46px; padding: 10px 16px; margin-bottom: 12px;
  border-radius: 14px; border: 1.5px solid var(--dh-border-strong); background: var(--dh-surface); color: var(--dh-text); font-weight: 700;
}
.dh-sidebar-content { display: none; }
.dh-sidebar-content.is-open { display: block; }
@media (min-width: 992px) {
  .dh-sidebar-mobile-toggle { display: none; }
  .dh-sidebar-content { display: block; }
}
@media (max-width: 767px) {
  .table-container table.dataTable thead { display: none; }
  .table-container table.dataTable tr { display: block; margin-bottom: 12px; padding: 12px; border-radius: 16px; background: var(--dh-surface); border: 1px solid var(--dh-border); }
  .table-container table.dataTable td { display: flex; justify-content: space-between; padding: 6px 0 !important; border: 0 !important; }
}

/* Auth, Google Sign-In & Forms */
.dh-auth-wrap { max-width: 460px; margin: 24px auto; }
.dh-form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.dh-field { display: flex; flex-direction: column; gap: 6px; }
.dh-field-row { display: flex; justify-content: space-between; align-items: center; }
.dh-field-label { font-size: 0.84rem; font-weight: 700; color: var(--dh-text-2); }
.dh-input, .dh-select { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--dh-border-strong); background: var(--dh-surface); color: var(--dh-text); font-size: 0.96rem; }
.dh-textarea { min-height: 110px; resize: vertical; }
.dh-pw-wrap { position: relative; display: flex; }
.dh-pw-wrap .dh-input { padding-right: 72px; }
.dh-pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 4px 12px; border: 0; border-radius: 8px; background: var(--dh-subtle); color: var(--dh-text); font-size: 0.8rem; font-weight: 700; }
.dh-auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 0.82rem; font-weight: 700; color: var(--dh-muted); }
.dh-auth-divider::before, .dh-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--dh-border-strong); }
.dh-social-auth-list { display: flex; flex-direction: column; gap: 10px; }
.dh-btn-social {
  width: 100%; min-height: 46px; padding: 10px 16px; border-radius: 14px;
  border: 1.5px solid var(--dh-border-strong); background: var(--dh-surface); color: var(--dh-text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700;
}
.dh-btn-social:hover { border-color: var(--dh-blue); }
.dh-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dh-amount-chip { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--dh-border-strong); background: var(--dh-subtle); font-weight: 700; color: var(--dh-text); }
.dh-amount-chip:hover { border-color: var(--dh-blue); color: var(--dh-blue); }

/* Static Legal Pages, TOC, Map & FAQ */
.dh-page-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 960px) { .dh-page-layout { grid-template-columns: 1fr 270px; } }
.dh-doc-card h2 { margin-top: 24px; font-size: 1.24rem; }
.dh-doc-updated { font-size: 0.84rem; font-weight: 700; color: var(--dh-blue); margin-bottom: 14px; }
.dh-toc { padding: 14px 16px; border-radius: 14px; background: var(--dh-subtle); display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 20px; font-size: 0.86rem; }
.dh-toc strong { width: 100%; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dh-muted); }
.dh-side-links { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.dh-side-links a { min-height: 38px; padding: 6px 10px; border-radius: 10px; display: flex; align-items: center; font-size: 0.88rem; font-weight: 600; color: var(--dh-text-2); text-decoration: none; }
.dh-side-links a:hover, .dh-side-links a.is-active { background: var(--dh-subtle); color: var(--dh-blue); }
.dh-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 22px; }
.dh-contact-tile { padding: 18px; border-radius: 16px; background: var(--dh-subtle); border: 1px solid var(--dh-border); display: flex; flex-direction: column; gap: 8px; }
.dh-static-map { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 16px; border-radius: 18px; background: var(--dh-subtle); border: 1px solid var(--dh-border); }
.dh-faq-list { display: flex; flex-direction: column; gap: 10px; }
.dh-faq-item { border-radius: 16px; background: var(--dh-surface); border: 1.5px solid var(--dh-border); overflow: hidden; }
.dh-faq-btn { width: 100%; min-height: 54px; padding: 14px 18px; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; text-align: left; color: var(--dh-text); }
.dh-faq-panel { padding: 0 18px 16px; color: var(--dh-text-2); font-size: 0.94rem; }
.dh-faq-panel[hidden] { display: none; }
.dh-error-card { max-width: 520px; margin: 36px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dh-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Invoice Print View & Sticky Bottom Bar */
.dh-invoice-body { background: var(--dh-bg); color: var(--dh-text); font-family: var(--dh-font-body); margin: 0; padding: 24px 16px 96px; }
.dh-invoice-container { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.dh-invoice-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.dh-invoice-brand { display: flex; align-items: center; gap: 14px; }
.dh-invoice-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.dh-inv-table { width: 100%; border-collapse: collapse; }
.dh-inv-table th, .dh-inv-table td { padding: 12px 10px; border-bottom: 1px solid var(--dh-border); }
.dh-inv-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--dh-surface); border-top: 1.5px solid var(--dh-border-strong); display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .dh-inv-sticky-bar { display: none; } }
@media print {
  .no-print { display: none !important; }
  .dh-invoice-body { background: #FFFFFF !important; color: #000000 !important; padding: 0; }
  .dh-glass-card { box-shadow: none !important; border: 1px solid #CBD5E1 !important; }
}

/* Footer (extra mobile bottom padding so bottom tab bar never covers credit line) */
.dh-footer {
  background: #061238; color: #C4D6F5; padding-top: 52px;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(0, 212, 255, 0.18);
}
@media (min-width: 768px) { .dh-footer { padding-bottom: 32px; } }
.dh-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.dh-brand-footer .dh-brand-name { color: #FFFFFF; }
.dh-footer-col h3 { color: #FFFFFF; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.dh-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.dh-footer-col a { color: #B9CCF0; font-size: 0.9rem; text-decoration: none; }
.dh-footer-col a:hover { color: #00D4FF; }
.dh-footer-nap, .dh-footer-contact { font-size: 0.86rem; margin-top: 10px; }
.dh-footer-contact a { color: #00D4FF; }
.dh-footer-bottom { padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.86rem; }
.dh-footer-bottom a { color: #00D4FF; font-weight: 700; text-decoration: underline; }

/* Unified Floating Help Launcher (positioned cleanly above mobile bottom tab bar) */
.dh-help-widget {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  z-index: 850; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
@media (min-width: 768px) { .dh-help-widget { bottom: max(20px, env(safe-area-inset-bottom, 0px)); } }
.dh-help-fab {
  position: relative; width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35);
  background: var(--dh-grad-bright); color: #FFFFFF; display: grid; place-items: center;
  box-shadow: 0 14px 32px -6px rgba(8, 102, 245, 0.58);
}
.dh-fab-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(0, 212, 255, 0.6); animation: dh-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes dh-pulse { 0% { transform: scale(1); opacity: 0.85; } 100% { transform: scale(1.38); opacity: 0; } }
.dh-help-greeting {
  position: relative; max-width: min(280px, calc(100vw - 32px)); padding: 12px 32px 12px 14px;
  border-radius: 16px 16px 4px 16px; background: var(--dh-surface); border: 1.5px solid var(--dh-border-strong); box-shadow: var(--dh-shadow);
}
.dh-help-greeting[hidden], .dh-help-panel[hidden] { display: none; }
.dh-greeting-open { border: 0; background: transparent; padding: 0; text-align: left; font-size: 0.86rem; font-weight: 600; color: var(--dh-text); }
.dh-greeting-close { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--dh-subtle); color: var(--dh-muted); display: grid; place-items: center; }
.dh-help-panel {
  width: min(360px, calc(100vw - 32px)); border-radius: 22px; overflow: hidden;
  background: var(--dh-surface); border: 1.5px solid var(--dh-border-strong); box-shadow: 0 24px 64px -14px rgba(6, 16, 43, 0.45);
}
.dh-help-head { padding: 14px 16px; background: var(--dh-grad); color: #FFFFFF; display: flex; align-items: center; justify-content: space-between; }
.dh-help-title { font-size: 1rem; color: #FFFFFF !important; margin: 0; }
.dh-help-sub { font-size: 0.76rem; color: rgba(255, 255, 255, 0.85); margin: 2px 0 0; }
.dh-help-close { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.16); color: #FFFFFF; display: grid; place-items: center; }
.dh-help-tabs { display: flex; gap: 4px; padding: 8px; background: var(--dh-subtle); overflow-x: auto; }
.dh-help-tab { min-height: 36px; padding: 6px 11px; border: 0; border-radius: 999px; background: transparent; font-size: 0.78rem; font-weight: 700; color: var(--dh-muted); white-space: nowrap; }
.dh-help-tab.is-active { background: var(--dh-blue); color: #FFFFFF; }
.dh-help-body { padding: 14px; max-height: 55dvh; overflow-y: auto; }
.dh-help-pane[hidden] { display: none; }
.dh-help-intro { font-size: 0.85rem; color: var(--dh-text-2); margin: 0 0 10px; }
.dh-wa-list, .dh-help-link-stack { display: flex; flex-direction: column; gap: 7px; }
.dh-wa-item { min-height: 42px; padding: 8px 12px; border-radius: 12px; background: var(--dh-subtle); border: 1px solid var(--dh-border); font-size: 0.86rem; font-weight: 700; color: var(--dh-text); display: flex; align-items: center; text-decoration: none; }
.dh-wa-item:hover { border-color: #0FA958; }
.dh-inline-field { display: flex; gap: 6px; margin-bottom: 10px; }

/* Cookie Banner, Back-to-Top & Toasts */
.dh-cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); z-index: 840;
  max-width: 680px; margin: 0 auto; padding: 16px 20px; border-radius: 18px;
  background: var(--dh-surface); border: 1.5px solid var(--dh-border-strong); box-shadow: var(--dh-shadow);
}
@media (min-width: 768px) { .dh-cookie-banner { bottom: 20px; } }
.dh-cookie-banner[hidden] { display: none; }
.dh-cookie-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.86rem; }
.dh-cookie-actions { display: flex; gap: 8px; }
.dh-back-top {
  position: fixed; left: 16px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); z-index: 810;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--dh-border-strong); background: var(--dh-surface); color: var(--dh-text); display: grid; place-items: center;
}
@media (min-width: 768px) { .dh-back-top { bottom: 20px; } }
.dh-back-top[hidden] { display: none; }
.dh-toast-region { position: fixed; top: 82px; right: 16px; z-index: 980; display: flex; flex-direction: column; gap: 8px; }
.dh-toast { padding: 10px 16px; border-radius: 12px; background: var(--dh-navy); color: #FFFFFF; font-size: 0.86rem; font-weight: 700; box-shadow: var(--dh-shadow); }

.dh-reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.dh-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================================
   HOMEPAGE v2 (Split Hero + Domain Checker + 3x3 Tiles + Plans + Features)
   ============================================================================ */
.dh-is-home .dh-main-body { padding-top: 0; }

.dh-home-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(44px, 6vw, 76px) 0 clamp(48px, 6vw, 82px);
  background:
    radial-gradient(circle at 82% 24%, rgba(0, 212, 255, 0.28), transparent 44%),
    radial-gradient(circle at 14% 85%, rgba(10, 31, 92, 0.45), transparent 50%),
    linear-gradient(135deg, #0A1F5C 0%, #0866F5 52%, #1450D8 100%);
  color: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 212, 255, 0.22);
}

.dh-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 960px) {
  .dh-hero-split { grid-template-columns: 1.18fr 0.82fr; gap: 48px; }
}

.dh-hero-left { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.dh-hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #FFFFFF; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

.dh-home-h1 {
  color: #FFFFFF !important;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.03em;
}
.dh-cyan-dot { color: #00D4FF; }
.dh-home-lead {
  color: rgba(240, 247, 255, 0.9);
  font-size: 1.03rem; line-height: 1.6; max-width: 54ch; margin: 0;
}

.dh-hero-search-form { width: 100%; max-width: 560px; margin-top: 6px; }
.dh-hero-search {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 14px; border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 22px 46px -14px rgba(5, 16, 48, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.dh-search-icon { color: #52658C; display: inline-flex; flex-shrink: 0; }
.dh-hero-search-input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 6px;
  border: 0 !important; background: transparent !important;
  color: #0A1F5C !important; font-size: 0.98rem; font-weight: 500; outline: none;
}
.dh-hero-search-input::placeholder { color: #64748B; }
.dh-hero-search-btn {
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #0866F5 0%, #1450D8 100%);
  color: #FFFFFF; font-family: var(--dh-font-display); font-size: 0.92rem; font-weight: 700;
  cursor: pointer; flex-shrink: 0; transition: transform 150ms ease, filter 150ms ease;
}
.dh-hero-search-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

.dh-tld-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px;
}
.dh-tld-chip {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 32px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12); color: #FFFFFF;
  font-size: 0.78rem; cursor: pointer; transition: background 150ms ease;
}
.dh-tld-chip:hover { background: rgba(255, 255, 255, 0.24); }
.dh-tld-chip strong { color: #00D4FF; font-weight: 800; }
.dh-tld-transfer {
  margin-left: auto; color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.dh-tld-transfer:hover { color: #00D4FF; }

/* 3x3 Glowing Glass Hero Grid */
.dh-hero-visual { display: flex; justify-content: center; }
.dh-hero-icon-grid {
  display: grid; grid-template-columns: repeat(3, minmax(68px, 84px)); gap: 14px;
  padding: 18px; border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 26px 56px -18px rgba(4, 14, 46, 0.55);
}
.dh-hero-tile {
  aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 24px -10px rgba(4, 12, 38, 0.45);
  transition: transform 200ms ease;
}
.dh-hero-tile:hover { transform: translateY(-4px) scale(1.04); }
.dh-ht-blue   { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.dh-ht-green  { background: linear-gradient(135deg, #10B981, #059669); }
.dh-ht-amber  { background: linear-gradient(135deg, #F59E0B, #EA580C); }
.dh-ht-purple { background: linear-gradient(135deg, #A855F7, #7C3AED); }
.dh-ht-rose   { background: linear-gradient(135deg, #EC4899, #DB2777); }
.dh-ht-cyan   { background: linear-gradient(135deg, #00D4FF, #0284C7); }
.dh-ht-indigo { background: linear-gradient(135deg, #6366F1, #4338CA); }
.dh-ht-teal   { background: linear-gradient(135deg, #14B8A6, #0F766E); }
.dh-ht-royal  { background: linear-gradient(135deg, #0866F5, #0A1F5C); }

/* Live Hosting Packages Grid */
.dh-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 20px; align-items: stretch;
}
.dh-plan-card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 26px 22px 22px; border-radius: 22px;
  background: var(--dh-surface); border: 1.5px solid var(--dh-border);
  box-shadow: var(--dh-shadow);
}
.dh-plan-card.is-popular {
  border-color: var(--dh-blue);
  box-shadow: 0 22px 48px -16px rgba(8, 102, 245, 0.34);
}
.dh-plan-badge {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--dh-grad-bright); color: #FFFFFF;
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
}
.dh-plan-head h3 { font-size: 1.06rem; font-weight: 800; margin: 0 0 8px; }
.dh-plan-price { display: flex; align-items: baseline; gap: 4px; }
.dh-plan-price strong {
  font-family: var(--dh-font-display); font-size: 1.9rem; font-weight: 800; color: var(--dh-blue);
}
.dh-plan-price span { font-size: 0.86rem; font-weight: 600; color: var(--dh-muted); }

.dh-plan-features {
  list-style: none; padding: 0; margin: 0; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.dh-plan-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.88rem; color: var(--dh-text-2); line-height: 1.45;
}
.dh-plan-features li svg { color: var(--dh-blue); flex-shrink: 0; margin-top: 2px; }
.dh-plans-fallback {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}

/* 6-Card Powerful Features Grid */
.dh-features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px;
}
.dh-feature-card {
  padding: 24px 22px; border-radius: 20px;
  background: var(--dh-surface); border: 1.5px solid var(--dh-border);
  box-shadow: var(--dh-shadow); display: flex; flex-direction: column; gap: 10px;
}
.dh-feature-card h3 { font-size: 1.04rem; font-weight: 800; margin: 2px 0 0; }
.dh-feature-card p { font-size: 0.9rem; color: var(--dh-text-2); margin: 0; line-height: 1.55; }
.dh-feat-icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
}
.dh-fi-blue   { background: rgba(8, 102, 245, 0.14); color: #0866F5; }
.dh-fi-green  { background: rgba(16, 185, 129, 0.14); color: #10B981; }
.dh-fi-amber  { background: rgba(245, 158, 11, 0.14); color: #D97706; }
.dh-fi-purple { background: rgba(139, 92, 246, 0.14); color: #8B5CF6; }
.dh-fi-rose   { background: rgba(236, 72, 153, 0.14); color: #EC4899; }
.dh-fi-cyan   { background: rgba(0, 212, 255, 0.16); color: #0284C7; }

/* Bottom Launch CTA Band */
.dh-launch-cta {
  margin-top: 48px; padding: clamp(34px, 5vw, 56px) 24px; border-radius: 26px; text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(8, 102, 245, 0.34), transparent 65%), #071333;
  border: 1px solid rgba(0, 212, 255, 0.24);
  box-shadow: 0 26px 56px -18px rgba(4, 12, 36, 0.55);
  color: #FFFFFF;
}
.dh-launch-cta h2 { color: #FFFFFF !important; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 8px; }
.dh-launch-cta p { color: #C4D6F5; max-width: 52ch; margin: 0 auto 22px; }
.dh-launch-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ============================================================================
   COMPREHENSIVE WHMCS NATIVE PAGE OVERRIDES (Store, Cart, Checkout, Account,
   Services, Domains, Invoices, Tickets, KB — 100% Light & Dark Mode Contrast)
   ============================================================================ */

/* Bootstrap / Twenty-One Cards, Panels, Wells & Sidebars */
.dh-body .card,
.dh-body .panel,
.dh-body .panel-default,
.dh-body .panel-sidebar,
.dh-body .well,
.dh-body .jumbotron,
.dh-body .modal-content,
.dh-body .dropdown-menu {
  background-color: var(--dh-surface) !important;
  color: var(--dh-text) !important;
  border: 1.5px solid var(--dh-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--dh-shadow);
}

.dh-body .card-header,
.dh-body .panel-heading,
.dh-body .panel-sidebar .panel-heading,
.dh-body .modal-header {
  background: var(--dh-subtle) !important;
  color: var(--dh-text) !important;
  border-bottom: 1px solid var(--dh-border) !important;
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
  font-family: var(--dh-font-display);
  font-weight: 700;
}
.dh-body .panel-heading h3,
.dh-body .panel-heading .panel-title,
.dh-body .card-header h3,
.dh-body .card-title,
.dh-body .modal-title {
  color: var(--dh-text) !important;
  font-weight: 700;
}

.dh-body .card-body,
.dh-body .panel-body,
.dh-body .card-footer,
.dh-body .panel-footer,
.dh-body .modal-body,
.dh-body .modal-footer {
  background: transparent !important;
  color: var(--dh-text-2) !important;
  border-color: var(--dh-border) !important;
}

.dh-body .bg-white,
.dh-body .bg-light {
  background-color: var(--dh-surface) !important;
  color: var(--dh-text) !important;
}
.dh-body .text-dark,
.dh-body .text-body { color: var(--dh-text) !important; }
.dh-body .text-muted { color: var(--dh-muted) !important; }

/* List Groups & Sidebars */
.dh-body .list-group-item {
  background-color: var(--dh-surface) !important;
  color: var(--dh-text-2) !important;
  border-color: var(--dh-border) !important;
  padding: 11px 16px;
  font-weight: 500;
}
.dh-body .list-group-item:hover,
.dh-body a.list-group-item:hover {
  background-color: var(--dh-subtle) !important;
  color: var(--dh-text) !important;
}
.dh-body .list-group-item.active,
.dh-body .list-group-item.active:hover,
.dh-body .list-group-item.active:focus {
  background: var(--dh-grad-bright) !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
  font-weight: 700;
}

/* WHMCS Standard Cart / Store / Domain Checker / Checkout */
.dh-body #order-standard_cart .header-lined h1,
.dh-body #order-standard_cart .header-lined h2,
.dh-body .header-lined h1 {
  color: var(--dh-text) !important;
  border-bottom-color: var(--dh-border) !important;
}
.dh-body #order-standard_cart .header-lined p,
.dh-body #order-standard_cart p {
  color: var(--dh-text-2);
}

.dh-body #order-standard_cart .products .product {
  background: var(--dh-surface) !important;
  color: var(--dh-text) !important;
  border: 1.5px solid var(--dh-border) !important;
  border-radius: 20px !important;
  box-shadow: var(--dh-shadow) !important;
  overflow: hidden;
  padding: 0 0 18px !important;
}
.dh-body #order-standard_cart .products .product header {
  background: var(--dh-grad) !important;
  color: #FFFFFF !important;
  padding: 16px 20px !important;
  margin: 0 0 14px !important;
  border-radius: 0 !important;
}
.dh-body #order-standard_cart .products .product header span,
.dh-body #order-standard_cart .products .product header h4 {
  color: #FFFFFF !important;
  font-weight: 800 !important;
}
.dh-body #order-standard_cart .products .product .product-desc,
.dh-body #order-standard_cart .products .product .product-desc p,
.dh-body #order-standard_cart .products .product .product-desc li,
.dh-body #order-standard_cart .products .product .product-desc span,
.dh-body #order-standard_cart .products .product .product-desc div {
  color: var(--dh-text-2) !important;
  background: transparent !important;
}
.dh-body #order-standard_cart .products .product .product-desc {
  padding: 6px 20px 14px !important;
}
.dh-body #order-standard_cart .products .product footer {
  padding: 12px 20px 4px !important;
  background: transparent !important;
  border-top: 1px solid var(--dh-border) !important;
}
.dh-body #order-standard_cart .products .product .product-pricing,
.dh-body #order-standard_cart .products .product .product-pricing span {
  color: var(--dh-muted) !important;
}
.dh-body #order-standard_cart .products .product .product-pricing .price {
  color: var(--dh-blue) !important;
  font-family: var(--dh-font-display);
  font-size: 1.45rem !important;
  font-weight: 800 !important;
}

/* Cart Sidebar, Domain Step, Configure Product, View Cart, Checkout */
.dh-body #order-standard_cart .cart-sidebar .panel-sidebar .panel-heading,
.dh-body #order-standard_cart .sidebar .panel-heading {
  background: var(--dh-subtle) !important;
  color: var(--dh-text) !important;
}
.dh-body #order-standard_cart .domain-checker-container,
.dh-body #order-standard_cart .domain-selection-options .option,
.dh-body #order-standard_cart .product-info,
.dh-body #order-standard_cart .field-container,
.dh-body #order-standard_cart .view-cart-items,
.dh-body #order-standard_cart .view-cart-items .item,
.dh-body #order-standard_cart .promo-container,
.dh-body #order-standard_cart .addon-promo-container,
.dh-body #order-standard_cart .suggested-domains .panel,
.dh-body #order-standard_cart .apply-credit-container,
.dh-body #order-standard_cart .cc-input-container,
.dh-body #order-standard_cart .payment-method-option {
  background: var(--dh-surface) !important;
  color: var(--dh-text) !important;
  border-color: var(--dh-border) !important;
  border-radius: 16px !important;
}
.dh-body #order-standard_cart .view-cart-items-header {
  background: var(--dh-grad) !important;
  color: #FFFFFF !important;
  border-radius: 14px 14px 0 0 !important;
}
.dh-body #order-standard_cart .sub-heading span,
.dh-body #order-standard_cart .sub-heading-borderless span {
  background: var(--dh-bg) !important;
  color: var(--dh-text) !important;
  font-weight: 700;
}

/* Native WHMCS Buttons (Unified with DurontoHost) */
.dh-body .btn-primary,
.dh-body #order-standard_cart .btn-order-now,
.dh-body #order-standard_cart .btn-checkout,
.dh-body #order-standard_cart #btnCompleteOrder {
  background: var(--dh-grad-bright) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 22px -8px rgba(8, 102, 245, 0.45);
}
.dh-body .btn-success {
  background: linear-gradient(135deg, #0FA958 0%, #0A8C48 100%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
}
.dh-body .btn-default,
.dh-body .btn-secondary,
.dh-body .btn-outline-secondary {
  background: var(--dh-subtle) !important;
  border: 1.5px solid var(--dh-border-strong) !important;
  border-radius: 999px !important;
  color: var(--dh-text) !important;
  font-weight: 600 !important;
}

/* Forms, Inputs, Selects & Labels */
.dh-body .form-control,
.dh-body select.form-control,
.dh-body .custom-select,
.dh-body input.field,
.dh-body select.field,
.dh-body textarea.field,
.dh-body .dataTables_wrapper .dataTables_filter input,
.dh-body .dataTables_wrapper .dataTables_length select {
  background-color: var(--dh-subtle) !important;
  color: var(--dh-text) !important;
  border: 1.5px solid var(--dh-border-strong) !important;
  border-radius: 12px !important;
  min-height: 42px;
}
.dh-body .form-control::placeholder { color: var(--dh-muted) !important; }
.dh-body .input-group-text,
.dh-body .input-group-addon {
  background-color: var(--dh-subtle) !important;
  color: var(--dh-text) !important;
  border-color: var(--dh-border-strong) !important;
}
.dh-body label,
.dh-body .form-check-label { color: var(--dh-text-2); }

/* Tables, DataTables, Tickets, Knowledgebase & Tabs */
.dh-body .table,
.dh-body table.dataTable {
  color: var(--dh-text) !important;
  background-color: var(--dh-surface) !important;
}
.dh-body .table thead th,
.dh-body table.dataTable thead th {
  background-color: var(--dh-subtle) !important;
  color: var(--dh-text) !important;
  border-color: var(--dh-border) !important;
}
.dh-body .table td,
.dh-body .table th,
.dh-body table.dataTable td {
  border-color: var(--dh-border) !important;
  color: var(--dh-text-2) !important;
}
.dh-body .table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(8, 102, 245, 0.04) !important;
}
.dh-body .table-hover tbody tr:hover {
  background-color: var(--dh-subtle) !important;
}
.dh-body .dataTables_wrapper .dataTables_info,
.dh-body .dataTables_wrapper .dataTables_length,
.dh-body .dataTables_wrapper .dataTables_filter {
  color: var(--dh-muted) !important;
}
.dh-body .pagination .page-link {
  background: var(--dh-surface) !important;
  color: var(--dh-text) !important;
  border-color: var(--dh-border) !important;
}
.dh-body .pagination .page-item.active .page-link {
  background: var(--dh-blue) !important;
  color: #FFFFFF !important;
  border-color: var(--dh-blue) !important;
}

.dh-body .nav-tabs { border-bottom-color: var(--dh-border) !important; }
.dh-body .nav-tabs .nav-link { color: var(--dh-text-2) !important; }
.dh-body .nav-tabs .nav-link.active {
  background: var(--dh-surface) !important;
  color: var(--dh-blue) !important;
  border-color: var(--dh-border) var(--dh-border) var(--dh-surface) !important;
}
.dh-body .dropdown-item { color: var(--dh-text) !important; }
.dh-body .dropdown-item:hover { background: var(--dh-subtle) !important; }

.dh-body .ticket-reply,
.dh-body .kb-category,
.dh-body .announcement-single,
.dh-body .tiles .tile {
  background: var(--dh-surface) !important;
  color: var(--dh-text) !important;
  border: 1.5px solid var(--dh-border) !important;
  border-radius: 16px !important;
}
.dh-body .ticket-reply .user,
.dh-body .ticket-reply .date {
  background: var(--dh-subtle) !important;
  color: var(--dh-text) !important;
}
.dh-body .alert {
  border-radius: 14px !important;
  border-width: 1.5px !important;
}
.dh-body .close { color: var(--dh-text) !important; text-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .dh-reveal { opacity: 1 !important; transform: none !important; }
  .dh-fab-pulse { display: none !important; }
}

/* ============================================================================
   SAAS UI v3 (Images 2–11: Clean Cards, Blue Banners, Split Auth, Store,
   Domains, Standalone Checker, Dashboard, Service Details & Choose Domain)
   ============================================================================ */

/* Active Nav Pill & Extra Button Variants */
.dh-nav-link.is-current { color: var(--dh-blue); background: rgba(37, 99, 235, 0.08); }
.dh-btn-xs { min-height: 36px; padding: 6px 14px; font-size: 0.8rem; border-radius: 10px; }
.dh-btn-soft {
  background: rgba(37, 99, 235, 0.08); color: var(--dh-blue) !important;
  border: 1px solid rgba(37, 99, 235, 0.14); border-radius: 12px;
}
.dh-btn-soft:hover { background: rgba(37, 99, 235, 0.16); }
.dh-btn-purple {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  color: #FFFFFF !important; border: 0; border-radius: 12px;
}
.dh-mt-auto { margin-top: auto; }

.dh-clean-card {
  background: var(--dh-surface);
  border: 1px solid var(--dh-border);
  border-radius: 16px;
  padding: clamp(18px, 2.5vw, 24px);
  box-shadow: var(--dh-shadow);
}
.dh-mini-title { font-size: 0.98rem; font-weight: 800; margin: 0 0 12px; }

/* Full-Width Royal Blue Page Banner (Dashboard / Review & Checkout / Choose Domain) */
.dh-page-banner {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 58%, #1D4ED8 100%);
  color: #FFFFFF; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.dh-page-banner h1 { color: #FFFFFF !important; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 0; }
.dh-banner-crumb { margin: 4px 0 0; font-size: 0.84rem; color: rgba(255, 255, 255, 0.8); }

/* Homepage Colored Feature Bullets (Image 10) */
.dh-pf-dot {
  width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; flex-shrink: 0;
}
.dh-pf-c1 { background: rgba(37, 99, 235, 0.12); color: #2563EB; }
.dh-pf-c2 { background: rgba(16, 185, 129, 0.12); color: #059669; }
.dh-pf-c3 { background: rgba(139, 92, 246, 0.12); color: #7C3AED; }
.dh-pf-c4 { background: rgba(245, 158, 11, 0.14); color: #D97706; }

/* Images 3 & 4: Full-Bleed Blue-Grid Split Login & Register */
.dh-is-auth .dh-main-body { padding: 0; }
.dh-auth-stage {
  min-height: calc(100vh - 72px);
  padding: clamp(36px, 5vw, 68px) 0;
  background-color: #1D4ED8;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #1E3A8A 0%, #2563EB 55%, #1D4ED8 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  color: #FFFFFF;
}
.dh-auth-split {
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center;
}
@media (min-width: 960px) {
  .dh-auth-split { grid-template-columns: 1fr 440px; gap: 48px; }
  .dh-reg-split { grid-template-columns: 0.82fr 1.18fr; align-items: start; }
}
.dh-auth-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.8rem; font-weight: 700; margin-bottom: 16px;
}
.dh-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; }
.dh-auth-promo h1 {
  color: #FFFFFF !important; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.1; margin: 0 0 14px;
}
.dh-auth-lead { color: rgba(241, 245, 249, 0.9); font-size: 1rem; max-width: 44ch; margin: 0 0 26px; }
.dh-auth-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.dh-auth-perks li { display: flex; align-items: center; gap: 12px; font-size: 0.94rem; font-weight: 600; color: #FFFFFF; }
.dh-perk-ico {
  width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2); display: grid; place-items: center; flex-shrink: 0;
}

.dh-auth-card-clean {
  background: var(--dh-surface); color: var(--dh-text);
  border-radius: 20px; padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 28px 64px -18px rgba(10, 22, 68, 0.55);
  border: 1px solid var(--dh-border);
}
.dh-auth-card-head { text-align: center; margin-bottom: 20px; }
.dh-auth-logo { border-radius: 50%; margin-bottom: 10px; background: #FFFFFF; }
.dh-auth-card-head h2 { font-size: 1.38rem; font-weight: 800; margin: 0 0 4px; }
.dh-field-upper {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dh-muted);
}
.dh-ico-input { position: relative; display: flex; align-items: center; }
.dh-in-ico { position: absolute; left: 13px; color: var(--dh-muted); display: inline-flex; pointer-events: none; }
.dh-ico-input .dh-input { padding-left: 40px; }
.dh-checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--dh-text-2); cursor: pointer; }
.dh-auth-foot { text-align: center; margin: 18px 0 0; font-size: 0.88rem; color: var(--dh-muted); }

.dh-reg-section-title {
  font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--dh-blue); padding-top: 8px; border-top: 1px solid var(--dh-border); margin-top: 6px;
}
.dh-reg-grid-2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) {
  .dh-reg-grid-2 { grid-template-columns: 1fr 1fr; }
  .dh-col-span-2 { grid-column: span 2; }
}

/* Image 2: Store Products Grid (3-Col White Cards + Diagonal Blue POPULAR Ribbon) */
.dh-store-head { margin-bottom: 24px; }
.dh-store-head h1 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 800; margin: 0 0 4px; }
.dh-store-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.84rem; color: var(--dh-muted); }
.dh-store-crumb a { color: var(--dh-blue); text-decoration: none; font-weight: 600; }
.dh-store-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch;
}
.dh-store-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--dh-surface); border: 1.5px solid var(--dh-border); border-radius: 18px;
  padding: 26px 22px 22px; box-shadow: var(--dh-shadow); transition: transform 180ms ease, border-color 180ms ease;
}
.dh-store-card:hover { transform: translateY(-3px); border-color: var(--dh-blue); }
.dh-store-card.is-popular { border-color: var(--dh-blue); box-shadow: 0 18px 40px -16px rgba(37, 99, 235, 0.25); }
.dh-corner-ribbon {
  position: absolute; top: 18px; right: -34px; width: 126px; text-align: center;
  transform: rotate(45deg); padding: 4px 0; background: #2563EB; color: #FFFFFF;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}
.dh-store-card-top { text-align: center; padding-bottom: 16px; border-bottom: 1px solid var(--dh-border); margin-bottom: 16px; }
.dh-store-card-top h2 { font-size: 1.02rem; font-weight: 800; text-transform: uppercase; margin: 0 0 10px; }
.dh-store-price { font-family: var(--dh-font-display); font-size: 2rem; font-weight: 800; color: var(--dh-text); line-height: 1.1; }
.dh-store-cycle { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dh-muted); margin-top: 4px; }
.dh-store-features { flex: 1; margin-bottom: 20px; }
.dh-store-features ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.dh-store-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.86rem; color: var(--dh-text-2); }
.dh-store-features li svg { color: var(--dh-blue); flex-shrink: 0; margin-top: 2px; }
.dh-store-desc-html, .dh-store-desc-html * { color: var(--dh-text-2) !important; font-size: 0.88rem; line-height: 1.65; }

/* Image 5: Domain Registration Page (Top Pill Tabs + Search + Extensions Grid) */
.dh-dom-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--dh-border); }
.dh-dom-tab {
  min-height: 40px; padding: 8px 18px; border-radius: 10px; font-size: 0.88rem; font-weight: 700;
  color: var(--dh-text-2); text-decoration: none; transition: background 150ms ease;
}
.dh-dom-tab:hover { background: var(--dh-subtle); color: var(--dh-text); }
.dh-dom-tab.is-active { background: #2563EB; color: #FFFFFF !important; }
.dh-dom-search-card { margin-bottom: 22px; }
.dh-dom-search-card h1 { font-size: 1.4rem; font-weight: 800; margin: 0 0 6px; }
.dh-dom-input-row { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
@media (min-width: 600px) { .dh-dom-input-row { flex-direction: row; } }
.dh-dom-text { flex: 1; min-height: 48px !important; }
.dh-dom-check-btn { border-radius: 12px !important; min-width: 112px; }
.dh-ext-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dh-ext-tile {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border-radius: 12px; background: var(--dh-subtle); border: 1px solid var(--dh-border);
  cursor: pointer; transition: border-color 150ms ease, transform 150ms ease;
}
.dh-ext-tile:hover { border-color: var(--dh-blue); transform: translateY(-1px); }
.dh-ext-name { color: var(--dh-blue); font-weight: 800; font-size: 0.9rem; }
.dh-ext-price { color: var(--dh-text); font-weight: 700; font-size: 0.82rem; }

/* Image 7: Standalone Domain Checker */
.dh-domcheck-page { padding: clamp(48px, 10vh, 96px) 0; display: grid; place-items: center; }
.dh-domcheck-box { width: 100%; max-width: 580px; text-align: center; }
.dh-domcheck-box h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); font-weight: 800; margin: 0 0 8px; }
.dh-domcheck-form { display: flex; gap: 10px; margin-top: 22px; }
.dh-domcheck-input {
  flex: 1; min-height: 48px; padding: 10px 16px; border-radius: 12px;
  border: 1.5px solid var(--dh-border-strong); background: var(--dh-surface); color: var(--dh-text); font-size: 0.98rem;
}
.dh-domcheck-btn { border-radius: 12px !important; min-width: 98px; }
.dh-domcheck-quick { margin-top: 18px; display: flex; justify-content: center; gap: 10px; font-size: 0.88rem; }

/* Image 8: My Dashboard Layout */
.dh-dash-layout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
@media (min-width: 960px) { .dh-dash-layout { grid-template-columns: 270px 1fr; } }
.dh-dash-left, .dh-dash-right { display: flex; flex-direction: column; gap: 18px; }
.dh-profile-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dh-avatar-circle {
  width: 56px; height: 56px; border-radius: 50%; background: #2563EB;
  display: grid; place-items: center; box-shadow: 0 10px 22px -6px rgba(37, 99, 235, 0.45);
}
.dh-profile-name { font-size: 1.05rem; font-weight: 800; margin: 0; }
.dh-profile-btns { display: flex; gap: 8px; width: 100%; justify-content: center; }
.dh-mini-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.dh-mini-list a {
  display: block; padding: 8px 10px; border-radius: 10px; font-size: 0.88rem; font-weight: 600;
  color: var(--dh-blue); text-decoration: none;
}
.dh-mini-list a:hover { background: var(--dh-subtle); }

.dh-stat-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 14px; }
.dh-stat-tile { text-align: center; text-decoration: none; color: inherit; transition: border-color 160ms ease, transform 160ms ease; }
.dh-stat-tile:hover { border-color: var(--dh-blue); transform: translateY(-2px); }
.dh-stat-num { display: block; font-family: var(--dh-font-display); font-size: 2rem; font-weight: 800; color: var(--dh-blue); }
.dh-num-danger { color: #DC2626 !important; }
.dh-stat-lbl { display: block; font-size: 0.8rem; font-weight: 600; color: var(--dh-muted); margin-top: 4px; }

.dh-credits-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dh-credits-head h3 { font-size: 1rem; font-weight: 800; margin: 0; }
.dh-secure-pill { padding: 3px 10px; border-radius: 999px; background: rgba(16, 185, 129, 0.14); color: #059669; font-size: 0.7rem; font-weight: 800; }
.dh-credits-balance-box {
  text-align: center; padding: 24px 16px; border-radius: 14px;
  background: var(--dh-subtle); border: 1px solid var(--dh-border); margin-bottom: 16px;
}
.dh-credits-amount { font-family: var(--dh-font-display); font-size: 2.2rem; font-weight: 800; color: var(--dh-text); }
.dh-credits-caption { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: var(--dh-muted); margin-top: 4px; }
.dh-credits-note { text-align: center; font-size: 0.78rem; color: var(--dh-muted); margin: 10px 0 0; }
.dh-txn-badge { padding: 3px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; }
.dh-txn-badge.is-credit { background: rgba(16, 185, 129, 0.15); color: #059669; }
.dh-txn-badge.is-debit { background: rgba(239, 68, 68, 0.14); color: #DC2626; }
.dh-txn-amt { font-weight: 700; }

/* Image 9: Service Details Hero + Semicircular Radial Gauges + Access Cards */
.dh-svc-top-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 20px; }
@media (min-width: 768px) { .dh-svc-top-grid { grid-template-columns: 1.15fr 1fr; } }
.dh-svc-hero-card {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 60%, #1D4ED8 100%);
  color: #FFFFFF; border-radius: 18px; padding: 28px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 18px 40px -16px rgba(37, 99, 235, 0.45);
}
.dh-svc-hero-card h1 { color: #FFFFFF !important; font-size: 1.38rem; font-weight: 800; margin: 0; }
.dh-svc-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dh-hero-st-pill { padding: 4px 12px; border-radius: 999px; background: #FFFFFF; color: #1D4ED8; font-size: 0.74rem; font-weight: 800; }
.dh-svc-hero-domain { color: rgba(255, 255, 255, 0.92); font-size: 0.9rem; font-weight: 600; text-decoration: underline; }
.dh-svc-hero-meta { font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

.dh-svc-gauges-box { display: grid; place-items: center; }
.dh-radial-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; text-align: center; }
.dh-radial-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dh-radial-lbl { font-size: 0.78rem; font-weight: 700; color: var(--dh-muted); }
.dh-radial-ring { position: relative; width: 120px; height: 72px; display: grid; place-items: center; }
.dh-radial-val { position: absolute; bottom: 4px; font-family: var(--dh-font-display); font-size: 1.25rem; font-weight: 800; color: var(--dh-text); }
.dh-radial-sub { font-size: 0.74rem; color: var(--dh-muted); }

.dh-svc-card { display: flex; flex-direction: column; gap: 10px; }
.dh-svc-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.dh-svc-card-head h2 { font-size: 1.02rem; font-weight: 800; margin: 0; }
.dh-shortcuts-box { margin-bottom: 18px; }
.dh-qshort-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dh-qshort-item {
  padding: 10px 12px; border-radius: 10px; background: var(--dh-subtle); border: 1px solid var(--dh-border);
  font-size: 0.84rem; font-weight: 700; color: var(--dh-text); text-decoration: none; text-align: center;
}
.dh-qshort-item:hover { border-color: var(--dh-blue); color: var(--dh-blue); }
.dh-svc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* Image 11: Choose a Domain + Clean Order Summary */
.dh-choosedom-banner { width: 100vw; margin-left: calc(50% - 50vw); margin-top: -24px; margin-bottom: 28px; }
.dh-selected-prod-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.88rem; }
.dh-selected-pill { padding: 4px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.2); font-weight: 800; font-size: 0.8rem; }
.dh-radio-stack { display: flex; flex-direction: column; gap: 10px; }
.dh-radio-opt { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--dh-text); cursor: pointer; margin: 0; }
.dh-blue-search-strip {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 14px; border-radius: 12px;
  background: #1E3A8A;
}
.dh-strip-input { flex: 1 1 200px; background: #FFFFFF !important; color: #0F172A !important; border: 0 !important; }
.dh-strip-tld { width: 110px; background: #FFFFFF !important; color: #0F172A !important; border: 0 !important; }
.dh-strip-btn { border-radius: 10px !important; }
.dh-summary-clean h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--dh-border); }
.dh-sum-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid var(--dh-border); }
.dh-bal-val { color: #DC2626; }

/* Image 6: Clean White Cart & Order Summary Override on viewcart (Keep Checkout button vibrant!) */
.dh-body #order-standard_cart .order-summary {
  background: var(--dh-surface) !important;
  color: var(--dh-text) !important;
  border: 1.5px solid var(--dh-border) !important;
  box-shadow: var(--dh-shadow) !important;
}
.dh-body #order-standard_cart .order-summary h2,
.dh-body #order-standard_cart .order-summary .summary-container {
  color: var(--dh-text) !important;
  border-color: var(--dh-border) !important;
}
.dh-body #order-standard_cart .order-summary .summary-container .total-due-today span.amt {
  color: var(--dh-text) !important; font-weight: 800 !important;
}
.dh-body #order-standard_cart .order-summary .btn-checkout,
.dh-body #order-standard_cart .order-summary a.btn-checkout {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}
.dh-body #order-standard_cart .order-summary .btn-checkout * {
  color: #FFFFFF !important;
}
.dh-body #order-standard_cart .order-summary .btn-continue-shopping {
  display: inline-block;
  margin-top: 10px;
  color: var(--dh-blue) !important;
  background: transparent !important;
  border: 0 !important;
  font-weight: 600;
}

/* Native WHMCS Google Sign-In Button Alignment (Unclipped & Hide Inline Script Tags) */
.dh-social-auth-wrap { margin-top: 14px; }
.dh-social-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  overflow: visible !important;
}
.dh-social-btns script,
.dh-social-btns style {
  display: none !important;
}
.dh-social-btns div,
.dh-social-btns .btn-social,
.dh-social-btns .btn-google,
.dh-social-btns .btn-google-signin,
.dh-social-btns .provider-btn {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
  margin-inline: auto !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.dh-social-btns iframe {
  min-width: 240px !important;
  width: 240px !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  overflow: visible !important;
}

/* ============================================================================
   v3.1 POLISH: Button Fixes, Store Card Width, Dual Live Chat + WhatsApp FABs,
   3D Animations & Animated Custom SVGs (GPU-accelerated, Reduced-Motion Safe)
   ============================================================================ */

/* Fix Dashboard Panel Buttons & Native Register-a-Domain Inline Form */
.dh-panel-head h3 { font-size: 1.04rem; font-weight: 800; margin: 0; line-height: 1.25; }
.dh-panel-head .dh-btn { white-space: nowrap; flex-shrink: 0; }
.dh-panel-body .input-group {
  display: flex !important; flex-wrap: wrap; gap: 8px; align-items: stretch;
}
.dh-panel-body .input-group .form-control { flex: 1 1 160px; min-width: 0; }
.dh-panel-body .input-group-append,
.dh-panel-body .input-group-btn {
  display: flex !important; gap: 6px; margin: 0 !important;
}
.dh-panel-body .input-group .btn {
  min-height: 42px; padding: 0 16px !important; border-radius: 10px !important;
  white-space: nowrap; font-weight: 700;
}

/* Prevent single store card from stretching overly wide on desktop */
@media (min-width: 768px) {
  .dh-store-grid {
    grid-template-columns: repeat(auto-fill, minmax(265px, 315px));
    justify-content: start;
  }
}

/* Dual Floating Support Stack: Live Chat (Blue) + WhatsApp (Green) on ALL Devices */
.dh-fab-stack {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.dh-fab-pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; min-width: 48px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF; font-family: var(--dh-font-display); font-size: 0.86rem; font-weight: 700;
  cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease;
}
.dh-fab-pill:hover { transform: translateY(-2px) scale(1.03); }
.dh-fab-livechat {
  background: linear-gradient(135deg, #0866F5 0%, #1450D8 60%, #00B8FF 100%);
  box-shadow: 0 14px 30px -8px rgba(8, 102, 245, 0.58);
}
.dh-fab-whatsapp {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 0 14px 30px -8px rgba(16, 185, 129, 0.55);
}
.dh-help-head-wa { background: linear-gradient(135deg, #059669 0%, #10B981 100%); }
@media (max-width: 520px) {
  .dh-fab-pill { padding: 0 13px; min-height: 44px; font-size: 0.78rem; gap: 6px; }
}

/* 3D Hero Ambient Glow Orbs + 3D Floating Tile Animation + Custom SVG Motion */
.dh-hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dh-orb {
  position: absolute; border-radius: 50%; filter: blur(64px); opacity: 0.42;
  will-change: transform; animation: dh-float-orb 11s ease-in-out infinite alternate;
}
.dh-orb-1 { width: 320px; height: 320px; top: -90px; right: 8%; background: #00D4FF; }
.dh-orb-2 { width: 280px; height: 280px; bottom: -100px; left: 6%; background: #38BDF8; animation-delay: -4s; }
.dh-orb-3 { width: 220px; height: 220px; top: 30%; left: 45%; background: #6366F1; animation-delay: -7s; }
@keyframes dh-float-orb {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(26px, -22px, 0) scale(1.12); }
}

.dh-hero-icon-grid {
  transform-style: preserve-3d;
  transition: transform 240ms ease;
}
.dh-hero-tile {
  will-change: transform;
  animation: dh-tile-bob 4.8s ease-in-out infinite;
}
.dh-hero-tile:nth-child(2n) { animation-delay: -1.4s; }
.dh-hero-tile:nth-child(3n) { animation-delay: -2.8s; }
@keyframes dh-tile-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Animated SVG Pulse Line & Feature Icon Hover Motion */
.dh-feature-card .dh-feat-icon {
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
}
.dh-feature-card:hover .dh-feat-icon {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 10px 22px -6px rgba(8, 102, 245, 0.35);
}
.dh-hero-tile svg polyline,
.dh-feature-card svg polyline {
  stroke-dasharray: 48;
  animation: dh-svg-pulse 3.2s linear infinite;
}
@keyframes dh-svg-pulse {
  0%   { stroke-dashoffset: 48; }
  50%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -48; }
}

/* Shimmer Glow on Featured Plans */
.dh-plan-card.is-popular,
.dh-store-card.is-popular {
  background-image: linear-gradient(var(--dh-surface), var(--dh-surface)), linear-gradient(135deg, #0866F5, #00D4FF, #2563EB);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent !important;
}

@media (prefers-reduced-motion: reduce) {
  .dh-orb, .dh-hero-tile, .dh-hero-tile svg polyline, .dh-feature-card svg polyline {
    animation: none !important;
  }
}

/* ============================================================================
   v3.2 FIXES: Mobile Navbar Specificity, Add Funds Overflow, Compact Products
   ============================================================================ */

/* 1. Strictly hide desktop-only buttons on mobile (<960px) so hamburger never overflows */
.dh-desktop-only { display: none !important; }
@media (min-width: 960px) {
  .dh-desktop-only { display: inline-flex !important; }
  .dh-icon-btn.dh-desktop-only { display: inline-grid !important; }
}

/* 2. Prevent long deposit/balance numbers from overflowing Add Funds card on mobile */
.dh-funds-limits {
  margin: 18px 0 0; padding-left: 18px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.86rem; color: var(--dh-text-2);
  overflow-wrap: anywhere; word-break: break-word;
}
.dh-funds-limits li, .dh-funds-limits strong {
  overflow-wrap: anywhere; word-break: break-word;
}
.dh-funds-card { overflow: hidden; }

/* 3. Compact, Sleeker Product Card Sizes (Store & Homepage) */
.dh-store-grid {
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 16px;
}
@media (min-width: 768px) {
  .dh-store-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 265px));
    justify-content: start;
  }
}
.dh-store-card {
  padding: 18px 16px 16px;
  border-radius: 16px;
}
.dh-store-card-top { padding-bottom: 12px; margin-bottom: 12px; }
.dh-store-card-top h2 { font-size: 0.92rem; margin-bottom: 6px; }
.dh-store-price { font-size: 1.52rem; }
.dh-store-cycle { font-size: 0.68rem; }
.dh-store-features { margin-bottom: 14px; }
.dh-store-features ul { gap: 6px; }
.dh-store-features li { font-size: 0.8rem; line-height: 1.38; }
.dh-store-desc-html, .dh-store-desc-html * { font-size: 0.8rem !important; line-height: 1.48 !important; }
.dh-store-desc-html p { margin-bottom: 6px !important; }
.dh-store-card-foot .dh-btn { min-height: 40px; padding: 8px 14px; font-size: 0.84rem; }
.dh-corner-ribbon { top: 14px; right: -38px; font-size: 0.62rem; padding: 3px 0; }

.dh-plans-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 265px));
  justify-content: center;
  gap: 16px;
}
.dh-plan-card {
  padding: 20px 18px 18px;
  gap: 14px;
  border-radius: 18px;
}
.dh-plan-head h3 { font-size: 0.95rem; margin-bottom: 6px; }
.dh-plan-price strong { font-size: 1.58rem; }
.dh-plan-features { gap: 7px; }
.dh-plan-features li { font-size: 0.82rem; line-height: 1.4; }
.dh-plan-card .dh-btn { min-height: 40px; padding: 8px 14px; font-size: 0.85rem; }

/* ============================================================================
   v4.0 COMPREHENSIVE UI & MOBILE POLISH (Images 2, 3, 4 & 6 Across All Screens)
   ============================================================================ */

/* Global Zero Horizontal Overflow Guard (320px - 4K) */
html { overflow-x: clip; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body.dh-body { max-width: 100%; overflow-x: clip; }
.dh-container { max-width: 1220px; width: 100%; }

/* Fix Mobile Header / Brand / Hamburger Alignment (<960px, Image 6) */
@media (max-width: 959px) {
  .dh-nav-wrap { min-height: 60px; gap: 8px; }
  .dh-brand-link { gap: 8px; min-width: 0; max-width: calc(100% - 62px); }
  .dh-logo-ring { width: 34px; height: 34px; }
  .dh-logo-ring img { width: 34px; height: 34px; }
  .dh-brand-name { font-size: 0.98rem; white-space: nowrap; }
  .dh-brand-tag {
    font-size: 0.56rem; letter-spacing: 0.04em; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .dh-nav-actions { gap: 6px; flex-shrink: 0; }
  .dh-desktop-only { display: none !important; }
  .dh-main-body { padding-block: 16px 104px; }
  .dh-main-body .row { margin-inline: 0; }
  .dh-main-body .row > [class*="col-"] { padding-inline: 0; }
  .dh-dash-layout, .dh-dash-left, .dh-dash-right { min-width: 0; width: 100%; }
  .dh-clean-card, .dh-glass-card { padding: 16px; border-radius: 14px; }
}
@media (max-width: 360px) {
  .dh-brand-tag { display: none; }
}
.dh-nav-actions .dh-btn { white-space: nowrap; max-width: 170px; overflow: hidden; text-overflow: ellipsis; }

/* Compact Dual Floating Support Buttons (never cover stat cards awkwardly on mobile) */
@media (max-width: 767px) {
  .dh-help-widget { right: 10px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); gap: 6px; }
  .dh-fab-stack { gap: 6px; }
  .dh-fab-pill { min-height: 36px; min-width: 36px; padding: 0 11px; font-size: 0.72rem; gap: 5px; }
  .dh-fab-pill svg { width: 16px; height: 16px; }
  .dh-back-top { left: 10px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); width: 38px; height: 38px; }
}

/* Mobile Bottom Tab Bar Crispness */
.dh-bottom-tabs {
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
}
.dh-tab-item { min-height: 44px; font-size: 0.65rem; gap: 2px; }
.dh-tab-item svg { width: 18px; height: 18px; }

/* Image 2: Crisp 3-Column Store Product Grid */
@media (min-width: 768px) {
  .dh-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .dh-store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.dh-store-head h1 { text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
.dh-sf-ico {
  width: 20px; height: 20px; border-radius: 6px; background: rgba(37, 99, 235, 0.1);
  color: var(--dh-blue); display: inline-grid; place-items: center; flex-shrink: 0; margin-top: 1px;
}
.dh-store-card-foot .dh-btn { border-radius: 10px; }

/* Image 4: 4-Column Homepage Hosting Packages Grid + Pill Eyebrow */
.dh-eyebrow-icon { display: inline-flex; align-items: center; gap: 6px; }
.dh-plans-grid {
  grid-template-columns: 1fr;
  justify-content: stretch;
  gap: 16px;
}
@media (min-width: 600px) {
  .dh-plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .dh-plans-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dh-plan-card .dh-btn { border-radius: 10px; }

/* Image 3: My Domains Dashboard Page */
.dh-mydom-wrap { display: flex; flex-direction: column; gap: 18px; }
.dh-dom-tabs-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 14px;
}
.dh-dom-stats-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
@media (min-width: 720px) {
  .dh-dom-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dh-dom-stat { text-align: center; padding: 18px 12px; }
.dh-ds-num { display: block; font-family: var(--dh-font-display); font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.dh-ds-lbl { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; color: var(--dh-muted); margin-top: 6px; }
.dh-ds-blue  { color: #2563EB; }
.dh-ds-green { color: #059669; }
.dh-ds-amber { color: #D97706; }
.dh-ds-red   { color: #DC2626; }

.dh-dom-toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-dom-toolbar .dh-btn { border-radius: 10px; }
.dh-dom-empty {
  text-align: center; padding: clamp(32px, 6vw, 56px) 20px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.dh-dom-empty h2 { font-size: 1.25rem; font-weight: 800; margin: 0; }
.dh-dom-empty .dh-btn { border-radius: 10px; margin-top: 8px; }
.dh-dom-table-card { padding: 16px; }

/* Mobile Hero Search Polish */
@media (max-width: 480px) {
  .dh-hero-search { padding: 5px; border-radius: 12px; }
  .dh-hero-search-btn { padding: 0 14px; font-size: 0.84rem; min-height: 40px; }
  .dh-hero-search-input { min-height: 40px; font-size: 0.88rem; }
  .dh-domcheck-form { flex-direction: column; }
  .dh-domcheck-btn { width: 100%; }
}
