/* Dilek Cloud appearance. Color rules are screen-only so invoices print normally. */
.dc-theme-toggle[hidden] { display: none !important; }
.dc-theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; padding: 8px; flex: 0 0 36px;
    border: 1px solid #dce3e9; border-radius: 10px;
    background: #f8fafc; color: #334155; cursor: pointer;
    vertical-align: middle;
}
.dc-theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dc-theme-toggle .dc-theme-sun { display: none; }
.dc-theme-toggle:hover { border-color: #00b889; }
.dc-theme-toggle:focus-visible { outline: 3px solid #00b889; outline-offset: 3px; }
.dc-invoice-appearance { display: flex; justify-content: flex-end; margin-bottom: 12px; }
@media screen and (max-width: 600px) {
    .dilekcloud-header-wrapper .dilekcloud-container { flex-wrap: wrap; height: auto !important; min-height: 60px; padding-top: 10px !important; padding-bottom: 10px !important; }
    .dilekcloud-header-wrapper .dc-right-actions { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
    .dc-theme-toggle { width: 32px; height: 32px; flex-basis: 32px; padding: 6px; }
}
@media screen {
    html[data-dc-theme="dark"] {
        color-scheme: dark;
        --dc-surface: #2b3542; --dc-surface-alt: #354252; --dc-page: #202832;
        --dc-surface-raised: var(--dc-surface-alt); --dc-canvas: var(--dc-page); --dc-line: var(--dc-border);
        --dc-text: #f0f4f8; --dc-muted: #c0cbd7; --dc-border: #526275; --dc-accent: #6de2ba;
        --dc-text-secondary: var(--dc-muted);
        --dc-bg: var(--dc-page); --dc-dark: var(--dc-text);
        --dc-card-bg: var(--dc-surface); --dc-text-dark: var(--dc-text); --dc-text-muted: var(--dc-muted);
        --card-bg: var(--dc-surface); --text-main: var(--dc-text); --text-muted: var(--dc-muted); --border-color: var(--dc-border);
        --dc-brand-light: #163b35;
    }
    html[data-dc-theme="dark"] body,
    html[data-dc-theme="dark"] :is(#main-body, .main-content, .content-area) { background: var(--dc-page) !important; color: var(--dc-text); }
    html[data-dc-theme="dark"] :is(.dilekcloud-header-wrapper, .dc-nav-container-wrapper, .dc-mega-menu) {
        background: var(--dc-surface) !important; border-color: var(--dc-border) !important;
    }
    html[data-dc-theme="dark"] :is(.dc-nav-link, .dc-mega-info h4, .dc-logo-text) { color: var(--dc-text) !important; }
    html[data-dc-theme="dark"] :is(.dc-mega-info p, .dc-mega-category) { color: var(--dc-muted) !important; }
    html[data-dc-theme="dark"] :is(.dc-mega-card:hover, .dc-nav-link:hover, .dc-cart-btn, .dc-mobile-toggle, .dc-btn-outline-custom, .dc-theme-toggle) {
        background: var(--dc-surface-alt) !important; color: var(--dc-text) !important; border-color: var(--dc-border) !important;
    }
    html[data-dc-theme="dark"] .dc-theme-toggle .dc-theme-sun { display: block; }
    html[data-dc-theme="dark"] .dc-theme-toggle .dc-theme-moon { display: none; }
    html[data-dc-theme="dark"] .dc-mega-icon { background: #163b35; color: var(--dc-accent); }
    html[data-dc-theme="dark"] .dc-balance-pill { background: #163b35; color: #80ebbe; border-color: #28604d; }
    html[data-dc-theme="dark"] :is(.dc-logo-area img, .brand-logo img) { background: #fff; border-radius: 5px; }
    html[data-dc-theme="dark"] :is(.panel, .panel-body, .panel-footer, .panel-heading, .well, .list-group-item, .modal-content, .dropdown-menu, .popover, .tab-content) {
        background-color: var(--dc-surface) !important; color: var(--dc-text); border-color: var(--dc-border) !important;
    }
    html[data-dc-theme="dark"] :is(.panel-title, .panel-title a, .list-group-item, .list-group-item-text, .dropdown-menu > li > a, .popover-title, .modal-title) { color: var(--dc-text) !important; }
    html[data-dc-theme="dark"] :is(.list-group-item:hover, .dropdown-menu > li > a:hover, .dc-native-navbar .dropdown-menu > li > a:hover, .panel-footer, .popover-title) { background: var(--dc-surface-alt) !important; }
    html[data-dc-theme="dark"] :is(.form-control, select, textarea, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="tel"], .input-group-addon, .selectize-input, .selectize-dropdown) {
        background-color: var(--dc-page) !important; color: var(--dc-text) !important; border-color: #4b6178 !important;
    }
    html[data-dc-theme="dark"] input::placeholder,
    html[data-dc-theme="dark"] textarea::placeholder { color: #99adbf !important; opacity: 1; }
    html[data-dc-theme="dark"] :is(.form-control, select, textarea, input):focus { border-color: var(--dc-accent) !important; }
    html[data-dc-theme="dark"] :is(input, select, textarea):disabled { opacity: .65; }
    html[data-dc-theme="dark"] :is(.help-block, .text-muted, .small, .breadcrumb, .breadcrumb > .active) { color: var(--dc-muted); }
    html[data-dc-theme="dark"] :is(.btn-default, .btn-action, .pagination > li > a, .pagination > li > span, .nav-tabs > li.active > a) {
        background: var(--dc-surface-alt) !important; color: var(--dc-text) !important; border-color: var(--dc-border) !important;
    }
    html[data-dc-theme="dark"] :is(.table, .table > tbody > tr > td, .table > thead > tr > th, .table > tfoot > tr > td) { color: var(--dc-text); border-color: var(--dc-border); }
    html[data-dc-theme="dark"] :is(.table-striped > tbody > tr:nth-of-type(odd), .table > thead > tr > th, .table-hover > tbody > tr:hover, .table > tbody > tr.active > td) { background: var(--dc-surface-alt); }
    html[data-dc-theme="dark"] :is(.table a:not(.btn):not(.label), .list-group-item a:not(.btn), .panel-body a:not(.btn), .breadcrumb a) { color: #7bd8f4; }
    html[data-dc-theme="dark"] :is(.alert-info, .alert-warning, .alert-danger, .alert-success) { background: #193449; color: #c5e6fa; border-color: #365973; }
    html[data-dc-theme="dark"] .alert-success { background: #163b35; color: #a0f1cb; border-color: #28604d; }
    html[data-dc-theme="dark"] .alert-warning { background: #3c321e; color: #f4da9a; border-color: #725f37; }
    html[data-dc-theme="dark"] .alert-danger { background: #412737; color: #ffb8c6; border-color: #764154; }
    html[data-dc-theme="dark"] .close { color: var(--dc-text); opacity: .8; text-shadow: none; }
    html[data-dc-theme="dark"] :is(hr, .modal-header, .modal-footer, .nav-tabs) { border-color: var(--dc-border); }
    html[data-dc-theme="dark"] :is(pre, code) { background: #101c2a; color: #b2e9d7; border-color: var(--dc-border); }
    html[data-dc-theme="dark"] .breadcrumb { background: var(--dc-surface); }
}
@media screen and (max-width: 1100px) {
    html[data-dc-theme="dark"] .dc-nav-link { background: var(--dc-surface-alt) !important; }
}
@media print {
    .dc-theme-toggle, .dc-invoice-appearance { display: none !important; }
    html[data-dc-theme] { color-scheme: light; }
}

.dc-auth-appearance { display: flex; justify-content: flex-end; margin-bottom: 12px; }
@media screen {
    html[data-dc-theme="dark"] .dc-auth-page {
        --dc-slate-900: var(--dc-text); --dc-slate-700: #d1deeb; --dc-slate-600: #b4c6d8;
        --dc-slate-500: var(--dc-muted); --dc-slate-400: #9eafc3;
        --dc-slate-300: var(--dc-border); --dc-slate-200: var(--dc-border); --dc-slate-100: var(--dc-surface-alt);
        --dc-emerald-600: #65ddb2;
    }
    html[data-dc-theme="dark"] :is(.dc-auth-page, .dc-login-panel) { background: var(--dc-page) !important; }
    html[data-dc-theme="dark"] .dc-login-card { background: var(--dc-surface); border-color: var(--dc-border); box-shadow: 0 20px 60px #0003; }
    html[data-dc-theme="dark"] :is(.dc-control, .dc-control:hover, .dc-control:focus-within, .dc-trust-item) { background: var(--dc-surface-alt); border-color: var(--dc-border); }
    html[data-dc-theme="dark"] .dc-control .form-control { background: transparent !important; color: var(--dc-text) !important; }
    html[data-dc-theme="dark"] .dc-login-kicker-icon { background: #163b35; }
    html[data-dc-theme="dark"] :is(.dc-mobile-brand-logo, .dc-register-logo) { filter: none; background: #fff; border-radius: 5px; }
    html[data-dc-theme="dark"] .dc-alert-error { background: #412737; color: #ffb8c6; border-color: #764154; }
    html[data-dc-theme="dark"] #dc-register-page {
        --dc-ink: var(--dc-text); --dc-muted: #c0cbd7; --dc-green: #65ddb2;
        background: var(--dc-page); color: var(--dc-text);
    }
    html[data-dc-theme="dark"] #dc-register-page :is(.dc-register-card, .dc-disabled-card, .dc-login-link) { background: var(--dc-surface); border-color: var(--dc-border); color: var(--dc-text); }
    html[data-dc-theme="dark"] #dc-register-page :is(.dc-label, .dc-section-heading) { color: var(--dc-text); }
    html[data-dc-theme="dark"] #dc-register-page :is(.form-control, select, input, textarea) { background: var(--dc-page) !important; color: var(--dc-text) !important; border-color: #4b6178 !important; }
    html[data-dc-theme="dark"] #dc-register-page :is(.dc-register-kicker-icon, .dc-marketing-card) { background: var(--dc-surface-alt); color: var(--dc-text); border-color: var(--dc-border); }
    html[data-dc-theme="dark"] #dc-register-page .dc-marketing-card h4 { color: var(--dc-text); }
}

/* Public catalogue pages. Screen-only rules leave printable documents untouched. */
@media screen {
  html[data-dc-theme="dark"] :is(.dc-homepage, .dc-cloud-wrapper, .dc-hosting-wrapper, .dc-reseller-wrapper, .dc-wp-master-wrapper, .dc-mail-master-wrapper, .dc-cloud-root, .dl-orig-root, .dl-lic-root, .dc-about-wrapper, .dc-contact-wrapper, .dc-terms-wrapper, .dc-bank-wrapper) {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper {
    --dc-muted: #a7b6ca;
    --dc-line: #314158;
    --dc-ink: #e5edf7;
    --dc-soft: #1b2a40;
  }

  /* Homepage: keep its illustrated hero and dark promotional banners. */
  html[data-dc-theme="dark"] .dc-homepage :is(.dc-domain, .dc-price-card, .dc-row, .dc-why, .dc-trust article, .dc-news, .dc-step-ico, .dc-tech span, .panel, .panel-heading) {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .dc-homepage :is(.dc-why-wrap, .dc-price-top, .dc-tabs a, .dc-tld, .dc-float) {
    background: var(--dc-surface-raised) !important;
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-homepage :is(.dc-h2, .dc-price-top h3, .dc-spec-val, .dc-step-num, .dc-seo h3, .panel-title a, .dc-tech span, .dc-feat li) {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-homepage :is(.dc-lead, .dc-price-top p, .dc-row p, .dc-row small, .dc-spec-lab, .dc-step p, .dc-why p, .dc-trust p, .dc-news p, .dc-news time, .panel-body, .dc-seo) {
    color: var(--dc-muted) !important;
  }
  html[data-dc-theme="dark"] .dc-homepage :is(.dc-feat li, .panel-body) {
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] .dc-homepage :is(.dc-price-card.is-hot, .dc-row.is-hot) {
    border-color: var(--dc-accent);
  }
  html[data-dc-theme="dark"] .dc-homepage .dc-tabs a.is-on {
    background: #225342 !important;
    color: #d8ffed !important;
    box-shadow: inset 0 0 0 1px var(--dc-accent);
  }
  html[data-dc-theme="dark"] .dc-homepage .dc-btn-line {
    background: var(--dc-surface-raised) !important;
    border-color: var(--dc-line) !important;
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-homepage .dc-btn-line:hover {
    border-color: var(--dc-accent) !important;
  }

  /* Hosting, reseller, WordPress, mail and their supporting feature cards. */
  html[data-dc-theme="dark"] :is(.dc-tech-logos-bar, .dc-pricing-card, .dc-feature-box, .dc-testimonial-card, .dc-spotlight-card, .dc-upgrade-card, .dc-wp-matrix-bar, .dc-mail-matrix-bar, .dc-card-v3, .dc-card-modern, .card-inner-body, .adv-card, .dc-wp-showcase-box, .dc-mail-showcase-box, .testimonial-card) {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] :is(.dc-pricing-card.featured, .dc-vds-card.featured) {
    border-color: var(--dc-accent);
  }
  html[data-dc-theme="dark"] .dc-reseller-wrapper .dc-pricing-card.featured {
    border-color: #669cff;
  }
  html[data-dc-theme="dark"] .card-v3-pro,
  html[data-dc-theme="dark"] .dc-mail-master-wrapper .card-pro {
    border-color: #aa8aff;
  }
  html[data-dc-theme="dark"] :is(.dc-card-header h3, .dc-card-price .currency, .dc-card-price .amount, .dc-card-features li, .dc-section-title, .dc-feature-box h4, .dc-testimonial-card p, .dc-user-info strong, .dc-tech-item, .dc-spotlight-card strong, .dc-upgrade-title h2, .dc-upgrade-card h3, .dc-matrix-item strong, .dc-wp-section-h2, .dc-mail-section-h2, .v3-header h3, .v3-price .curr, .v3-price .val, .adv-card h3, .dc-wp-showcase-box h2, .dc-mail-showcase-box h2, .dc-wp-check-grid, .dc-mail-check-grid, .user-info strong, .card-title-area h3, .card-price-area .currency, .card-price-area .price-value) {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-card-header p, .dc-card-price .period, .dc-feature-box p, .dc-user-info span, .dc-spotlight-card p, .dc-upgrade-title p, .dc-upgrade-card p, .dc-upgrade-foot, .dc-matrix-item span, .v3-header p, .v3-price .time, .v3-spec-item, .v3-features, .adv-card p, .dc-wp-showcase-box p, .dc-mail-showcase-box p, .quote, .user-info span, .card-title-area p, .card-price-area .period, .spec-line, .card-feature-list) {
    color: var(--dc-muted) !important;
  }
  html[data-dc-theme="dark"] :is(.v3-specs, .card-specs-box, .glass-floating-badge, .glass-floating-mail-badge) {
    background: var(--dc-surface-raised) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] :is(.dc-card-price, .dc-upgrade-foot) {
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-btn-outline, .btn-v3-green, .btn-blue) {
    background: var(--dc-surface-raised) !important;
    border-color: var(--dc-line) !important;
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-btn-outline, .btn-v3-green, .btn-blue):hover {
    background: #244635 !important;
    border-color: var(--dc-accent) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-spotlight-card .spot-icon, .dc-upgrade-icon) {
    background: rgba(70, 225, 173, .12) !important;
    color: var(--dc-accent) !important;
  }
  html[data-dc-theme="dark"] .dc-upgrade-card:nth-child(2) .dc-upgrade-icon {
    background: rgba(102, 156, 255, .14) !important;
    color: #86b3ff !important;
  }
  html[data-dc-theme="dark"] .dc-upgrade-card:nth-child(3) .dc-upgrade-icon {
    background: rgba(170, 138, 255, .14) !important;
    color: #b7a1ff !important;
  }
  html[data-dc-theme="dark"] .dc-upgrade-card:nth-child(4) .dc-upgrade-icon {
    background: rgba(246, 185, 76, .12) !important;
    color: #f6c879 !important;
  }

  /* Cloud VDS cards are also rebuilt dynamically when location changes. */
  html[data-dc-theme="dark"] .dc-cloud-wrapper :is(.dc-tech-box, .dc-vds-card, .os-box, .dc-dc-card) {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper .dc-vds-card.featured {
    background: linear-gradient(180deg, #17382f, var(--dc-surface) 45%) !important;
    border-color: var(--dc-accent);
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper :is(.dc-tech-box strong, .dc-section-h2, .dc-vds-card h3, .vds-price .val, .vds-specs strong, .os-box, .dc-dc-card h4, .dc-dc-card strong) {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper :is(.dc-tech-box span, .dc-section-head .text-muted, .vds-desc, .vds-price .curr, .vds-price .time, .vds-specs, .dc-dc-card p) {
    color: var(--dc-muted) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper :is(.vds-badge, .os-box i, .dc-flag-header, .vds-specs span[style*="background"], .dc-dc-card:after) {
    background: var(--dc-surface-raised) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper :is(.vds-badge, .dc-flag-header, .vds-specs span[style*="background"]) {
    color: var(--dc-muted) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper .dc-tech-box i {
    background: rgba(70, 225, 173, .12) !important;
    color: var(--dc-accent) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper .vds-price {
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper .btn-outline-vds {
    background: var(--dc-surface-raised) !important;
    border-color: var(--dc-line) !important;
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper .btn-outline-vds:hover {
    border-color: var(--dc-accent) !important;
  }

  /* Shared FAQ panels have page-local !important declarations. */
  html[data-dc-theme="dark"] :is(.dc-accordion, .dc-wp-accordion, .dc-mail-accordion) :is(.panel, .panel-heading, .panel-body) {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-accordion, .dc-wp-accordion, .dc-mail-accordion) .panel-title a {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-accordion, .dc-wp-accordion, .dc-mail-accordion) .panel-title a:hover {
    background: var(--dc-surface-raised) !important;
    color: var(--dc-accent) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-accordion, .dc-wp-accordion, .dc-mail-accordion) .panel-body {
    color: var(--dc-muted) !important;
  }

  /* VPN, backup and optimisation share the cloud-root design. */
  html[data-dc-theme="dark"] .dc-cloud-root,
  html[data-dc-theme="dark"] .dc-cloud-root :is(.dc-cloud-sec, .dc-cloud-pricing-sec) {
    background: var(--dc-canvas) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-root :is(.dc-cloud-card, .dc-cloud-pricing-card, .dc-cloud-faq-box) {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .dc-cloud-root .dc-cloud-pricing-card.featured {
    border-color: var(--dc-accent);
  }
  html[data-dc-theme="dark"] .dc-cloud-root :is(.dc-cloud-h2, .dc-cloud-card-h3, .dc-cloud-pkg-name, .dc-cloud-pkg-price, .dc-cloud-faq-btn) {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-root .dc-cloud-pkg-price.green {
    color: var(--dc-accent) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-root :is(.dc-cloud-subdesc, .dc-cloud-card-p, .dc-cloud-pkg-desc, .dc-cloud-pkg-price span, .dc-cloud-pkg-ul li, .dc-cloud-faq-ans) {
    color: var(--dc-muted) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-root .dc-cloud-pkg-btn-outline {
    background: var(--dc-surface-raised) !important;
    border-color: var(--dc-line) !important;
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-cloud-root .dc-cloud-pkg-btn-outline:hover {
    background: #244635 !important;
    border-color: var(--dc-accent) !important;
  }

  /* Dedicated servers and software licences. */
  html[data-dc-theme="dark"] .dl-orig-hero {
    background: radial-gradient(circle at 80% 20%, rgba(70, 225, 173, .13), transparent 50%), var(--dc-surface) !important;
    border-color: #2a6554 !important;
  }
  html[data-dc-theme="dark"] :is(.dl-orig-hero-card, .dl-orig-card, .dl-orig-sw-item, .dl-orig-faq-item, .nh-pricing-cloud2, .dl-faq-card, .dl-faq-header, .dl-faq-body) {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .dl-orig-card.feat,
  html[data-dc-theme="dark"] .dl-orig-faq-item.active {
    border-color: var(--dc-accent);
  }
  html[data-dc-theme="dark"] :is(.dl-orig-price-area, .dl-orig-faq-icon, .nh-pricing-cloud2 .price h3) {
    background: var(--dc-surface-raised) !important;
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] :is(.dl-orig-hero-text h1, .dl-orig-hero-card-info h4, .dl-orig-title, .dl-orig-list span.val, .dl-orig-price, .dl-orig-cat-title, .dl-orig-sw-info h5, .dl-orig-faq-head h2, .dl-orig-faq-title, .nh-pricing-cloud2 .head .title h2, .nh-pricing-cloud2 .head .title h3, .nh-pricing-cloud2 .price h3, .dl-faq-header) {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] :is(.dl-orig-hero-text p, .dl-orig-hero-card-info p, .dl-orig-sub, .dl-orig-list span.lbl, .dl-orig-price span, .dl-orig-sw-info p, .dl-orig-faq-body, .nh-pricing-cloud2 .price h3 span:last-child, .nh-pc-content ul, .dl-faq-body) {
    color: var(--dc-muted) !important;
  }
  html[data-dc-theme="dark"] :is(.dl-orig-sub, .nh-pricing-cloud2 .head .title) {
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] :is(.dl-orig-tab-btn, .dl-lic-tab-btn) {
    background: var(--dc-surface-raised) !important;
    border-color: var(--dc-line) !important;
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] :is(.dl-orig-tab-btn.active, .dl-lic-tab-btn.active) {
    background: #225342 !important;
    border-color: var(--dc-accent) !important;
    color: #d8ffed !important;
  }
  html[data-dc-theme="dark"] .dl-orig-btn:not(.fill) {
    border-color: var(--dc-line) !important;
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dl-orig-cat-note {
    background: #15392f !important;
    border-color: #2a6554 !important;
    color: #b8efd9 !important;
  }
  html[data-dc-theme="dark"] .dl-faq-alert {
    color: #ffb5b5 !important;
  }
  html[data-dc-theme="dark"] .nh-pricing-cloud2 .head .title img {
    background: #fff;
    border-radius: 4px;
  }
  /* These exact inline styles belong to the custom-dedicated quote card and FAQ heading. */
  html[data-dc-theme="dark"] .dl-orig-root div[style*="background: #ffffff"] {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] :is(.dl-orig-root, .dl-lic-root) :is(h2, h3)[style*="color: #054b66"] {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] :is(.dl-orig-root, .dl-lic-root) p[style*="color: #64748b"] {
    color: var(--dc-muted) !important;
  }

  /* Company, contact, legal documents and bank details. Bank logos retain white backing. */
  html[data-dc-theme="dark"] :is(.dc-stat-box, .dc-why-us, .dc-card-item, .dc-bank-card, .dc-bank-header, .dc-terms-sidebar, .dc-terms-content-card, .dc-contact-info-card, .dc-contact-form-card, .dc-contact-icon) {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-stat-info h3, .dc-text-card h2, .dc-box-body h3, .dc-why-us h2, .dc-card-item h4, .dc-bank-title h3, .dc-value, .dc-iban-code, .dc-terms-sidebar h3, .dc-terms-section h3, .dc-contact-info-card h3, .dc-contact-details h4, .dc-corporate-box h4, .dc-corp-list li strong, .dc-contact-form-card h3, .dc-contact-form-card label) {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-stat-info p, .dc-text-card p, .dc-box-body p, .dc-card-item p, .dc-label, .dc-terms-section p, .dc-terms-section ul, .dc-contact-details p, .dc-corp-list li span) {
    color: var(--dc-muted) !important;
  }
  html[data-dc-theme="dark"] .dc-sidebar-link:not(.active),
  html[data-dc-theme="dark"] .dc-iban-box {
    background: var(--dc-surface-raised) !important;
    border-color: var(--dc-line) !important;
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-bank-alert {
    background: #15392f !important;
    border-color: #2a6554 !important;
    color: #b8efd9 !important;
  }
}

/* Client-area overrides for Six's custom inline component styles.
   Screen-only: PDF generation and the invoice's printed document stay light. */
@media screen {
  html[data-dc-theme="dark"] :is(.dc-stat-card, .dc-limit-card, .dc-tile-card, .qa-card,
      .dc-data-container, .dc-form-container, .dc-panel-card, .dc-card) {
    background: var(--dc-surface) !important;
    color: var(--dc-text);
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-tile-card, .qa-card):hover {
    background: var(--dc-surface-alt) !important;
    border-color: var(--dc-accent) !important;
  }
  html[data-dc-theme="dark"] .client-home-panels .panel-heading,
  html[data-dc-theme="dark"] .dc-panel-card .panel-heading,
  html[data-dc-theme="dark"] :is(.dc-custom-header-bar, .dc-panel-footer,
      .dc-modal-content .modal-header, .dc-modal-content .modal-footer) {
    background: var(--dc-surface-alt) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-custom-header-bar .info-text, .dc-search-wrapper i,
      .dc-perm-label div span, .perm-content span, .email-date-text, .dc-twofa-status-box p,
      .dc-checkbox-list label) {
    color: var(--dc-text-secondary) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-panel-card .panel-heading h4, .dc-user-info,
      .perm-content strong, .lead-modal-text, .email-subject-text, .sso-status-text-group,
      .dc-select-form .control-label, .dc-modern-form .control-label, .account-name,
      .dc-panel-card .lead-text, .ticket-subject) {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-search-input, .dc-form-container .form-control) {
    background: var(--dc-canvas) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] .dc-search-input::placeholder {
    color: var(--dc-text-secondary);
    opacity: 1;
  }
  html[data-dc-theme="dark"] :is(.dc-search-input, .dc-form-container .form-control):focus {
    border-color: var(--dc-accent) !important;
    box-shadow: 0 0 0 3px rgba(75, 223, 172, .18) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-icon-green, .dc-client-dashboard .icon-srv) {
    background: #153e34;
    color: #83ecc3;
  }
  html[data-dc-theme="dark"] :is(.dc-icon-amber, .dc-client-dashboard .icon-tic) {
    background: #45361c;
    color: #ffdc87;
  }
  html[data-dc-theme="dark"] :is(.dc-icon-blue, .dc-client-dashboard .icon-dom) {
    background: #173a53;
    color: #98d5ff;
  }
  html[data-dc-theme="dark"] .dc-icon-purple {
    background: #35274d;
    color: #d5baff;
  }
  html[data-dc-theme="dark"] .dc-client-dashboard .icon-inv {
    background: #472a36;
    color: #ffb0c0;
  }
  html[data-dc-theme="dark"] .dc-news-banner {
    background: linear-gradient(120deg, #164c40, #163c36);
    border: 1px solid #2c6b59;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .2);
  }
  html[data-dc-theme="dark"] .dc-news-banner .banner-btn {
    background: #c5f7e5;
    color: #104334;
  }
  html[data-dc-theme="dark"] .dc-news-banner .banner-btn:hover {
    background: #e3fff4;
    color: #104334;
  }
  html[data-dc-theme="dark"] .dc-client-dashboard td.dataTables_empty {
    background: var(--dc-canvas) !important;
    color: var(--dc-text-secondary) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] .client-home-panels .panel-body tr {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line) !important;
  }

  /* Custom list markup includes inline colors for invoice numbers and domains. */
  html[data-dc-theme="dark"] .dc-data-container :is(.table-list, .data-table) tbody tr {
    background: var(--dc-surface) !important;
  }
  html[data-dc-theme="dark"] .dc-data-container :is(.table-list, .data-table) tbody td {
    color: var(--dc-text);
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] .dc-data-container :is(.table-list, .data-table) tbody tr:hover {
    background: var(--dc-surface-alt) !important;
  }
  html[data-dc-theme="dark"] #tableInvoicesList tbody td:first-child > span,
  html[data-dc-theme="dark"] #tableServicesList tbody td > strong,
  html[data-dc-theme="dark"] #tableDomainsList tbody td > a {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] #tableServicesList .text-muted a {
    color: var(--dc-text-secondary) !important;
  }
  html[data-dc-theme="dark"] .dc-data-container .progress {
    background: var(--dc-canvas);
  }
  html[data-dc-theme="dark"] .dc-data-container .progress span {
    color: var(--dc-text);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  }
  html[data-dc-theme="dark"] .dc-data-container .progress-bar-success { background: #24644d !important; }
  html[data-dc-theme="dark"] .dc-data-container .progress-bar-warning { background: #74541f !important; }
  html[data-dc-theme="dark"] .dc-data-container .progress-bar-danger { background: #7f3744 !important; }

  html[data-dc-theme="dark"] .dc-data-container .dataTables_paginate .paginate_button,
  html[data-dc-theme="dark"] :is(.hcp-dropbtn, .hcp-dropdown-content) {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line) !important;
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-data-container .dataTables_paginate .paginate_button:hover,
  html[data-dc-theme="dark"] .hcp-dropbtn:hover,
  html[data-dc-theme="dark"] .hcp-dropbtn:focus-visible {
    background: var(--dc-surface-alt) !important;
    border-color: var(--dc-accent) !important;
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-data-container .dataTables_paginate .paginate_button.current,
  html[data-dc-theme="dark"] .dc-data-container .dataTables_paginate .paginate_button.current:hover {
    background: var(--dc-accent) !important;
    border-color: var(--dc-accent) !important;
    color: #09271d !important;
  }
  html[data-dc-theme="dark"] .dc-data-container .dataTables_paginate .paginate_button.disabled,
  html[data-dc-theme="dark"] .dc-data-container .dataTables_paginate .paginate_button.disabled:hover {
    background: var(--dc-canvas) !important;
    color: #8494a7 !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] .hcp-dropdown-content form { border-color: var(--dc-line); }
  html[data-dc-theme="dark"] .hcp-dropdown-content .hcp-option-text { color: var(--dc-text); }
  html[data-dc-theme="dark"] .hcp-slider { background: #506579; }
  html[data-dc-theme="dark"] .hcp-switch input:checked + .hcp-slider { background: #168a65; }

  /* Status meanings remain distinct; no changes to payment or service state. */
  html[data-dc-theme="dark"] :is(.dc-client-dashboard, .dc-data-container) :is(
      .label-active, .label-success, .status-active, .status-Active, .status-paid, .status-Paid),
  html[data-dc-theme="dark"] .dc-status-active {
    background-color: #153e34 !important;
    color: #8de8c5 !important;
  }
  html[data-dc-theme="dark"] :is(.dc-client-dashboard, .dc-data-container) :is(
      .label-pending, .label-warning, .status-pending, .status-Pending, .status-Unpaid, .status-unpaid),
  html[data-dc-theme="dark"] .dc-status-pending {
    background-color: #45361c !important;
    color: #ffdc87 !important;
  }
  html[data-dc-theme="dark"] :is(.dc-client-dashboard, .dc-data-container) :is(
      .label-suspended, .label-danger, .status-suspended, .status-Suspended, .status-Cancelled,
      .status-cancelled, .status-Collections, .status-collections),
  html[data-dc-theme="dark"] .dc-status-suspended {
    background-color: #472a36 !important;
    color: #ffb0c0 !important;
  }
  html[data-dc-theme="dark"] :is(.dc-client-dashboard, .dc-data-container) :is(
      .label-default, .status-terminated, .status-Terminated, .status-Refunded, .status-refunded),
  html[data-dc-theme="dark"] .dc-status-terminated {
    background-color: #29394a !important;
    color: #c5d1df !important;
  }

  /* Service details, profiles, contacts, security and account permissions. */
  html[data-dc-theme="dark"] :is(.dc-tech-row, .dc-user-badge, .dc-permissions-well,
      .dc-perm-card-label, .dc-sso-toggle-box, .dc-account-item, .dc-attachment-badge,
      .dc-invite-header-row td, .dc-custom-table > thead > tr > th) {
    background: var(--dc-surface-alt) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] .dc-custom-table > tbody > tr > td,
  html[data-dc-theme="dark"] .dc-form-footer { border-color: var(--dc-line) !important; }
  html[data-dc-theme="dark"] .dc-email-row:hover,
  html[data-dc-theme="dark"] .dc-perm-card-label:hover,
  html[data-dc-theme="dark"] .dc-account-item:hover {
    background: var(--dc-surface-alt) !important;
    border-color: var(--dc-accent) !important;
  }
  html[data-dc-theme="dark"] .dc-perm-card-label.checked-perm {
    background: #173a53 !important;
    border-color: #437a9f !important;
  }
  html[data-dc-theme="dark"] :is(.dc-btn-go, .dc-btn-cancel, .dc-gen-btn, .dc-btn-outline,
      .dc-email-row .dc-btn-action, .dc-btn-dark) {
    background: var(--dc-surface-alt) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-btn-go, .dc-btn-cancel, .dc-gen-btn,
      .dc-btn-outline, .dc-email-row .dc-btn-action, .dc-btn-dark):hover {
    background: #263c51 !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-accent) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-btn-delete, .dc-btn-outline-danger) {
    background: #472a36;
    color: #ffb0c0;
    border-color: #754555;
  }
  html[data-dc-theme="dark"] :is(.dc-btn-delete, .dc-btn-outline-danger):hover {
    background: #643142;
    color: #ffe2e9;
  }
  html[data-dc-theme="dark"] .dc-alert {
    background: #45361c;
    color: #ffdc87;
    border-color: #6b552e;
  }

  /* These older domain screens have color literals in inline styles instead
     of component classes. Match only their known surface/text colors. */
  html[data-dc-theme="dark"] .dc-client-area-wrapper { color: var(--dc-text) !important; }
  html[data-dc-theme="dark"] :is(.dc-client-area-wrapper, #tabOverview, #tabAutorenew,
      #tabNameservers, #tabReglock, #tabRelease, #tabAddons) div[style*="background: #ffffff"] {
    background: var(--dc-surface) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-client-area-wrapper, #tabOverview, #tabAutorenew,
      #tabNameservers, #tabReglock, #tabRelease, #tabAddons) :is(div, tr, a, input[type="reset"])[style*="background: #f8fafc"],
  html[data-dc-theme="dark"] :is(.dc-client-area-wrapper, #tabOverview, #tabAutorenew,
      #tabNameservers, #tabReglock, #tabRelease, #tabAddons) :is(div, tr, a, input[type="reset"])[style*="background: #f1f5f9"],
  html[data-dc-theme="dark"] .dc-client-area-wrapper input[type="reset"][style*="background: #e2e8f0"] {
    background: var(--dc-surface-alt) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-client-area-wrapper, #tabOverview, #tabAutorenew,
      #tabNameservers, #tabReglock, #tabRelease, #tabAddons) :is(h2, h3, h4, p, strong, span, label, a, td, th)[style*="color: #0f172a"] {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-client-area-wrapper, #tabOverview, #tabAutorenew,
      #tabNameservers, #tabReglock, #tabRelease, #tabAddons) :is(p, strong, span, small, label, a, td, th, div)[style*="color: #334155"],
  html[data-dc-theme="dark"] :is(.dc-client-area-wrapper, #tabOverview, #tabAutorenew,
      #tabNameservers, #tabReglock, #tabRelease, #tabAddons) :is(p, strong, span, small, label, a, td, th)[style*="color: #475569"],
  html[data-dc-theme="dark"] :is(.dc-client-area-wrapper, #tabOverview, #tabAutorenew,
      #tabNameservers, #tabReglock, #tabRelease, #tabAddons) :is(p, strong, span, small, label, a, td, th)[style*="color: #64748b"] {
    color: var(--dc-text-secondary) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-client-area-wrapper, #tabOverview, #tabAutorenew,
      #tabNameservers, #tabReglock, #tabRelease, #tabAddons) :is(div, span)[style*="background: #f0fdf4"],
  html[data-dc-theme="dark"] #tabOverview span[style*="background: #dcfce7"] {
    background: #153e34 !important;
    color: #8de8c5 !important;
    border-color: #2b6854 !important;
  }
  html[data-dc-theme="dark"] :is(.dc-client-area-wrapper, #tabOverview, #tabAutorenew,
      #tabNameservers, #tabReglock, #tabRelease, #tabAddons) :is(div, span)[style*="background: #fef3c7"] {
    background: #45361c !important;
    color: #ffdc87 !important;
    border-color: #6b552e !important;
  }
  html[data-dc-theme="dark"] :is(.dc-client-area-wrapper, #tabOverview, #tabAutorenew,
      #tabNameservers, #tabReglock, #tabRelease, #tabAddons) div[style*="background: #fef2f2"] {
    background: #472a36 !important;
    color: #ffb0c0 !important;
    border-color: #754555 !important;
  }

  /* Support conversations and feedback forms. */
  html[data-dc-theme="dark"] .panel.panel-info.panel-collapsable > .panel-heading,
  html[data-dc-theme="dark"] .panel.panel-info:not(.panel-collapsable) > .panel-heading,
  html[data-dc-theme="dark"] :is(#autoAnswerSuggestions.well, .ticketfeedbackstaffcont,
      .support-feedback-wrapper .table-striped) {
    background: var(--dc-surface-alt) !important;
    color: var(--dc-text);
    border-color: var(--dc-line) !important;
  }
  html[data-dc-theme="dark"] .ticket-reply.staff {
    background: #15332f !important;
    border-color: #2b6854 !important;
  }
  html[data-dc-theme="dark"] .ticket-reply .message,
  html[data-dc-theme="dark"] .support-feedback-wrapper p {
    color: var(--dc-text);
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .ticket-reply :is(hr, .attachments) { border-color: var(--dc-line) !important; }
  html[data-dc-theme="dark"] .ticketfeedbackstaffcont .table { background: var(--dc-surface); }

  /* Standalone invoice: this page does not use the shared header/footer. */
  html[data-dc-theme="dark"] .invoice-wrapper {
    color: var(--dc-text);
    --card-bg: var(--dc-surface);
    --text-main: var(--dc-text);
    --text-muted: var(--dc-text-secondary);
    --border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .invoice-card {
    background: var(--dc-surface);
    border-color: var(--dc-line);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .3);
  }
  html[data-dc-theme="dark"] .invoice-wrapper :is(.invoice-header, .card-payment-area,
      .modern-table td, .summary-row.total, .invoice-actions) {
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .invoice-wrapper :is(.info-card, .summary-box, .modern-table th) {
    background: var(--dc-surface-alt);
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .invoice-wrapper .info-card-body { color: var(--dc-text); }
  html[data-dc-theme="dark"] .invoice-wrapper .gateway-select-container select,
  html[data-dc-theme="dark"] .invoice-wrapper .credit-apply-form input[type="text"] {
    background: var(--dc-canvas);
    color: var(--dc-text);
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .invoice-wrapper :is(.summary-row.total .amount, .credit-apply-title) {
    color: #8de8c5;
  }
  html[data-dc-theme="dark"] .invoice-wrapper :is(.credit-apply-box, .status-paid, .due-banner.success) {
    background: #153e34;
    color: #8de8c5;
    border-color: #2b6854;
  }
  html[data-dc-theme="dark"] .invoice-wrapper :is(.status-unpaid, .due-banner.danger) {
    background: #472a36;
    color: #ffb0c0;
    border-color: #754555;
  }
  html[data-dc-theme="dark"] .invoice-wrapper .due-banner.warning {
    background: #45361c;
    color: #ffdc87;
    border-color: #6b552e;
  }
  html[data-dc-theme="dark"] .invoice-wrapper .btn-action {
    background: var(--dc-surface-alt);
    color: var(--dc-text);
    border-color: var(--dc-line);
  }
  html[data-dc-theme="dark"] .invoice-wrapper .btn-action:hover {
    background: #263c51;
    color: var(--dc-text);
    border-color: var(--dc-accent);
  }
}

/* Dark homepage artwork and brand treatment. Keep the original image and logo in light/print. */
@media screen {
    html[data-dc-theme="dark"] :is(.dc-logo-area img, .brand-logo img) {
        background: transparent;
        border-radius: 0;
    }
    html[data-dc-theme="dark"] :is(.dc-logo-area img, .brand-logo img, .dc-mobile-brand-logo, .dc-register-logo)[src$="/assets/img/logo.png"] {
        content: url('../img/dc-logo-dark.png');
        background: transparent;
        filter: none;
    }
    html[data-dc-theme="dark"] .dc-homepage .dc-hero { background: #102c33; }
    html[data-dc-theme="dark"] .dc-homepage .dc-slide { background: #102c33; }
    html[data-dc-theme="dark"] .dc-homepage .dc-slide-copy {
        background: radial-gradient(ellipse at 10% 15%, rgba(18,100,84,.2), transparent 70%);
    }
    html[data-dc-theme="dark"] .dc-homepage .dc-slide-copy .dc-kicker { color: #6de2ba; }
    html[data-dc-theme="dark"] .dc-homepage .dc-slide-copy p { color: #c0d8d8; }
    html[data-dc-theme="dark"] .dc-homepage .dc-slide-visual { background: #102c33; }
    html[data-dc-theme="dark"] .dc-homepage .dc-slide-visual img { filter: brightness(.72) saturate(.85); }
    html[data-dc-theme="dark"] .dc-homepage .dc-slide-visual::after {
        content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
        background: linear-gradient(90deg, #102c33 0%, rgba(16,44,51,.85) 10%, rgba(16,44,51,.12) 55%, rgba(16,44,51,.18) 100%);
    }
    html[data-dc-theme="dark"] .dc-homepage .dc-float {
        background: rgba(13,37,44,.86) !important; color: #e4f5ee !important;
        border: 1px solid rgba(152,204,194,.25); box-shadow: 0 6px 20px #0002;
    }
    html[data-dc-theme="dark"] .dc-homepage .dc-btn:not(.dc-btn-line):not(.dc-btn-navy) {
        color: #06281f !important; box-shadow: 0 6px 20px rgba(0,210,135,.12);
    }
    html[data-dc-theme="dark"] .dc-homepage .dc-slide-copy .dc-btn-line {
        background: transparent !important; border-color: #4b6b72 !important;
    }
    html[data-dc-theme="dark"] .dc-homepage :is(.dc-row h3, .dc-step h3, .dc-why h3, .dc-trust h3, .dc-news h3) { color: var(--dc-text); }
    html[data-dc-theme="dark"] .dc-homepage .dc-steps::before { background: var(--dc-line); }
    html[data-dc-theme="dark"] .dc-client-dashboard .dc-hero-banner {
        background: linear-gradient(115deg, #334759, #2c4d50);
        box-shadow: none;
    }
    html[data-dc-theme="dark"] .dc-client-dashboard .dc-hero-banner p { color: #d2dfe7; }
    html[data-dc-theme="dark"] :is(.dc-data-container, .dc-tile-card, .dc-stat-card, .qa-card, .invoice-card) {
        box-shadow: 0 4px 18px rgba(0,0,0,.10);
    }
    html[data-dc-theme="dark"] .invoice-wrapper :is(.info-card-header, .summary-row, .modern-table th) { color: #d0dae5; }
}
@media screen and (min-width: 992px) {
    html[data-dc-theme="dark"] .dc-homepage .dc-slide-copy { padding-left: 72px; padding-right: 28px; }
}
@media screen and (max-width: 991.98px) {
    html[data-dc-theme="dark"] .dc-homepage .dc-slide-visual::after {
        background: linear-gradient(180deg, #102c33 0%, rgba(16,44,51,.65) 14%, rgba(16,44,51,.12) 60%, rgba(16,44,51,.22) 100%);
    }
}

/* Set each menu card's base surface as well as its hover state. */
@media screen {
    html[data-dc-theme="dark"] .dilekcloud-header-wrapper .dc-nav-item:hover > .dc-nav-link { background: var(--dc-surface-alt) !important; color: var(--dc-accent) !important; }
    html[data-dc-theme="dark"] .dilekcloud-header-wrapper .dc-mega-card {
        background: var(--dc-surface-alt) !important;
        border-color: var(--dc-border) !important;
        color: var(--dc-text) !important;
    }
    html[data-dc-theme="dark"] .dilekcloud-header-wrapper .dc-mega-card:hover,
    html[data-dc-theme="dark"] .dilekcloud-header-wrapper .dc-mega-card:focus-visible {
        background: #405264 !important;
        border-color: var(--dc-accent) !important;
        box-shadow: none;
    }
    html[data-dc-theme="dark"] .dilekcloud-header-wrapper .dc-mega-card .dc-mega-info h4 { color: #f0f4f8 !important; }
    html[data-dc-theme="dark"] .dilekcloud-header-wrapper .dc-mega-card .dc-mega-info p { color: #d0dae4 !important; }
    html[data-dc-theme="dark"] .dilekcloud-header-wrapper .dc-mega-card:hover .dc-mega-info h4 { color: #91f0ce !important; }
    html[data-dc-theme="dark"] .dilekcloud-header-wrapper .dc-mega-card:hover .dc-mega-icon { background: #235649; color: #a5f5d9; }
    html[data-dc-theme="dark"] #main-menu .dc-native-navbar,
    html[data-dc-theme="dark"] #main-menu .dc-native-navbar .navbar-nav.navbar-right > li > a { background: #263440 !important; }
    html[data-dc-theme="dark"] #main-menu .dc-native-navbar .dropdown-menu { background: var(--dc-surface) !important; border-color: var(--dc-border) !important; }
    html[data-dc-theme="dark"] #main-menu .dc-native-navbar .dropdown-menu > li > a { color: var(--dc-text) !important; }
    html[data-dc-theme="dark"] #main-menu .dc-native-navbar .dropdown-menu > li > a:hover,
    html[data-dc-theme="dark"] #main-menu .dc-native-navbar .dropdown-menu > li > a:focus,
    html[data-dc-theme="dark"] #main-menu .dc-native-navbar .navbar-nav > li > a:hover,
    html[data-dc-theme="dark"] #main-menu .dc-native-navbar .navbar-nav > .open > a { background: var(--dc-surface-alt) !important; color: #91f0ce !important; }
}
@media screen and (max-width: 1100px) {
    html[data-dc-theme="dark"] .dilekcloud-header-wrapper .dc-mega-menu { background: transparent !important; }
}

/* The order form defines its own palette; scope the dark palette to that root. */
@media screen {
    html[data-dc-theme="dark"] #order-standard_cart {
        --dc-ink: #f0f4f8; --dc-text: #d4dde6; --dc-muted: #c0cbd7;
        --dc-border: #526275; --dc-border-strong: #64788e;
        --dc-bg: #202832; --dc-card: #2b3542; --dc-soft: #354252;
        --dc-surface: #2b3542; --dc-surface-alt: #354252; --dc-surface-soft: #354252;
        --dc-line: #526275; --dc-line-strong: #64788e;
        --dc-success: #82e2b9; --dc-danger: #ffb4bf; --dc-warning: #f5d38b;
        --dc-shadow: 0 8px 24px rgba(0,0,0,.10); --dc-shadow-sm: 0 4px 16px rgba(0,0,0,.08);
        color: var(--dc-text);
    }
    html[data-dc-theme="dark"] #order-standard_cart :is(label, .sub-heading, .sub-heading span, .product-info .product-title, .dc-section-eyebrow, .dc-tld-card-bottom strong, .dc-card-heading h2, .products .product header, .products .product header span) { color: var(--dc-ink) !important; }
    html[data-dc-theme="dark"] #order-standard_cart .sub-heading span { background: var(--dc-bg) !important; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.form-control, .field, select, textarea, .input-group-addon) { background-color: var(--dc-bg) !important; color: var(--dc-ink) !important; border-color: var(--dc-border-strong) !important; }
    html[data-dc-theme="dark"] #order-standard_cart :is(input, textarea)::placeholder { color: #b4c3d3 !important; opacity: 1; }
    html[data-dc-theme="dark"] #order-standard_cart :is(input, select, textarea):focus { border-color: #8dc5ff !important; box-shadow: 0 0 0 3px rgba(123,185,255,.15); }
    html[data-dc-theme="dark"] #order-standard_cart select.custom-select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23d4dde6' stroke-width='2'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: right .75rem center; background-size: 12px 8px;
        appearance: none; -webkit-appearance: none;
    }
    html[data-dc-theme="dark"] #order-standard_cart :is(.product-info, .panel-addon, .products .product, .dc-popular-tlds-section, .dc-pricing-card, .dc-transfer-form-card, .dc-transfer-steps-card, .dc-domain-benefit-strip) { background: var(--dc-card) !important; color: var(--dc-text); border-color: var(--dc-border) !important; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.dc-popular-tld-card, .panel-addon .panel-price, .panel-addon .panel-add, .card-header, .dc-domain-search-box-xl) { background: var(--dc-soft) !important; border-color: var(--dc-border) !important; color: var(--dc-text); }
    html[data-dc-theme="dark"] #order-standard_cart .product-info .product-title { color: #f0f4f8; }
    html[data-dc-theme="dark"] #order-standard_cart .product-info::after { background: rgba(96,210,188,.08); }
    html[data-dc-theme="dark"] #order-standard_cart :is(.panel-addon-selected, .dc-popular-tld-card:hover) { border-color: #8dc5ff !important; }
    html[data-dc-theme="dark"] #order-standard_cart .panel-addon-selected .panel-add { background: #235649 !important; color: #b1f4dc !important; }
    html[data-dc-theme="dark"] #order-standard_cart a:not(.btn) { color: #a4d0ff; }
    html[data-dc-theme="dark"] #order-standard_cart a:not(.btn):hover { color: #d3e8ff; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.btn-default, .btn-warning, .btn-info, .btn-secondary, .dc-server-btn) { color: var(--dc-ink) !important; background: var(--dc-soft) !important; border-color: var(--dc-border) !important; }
    html[data-dc-theme="dark"] #order-standard_cart .dc-password-toggle { color: var(--dc-text) !important; }
    html[data-dc-theme="dark"] #order-standard_cart .btn-link { color: #a4d0ff; }
    html[data-dc-theme="dark"] #order-standard_cart .alert-info { background: #293f58 !important; color: #c9e4ff !important; border-color: #557da4 !important; }
    html[data-dc-theme="dark"] #order-standard_cart .alert-success { background: #25473d !important; color: #b1f4dc !important; border-color: #4f846e !important; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.alert-warning, .dc-transfer-note) { background: #493e2b !important; color: #f7dfad !important; border-color: #8b7551 !important; }
    html[data-dc-theme="dark"] #order-standard_cart .alert-danger { background: #50313c !important; color: #ffd0d8 !important; border-color: #925568 !important; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.dc-card-icon, .dc-domain-benefit-strip i) { background: #2b4662; color: #a4d0ff; }
    html[data-dc-theme="dark"] #order-standard_cart .dc-tld-badge { background: #235649; color: #b1f4dc; }
    html[data-dc-theme="dark"] #order-standard_cart .dc-checkout-steps > span { color: #c5d5ea; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.dc-domain-feature small, .dc-search-hint) { color: #c5d5ea; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.domain-pricing, .domain-suggestions, .domain-lookup-result, .domain-checker-result-headline, .domain-selection-options .option) { background: var(--dc-card); color: var(--dc-text); border-color: var(--dc-border); }
    html[data-dc-theme="dark"] #order-standard_cart .domain-selection-options .option-selected { background: #29493f; border-color: #6bbba0; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.order-summary, .summary-container) { background: var(--dc-card) !important; color: var(--dc-text); border-color: var(--dc-border) !important; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.total-due-today, .total-due-today-padded) { background: #24433f !important; color: #e1f5ed; border-color: #477b6e !important; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.total-due-today, .total-due-today-padded) .amt { color: #a2f0d1 !important; }
    html[data-dc-theme="dark"] #order-standard_cart .total-due-today span:not(.amt) { color: #d4e6de; }
    html[data-dc-theme="dark"] #order-standard_cart .sub-heading { border-color: var(--dc-border) !important; }
    html[data-dc-theme="dark"] #order-standard_cart #frmCheckout .sub-heading span { background: var(--dc-card) !important; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.intl-tel-input .country-list, .iti__country-list) { color: var(--dc-text); background: var(--dc-card); border-color: var(--dc-border); }
    html[data-dc-theme="dark"] #order-standard_cart :is(.intl-tel-input .country-list .country.highlight, .iti__country--highlight) { background: var(--dc-soft); }
    html[data-dc-theme="dark"] :is(.modal-remove-item, #recommendationsModal) :is(.modal-content, .modal-body, .modal-footer, .product-recommendation) { background: #2b3542 !important; color: #f0f4f8; border-color: #526275 !important; }
    html[data-dc-theme="dark"] :is(.modal-remove-item, #recommendationsModal) :is(.modal-title, h3, h4, p) { color: #f0f4f8 !important; }
    html[data-dc-theme="dark"] #recommendationsModal :is(.modal-header, .product-recommendation .body) { background: #354252 !important; color: #d4dde6; border-color: #526275 !important; }
    html[data-dc-theme="dark"] #order-standard_cart :is(.view-cart-tabs, .view-cart-tabs .nav-tabs, .products .product header, .order-confirmation) { background: var(--dc-card) !important; color: var(--dc-text) !important; border-color: var(--dc-border) !important; }
    html[data-dc-theme="dark"] #order-standard_cart .suggested-domains .domain-lookup-suggestions-loader { opacity: 1; }
}

/* Order-form dark surfaces: cart, checkout, domains and recommendations. */
@media screen {
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-items-header,
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-items,
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-tabs .tab-content,
  html[data-dc-theme="dark"] #order-standard_cart .already-registered,
  html[data-dc-theme="dark"] #order-standard_cart #paymentGatewaysContainer,
  html[data-dc-theme="dark"] #order-standard_cart .apply-credit-container,
  html[data-dc-theme="dark"] #order-standard_cart .cc-input-container,
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-gateway-checkout,
  html[data-dc-theme="dark"] #order-standard_cart .marketing-email-optin {
    color: #f0f4f8 !important;
    background: #354252 !important;
    border-color: #526275 !important;
  }

  html[data-dc-theme="dark"] #order-standard_cart .view-cart-items .item,
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-items .item:nth-child(even),
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-promotion-code,
  html[data-dc-theme="dark"] #order-standard_cart #frmCheckout,
  html[data-dc-theme="dark"] #order-standard_cart .dc-assurance-row > span,
  html[data-dc-theme="dark"] #order-standard_cart #paymentGatewaysContainer .radio-inline,
  html[data-dc-theme="dark"] #order-standard_cart .account-select-container div.account {
    color: #f0f4f8 !important;
    background: #2b3542 !important;
    border-color: #526275 !important;
  }

  html[data-dc-theme="dark"] #order-standard_cart .view-cart-items .item:hover,
  html[data-dc-theme="dark"] #order-standard_cart .account-select-container div.account.active,
  html[data-dc-theme="dark"] #order-standard_cart #paymentGatewaysContainer .radio-inline:has(input:checked),
  html[data-dc-theme="dark"] #order-standard_cart #paymentGatewaysContainer .radio-inline:has(.checked) {
    background: #354252 !important;
    border-color: #8fc4ff !important;
  }

  html[data-dc-theme="dark"] #order-standard_cart .view-cart-tabs .nav-tabs {
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-tabs .nav-tabs a {
    color: #c0cbd7 !important;
    background: #2b3542 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-tabs .nav-tabs a:hover,
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"],
  html[data-dc-theme="dark"] #order-standard_cart .view-cart-tabs .nav-tabs .active > a {
    color: #f0f4f8 !important;
    background: #354252 !important;
    border-color: #526275 !important;
  }

  html[data-dc-theme="dark"] #order-standard_cart .view-cart-items .item-domain,
  html[data-dc-theme="dark"] #order-standard_cart .order-summary .btn-continue-shopping,
  html[data-dc-theme="dark"] #order-standard_cart .dc-assurance-row i {
    color: #8fc4ff !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .order-summary .recurring-charges,
  html[data-dc-theme="dark"] #order-standard_cart .existing-cc-grid,
  html[data-dc-theme="dark"] #order-standard_cart .paymethod-info,
  html[data-dc-theme="dark"] #order-standard_cart .upgrade-calc-msg {
    color: #c0cbd7 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .item-qty > .btn,
  html[data-dc-theme="dark"] #order-standard_cart .empty-cart .btn {
    color: #f0f4f8 !important;
    background: #354252 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .btn-remove-from-cart:hover {
    color: #ffafb3 !important;
    background: #51313a !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart #totalDueToday {
    color: #f0f4f8 !important;
    background: #24433f !important;
    border-color: #477b6e !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart #totalCartPrice {
    color: #a2f0d1 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .field-error-msg,
  html[data-dc-theme="dark"] #order-standard_cart .has-error .help-block {
    color: #ffafb3 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .progress {
    background-color: #354252 !important;
  }

  /* Domain search, ownership options, pricing and renewals. */
  html[data-dc-theme="dark"] #order-standard_cart .dc-domain-search-box-xl,
  html[data-dc-theme="dark"] #order-standard_cart .dc-popular-tlds-section,
  html[data-dc-theme="dark"] #order-standard_cart .dc-pricing-card,
  html[data-dc-theme="dark"] #order-standard_cart .dc-pricing-shell,
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-table,
  html[data-dc-theme="dark"] #order-standard_cart .dc-transfer-form-card,
  html[data-dc-theme="dark"] #order-standard_cart .dc-transfer-steps-card,
  html[data-dc-theme="dark"] #order-standard_cart .dc-domain-benefit-strip,
  html[data-dc-theme="dark"] #order-standard_cart .spotlight-tld,
  html[data-dc-theme="dark"] #order-standard_cart .domain-promo-box,
  html[data-dc-theme="dark"] #order-standard_cart .domain-suggestion.list-group-item {
    color: #f0f4f8 !important;
    background: #2b3542 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-popular-tld-card,
  html[data-dc-theme="dark"] #order-standard_cart .domain-selection-options .option,
  html[data-dc-theme="dark"] #order-standard_cart .spotlight-tlds,
  html[data-dc-theme="dark"] #order-standard_cart .suggested-domains .domain-lookup-suggestions-loader,
  html[data-dc-theme="dark"] #order-standard_cart .domain-suggestions-warning,
  html[data-dc-theme="dark"] #order-standard_cart .dc-domain-benefit-strip i,
  html[data-dc-theme="dark"] #order-standard_cart .dc-card-icon,
  html[data-dc-theme="dark"] #order-standard_cart .dc-pricing-icon,
  html[data-dc-theme="dark"] #order-standard_cart .dc-assurance-row i {
    color: #c0cbd7 !important;
    background: #354252 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .domain-selection-options .option-selected {
    color: #f0f4f8 !important;
    background: #354252 !important;
    box-shadow: inset 3px 0 0 #8fc4ff;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-section-eyebrow,
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-card-bottom strong,
  html[data-dc-theme="dark"] #order-standard_cart .dc-card-heading h2,
  html[data-dc-theme="dark"] #order-standard_cart .dc-pricing-title h3,
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-table .two-row-center strong,
  html[data-dc-theme="dark"] #order-standard_cart .domain-promo-box h3 {
    color: #f0f4f8 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-pricing-title p,
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-table .tld-row small,
  html[data-dc-theme="dark"] #order-standard_cart .domain-promo-box .small,
  html[data-dc-theme="dark"] #order-standard_cart .domain-searching,
  html[data-dc-theme="dark"] #order-standard_cart .service-renewals .div-renewal-ineligible {
    color: #c0cbd7 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-pricing-toolbar,
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-table .tld-pricing-header,
  html[data-dc-theme="dark"] #order-standard_cart .domain-pricing .tld-pricing-header div {
    color: #c0cbd7 !important;
    background: #354252 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-table .tld-row,
  html[data-dc-theme="dark"] #order-standard_cart .domain-renewals,
  html[data-dc-theme="dark"] #order-standard_cart .service-renewals,
  html[data-dc-theme="dark"] #order-standard_cart .addon-renewals .service-renewal {
    color: #f0f4f8 !important;
    background: #2b3542 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-table .tld-row:nth-child(odd),
  html[data-dc-theme="dark"] #order-standard_cart .domain-renewals .domain-renewal:nth-child(even),
  html[data-dc-theme="dark"] #order-standard_cart .service-renewals .service-renewal:nth-child(even),
  html[data-dc-theme="dark"] #order-standard_cart .addon-renewals .service-renewal:nth-child(even) {
    background: #303c4a !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-table .tld-row:hover,
  html[data-dc-theme="dark"] #order-standard_cart .domain-pricing .tld-row.highlighted {
    background: #354252 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart #dcTldSearch,
  html[data-dc-theme="dark"] #order-standard_cart #dcTldSearch:focus,
  html[data-dc-theme="dark"] #order-standard_cart .form-control.domain-renewals-filter,
  html[data-dc-theme="dark"] #order-standard_cart .form-control.service-renewals-filter {
    color: #f0f4f8 !important;
    background-color: #202832 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart #dcTldSearch::placeholder {
    color: #c0cbd7 !important;
    opacity: 1;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-filters a.badge {
    color: #c0cbd7 !important;
    background: #354252 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-filters a.badge:hover {
    color: #f0f4f8 !important;
    border-color: #8fc4ff !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-filters a.badge-success,
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-filters a.active,
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-badge,
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-table .tld-sale-group,
  html[data-dc-theme="dark"] #order-standard_cart .transfer-eligible {
    color: #a2f0d1 !important;
    background: #24433f !important;
    border-color: #477b6e !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-tld-filters a.badge span {
    background: rgba(0, 0, 0, .2) !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .domain-checker-available {
    color: #6de2ba !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .domain-checker-unavailable,
  html[data-dc-theme="dark"] #order-standard_cart .domain-checker-invalid {
    color: #ffafb3 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .transfer-not-eligible,
  html[data-dc-theme="dark"] #order-standard_cart .spotlight-tld .unavailable,
  html[data-dc-theme="dark"] #order-standard_cart .spotlight-tld .invalid {
    color: #c0cbd7 !important;
    background: #354252 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .dc-transfer-note {
    color: #f9d698 !important;
    background: #493b29 !important;
    border-color: #856846 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart #frmConfigureDomains .form-group span[style="color:#009900;"] {
    color: #6de2ba !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart #frmConfigureDomains .form-group a[style="color:#cc0000;"] {
    color: #ffafb3 !important;
  }

  /* Optional service recommendations inherit the surrounding cart palette. */
  html[data-dc-theme="dark"] #order-standard_cart .mc-promo,
  html[data-dc-theme="dark"] #order-standard_cart .product-recommendation {
    color: #f0f4f8 !important;
    background: #2b3542 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .mc-promo .body,
  html[data-dc-theme="dark"] #order-standard_cart .product-recommendation .body {
    color: #c0cbd7 !important;
    background: #354252 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #order-standard_cart .mc-promo .price,
  html[data-dc-theme="dark"] #order-standard_cart .mc-promo .expander,
  html[data-dc-theme="dark"] #order-standard_cart .product-recommendation .price,
  html[data-dc-theme="dark"] #order-standard_cart .product-recommendation .expander {
    color: #6de2ba !important;
  }
}

/* License logos: transparent dark variants; original assets remain in light/print. */
@media screen {
    html[data-dc-theme="dark"] .dl-lic-root .nh-pricing-cloud2 .head .title img {
        background: transparent !important;
        filter: none !important;
    }
    html[data-dc-theme="dark"] .dl-lic-root .nh-pricing-cloud2 .head .title img[src$="/plesk.png"] {
        content: url('../img/dc-plesk-dark.png');
    }
    html[data-dc-theme="dark"] .dl-lic-root .nh-pricing-cloud2 .head .title img[src$="/cloudlinux.png"] {
        content: url('../img/dc-cloudlinux-dark.png');
    }
    html[data-dc-theme="dark"] .dl-lic-root .nh-pricing-cloud2 .head .title img[src$="/lsws.png"] {
        content: url('../img/dc-lsws-dark.png');
    }
    html[data-dc-theme="dark"] .dl-lic-root .nh-pricing-cloud2 .head .title img[src$="/imunify360.png"] {
        content: url('../img/dc-imunify360-dark.png');
    }
    html[data-dc-theme="dark"] .dl-lic-root .nh-pricing-cloud2 .head .title img[src$="/jetbackup.png"] {
        content: url('../img/dc-jetbackup-dark.png');
    }
    html[data-dc-theme="dark"] .dl-lic-root .nh-pricing-cloud2 .head .title img[src$="/softaculous.png"] {
        content: url('../img/dc-softaculous-dark.png');
    }
}

/* Six paints list cells as well as rows. Override both layers, including
   DataTables' striping, sorted columns, responsive details and Bootstrap paging. */
@media screen {
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table,
      .client-home-panels table) {
    color: #f0f4f8 !important;
    border-color: #526275 !important;
    background: #2b3542 !important;
  }
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table,
      .client-home-panels table) > tbody > tr,
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table,
      .client-home-panels table) > tbody > tr > :is(td, th) {
    background: #2b3542 !important;
    color: #f0f4f8 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table,
      .client-home-panels table) > tbody > tr:nth-child(even) > :is(td, th) {
    background: #303c4a !important;
  }
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table,
      .client-home-panels table) > tbody > tr:is(:hover, :focus-within) > :is(td, th) {
    background: #354252 !important;
  }
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table,
      .client-home-panels table) > :is(thead, tfoot) > tr > :is(td, th) {
    background: #2b3542 !important;
    color: #c0cbd7 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table)
      > thead > tr > :is(.sorting_asc, .sorting_desc) {
    background: #354252 !important;
    color: #f0f4f8 !important;
  }
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table)
      > thead > tr > .sorting::after {
    color: #c0cbd7 !important;
    opacity: .65;
  }
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table)
      > thead > tr > :is(.sorting_asc, .sorting_desc)::after {
    color: #6de2ba !important;
    opacity: 1;
  }
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table)
      > tbody > tr > :is(td, th) :is(.text-muted, small.text-muted, .text-muted a) {
    color: #c0cbd7 !important;
  }
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table) a.border-left {
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] #tableTicketsList .ticket-number {
    color: #6de2ba !important;
  }
  html[data-dc-theme="dark"] :is(table.table-list, table.data-table, table.dc-custom-table)
      > tbody > tr > td.dataTables_empty {
    background: #202832 !important;
    color: #c0cbd7 !important;
  }

  /* Responsive child rows reuse the original cell markup and status badges. */
  html[data-dc-theme="dark"] table.dataTable > tbody > tr.child > td,
  html[data-dc-theme="dark"] table.dataTable > tbody > tr.child:hover > td {
    background: #303c4a !important;
    color: #f0f4f8 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] table.dataTable > tbody > tr.child ul > li {
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] table.dataTable .dtr-title {
    color: #c0cbd7 !important;
  }
  html[data-dc-theme="dark"] table.dataTable .dtr-data {
    color: #f0f4f8 !important;
  }
  html[data-dc-theme="dark"] table.dataTable .dtr-data > :is(strong, span[style*="color: #0f172a"]),
  html[data-dc-theme="dark"] table.dataTable .dtr-data > a[style*="color: #0f172a"] {
    color: #f0f4f8 !important;
  }
  html[data-dc-theme="dark"] :is(.dtr-modal-display, .dtr-modal-content) {
    background: #2b3542 !important;
    color: #f0f4f8 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] .dtr-modal-close {
    background: #354252 !important;
    color: #f0f4f8 !important;
    border-color: #526275 !important;
  }

  html[data-dc-theme="dark"] .dataTables_wrapper :is(.dataTables_length,
      .dataTables_info, .dataTables_processing, .dataTables_filter) {
    background: #2b3542 !important;
    color: #c0cbd7 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] .dataTables_wrapper :is(.dataTables_filter,
      .dataTables_length) :is(label, select, input) {
    color: #f0f4f8 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] .dataTables_wrapper :is(.dataTables_filter input,
      .dataTables_length select) {
    background-color: #202832 !important;
  }
  /* Bootstrap renders li.paginate_button > a, unlike the plain DataTables
     renderer's a.paginate_button. Keep one visible button per page. */
  html[data-dc-theme="dark"] .dataTables_wrapper .pagination > li.paginate_button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  html[data-dc-theme="dark"] .dataTables_wrapper .pagination > li > :is(a, span) {
    background: #354252 !important;
    color: #f0f4f8 !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] .dataTables_wrapper .pagination > li:not(.disabled) > a:is(:hover, :focus) {
    background: #415469 !important;
    color: #ffffff !important;
    border-color: #6de2ba !important;
  }
  html[data-dc-theme="dark"] .dataTables_wrapper .pagination > li.active > :is(a, span),
  html[data-dc-theme="dark"] .dataTables_wrapper .pagination > li.active > a:is(:hover, :focus) {
    background: #6de2ba !important;
    color: #102c23 !important;
    border-color: #6de2ba !important;
  }
  html[data-dc-theme="dark"] .dataTables_wrapper .pagination > li.disabled > :is(a, span),
  html[data-dc-theme="dark"] .dataTables_wrapper .pagination > li.disabled > a:is(:hover, :focus) {
    background: #202832 !important;
    color: #9aaabc !important;
    border-color: #526275 !important;
  }
  html[data-dc-theme="dark"] .dc-client-area-wrapper table :is(tr, td, th) {
    border-color: #526275 !important;
  }

  /* Additional list states omitted by the original dark palette. Custom
     ticket colors remain under the administrator's control. */
  html[data-dc-theme="dark"] .table-list :is(.status-open, .status-completed, .status-accepted) {
    background: #153e34 !important; color: #8de8c5 !important; border-color: #2b6854 !important;
  }
  html[data-dc-theme="dark"] .table-list :is(.status-pending-transfer, .status-pending-registration,
      .status-customer-reply, .status-redemption, .status-grace) {
    background: #45361c !important; color: #ffdc87 !important; border-color: #6b552e !important;
  }
  html[data-dc-theme="dark"] .table-list :is(.status-answered, .status-onhold, .status-delivered) {
    background: #173a53 !important; color: #98d5ff !important; border-color: #437a9f !important;
  }
  html[data-dc-theme="dark"] .table-list :is(.status-fraud, .status-inprogress) {
    background: #472a36 !important; color: #ffb0c0 !important; border-color: #754555 !important;
  }
  html[data-dc-theme="dark"] .table-list :is(.status-expired, .status-transferred-away,
      .status-closed, .status-lost, .status-dead) {
    background: #29394a !important; color: #c5d1df !important; border-color: #526275 !important;
  }
}

/* Remaining Six components with literal light backgrounds in styles.css/TPLs. */
@media screen {
  /* Ticket author, attachments and Markdown toolbar/preview are separate surfaces. */
  html[data-dc-theme="dark"] .ticket-reply :is(.user, .attachments),
  html[data-dc-theme="dark"] .ticket-reply.staff .user,
  html[data-dc-theme="dark"] .md-editor > .btn-toolbar,
  html[data-dc-theme="dark"] .kbarticles .kb-suggestion-item,
  html[data-dc-theme="dark"] .dc-ticket-badge {
    background: var(--dc-surface-alt) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-border) !important;
  }
  html[data-dc-theme="dark"] :is(.md-editor, .md-editor.active),
  html[data-dc-theme="dark"] .md-editor > :is(textarea.markdown-editor, .md-preview) {
    background: var(--dc-surface) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-border) !important;
  }
  html[data-dc-theme="dark"] :is(.markdown-editor-status, .ticket-reply .user .type) {
    color: var(--dc-muted) !important;
  }
  html[data-dc-theme="dark"] .ticket-reply :is(.message, .attachments) a:not(.btn),
  html[data-dc-theme="dark"] .kbarticles .kb-suggestion-item a {
    color: #91d9f7 !important;
  }
  html[data-dc-theme="dark"] .kbarticles .kb-suggestion-item:hover {
    background: var(--dc-surface) !important;
    border-color: var(--dc-accent) !important;
  }
  html[data-dc-theme="dark"] .dc-confirm-icon {
    background: #163b35;
    color: #a0f1cb;
  }

  /* Service-management modules and saved payment cards use native Six wrappers. */
  html[data-dc-theme="dark"] :is(div.product-details-tab-container, div.credit-card,
      .invoice-summary, .continue-container, .invite-box, .dc-client-info-box,
      .dc-account-item.closed-account, .dc-invite-card) {
    background: var(--dc-surface) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-border) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-invite-card .panel-heading, .select-account a:hover) {
    background: var(--dc-surface-alt) !important;
    border-color: var(--dc-border) !important;
  }
  html[data-dc-theme="dark"] :is(.dc-invite-header h2, .dc-invite-card .panel-heading h4,
      .dc-invite-card .dc-form-box label, .dc-invite-header .lead-text) {
    color: var(--dc-text) !important;
  }
  html[data-dc-theme="dark"] .dc-switch-wrapper .dc-cancel-link {
    color: var(--dc-muted);
  }
  html[data-dc-theme="dark"] .dc-switch-wrapper .dc-cancel-link:hover {
    color: var(--dc-accent);
  }
  html[data-dc-theme="dark"] :is(.verification-banner, .marketing-email-optin) {
    background: var(--dc-surface-alt) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-border) !important;
  }
  html[data-dc-theme="dark"] .verification-banner.failed {
    background: #45361c !important;
    color: #ffdc87 !important;
    border-color: #6b552e !important;
  }
  html[data-dc-theme="dark"] .verification-banner a:not(.btn),
  html[data-dc-theme="dark"] #frmManagePaymentMethod .btn-link {
    color: #91d9f7;
  }
  html[data-dc-theme="dark"] #frmManagePaymentMethod .field-error-msg {
    color: #ffb4bf;
  }

  /* Existing-account service upgrades have their own white product cards. */
  html[data-dc-theme="dark"] .upgrade :is(.product-to-be-upgraded, .products .product) {
    background: var(--dc-surface) !important;
    color: var(--dc-text) !important;
    border-color: var(--dc-border) !important;
  }

  /* Public page location selectors and secondary registration controls. */
  html[data-dc-theme="dark"] .dc-cloud-wrapper .loc-btn.active {
    background: var(--dc-surface-alt);
    color: var(--dc-text);
    border-color: var(--dc-accent);
  }
  html[data-dc-theme="dark"] .dc-cloud-wrapper .loc-btn.active span {
    color: var(--dc-muted);
  }
  html[data-dc-theme="dark"] #dc-register-page :is(.generate-password, .tospanel) {
    background: var(--dc-surface-alt);
    color: var(--dc-text);
    border-color: var(--dc-border);
  }
}

/* Embedded service interfaces share the site's appearance preference. */
@media screen {
    html[data-dc-theme="dark"] .dc-module-area { color-scheme: dark; }
    html[data-dc-theme="dark"] .dc-module-area :is(input, textarea)::placeholder { color: #aebfce !important; opacity: 1; }
    html[data-dc-theme="dark"] .dc-module-area :is(button, a, input, select, textarea):focus-visible { outline: 2px solid #6de2ba; outline-offset: 2px; }
    /* Bootstrap clearfix pseudo-elements otherwise occupy the first grid cell,
       moving the settings menu to column 2 and its form onto the next row. */
    .dc-module-area .dilekcloud-vps-container #settings > .row::before,
    .dc-module-area .dilekcloud-vps-container #settings > .row::after { content: none !important; display: none !important; }
}
