/* OffshoreDedi V4.3 — complete light-mode coverage.
   Loaded after V4.2 so it can safely neutralise the older V3/V4 dark-only layers.
   Dark mode is intentionally untouched. */

/* --------------------------------------------------------------------------
   PAGE / HEADER / BREADCRUMB
   -------------------------------------------------------------------------- */
html[data-od-theme="light"],
html[data-od-theme="light"] body{
  background:#f3f5f8!important;
  color:#253142!important;
}
html[data-od-theme="light"] body #main-body{
  background:#f3f5f8!important;
  color:#253142!important;
}
html[data-od-theme="light"] body #main-body .primary-content,
html[data-od-theme="light"] body #main-body .secondary-content{
  color:#253142!important;
}

/* Older V3 rules use #header and therefore beat simple class overrides. */
html[data-od-theme="light"] body #header.od-v2-header{
  background:rgba(255,255,255,.98)!important;
  border-top:0!important;
  border-bottom:1px solid #d7dee8!important;
  box-shadow:0 7px 24px rgba(31,45,64,.06)!important;
}
html[data-od-theme="light"] body #header .od-v2-navwrap{
  background:transparent!important;
  border-bottom-color:transparent!important;
  box-shadow:none!important;
}
html[data-od-theme="light"] body #header .od-v2-site-links a,
html[data-od-theme="light"] body #header .od-v2-user-menu>a{
  color:#283445!important;
}
html[data-od-theme="light"] body #header .od-v2-site-links a:hover,
html[data-od-theme="light"] body #header .od-v2-user-menu>a:hover{
  color:#386fe8!important;
}
html[data-od-theme="light"] body #header .od-v2-iconbtn{
  background:#f7f9fc!important;
  border-color:#ccd6e3!important;
  color:#283445!important;
}
html[data-od-theme="light"] body #header .od-v2-iconbtn:hover{
  background:#eef3f9!important;
  border-color:#aebdd0!important;
  color:#315fbc!important;
}
html[data-od-theme="light"] body #header .od-v2-register-btn{
  background:#f7f9fc!important;
  border-color:#c8d2df!important;
  color:#283445!important;
}
html[data-od-theme="light"] body #header .od-v2-client-btn{
  background:#fff!important;
  border-color:#7f69bd!important;
  color:#513c8e!important;
}
html[data-od-theme="light"] body #header .od-v2-client-btn:hover{
  background:linear-gradient(100deg,#5878c5,#755ca2)!important;
  color:#fff!important;
}
html[data-od-theme="light"] body #header .od-v2-menu-toggle{
  background:#f7f9fc!important;
  border-color:#ccd6e3!important;
  color:#283445!important;
}
html[data-od-theme="light"] body #header .od-v2-mainnav{
  background:#fff!important;
}

html[data-od-theme="light"] body .master-breadcrumb{
  background:#edf1f6!important;
  border-bottom-color:#d6dee8!important;
}
html[data-od-theme="light"] body .master-breadcrumb .breadcrumb,
html[data-od-theme="light"] body .master-breadcrumb .breadcrumb-item,
html[data-od-theme="light"] body .master-breadcrumb .breadcrumb-item a{
  background:transparent!important;
  color:#667085!important;
}
html[data-od-theme="light"] body .master-breadcrumb .breadcrumb-item.active{
  color:#344054!important;
}

/* --------------------------------------------------------------------------
   GENERIC WHMCS DARK-ONLY LEGACY OVERRIDES
   -------------------------------------------------------------------------- */
