/*
 * Vantage dark-force.css
 * Colors ONLY — does not change layout or hide stylesheets.
 * Load AFTER all.min.css + custom.css
 */

/* ---- Base ---- */
html, body {
  background-color: #0A1628 !important;
  color: #E8EEF7 !important;
}
section#header {
  background-color: #06101F !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12) !important;
}
section#header .logo-text { color: #fff !important; }
#main-body,
section#main-body,
.main-content,
.primary-bg-color {
  background-color: #0A1628 !important;
  color: #E8EEF7 !important;
}

/* ---- Homepage tiles / squares (were white) ---- */
.home-shortcuts,
.home-shortcuts ul,
.home-shortcuts li,
.home-shortcuts li a,
.tile,
.tiles .tile,
.client-home-panels .panel,
.client-home-panels .panel-body,
.panel,
.panel-default,
.panel-body,
.card,
.well,
.list-group,
.list-group-item {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
.home-shortcuts li a p,
.home-shortcuts li a span,
.home-shortcuts li a .shortcut-icon,
.tile .title,
.tile .stat,
.tile .highlight {
  color: #E8EEF7 !important;
}
.home-shortcuts li:hover,
.home-shortcuts li:hover a {
  border-color: #0EA5E9 !important;
}
.panel-heading,
.panel-default > .panel-heading,
.client-home-panels .panel > .panel-heading {
  background-color: #06101F !important;
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.12) !important;
}

/* ---- Text readability ---- */
h1, h2, h3, h4, h5, h6 { color: #ffffff !important; }
p, td, th, li, label, .text-muted { color: #E8EEF7 !important; }
.text-muted { color: #94A3B8 !important; }
a:not(.btn) { color: #38BDF8 !important; }
a:not(.btn):hover { color: #ffffff !important; }

/* ---- Tables ---- */
.table > thead > tr > th {
  color: #94A3B8 !important;
  background-color: transparent !important;
  border-color: rgba(56, 189, 248, 0.12) !important;
}
.table > tbody > tr > td {
  color: #E8EEF7 !important;
  background-color: transparent !important;
  border-color: rgba(56, 189, 248, 0.12) !important;
}
.table-striped > tbody > tr:nth-of-type(odd) > td {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

/* ---- Forms (client area) ---- */
.form-control,
input.form-control,
select.form-control,
textarea.form-control {
  background-color: #06101F !important;
  color: #ffffff !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}
.btn-primary, .btn-success, .btn-info {
  background-color: #0EA5E9 !important;
  border-color: #0EA5E9 !important;
  color: #ffffff !important;
}
.btn-default {
  background-color: #0E1C30 !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
  color: #E8EEF7 !important;
}

/* ---- Nav ---- */
.navbar-main {
  background-color: #06101F !important;
}
.navbar-main .navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ---- ORDER FORMS: readable product text (was black on blue) ---- */
#order-standard_cart,
#order-standard_cart *,
.order-form,
div.order-form,
.orderforms,
[id^="order-"],
.products,
.product,
.product-name,
.product-desc,
.product-pricing,
.product-group,
.panel-body .product,
.domain-pricing,
.cart-body,
.cart-sidebar,
.view-cart-items,
.order-summary,
.summary-container,
.secondary-cart-body,
.secondary-cart-sidebar {
  color: #E8EEF7 !important;
}
#order-standard_cart .panel,
#order-standard_cart .panel-body,
#order-standard_cart .panel-heading,
#order-standard_cart .product,
#order-standard_cart .products .product,
.order-form .panel,
.order-form .panel-body {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart h1,
#order-standard_cart h2,
#order-standard_cart h3,
#order-standard_cart h4,
#order-standard_cart .product-title,
#order-standard_cart .product-name,
#order-standard_cart label,
#order-standard_cart .checkbox,
#order-standard_cart .radio,
#order-standard_cart p,
#order-standard_cart span,
#order-standard_cart li,
#order-standard_cart td,
#order-standard_cart th {
  color: #E8EEF7 !important;
}
#order-standard_cart .price,
#order-standard_cart .price .price,
#order-standard_cart strong.price {
  color: #38BDF8 !important;
}
/* Order form inputs stay readable */
#order-standard_cart .form-control,
.order-form .form-control {
  background-color: #06101F !important;
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

/* ---- Misc ---- */
.dropdown-menu {
  background-color: #0E1C30 !important;
  border-color: rgba(56, 189, 248, 0.12) !important;
}
.dropdown-menu > li > a { color: #E8EEF7 !important; }
.modal-content {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}
section#footer {
  background-color: #040A14 !important;
  color: #94A3B8 !important;
}
.logincontainer {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}

/* =========================================================
   BUGFIXES 2026-08 — cart / products / domain / empty pages
   ========================================================= */

/* ---- Cart page layout: prevent categories bleed under fixed sidebar ---- */
#order-standard_cart {
  position: relative;
  z-index: 1;
  overflow: visible !important;
}
#order-standard_cart .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#order-standard_cart .cart-sidebar {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border: 1px solid rgba(56, 189, 248, 0.12) !important;
  border-radius: 10px;
  padding: 8px 0;
  overflow: visible !important;
  z-index: 2;
}
#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .cart-sidebar .panel-sidebar,
#order-standard_cart .cart-sidebar .card,
#order-standard_cart .cart-sidebar .list-group,
#order-standard_cart .cart-sidebar .list-group-item {
  background-color: transparent !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.12) !important;
}
#order-standard_cart .cart-sidebar .panel-heading,
#order-standard_cart .cart-sidebar .card-header,
#order-standard_cart .cart-sidebar .panel-title {
  background-color: #06101F !important;
  color: #fff !important;
}
#order-standard_cart .cart-sidebar a,
#order-standard_cart .cart-sidebar .list-group-item {
  color: #94A3B8 !important;
}
#order-standard_cart .cart-sidebar a:hover,
#order-standard_cart .cart-sidebar .list-group-item:hover,
#order-standard_cart .cart-sidebar .list-group-item.active {
  color: #38BDF8 !important;
  background-color: rgba(14, 165, 233, 0.08) !important;
}
#order-standard_cart .cart-body {
  background-color: transparent !important;
  color: #E8EEF7 !important;
  overflow: visible !important;
}

