/* OffshoreDedi WHMCS Order Form v3.3
   Finishing layer for offshorededi_cart on WHMCS 9 / Standard Cart base. */

#order-standard_cart{
  --od-bg:#080d14;
  --od-panel:#101620;
  --od-panel2:#151b26;
  --od-head:#1c2330;
  --od-border:#303a49;
  --od-text:#f5f7fb;
  --od-muted:#a8b1c0;
  --od-blue:#318cff;
  --od-purple:#7c3cff;
  color:var(--od-text)!important;
}

/* Core text contrast */
#order-standard_cart,
#order-standard_cart label,
#order-standard_cart p,
#order-standard_cart li,
#order-standard_cart td,
#order-standard_cart .product-desc,
#order-standard_cart .product-desc p,
#order-standard_cart .product-desc li,
#order-standard_cart .product-desc span,
#order-standard_cart .feature-value,
#order-standard_cart .product-info,
#order-standard_cart .summary-container,
#order-standard_cart .order-summary,
#order-standard_cart .panel-body,
#order-standard_cart .list-group-item{
  color:#cbd2dd!important;
}
#order-standard_cart h1,
#order-standard_cart h2,
#order-standard_cart h3,
#order-standard_cart h4,
#order-standard_cart h5,
#order-standard_cart h6,
#order-standard_cart strong,
#order-standard_cart .products .product header span,
#order-standard_cart .product-title,
#order-standard_cart .product-name,
#order-standard_cart .headline{
  color:#fff!important;
}
#order-standard_cart .text-muted,
#order-standard_cart small,
#order-standard_cart .product-group,
#order-standard_cart .product-desc p{
  color:var(--od-muted)!important;
}

/* Product cards */
#order-standard_cart .products .product,
#order-standard_cart .product-info,
#order-standard_cart .panel,
#order-standard_cart .card{
  background:linear-gradient(150deg,#121923,#0d131c)!important;
  border:1px solid var(--od-border)!important;
  color:var(--od-text)!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
#order-standard_cart .products .product header,
#order-standard_cart .panel-heading,
#order-standard_cart .card-header{
  background:#171e29!important;
  border-color:var(--od-border)!important;
  color:#fff!important;
}
#order-standard_cart .products .product div.product-desc,
#order-standard_cart .products .product div.product-desc *{
  color:#aeb7c6!important;
}
#order-standard_cart .products .product span.feature-value{
  color:#dce3ee!important;
}
#order-standard_cart .products .product footer,
#order-standard_cart .products .product .product-pricing,
#order-standard_cart .products .product .price{
  color:#fff!important;
}

/* Primary CTA consistency */
#order-standard_cart .btn-primary,
#order-standard_cart .btn-success,
#order-standard_cart .checkout-btn,
#order-standard_cart .btn-checkout,
#order-standard_cart a.btn-primary,
#order-standard_cart button.btn-primary{
  background:linear-gradient(100deg,var(--od-blue),var(--od-purple))!important;
  border-color:#6658f5!important;
  color:#fff!important;
  border-radius:9px!important;
  font-weight:700!important;
  box-shadow:0 8px 22px rgba(78,75,255,.14)!important;
}
#order-standard_cart .btn-primary:hover,
#order-standard_cart .btn-success:hover,
#order-standard_cart .checkout-btn:hover,
#order-standard_cart .btn-checkout:hover{
  color:#fff!important;
  filter:brightness(1.08);
}
#order-standard_cart .btn-default,
#order-standard_cart .btn-secondary{
  background:#171e29!important;
  border-color:#343e4d!important;
  color:#eef2f8!important;
}

/* Sidebar */
#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .cart-sidebar .list-group,
#order-standard_cart .cart-sidebar .list-group-item,
#order-standard_cart .sidebar-collapsed,
#order-standard_cart .sidebar-collapsed .panel{
  background:#121923!important;
  border-color:#303a49!important;
}
#order-standard_cart .cart-sidebar .list-group-item,
#order-standard_cart .sidebar-categories a,
#order-standard_cart .categories-collapsed a{
  color:#e7ebf2!important;
}
#order-standard_cart .cart-sidebar .list-group-item.active,
#order-standard_cart .cart-sidebar .list-group-item:hover,
#order-standard_cart .sidebar-categories a.active,
#order-standard_cart .sidebar-categories a:hover{
  background:linear-gradient(100deg,#315fff,#7b2bea)!important;
  color:#fff!important;
}