html[data-od-theme="light"] body #main-body h1,
html[data-od-theme="light"] body #main-body h2,
html[data-od-theme="light"] body #main-body h3,
html[data-od-theme="light"] body #main-body h4,
html[data-od-theme="light"] body #main-body h5,
html[data-od-theme="light"] body #main-body h6{
  color:#1d2735!important;
}
html[data-od-theme="light"] body #main-body p,
html[data-od-theme="light"] body #main-body small,
html[data-od-theme="light"] body #main-body .text-muted{
  color:#697586!important;
}
html[data-od-theme="light"] body #main-body .card,
html[data-od-theme="light"] body #main-body .panel,
html[data-od-theme="light"] body #main-body .well,
html[data-od-theme="light"] body #main-body .modal-content,
html[data-od-theme="light"] body #main-body .popover{
  background:#fff!important;
  border-color:#d7dfe9!important;
  color:#2d3949!important;
}
html[data-od-theme="light"] body #main-body .card-header,
html[data-od-theme="light"] body #main-body .panel-heading,
html[data-od-theme="light"] body #main-body .modal-header,
html[data-od-theme="light"] body #main-body .modal-footer,
html[data-od-theme="light"] body #main-body .popover-header{
  background:#f3f6f9!important;
  border-color:#d7dfe9!important;
  color:#273244!important;
}
html[data-od-theme="light"] body #main-body .card-footer,
html[data-od-theme="light"] body #main-body .panel-footer{
  background:#f7f9fc!important;
  border-color:#d7dfe9!important;
  color:#4b586a!important;
}
html[data-od-theme="light"] body #main-body .list-group-item{
  background:#fff!important;
  border-color:#dbe3ed!important;
  color:#455266!important;
}
html[data-od-theme="light"] body #main-body .sidebar .card,
html[data-od-theme="light"] body #main-body .sidebar .panel{
  background:#fff!important;
  border-color:#d5dee9!important;
}
html[data-od-theme="light"] body #main-body .sidebar .card-header,
html[data-od-theme="light"] body #main-body .sidebar .panel-heading{
  background:#f3f6f9!important;
  border-color:#d5dee9!important;
  color:#263244!important;
}
html[data-od-theme="light"] body #main-body .sidebar a.list-group-item{
  background:#fff!important;
  color:#455266!important;
  border-color:#dbe3ed!important;
}
html[data-od-theme="light"] body #main-body .sidebar a.list-group-item:hover{
  background:#eef3f8!important;
  color:#315fbc!important;
}
html[data-od-theme="light"] body #main-body .sidebar a.list-group-item.active{
  background:linear-gradient(100deg,#4e78d2,#7559ad)!important;
  border-color:transparent!important;
  color:#fff!important;
}
html[data-od-theme="light"] body #main-body .sidebar a.list-group-item.active *{
  color:#fff!important;
}

html[data-od-theme="light"] body #main-body .table,
html[data-od-theme="light"] body #main-body .table-list,
html[data-od-theme="light"] body #main-body .table-container .table,
html[data-od-theme="light"] body #main-body #tableInvoicesList{
  background:#fff!important;
  color:#344054!important;
}
html[data-od-theme="light"] body #main-body .table thead th,
html[data-od-theme="light"] body #main-body .table-list thead th,
html[data-od-theme="light"] body #main-body #tableInvoicesList thead th{
  background:#edf2f7!important;
  color:#273244!important;
  border-color:#d4dde8!important;
}
html[data-od-theme="light"] body #main-body .table tbody tr,
html[data-od-theme="light"] body #main-body .table-list tbody tr,
html[data-od-theme="light"] body #main-body #tableInvoicesList tbody tr{
  background:#fff!important;
  color:#344054!important;
}
html[data-od-theme="light"] body #main-body .table tbody tr:nth-child(even),
html[data-od-theme="light"] body #main-body .table-list tbody tr:nth-child(even),
html[data-od-theme="light"] body #main-body #tableInvoicesList tbody tr:nth-child(even){
  background:#f8fafc!important;
}
html[data-od-theme="light"] body #main-body .table tbody td,
html[data-od-theme="light"] body #main-body .table-list tbody td,
html[data-od-theme="light"] body #main-body #tableInvoicesList tbody td{
  background:transparent!important;
  color:#455266!important;
  border-color:#dde5ee!important;
}