/* ---- Product cards (products.tpl) — white headers were the main issue ---- */
#order-standard_cart .products .product,
#order-standard_cart .product,
.products .product {
  background-color: #0E1C30 !important;
  border: 1px solid rgba(56, 189, 248, 0.15) !important;
  border-radius: 12px !important;
  color: #E8EEF7 !important;
  overflow: hidden;
}
#order-standard_cart .product header,
#order-standard_cart .products .product header,
.products .product header {
  background-color: #06101F !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12) !important;
  padding: 14px 18px !important;
}
#order-standard_cart .product header span,
#order-standard_cart .product header .qty,
.products .product header span {
  color: #ffffff !important;
}
#order-standard_cart .product .product-desc,
#order-standard_cart .product .product-features,
#order-standard_cart .product ul,
#order-standard_cart .product li,
#order-standard_cart .product .feature-value,
.products .product .product-desc,
.products .product li {
  color: #E8EEF7 !important;
  background: transparent !important;
}
#order-standard_cart .product footer,
#order-standard_cart .product .product-pricing,
.products .product footer,
.products .product .product-pricing {
  background-color: transparent !important;
  color: #E8EEF7 !important;
  border-top: 1px solid rgba(56, 189, 248, 0.1) !important;
}
#order-standard_cart .product .price,
#order-standard_cart .product-pricing .price,
.products .product .price {
  color: #38BDF8 !important;
}

/* Empty / nearly-blank product group pages: force visible content */
#order-standard_cart .products,
#order-standard_cart #products,
#order-standard_cart .cart-body > .row {
  min-height: 120px;
  color: #E8EEF7 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#order-standard_cart .header-lined h1,
#order-standard_cart .header-lined p {
  color: #ffffff !important;
}

/* ---- View cart: promo tabs + order summary (were white) ---- */
#order-standard_cart .view-cart-tabs,
#order-standard_cart .nav-tabs,
#order-standard_cart .tab-content,
#order-standard_cart .promo-code-fields,
#order-standard_cart #applyPromo,
#order-standard_cart .panel-promo,
#order-standard_cart .empty-cart {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .nav-tabs > li > a,
#order-standard_cart .view-cart-tabs > li > a {
  background-color: #06101F !important;
  color: #94A3B8 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .nav-tabs > li.active > a,
#order-standard_cart .nav-tabs > li.active > a:hover,
#order-standard_cart .nav-tabs > li.active > a:focus,
#order-standard_cart .view-cart-tabs > li.active > a {
  background-color: #0E1C30 !important;
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
  border-bottom-color: #0E1C30 !important;
}
#order-standard_cart .order-summary,
#order-standard_cart .summary-container,
#order-standard_cart .secondary-cart-sidebar,
#order-standard_cart .cart-summary {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border: 1px solid rgba(56, 189, 248, 0.15) !important;
  border-radius: 10px !important;
}
#order-standard_cart .order-summary h2,
#order-standard_cart .order-summary .summary-title,
#order-standard_cart .order-summary .total-due-today,
#order-standard_cart .order-summary .amt {
  color: #ffffff !important;
  background-color: transparent !important;
}
#order-standard_cart .order-summary .subtotal,
#order-standard_cart .order-summary span,
#order-standard_cart .order-summary div {
  color: #E8EEF7 !important;
}
#order-standard_cart .view-cart-items,
#order-standard_cart .view-cart-items-header {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .view-cart-items-header {
  background-color: #06101F !important;
  color: #fff !important;
}