/* Inputs / selects / addons */
#order-standard_cart .form-control,
#order-standard_cart .custom-select,
#order-standard_cart select,
#order-standard_cart input[type=text],
#order-standard_cart input[type=email],
#order-standard_cart input[type=password],
#order-standard_cart input[type=number],
#order-standard_cart textarea,
#order-standard_cart .input-group-addon,
#order-standard_cart .input-group-text{
  background:#171d27!important;
  border-color:#344052!important;
  color:#f3f6fb!important;
}
#order-standard_cart input::placeholder,
#order-standard_cart textarea::placeholder{
  color:#7f8999!important;
  opacity:1!important;
}
#order-standard_cart select option{
  background:#171d27!important;
  color:#f3f6fb!important;
}
#order-standard_cart .form-control:focus,
#order-standard_cart input:focus,
#order-standard_cart select:focus,
#order-standard_cart textarea:focus{
  border-color:#5d70ff!important;
  box-shadow:0 0 0 3px rgba(76,96,255,.14)!important;
  outline:none!important;
}
#order-standard_cart input:-webkit-autofill,
#order-standard_cart input:-webkit-autofill:hover,
#order-standard_cart input:-webkit-autofill:focus{
  -webkit-text-fill-color:#f5f7fb!important;
  -webkit-box-shadow:0 0 0 1000px #171d27 inset!important;
  transition:background-color 9999s ease-out 0s!important;
}

/* Domain choice page: eliminate white slab */
#order-standard_cart .domain-selection-options{
  margin:18px 0!important;
  padding:12px!important;
  background:linear-gradient(145deg,#101620,#0c121a)!important;
  border:1px solid var(--od-border)!important;
  border-radius:14px!important;
}
#order-standard_cart .domain-selection-options .option{
  margin:0 0 8px!important;
  padding:13px 16px!important;
  background:#151c26!important;
  border:1px solid #2f3948!important;
  border-radius:10px!important;
  color:#e8edf5!important;
}
#order-standard_cart .domain-selection-options .option:last-child{margin-bottom:0!important;}
#order-standard_cart .domain-selection-options .option:hover{
  background:#192231!important;
  border-color:#45516a!important;
}
#order-standard_cart .domain-selection-options .option-selected{
  background:linear-gradient(100deg,rgba(49,140,255,.12),rgba(124,60,255,.12))!important;
  border-color:#655af3!important;
}
#order-standard_cart .domain-selection-options label,
#order-standard_cart .domain-selection-options .option-selected label,
#order-standard_cart .domain-selection-options .form-control-static{
  color:#e7ebf3!important;
}
#order-standard_cart .domain-input-group{
  margin:13px 0 4px!important;
  padding:0!important;
  background:transparent!important;
}
#order-standard_cart .domain-input-group .row,
#order-standard_cart .domain-input-group .domains-row{
  background:transparent!important;
}
#order-standard_cart .domain-checker-result-headline,
#order-standard_cart .domain-lookup-primary-results .headline{
  color:#fff!important;
}
#order-standard_cart .domain-checker-available{color:#4bd08c!important;}
#order-standard_cart .domain-checker-unavailable,
#order-standard_cart .domain-checker-invalid{color:#ff6873!important;}
#order-standard_cart .transfer-eligible{
  color:#baf0ce!important;background:#10261d!important;border-color:#235b40!important;
}
#order-standard_cart .transfer-not-eligible{
  color:#d6dce6!important;background:#20171a!important;border-color:#62343c!important;
}

/* Product configure headings: remove white pills */
#order-standard_cart .sub-heading{
  border-top-color:#3a4454!important;
}
#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading-borderless span{
  top:-15px!important;
  padding:6px 16px!important;
  background:#111823!important;
  border:1px solid #384354!important;
  border-radius:999px!important;
  color:#f1f4f9!important;
  font-weight:600!important;
}

/* Product summary card */
#order-standard_cart .order-summary{
  background:linear-gradient(145deg,#121923,#0d131c)!important;
  border:1px solid var(--od-border)!important;
  border-bottom:1px solid var(--od-border)!important;
  border-radius:14px!important;
  overflow:hidden!important;
}
#order-standard_cart .order-summary h2{
  background:#171e29!important;
  color:#fff!important;
  border-bottom:1px solid var(--od-border)!important;
}
#order-standard_cart .summary-container,
#order-standard_cart .order-summary .summary-container{
  background:#101720!important;
  color:#e8edf5!important;
  border-radius:0!important;
}
#order-standard_cart .order-summary .summary-totals{
  border-color:#3b4555!important;
}
#order-standard_cart .order-summary .total-due-today,
#order-standard_cart .order-summary .total-due-today-padded{
  background:#0d141d!important;
  color:#fff!important;
}
#order-standard_cart .order-summary .total-due-today .amt{
  color:#fff!important;
}

