/* OffshoreDedi WHMCS Order Form v3.4
   Targeted QA fixes after enabling offshorededi_cart. */

#order-standard_cart{
  --od34-bg:#080d14;
  --od34-panel:#101720;
  --od34-panel2:#151c27;
  --od34-head:#1b2230;
  --od34-border:#303b4c;
  --od34-text:#f4f7fb;
  --od34-muted:#a8b2c1;
}

/* Review & Checkout / empty cart surface */
body #order-standard_cart .view-cart-items-header{
  background:#1b2230!important;
  color:#fff!important;
  border:1px solid var(--od34-border)!important;
  border-bottom:0!important;
  border-radius:12px 12px 0 0!important;
}
body #order-standard_cart .view-cart-items{
  background:#101720!important;
  color:#dce3ed!important;
  border:1px solid var(--od34-border)!important;
  border-top:0!important;
  border-bottom:1px solid var(--od34-border)!important;
  border-radius:0 0 12px 12px!important;
  overflow:hidden!important;
}
body #order-standard_cart .view-cart-empty{
  background:#101720!important;
  color:#9eabba!important;
  padding:30px 15px!important;
}
body #order-standard_cart .view-cart-items .item,
body #order-standard_cart .view-cart-items .item:nth-child(even){
  background:#101720!important;
  color:#dce3ed!important;
  border-color:#303b4c!important;
}

/* A disabled checkout should look intentionally disabled, not broken. */
body #order-standard_cart .btn-checkout.disabled,
body #order-standard_cart .btn-checkout[disabled]{
  opacity:1!important;
  background:#1b2330!important;
  border-color:#344052!important;
  color:#748094!important;
  box-shadow:none!important;
  cursor:not-allowed!important;
}

/* Strong fallback for MarketConnect and recommendation cards. */
body #order-standard_cart .mc-promo,
body #order-standard_cart .mc-promo .header,
body #order-standard_cart .mc-promo .body,
body #order-standard_cart .mc-promo .content,
body #order-standard_cart .product-recommendations,
body #order-standard_cart .product-recommendations .product-recommendation,
body #order-standard_cart .product-recommendations .product-recommendation .header,
body #order-standard_cart .product-recommendations .product-recommendation .body,
body #order-standard_cart .addon-promo-container,
body #order-standard_cart .panel-addon,
body #order-standard_cart .panel-addon .panel-heading,
body #order-standard_cart .panel-addon .panel-body,
body #order-standard_cart .panel-addon .panel-footer{
  background:#101720!important;
  border-color:#303b4c!important;
  color:#dce3ed!important;
}
body #order-standard_cart .mc-promo *,
body #order-standard_cart .product-recommendations *,
body #order-standard_cart .panel-addon *{color:#cbd4e0!important}
body #order-standard_cart .mc-promo h3,
body #order-standard_cart .mc-promo h4,
body #order-standard_cart .product-recommendations h3,
body #order-standard_cart .panel-addon strong{color:#fff!important}

/* Checkout form panels / white utility blocks */
body #order-standard_cart .checkout,
body #order-standard_cart #frmCheckout .card,
body #order-standard_cart #frmCheckout .card-body,
body #order-standard_cart #frmCheckout .panel,
body #order-standard_cart #frmCheckout .panel-body,
body #order-standard_cart .view-cart-tabs .tab-content,
body #order-standard_cart .cc-input-container,
body #order-standard_cart .apply-credit-container,
body #order-standard_cart .default-captcha{
  background:#101720!important;
  border-color:#303b4c!important;
  color:#dce3ed!important;
}

/* Inputs inside cart/checkout stay consistently dark. */
body #order-standard_cart input,
body #order-standard_cart select,
body #order-standard_cart textarea,
body #order-standard_cart .form-control,
body #order-standard_cart .custom-select{
  background-color:#171d27!important;
  color:#f4f7fb!important;
  border-color:#344052!important;
}
body #order-standard_cart input::placeholder,
body #order-standard_cart textarea::placeholder{color:#7f8999!important}

@media(max-width:767px){
  body #order-standard_cart .view-cart-items-header,
  body #order-standard_cart .view-cart-items{border-radius:10px!important}
}