/* ---- Domain chooser (configureproductdomain / domainoptions) ---- */
#order-standard_cart .domain-selection-options,
#order-standard_cart .domain-option,
#order-standard_cart .option,
#order-standard_cart .domain-input-group,
#order-standard_cart .domains-row,
.domain-selection-options,
.domain-option {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .domain-option label,
#order-standard_cart .domain-option span,
#order-standard_cart .domain-option p,
#order-standard_cart .domain-selection-options label,
#order-standard_cart .domain-selection-options .iradio_square-blue + label,
#order-standard_cart .iradio_square-blue + label,
#order-standard_cart .icheckbox_square-blue + label {
  color: #E8EEF7 !important;
  opacity: 1 !important;
}
/* Unselected domain rows were nearly invisible */
#order-standard_cart .domain-option:not(.active):not(.selected),
#order-standard_cart .option:not(.active) {
  background-color: #0A1628 !important;
  color: #94A3B8 !important;
  border: 1px solid rgba(56, 189, 248, 0.1) !important;
}
#order-standard_cart .domain-option.active,
#order-standard_cart .domain-option.selected,
#order-standard_cart .option.active {
  background-color: #0E1C30 !important;
  border-color: #0EA5E9 !important;
  color: #ffffff !important;
}
#order-standard_cart .domain-input-group .form-control,
#order-standard_cart .domains-row .form-control,
#order-standard_cart .input-group-addon {
  background-color: #06101F !important;
  color: #fff !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

/* ---- Buttons inside order form stay readable ---- */
#order-standard_cart .btn-primary,
#order-standard_cart .btn-success,
#order-standard_cart .btn-checkout,
#order-standard_cart button[type="submit"] {
  background-color: #0EA5E9 !important;
  border-color: #0284C7 !important;
  color: #ffffff !important;
}
#order-standard_cart .btn-default {
  background-color: #06101F !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: #E8EEF7 !important;
}

/* ---- Logo sizing (was clipping to NHOST) ---- */
section#header .logo img,
section#header img.logo,
.sidebar-logo-slot img,
#main-menu .sidebar-logo-slot img {
  max-height: 42px !important;
  max-width: 180px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

/* ---- Force no white panels left in cart flow ---- */
#order-standard_cart .panel,
#order-standard_cart .panel-default,
#order-standard_cart .panel-body,
#order-standard_cart .well,
#order-standard_cart .card,
#order-standard_cart .alert-info {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .panel-heading {
  background-color: #06101F !important;
  color: #fff !important;
}

/* =========================================================
   FULL ORDER FLOW dark (configure → domain → cart → checkout → complete)
   Beats standard_cart/style.css light defaults with equal/higher specificity
   ========================================================= */

/* --- Configure product --- */
#order-standard_cart .product-info {
  background-color: #0E1C30 !important;
  border-color: rgba(56, 189, 248, 0.12) !important;
  color: #E8EEF7 !important;
}
#order-standard_cart .product-info .product-title {
  color: #ffffff !important;
}
#order-standard_cart .secondary-cart-body,
#order-standard_cart .secondary-cart-sidebar {
  color: #E8EEF7 !important;
}
#order-standard_cart .field-container label,
#order-standard_cart .form-group label {
  color: #94A3B8 !important;
}
#order-standard_cart .sub-heading {
  border-top-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading-borderless span {
  color: #38BDF8 !important;
  background-color: #0A1628 !important;
}

/* config option panels / sliders */
#order-standard_cart .panel-addon,
#order-standard_cart .panel-addon .panel-body,
#order-standard_cart .panel-addon-selected {
  background-color: #0E1C30 !important;
  border-color: rgba(56, 189, 248, 0.2) !important;
  color: #E8EEF7 !important;
}
#order-standard_cart .panel-addon .panel-body label {
  color: #E8EEF7 !important;
}
#order-standard_cart .panel-addon .panel-price {
  background-color: #06101F !important;
  color: #38BDF8 !important;
}
#order-standard_cart .panel-addon .panel-add {
  background-color: #0EA5E9 !important;
  color: #fff !important;
}

/* --- Domain selection (already partially covered) — reinforce option class --- */
#order-standard_cart .domain-selection-options .option {
  background-color: #0A1628 !important;
  color: #94A3B8 !important;
  border: 1px solid rgba(56, 189, 248, 0.1) !important;
}
#order-standard_cart .domain-selection-options .option:hover {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}
#order-standard_cart .domain-selection-options .option-selected,
#order-standard_cart .domain-selection-options .option.option-selected {
  background-color: #0E1C30 !important;
  color: #ffffff !important;
  border-color: #0EA5E9 !important;
}
#order-standard_cart .domain-selection-options .option label {
  color: inherit !important;
}
#order-standard_cart .domain-checker-available { color: #4ade80 !important; }
#order-standard_cart .domain-checker-unavailable,
#order-standard_cart .domain-checker-invalid { color: #f87171 !important; }
#order-standard_cart .transfer-eligible {
  color: #4ade80 !important;
  background-color: rgba(74, 222, 128, 0.1) !important;
  border-color: rgba(74, 222, 128, 0.3) !important;
}
#order-standard_cart .transfer-not-eligible {
  color: #94A3B8 !important;
  background-color: #0E1C30 !important;
}
#order-standard_cart .domain-suggestions {
  color: #E8EEF7 !important;
}

/* --- Configure domains (addons on domain) --- */
#order-standard_cart .addon-products .panel,
#order-standard_cart .addon-products .panel-default {
  background-color: #0E1C30 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
  color: #E8EEF7 !important;
}