/* MarketConnect / available addons: eliminate white promo panels */
#order-standard_cart .mc-promos,
#order-standard_cart .addon-promo-container{
  color:#d7dde7!important;
}
#order-standard_cart .mc-promo,
#order-standard_cart .product-recommendations .product-recommendation{
  background:#121923!important;
  border:1px solid #303a49!important;
  border-bottom:3px solid #655af3!important;
  color:#d8dee8!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
#order-standard_cart .mc-promo .header,
#order-standard_cart .product-recommendations .product-recommendation .header{
  background:#151c26!important;
  color:#eef2f8!important;
}
#order-standard_cart .mc-promo .body,
#order-standard_cart .product-recommendations .product-recommendation .body{
  background:#101720!important;
  border-top:1px solid #303a49!important;
  color:#c8d0dc!important;
}
#order-standard_cart .mc-promo .headline,
#order-standard_cart .mc-promo .tagline,
#order-standard_cart .mc-promo .text,
#order-standard_cart .mc-promo .body,
#order-standard_cart .mc-promo .body li,
#order-standard_cart .product-recommendations .headline,
#order-standard_cart .product-recommendations .tagline{
  color:#cbd3df!important;
}
#order-standard_cart .mc-promo .headline{color:#fff!important;}
#order-standard_cart .mc-promo .price{color:#8ba6ff!important;}
#order-standard_cart .mc-promo .btn-add,
#order-standard_cart .mc-promo .arrow,
#order-standard_cart .product-recommendations .btn-add,
#order-standard_cart .product-recommendations .arrow{
  background:linear-gradient(100deg,#318cff,#7c3cff)!important;
  color:#fff!important;
}

/* Addon panels that are not MarketConnect */
#order-standard_cart .panel-addon,
#order-standard_cart .panel-addon .panel-body,
#order-standard_cart .panel-addon .panel-price{
  background:#121923!important;
  border-color:#303a49!important;
  color:#d7dee8!important;
}
#order-standard_cart .panel-addon .panel-body label{color:#e7ebf2!important;}
#order-standard_cart .panel-addon .panel-price{border-top:1px solid #303a49!important;}
#order-standard_cart .panel-addon .panel-add{
  background:#171e29!important;
  color:#e9edf4!important;
}
#order-standard_cart .panel-addon-selected{
  border-color:#655af3!important;
  box-shadow:0 0 0 1px rgba(101,90,243,.18)!important;
}
#order-standard_cart .panel-addon-selected .panel-add{
  background:linear-gradient(100deg,#318cff,#7c3cff)!important;
  color:#fff!important;
}

/* Checkout + payment sections */
#order-standard_cart .checkout,
#order-standard_cart .cc-input-container,
#order-standard_cart .apply-credit-container,
#order-standard_cart .account-select-container div.account,
#order-standard_cart .account-select-container div.account.active,
#order-standard_cart .default-captcha,
#order-standard_cart .view-cart-items,
#order-standard_cart .view-cart-tabs .tab-content{
  background:#111823!important;
  border-color:#303a49!important;
  color:#dce2eb!important;
}
#order-standard_cart .account-select-container{border-color:#303a49!important;}
#order-standard_cart .view-cart-items-header,
#order-standard_cart .table th{
  background:#1b2230!important;
  color:#fff!important;
  border-color:#354052!important;
}
#order-standard_cart .table td{
  background:#111823!important;
  color:#d8dee8!important;
  border-color:#303947!important;
}

/* Alerts/modals/recommendations */
#order-standard_cart .alert{
  background:#151c26!important;
  color:#e3e8f0!important;
  border-color:#354052!important;
}
#recommendationsModal .modal-content,
#order-standard_cart .modal-content{
  background:#111823!important;
  color:#e7ebf2!important;
  border:1px solid #303a49!important;
}
#recommendationsModal .modal-header,
#recommendationsModal .modal-footer,
#order-standard_cart .modal-header,
#order-standard_cart .modal-footer{
  border-color:#303a49!important;
}

/* Keep logos/images untouched but prevent white wrappers */
#order-standard_cart img{max-width:100%;}

@media(max-width:767px){
  #order-standard_cart .domain-selection-options{padding:8px!important;}
  #order-standard_cart .domain-selection-options .option{padding:11px 12px!important;}
  #order-standard_cart .products .product,
  #order-standard_cart .order-summary,
  #order-standard_cart .mc-promo{border-radius:11px!important;}
}