html[data-od-theme="light"] body #main-body .form-control,
html[data-od-theme="light"] body #main-body .custom-select,
html[data-od-theme="light"] body #main-body select.form-control,
html[data-od-theme="light"] body #main-body textarea.form-control,
html[data-od-theme="light"] body #main-body .input-group-text{
  background:#fff!important;
  color:#273244!important;
  border-color:#c9d4e1!important;
}
html[data-od-theme="light"] body #main-body .form-control:focus,
html[data-od-theme="light"] body #main-body .custom-select:focus{
  background:#fff!important;
  color:#202b3a!important;
  border-color:#7896d2!important;
  box-shadow:0 0 0 .18rem rgba(56,111,232,.14)!important;
}
html[data-od-theme="light"] body #main-body .form-control::placeholder{
  color:#98a2b3!important;
}

/* --------------------------------------------------------------------------
   STANDARD CART / CUSTOM OFFSHOREDEDI CART
   These selectors deliberately carry high specificity because the order-form
   CSS is loaded after the system theme on WHMCS cart pages.
   -------------------------------------------------------------------------- */
html[data-od-theme="light"] body #main-body #order-standard_cart,
html[data-od-theme="light"] body #main-body #order-standard_cart .cart-body,
html[data-od-theme="light"] body #main-body #order-standard_cart .secondary-cart-body,
html[data-od-theme="light"] body #main-body #order-standard_cart .products{
  background:transparent!important;
  color:#2d3949!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .header-lined h1,
html[data-od-theme="light"] body #main-body #order-standard_cart h1,
html[data-od-theme="light"] body #main-body #order-standard_cart h2,
html[data-od-theme="light"] body #main-body #order-standard_cart h3,
html[data-od-theme="light"] body #main-body #order-standard_cart h4,
html[data-od-theme="light"] body #main-body #order-standard_cart h5,
html[data-od-theme="light"] body #main-body #order-standard_cart h6{
  color:#1d2735!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart p,
html[data-od-theme="light"] body #main-body #order-standard_cart small,
html[data-od-theme="light"] body #main-body #order-standard_cart .text-muted{
  color:#697586!important;
}