/* --- View cart tabs (exact classes from style.css) --- */
#order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
#order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"],
#order-standard_cart .view-cart-tabs .nav-tabs > li.active > a {
  border-color: rgba(56, 189, 248, 0.2) rgba(56, 189, 248, 0.2) #0E1C30 !important;
  background-color: #0E1C30 !important;
  color: #fff !important;
}
#order-standard_cart .view-cart-tabs .nav-tabs a {
  background-color: #06101F !important;
  color: #94A3B8 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .view-cart-tabs .tab-content {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .view-cart-promotion-code {
  background-color: #06101F !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: #E8EEF7 !important;
}
#order-standard_cart .view-cart-gateway-checkout {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}
#order-standard_cart .view-cart-empty {
  color: #E8EEF7 !important;
}

/* Order summary — force dark over #666 / #f8f8f8 */
#order-standard_cart .order-summary {
  background-color: #06101F !important;
  border-bottom-color: #0EA5E9 !important;
}
#order-standard_cart .order-summary h2 {
  background-color: #06101F !important;
  color: #fff !important;
}
#order-standard_cart .summary-container {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}
#order-standard_cart .order-summary .product-name,
#order-standard_cart .order-summary .product-group,
#order-standard_cart .order-summary .summary-totals,
#order-standard_cart .order-summary .recurring-charges,
#order-standard_cart .order-summary .btn-continue-shopping {
  color: #E8EEF7 !important;
}
#order-standard_cart .order-summary .summary-totals {
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .order-summary .total-due-today .amt {
  color: #38BDF8 !important;
}
#order-standard_cart .order-summary .loader {
  color: #94A3B8 !important;
}

/* Product cards — exact header rule from standard_cart */
#order-standard_cart .products .product {
  background: #0E1C30 !important;
  border: 1px solid rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .products .product header {
  background: #06101F !important;
  color: #fff !important;
}
#order-standard_cart .products .product header span {
  color: #ffffff !important;
}
#order-standard_cart .products .product header .qty {
  color: #94A3B8 !important;
}
#order-standard_cart .products .product div.product-desc,
#order-standard_cart .products .product footer {
  color: #E8EEF7 !important;
}
#order-standard_cart .products .product div.product-pricing span.price {
  color: #38BDF8 !important;
}

/* --- Checkout page --- */
#order-standard_cart .already-registered,
#order-standard_cart .account-select-container .account,
#order-standard_cart .checkout-error-feedback {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .account-select-container .account.active {
  border-color: #0EA5E9 !important;
  background-color: rgba(14, 165, 233, 0.1) !important;
}
#order-standard_cart .apply-credit-container {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border: 1px solid rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .cc-input-container {
  background-color: #0E1C30 !important;
  border-color: rgba(56, 189, 248, 0.2) !important;
  color: #E8EEF7 !important;
}
#order-standard_cart .cc-input-container .existing-cc-grid,
#order-standard_cart .cc-input-container .paymethod-info,
#order-standard_cart .cc-input-container ul li {
  color: #E8EEF7 !important;
}
#order-standard_cart .checkout-security-msg {
  color: #94A3B8 !important;
}
#order-standard_cart .prepend-icon .field,
#order-standard_cart .prepend-icon .form-control,
#order-standard_cart input.field,
#order-standard_cart select.field,
#order-standard_cart textarea.field {
  background-color: #06101F !important;
  color: #fff !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

/* Payment method radios / icheck labels */
#order-standard_cart .icheck-label,
#order-standard_cart .radio-inline,
#order-standard_cart .checkbox-inline {
  color: #E8EEF7 !important;
}

/* --- Complete / confirmation --- */
#order-standard_cart .order-confirmation,
#order-standard_cart .alert.order-confirmation,
#order-standard_cart .alert-info {
  background-color: rgba(14, 165, 233, 0.12) !important;
  border-color: rgba(14, 165, 233, 0.35) !important;
  color: #E8EEF7 !important;
}
#order-standard_cart .order-confirmation span {
  color: #38BDF8 !important;
}

/* --- Empty product group (Server Management etc) --- */
#order-standard_cart .products:empty::after,
#order-standard_cart #products:empty::after {
  content: "No products available in this group.";
  display: block;
  padding: 40px;
  text-align: center;
  color: #94A3B8;
}
#order-standard_cart .cart-body {
  background: transparent !important;
}

/* --- Recommendations modal / misc --- */
#order-standard_cart .modal-content,
#order-standard_cart .modal-header,
#order-standard_cart .modal-body,
#order-standard_cart .modal-footer {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}

/* Ensure labels aren't stuck on #666 from standard_cart */
#order-standard_cart label,
#order-standard_cart p.domain-renewal-desc {
  color: #94A3B8 !important;
}

/* =========================================================
   NUCLEAR catch-all — last rules, loaded also from footer
   ========================================================= */
#order-standard_cart [class*="panel"],
#order-standard_cart [class*="card"],
#order-standard_cart .well,
#order-standard_cart .tab-content,
#order-standard_cart .tab-pane,
#order-standard_cart .summary-container,
#order-standard_cart .product-info,
#order-standard_cart .cc-input-container,
#order-standard_cart .apply-credit-container,
#order-standard_cart .view-cart-promotion-code,
#order-standard_cart .view-cart-gateway-checkout,
#order-standard_cart .already-registered,
#order-standard_cart .account,
#order-standard_cart .domain-selection-options .option,
#order-standard_cart .products .product {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart .products .product header,
#order-standard_cart .panel-heading,
#order-standard_cart .card-header,
#order-standard_cart .order-summary h2,
#order-standard_cart .view-cart-items-header {
  background-color: #06101F !important;
  color: #ffffff !important;
}
#order-standard_cart input,
#order-standard_cart select,
#order-standard_cart textarea,
#order-standard_cart .form-control,
#order-standard_cart .field {
  background-color: #06101F !important;
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}
#order-standard_cart input::placeholder,
#order-standard_cart textarea::placeholder {
  color: #64748b !important;
}
/* Don't force buttons to dark card color */
#order-standard_cart .btn-primary,
#order-standard_cart .btn-success,
#order-standard_cart .btn-info {
  background-color: #0EA5E9 !important;
  border-color: #0284C7 !important;
  color: #ffffff !important;
}
#order-standard_cart .btn-default,
#order-standard_cart .btn-link {
  background-color: transparent !important;
  color: #38BDF8 !important;
}

/* =========================================================
   BUG5/6/7 — cart item row, invoice status, DataTables footer
   ========================================================= */

/* Bug5: cart line items were #fff / #eee */
#order-standard_cart .view-cart-items {
  border-bottom-color: #0EA5E9 !important;
  background-color: transparent !important;
}
#order-standard_cart .view-cart-items-header {
  background-color: #06101F !important;
  color: #ffffff !important;
}
#order-standard_cart .view-cart-items .item {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.1) !important;
}
#order-standard_cart .view-cart-items .item:nth-child(even) {
  background-color: #0A1628 !important;
}
#order-standard_cart .view-cart-items .item-title,
#order-standard_cart .view-cart-items .item-group,
#order-standard_cart .view-cart-items .item-price,
#order-standard_cart .view-cart-items .item-price span {
  color: #E8EEF7 !important;
}
#order-standard_cart .view-cart-items .item-domain {
  color: #38BDF8 !important;
}
#order-standard_cart .view-cart-items .item-price .cycle {
  color: #94A3B8 !important;
}
#order-standard_cart .btn-remove-from-cart {
  color: #94A3B8 !important;
}
#order-standard_cart .btn-remove-from-cart:hover {
  color: #f87171 !important;
}