/* Product cards */
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product,
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product header,
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product .product-desc,
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product footer{
  background:#fff!important;
  border-color:#d4dde8!important;
  color:#344054!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product{
  border:1px solid #d4dde8!important;
  box-shadow:0 8px 24px rgba(31,45,64,.05)!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product header{
  background:#f2f5f8!important;
  border-bottom:1px solid #d4dde8!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product header span,
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product header .product-title,
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product .product-title,
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product .product-name{
  color:#253142!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product .product-desc,
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product .product-desc *,
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product ul,
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product li{
  color:#536174!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product .product-pricing,
html[data-od-theme="light"] body #main-body #order-standard_cart .products .product .product-pricing *{
  color:#202b3a!important;
}

/* Cart category sidebar */
html[data-od-theme="light"] body #main-body #order-standard_cart .cart-sidebar .card,
html[data-od-theme="light"] body #main-body #order-standard_cart .cart-sidebar .panel,
html[data-od-theme="light"] body #main-body #order-standard_cart .secondary-cart-sidebar .card,
html[data-od-theme="light"] body #main-body #order-standard_cart .secondary-cart-sidebar .panel{
  background:#fff!important;
  border-color:#d5dee9!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .cart-sidebar .card-header,
html[data-od-theme="light"] body #main-body #order-standard_cart .cart-sidebar .panel-heading,
html[data-od-theme="light"] body #main-body #order-standard_cart .secondary-cart-sidebar .card-header,
html[data-od-theme="light"] body #main-body #order-standard_cart .secondary-cart-sidebar .panel-heading{
  background:#f2f5f8!important;
  border-color:#d5dee9!important;
  color:#273244!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .cart-sidebar .panel-title,
html[data-od-theme="light"] body #main-body #order-standard_cart .secondary-cart-sidebar .panel-title{
  color:#273244!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .cart-sidebar .list-group-item,
html[data-od-theme="light"] body #main-body #order-standard_cart .secondary-cart-sidebar .list-group-item{
  background:#fff!important;
  border-color:#dbe3ed!important;
  color:#455266!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .cart-sidebar a.list-group-item:hover,
html[data-od-theme="light"] body #main-body #order-standard_cart .secondary-cart-sidebar a.list-group-item:hover{
  background:#eef3f8!important;
  color:#315fbc!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .cart-sidebar a.list-group-item.active,
html[data-od-theme="light"] body #main-body #order-standard_cart .secondary-cart-sidebar a.list-group-item.active{
  background:linear-gradient(100deg,#4f7bd7,#7655ae)!important;
  border-color:transparent!important;
  color:#fff!important;
}

/* Domain/configuration/add-on surfaces */
html[data-od-theme="light"] body #main-body #order-standard_cart .domain-selection-options,
html[data-od-theme="light"] body #main-body #order-standard_cart .product-info,
html[data-od-theme="light"] body #main-body #order-standard_cart .panel-addon,
html[data-od-theme="light"] body #main-body #order-standard_cart .panel-addon .panel-body,
html[data-od-theme="light"] body #main-body #order-standard_cart .panel-addon .panel-heading,
html[data-od-theme="light"] body #main-body #order-standard_cart .panel-addon .panel-footer,
html[data-od-theme="light"] body #main-body #order-standard_cart .addon-promo-container,
html[data-od-theme="light"] body #main-body #order-standard_cart .mc-promo,
html[data-od-theme="light"] body #main-body #order-standard_cart .mc-promo .header,
html[data-od-theme="light"] body #main-body #order-standard_cart .mc-promo .body,
html[data-od-theme="light"] body #main-body #order-standard_cart .mc-promo .content,
html[data-od-theme="light"] body #main-body #order-standard_cart .product-recommendations,
html[data-od-theme="light"] body #main-body #order-standard_cart .product-recommendations .product-recommendation,
html[data-od-theme="light"] body #main-body #order-standard_cart .product-recommendations .product-recommendation .body{
  background:#fff!important;
  border-color:#d5dee9!important;
  color:#455266!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .domain-selection-options .option,
html[data-od-theme="light"] body #main-body #order-standard_cart .domain-selection-options .option-selected{
  background:#f7f9fc!important;
  border-color:#e1e7ef!important;
  color:#344054!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .domain-selection-options .option:hover{
  background:#eef3f8!important;
  border-color:#bdc9d8!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .domain-selection-options .option-selected{
  background:#edf3ff!important;
  border-color:#7896d2!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .domain-selection-options label,
html[data-od-theme="light"] body #main-body #order-standard_cart .domain-selection-options span,
html[data-od-theme="light"] body #main-body #order-standard_cart .product-info .product-title,
html[data-od-theme="light"] body #main-body #order-standard_cart .panel-addon .panel-body label,
html[data-od-theme="light"] body #main-body #order-standard_cart .panel-addon label,
html[data-od-theme="light"] body #main-body #order-standard_cart .mc-promo *,
html[data-od-theme="light"] body #main-body #order-standard_cart .product-recommendations *{
  color:#455266!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .panel-addon .panel-price{
  background:#f2f5f8!important;
  color:#273244!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .sub-heading span,
html[data-od-theme="light"] body #main-body #order-standard_cart .sub-heading-borderless span{
  background:#f3f5f8!important;
  color:#273244!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .sub-heading{
  border-color:#ccd6e2!important;
}

/* Cart inputs, including the stronger V3 autofill rule */
html[data-od-theme="light"] body #main-body #order-standard_cart input.form-control,
html[data-od-theme="light"] body #main-body #order-standard_cart textarea.form-control,
html[data-od-theme="light"] body #main-body #order-standard_cart select.form-control,
html[data-od-theme="light"] body #main-body #order-standard_cart .custom-select,
html[data-od-theme="light"] body #main-body #order-standard_cart .field{
  background:#fff!important;
  color:#273244!important;
  border-color:#c9d4e1!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart input.form-control:-webkit-autofill,
html[data-od-theme="light"] body #main-body #order-standard_cart input.form-control:-webkit-autofill:hover,
html[data-od-theme="light"] body #main-body #order-standard_cart input.form-control:-webkit-autofill:focus{
  -webkit-text-fill-color:#273244!important;
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  box-shadow:0 0 0 1000px #fff inset!important;
}

/* Order summary / cart review / checkout */
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary,
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary h2,
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .summary-container,
html[data-od-theme="light"] body #main-body #order-standard_cart .summary-container,
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-items,
html[data-od-theme="light"] body #main-body #order-standard_cart .checkout-security-msg,
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-promotion-code,
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-gateway-checkout,
html[data-od-theme="light"] body #main-body #order-standard_cart .apply-credit-container,
html[data-od-theme="light"] body #main-body #order-standard_cart .cc-input-container,
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-tabs .tab-content{
  background:#fff!important;
  border-color:#d5dee9!important;
  color:#344054!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary h2,
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-items-header{
  background:#edf2f7!important;
  border-color:#d5dee9!important;
  color:#273244!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .summary-container *,
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .product-name,
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .product-group,
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .summary-totals,
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .total-due-today span{
  color:#455266!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .total-due-today .amt,
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .total-due-today strong{
  color:#1f2937!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .order-summary .summary-totals{
  border-color:#d8e0e9!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-items .item{
  background:#fff!important;
  color:#455266!important;
  border-color:#e0e6ee!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-items .item:nth-child(even){
  background:#f7f9fc!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-items .item span:not(.caret):not(.renewal-price),
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-items .item-title,
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-items .item-group,
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-items .item-domain,
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-items .item-price{
  color:#455266!important;
}
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
html[data-od-theme="light"] body #main-body #order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"]{
  background:#fff!important;
  color:#273244!important;
}

/* MarketConnect/client promo remnants from V3.2/V3.4 */
html[data-od-theme="light"] body #main-body .client-home-cards .mc-promo-manage,
html[data-od-theme="light"] body #main-body .client-home-cards .mc-promo-login,
html[data-od-theme="light"] body #main-body .client-home-cards .promo-container,
html[data-od-theme="light"] body #main-body .client-home-cards .promo-container .content,
html[data-od-theme="light"] body #main-body .client-home-cards .promo-container .header,
html[data-od-theme="light"] body #main-body .od-v2-home-panels .mc-promo-manage,
html[data-od-theme="light"] body #main-body .od-v2-home-panels .mc-promo-login,
html[data-od-theme="light"] body #main-body #mc-promo-widgets .mc-promo-manage,
html[data-od-theme="light"] body #main-body #mc-promo-widgets .mc-promo-login{
  background:#fff!important;
  border-color:#d5dee9!important;
  color:#455266!important;
}
html[data-od-theme="light"] body #main-body .client-home-cards .mc-promo-manage *,
html[data-od-theme="light"] body #main-body .client-home-cards .mc-promo-login *,
html[data-od-theme="light"] body #main-body .client-home-cards .promo-container *,
html[data-od-theme="light"] body #main-body #mc-promo-widgets .mc-promo-manage *,
html[data-od-theme="light"] body #main-body #mc-promo-widgets .mc-promo-login *{
  color:#455266!important;
}

/* Keep intentional accent buttons readable in light mode. */
html[data-od-theme="light"] body #main-body .btn-primary,
html[data-od-theme="light"] body #main-body .btn-success,
html[data-od-theme="light"] body #main-body #order-standard_cart .btn-order-now,
html[data-od-theme="light"] body #main-body #order-standard_cart .panel-addon .panel-add,
html[data-od-theme="light"] body #main-body .sidebar a.list-group-item.active{
  color:#fff!important;
}

@media(max-width:1199px){
  html[data-od-theme="light"] body #header .od-v2-mainnav{
    background:#fff!important;
    border-bottom-color:#d7dee8!important;
  }
  html[data-od-theme="light"] body #header .od-v2-account-tools{
    border-top-color:#dce3ec!important;
  }
}