/* Bug6: invoice/ticket status pills were white bg + forced white text */
.label.status,
span.status,
.status {
  background-color: #0E1C30 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #E8EEF7 !important;
  display: inline-block !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.status-paid,
.label.status-paid,
span.status-paid {
  background-color: rgba(73, 131, 2, 0.2) !important;
  border-color: #498302 !important;
  color: #86efac !important;
}
.status-unpaid,
.label.status-unpaid,
span.status-unpaid {
  background-color: rgba(237, 62, 72, 0.2) !important;
  border-color: #ED3E48 !important;
  color: #fca5a5 !important;
}
.status-cancelled,
.label.status-cancelled,
span.status-cancelled {
  background-color: rgba(135, 147, 159, 0.2) !important;
  border-color: #87939F !important;
  color: #cbd5e1 !important;
}
.status-refunded,
.label.status-refunded,
span.status-refunded {
  background-color: rgba(49, 159, 195, 0.2) !important;
  border-color: #319FC3 !important;
  color: #7dd3fc !important;
}
.status-collections,
.label.status-collections {
  background-color: rgba(154, 20, 30, 0.25) !important;
  border-color: #9A141E !important;
  color: #fca5a5 !important;
}
.status-active,
.status-open,
.status-completed,
.label.status-active {
  background-color: rgba(63, 173, 70, 0.2) !important;
  border-color: #3fad46 !important;
  color: #86efac !important;
}
.status-pending,
.label.status-pending {
  background-color: rgba(217, 83, 79, 0.2) !important;
  border-color: #D9534F !important;
  color: #fca5a5 !important;
}
.status-suspended,
.label.status-suspended {
  background-color: rgba(240, 173, 78, 0.2) !important;
  border-color: #F0AD4E !important;
  color: #fcd34d !important;
}
.status-fraud,
.status-terminated,
.status-expired {
  background-color: rgba(100, 116, 139, 0.25) !important;
  border-color: #64748b !important;
  color: #cbd5e1 !important;
}
/* Override custom.css forced white text on all labels for status */
.label.status,
span.label.status {
  color: inherit !important;
}

/* Bug7: DataTables length + pagination bar was #f6f6f6 */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .bottom,
.table-container .dataTables_wrapper > .row:last-child,
div.dataTables_wrapper div.dataTables_length,
div.dataTables_wrapper div.dataTables_paginate,
div.dataTables_wrapper div.dataTables_info {
  background-color: #0E1C30 !important;
  color: #94A3B8 !important;
  border-color: rgba(56, 189, 248, 0.12) !important;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_info {
  color: #94A3B8 !important;
}
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_length .form-control {
  background-color: #06101F !important;
  color: #E8EEF7 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_filter .form-control {
  background-color: #06101F !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}
.pagination > li > a,
.pagination > li > span,
.dataTables_wrapper .dataTables_paginate .pagination > li > a,
.dataTables_wrapper .dataTables_paginate .pagination > li > span {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.2) !important;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.dataTables_wrapper .dataTables_paginate .pagination > .active > a {
  background-color: #0EA5E9 !important;
  border-color: #0EA5E9 !important;
  color: #ffffff !important;
}
.pagination > li > a:hover,
.pagination > li > span:hover {
  background-color: #06101F !important;
  color: #38BDF8 !important;
}
/* white strip under table often from .row wrapping length+paginate */
.table-container,
.dataTables_wrapper {
  background-color: transparent !important;
}

/* Theme bundled logo */
section#header .logo img,
section#header img.logo-img,
.sidebar-logo-slot img,
.sidebar-logo-slot img.logo-img,
#footer .logo-img,
.footer-brand img {
  max-height: 42px !important;
  max-width: 200px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.sidebar-logo-slot {
  padding: 16px 18px 12px !important;
  text-align: center;
}
.sidebar-logo-slot img {
  max-width: 100% !important;
}

/* =========================================================
   BUG8 — Domain TLD pricing table white striped rows
   ========================================================= */
#order-standard_cart table,
#order-standard_cart .table,
.domain-pricing table,
.domain-pricing .table,
div.domainresults table,
#DomainSearchResults table,
.tld-pricing-table,
table.tld-pricing,
.category-browse table {
  background-color: transparent !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.12) !important;
}
#order-standard_cart table thead th,
#order-standard_cart table thead td,
.domain-pricing table thead th,
.domain-pricing table thead td,
div.domainresults table thead th,
table.tld-pricing thead th,
.category-browse table thead th {
  background-color: #06101F !important;
  color: #94A3B8 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
#order-standard_cart table tbody tr,
#order-standard_cart table tbody tr td,
.domain-pricing table tbody tr,
.domain-pricing table tbody tr td,
div.domainresults table tbody tr,
div.domainresults table tbody tr td,
table.tld-pricing tbody tr,
table.tld-pricing tbody tr td,
.table-striped > tbody > tr,
.table-striped > tbody > tr > td,
.table-striped > tbody > tr:nth-of-type(odd),
.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(even),
.table-striped > tbody > tr:nth-of-type(even) > td {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.1) !important;
}
#order-standard_cart table tbody tr:nth-child(even),
#order-standard_cart table tbody tr:nth-child(even) td,
.domain-pricing table tbody tr:nth-child(even),
.domain-pricing table tbody tr:nth-child(even) td,
.table-striped > tbody > tr:nth-of-type(even) > td {
  background-color: #0A1628 !important;
}
#order-standard_cart table tbody tr:hover,
#order-standard_cart table tbody tr:hover td,
.domain-pricing table tbody tr:hover td {
  background-color: rgba(14, 165, 233, 0.1) !important;
}
/* Filter tabs Popular / Business / Other */
#order-standard_cart .nav-pills > li > a,
#order-standard_cart .btn-group .btn,
.category-browse .btn,
.category-browse .label {
  background-color: #0E1C30 !important;
  color: #94A3B8 !important;
  border-color: rgba(56, 189, 248, 0.2) !important;
}
#order-standard_cart .nav-pills > li.active > a,
#order-standard_cart .btn-group .btn.active,
#order-standard_cart .btn-group .btn.btn-primary {
  background-color: #0EA5E9 !important;
  color: #ffffff !important;
  border-color: #0EA5E9 !important;
}
/* Domain register spotlight / results boxes */
#order-standard_cart .spotlight-tlds,
#order-standard_cart .spotlight-tld,
#order-standard_cart .suggested-domains,
#DomainSearchResults,
#order-standard_cart .domain-checker-result-headline,
#order-standard_cart .domain-lookup-result {
  background-color: transparent !important;
  color: #E8EEF7 !important;
}
#order-standard_cart .domain-checker-container,
#order-standard_cart .domain-checker-bg {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}
/* Force any leftover pure white cells inside order form */
#order-standard_cart td[style*="background"],
#order-standard_cart th[style*="background"],
#order-standard_cart tr[style*="background"] {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}

/* =========================================================
   BUG8 FIXED — exact classes from live domain register page
   .bg-white wrapper + .tld-row + .tld-pricing-header + .domain-promo-box
   ========================================================= */

/* Bootstrap bg-white kills dark theme on this page */
#order-standard_cart .bg-white,
#order-standard_cart .domain-pricing .bg-white,
.domain-pricing .bg-white,
.bg-white {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}

/* TLD pricing header (Domain / New Price / Transfer / Renewal) */
#order-standard_cart .tld-pricing-header,
#order-standard_cart .tld-pricing-header > div,
#order-standard_cart .tld-pricing-header .tld-column,
#order-standard_cart .tld-pricing-header .col-xs-2,
#order-standard_cart .tld-pricing-header .col-sm-2,
#order-standard_cart .tld-pricing-header .col-xs-4,
#order-standard_cart .tld-pricing-header .col-sm-4,
#order-standard_cart .tld-pricing-header .col-4,
.domain-pricing .tld-pricing-header,
.domain-pricing .tld-pricing-header > div,
.domain-pricing .tld-pricing-header .tld-column,
.domain-pricing .tld-pricing-header .col-xs-2,
.domain-pricing .tld-pricing-header .col-sm-2,
.domain-pricing .tld-pricing-header .col-xs-4,
.domain-pricing .tld-pricing-header .col-sm-4,
.domain-pricing .tld-pricing-header .col-4,
.domain-pricing .tld-pricing-header div:nth-child(odd),
.domain-pricing .tld-pricing-header div:nth-child(even) {
  background-color: #06101F !important;
  color: #94A3B8 !important;
  border-color: #0EA5E9 !important;
  border-bottom-color: #0EA5E9 !important;
}

/* Each TLD row — kill white alternating rows */
#order-standard_cart .tld-row,
#order-standard_cart .row.tld-row,
#order-standard_cart .row.no-gutters.tld-row,
.domain-pricing .tld-row,
.domain-pricing .row.tld-row,
.domain-pricing .row.no-gutters.tld-row {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.1) !important;
}
#order-standard_cart .tld-row:nth-child(even),
#order-standard_cart .row.tld-row:nth-child(even),
.domain-pricing .tld-row:nth-child(even),
.domain-pricing .row.tld-row:nth-child(even) {
  background-color: #0A1628 !important;
}
#order-standard_cart .tld-row.highlighted,
.domain-pricing .tld-row.highlighted {
  background-color: rgba(14, 165, 233, 0.12) !important;
}
#order-standard_cart .tld-row strong,
#order-standard_cart .tld-row small,
#order-standard_cart .tld-row .col-md-4,
#order-standard_cart .tld-row .col-md-8,
#order-standard_cart .tld-row .col-xs-4,
#order-standard_cart .tld-row .col-4,
.domain-pricing .tld-row strong,
.domain-pricing .tld-row small {
  color: #E8EEF7 !important;
  background-color: transparent !important;
}
.domain-pricing .two-row-center {
  border-right-color: rgba(56, 189, 248, 0.2) !important;
  color: #E8EEF7 !important;
}

/* Category filter badges */
#order-standard_cart .tld-filters .badge,
#order-standard_cart .badge-secondary,
.tld-filters .badge,
a.badge.badge-secondary {
  background-color: #0E1C30 !important;
  color: #94A3B8 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}
#order-standard_cart .tld-filters .badge:hover,
#order-standard_cart .tld-filters a.badge-primary,
a.badge.badge-primary {
  background-color: #0EA5E9 !important;
  color: #ffffff !important;
  border-color: #0EA5E9 !important;
}

/* Bottom promo cards — were #f9f9f9 */
#order-standard_cart .domain-promo-box,
.domain-promo-box {
  background-color: #0E1C30 !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  color: #E8EEF7 !important;
}
#order-standard_cart .domain-promo-box h3,
.domain-promo-box h3 {
  color: #ffffff !important;
}
#order-standard_cart .domain-promo-box p,
.domain-promo-box p {
  color: #94A3B8 !important;
}
#order-standard_cart .domain-promo-box .small,
.domain-promo-box .small {
  color: #64748b !important;
}
#order-standard_cart .domain-promo-box .text-primary,
.domain-promo-box .text-primary {
  color: #38BDF8 !important;
}

/* Nuclear: any white utility classes inside cart */
#order-standard_cart .bg-light,
#order-standard_cart .bg-white,
#order-standard_cart .card.bg-white,
#order-standard_cart [class*="bg-white"] {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}

/* =========================================================
   CRITICAL — Support ticket markdown editor: visible text
   textarea.markdown-editor was white-on-white
   ========================================================= */

/* Base textarea before/without JS editor init */
textarea.markdown-editor,
textarea#inputMessage,
textarea.form-control.markdown-editor,
#inputMessage {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  caret-color: #38BDF8 !important;
}

/* EasyMDE / SimpleMDE / WHMCS markdown UI */
.EasyMDEContainer,
.editor-toolbar,
.CodeMirror,
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-lines,
.editor-preview,
.editor-preview-side,
.editor-statusbar {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.2) !important;
}
.CodeMirror,
.CodeMirror pre,
.CodeMirror-code,
.CodeMirror-line,
.CodeMirror-line span,
.CodeMirror-cursor {
  color: #E8EEF7 !important;
  caret-color: #38BDF8 !important;
  background: transparent !important;
}
.CodeMirror-cursor {
  border-left-color: #38BDF8 !important;
}
.CodeMirror-selected,
.CodeMirror-focused .CodeMirror-selected {
  background: rgba(14, 165, 233, 0.25) !important;
}
.editor-toolbar {
  background-color: #06101F !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15) !important;
  opacity: 1 !important;
}
.editor-toolbar a,
.editor-toolbar button,
.editor-toolbar i {
  color: #E8EEF7 !important;
  border-color: transparent !important;
}
.editor-toolbar a:hover,
.editor-toolbar button:hover,
.editor-toolbar a.active {
  background-color: rgba(14, 165, 233, 0.2) !important;
  color: #38BDF8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}
.editor-toolbar.disabled-for-preview a:not(.no-disable) {
  background: transparent !important;
  opacity: 0.4 !important;
}
.editor-preview,
.editor-preview-side,
.editor-preview * {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}
.editor-statusbar {
  color: #94A3B8 !important;
}

/* Ticket reply messages readability */
.ticket-reply,
.ticket-reply .message,
.markdown-content,
.markdown-content p,
.markdown-content li {
  color: #E8EEF7 !important;
}
.ticket-reply {
  background-color: #0E1C30 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
}
.ticket-reply.staff {
  background-color: rgba(14, 165, 233, 0.08) !important;
}

/* File input area under ticket form */
.ticket-attachments-message,
input[type="file"] {
  color: #94A3B8 !important;
}

/* =========================================================
   Ticket reply header strip was white (#fff / #f8f8f8)
   ========================================================= */
.ticket-reply,
.ticket-reply.markdown-content {
  background-color: #0E1C30 !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  color: #E8EEF7 !important;
}
.ticket-reply.staff {
  border-color: rgba(14, 165, 233, 0.35) !important;
  background-color: rgba(14, 165, 233, 0.06) !important;
}
.ticket-reply .user,
.ticket-reply.staff .user {
  background-color: #06101F !important;
  color: #E8EEF7 !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12) !important;
}
.ticket-reply .user .name,
.ticket-reply .user .type,
.ticket-reply .user i,
.ticket-reply .date {
  color: #E8EEF7 !important;
}
.ticket-reply .user .type {
  color: #94A3B8 !important;
}
.ticket-reply .date {
  color: #94A3B8 !important;
}
.ticket-reply .message,
.ticket-reply .message p,
.ticket-reply .message * {
  color: #E8EEF7 !important;
  background-color: transparent !important;
}
.ticket-reply .attachments {
  background-color: #06101F !important;
  border-top: 1px dashed rgba(56, 189, 248, 0.15) !important;
  color: #94A3B8 !important;
}
.ticket-reply hr {
  border-color: rgba(56, 189, 248, 0.15) !important;
}

/* Ticket sidebar info panels + CC recipients white bits */
.ticket-info-panel,
.panel.ticket-details,
#ticketReplyContainer .panel,
.ticket-reply-form {
  background-color: #0E1C30 !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
  color: #E8EEF7 !important;
}
/* CC recipients input group residual white */
.input-group .form-control,
.input-group-btn .btn,
.input-group-append .btn {
  background-color: #06101F !important;
  color: #E8EEF7 !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

/* =========================================================
   Ticket Reply/Close buttons sit in .panel-footer (#f5f5f5)
   ========================================================= */
.panel-footer,
.panel-default > .panel-footer,
.panel-sidebar .panel-footer,
.panel-info > .panel-footer,
.panel-primary > .panel-footer,
.panel-success > .panel-footer,
.panel-danger > .panel-footer,
.panel-warning > .panel-footer,
.card-footer {
  background-color: #06101F !important;
  border-top: 1px solid rgba(56, 189, 248, 0.15) !important;
  color: #E8EEF7 !important;
}

/* Ensure buttons in ticket action footer stay readable */
.panel-footer .btn,
.panel-footer .btn-primary,
.panel-footer .btn-success,
.panel-footer .btn-danger,
.panel-footer .btn-default,
.panel-footer a.btn {
  opacity: 1 !important;
}
.panel-footer .btn-default {
  background-color: #0E1C30 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: #E8EEF7 !important;
}
.panel-footer .btn-primary,
.panel-footer a.btn-primary {
  background-color: #0EA5E9 !important;
  border-color: #0EA5E9 !important;
  color: #ffffff !important;
}
.panel-footer .btn-danger,
.panel-footer a.btn-danger {
  background-color: #DC2626 !important;
  border-color: #DC2626 !important;
  color: #ffffff !important;
}

/* Ticket info sidebar panel body residual white */
.panel-sidebar .panel-body,
.panel.card-sidebar .panel-body,
.panel.card-sidebar .card-body {
  background-color: #0E1C30 !important;
  color: #E8EEF7 !important;
}

/* Status labels next to buttons area */
.label-success, .label.status-open, span.label.label-success {
  background-color: #059669 !important;
  color: #ffffff !important;
}
.label-warning, .label.status-customer-reply,
span.label.label-warning {
  background-color: #D97706 !important;
  color: #ffffff !important;
}
.label-danger, .label.status-closed {
  background-color: #DC2626 !important;
  color: #ffffff !important;
}
.label-info, .label.status-answered {
  background-color: #0284C7 !important;
  color: #ffffff !important;
}
