/* IGH Dark Theme - standard_cart orderform overrides */

/* ── Base ── */
body, html {
  background-color: #0b0b0f !important;
  color: #d8dadd !important;
}

/* ── Product info box (Configure page) ── */
#order-standard_cart .product-info {
  background-color: #0d0d11 !important;
  border-top-color: rgba(255,255,255,0.07) !important;
  border-bottom-color: rgba(255,255,255,0.07) !important;
  color: #d8dadd !important;
}
#order-standard_cart .product-info .product-title {
  color: #fff !important;
}
#order-standard_cart .product-info p {
  color: #8a9099 !important;
}

/* ── Order Summary sidebar ── */
#order-standard_cart .order-summary {
  background-color: #0d0d11 !important;
  border-bottom-color: rgba(57,255,20,0.2) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
#order-standard_cart .order-summary h2 {
  color: #39ff14 !important;
  background: rgba(57,255,20,0.06) !important;
  margin: 0 !important;
  padding: 12px !important;
}
#order-standard_cart .summary-container {
  background-color: #0d0d11 !important;
  color: #d8dadd !important;
}
#order-standard_cart .order-summary .subtotal,
#order-standard_cart .order-summary .bordered-totals,
#order-standard_cart .order-summary .summary-totals {
  border-color: rgba(255,255,255,0.08) !important;
  color: #d8dadd !important;
}
#order-standard_cart .order-summary .amt {
  color: #39ff14 !important;
}
#order-standard_cart .order-summary .recurring-charges {
  color: #8a9099 !important;
}
#order-standard_cart .order-summary .product-name {
  color: #fff !important;
}
#order-standard_cart .order-summary .product-group {
  color: #8a9099 !important;
}
#order-standard_cart .order-summary .total-due-today span {
  color: #d8dadd !important;
}

/* ── Products list ── */
#order-standard_cart .products .product {
  background: #111116 !important;
  border-color: rgba(255,255,255,0.07) !important;
}
#order-standard_cart .products .product header {
  background: #0d0d11 !important;
}
#order-standard_cart .products .product header span {
  color: #fff !important;
}

/* ── Form fields ── */
#order-standard_cart .field,
#order-standard_cart .form-control {
  background-color: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #d8dadd !important;
}
#order-standard_cart .field:focus,
#order-standard_cart .form-control:focus {
  background-color: rgba(255,255,255,0.07) !important;
  border-color: #39ff14 !important;
  box-shadow: 0 0 0 3px rgba(57,255,20,0.12) !important;
  color: #fff !important;
  outline: none !important;
}
#order-standard_cart .field[disabled],
#order-standard_cart .field[readonly],
#order-standard_cart .form-control[disabled],
#order-standard_cart .form-control[readonly] {
  background-color: rgba(255,255,255,0.02) !important;
  color: #8a9099 !important;
}
#order-standard_cart select.form-control option,
#order-standard_cart select.field option {
  background: #13131a !important;
  color: #d8dadd !important;
}
#order-standard_cart label,
#order-standard_cart p.domain-renewal-desc {
  color: #8a9099 !important;
}
#order-standard_cart .field-icon i {
  color: #8a9099 !important;
}
#order-standard_cart .field-help-text {
  color: #8a9099 !important;
}

/* ── Prepend-icon placeholder fix ── */
#order-standard_cart .prepend-icon {
  position: relative !important;
}
#order-standard_cart .prepend-icon .field,
#order-standard_cart .prepend-icon .form-control,
#order-standard_cart .prepend-icon input,
#order-standard_cart .prepend-icon select {
  padding-left: 42px !important;
}
#order-standard_cart .prepend-icon label.field-icon {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 40px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #8a9099 !important;
  z-index: 5 !important;
  pointer-events: none !important;
  margin: 0 !important;
}

/* ── CC / Payment container ── */
#order-standard_cart .cc-input-container {
  background-color: #111116 !important;
  border-color: rgba(255,255,255,0.1) !important;
  border-radius: 10px !important;
}
#order-standard_cart .cc-input-container .existing-cc-grid {
  color: #d8dadd !important;
}

/* ── Apply credit container ── */
#order-standard_cart .apply-credit-container {
  background-color: #111116 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
  color: #d8dadd !important;
}

/* ── Mailing list opt-in ── */
#order-standard_cart .marketing-email-optin {
  background: rgba(57,255,20,0.04) !important;
  border: 1px solid rgba(57,255,20,0.12) !important;
  border-radius: 10px !important;
  padding: 16px 20px !important;
  margin: 20px 0 !important;
  color: #d8dadd !important;
}
#order-standard_cart .marketing-email-optin h4 {
  color: #fff !important;
}
#order-standard_cart .marketing-email-optin p {
  color: #8a9099 !important;
}

/* ── Sub-heading dividers ── */
#order-standard_cart .sub-heading {
  border-color: rgba(255,255,255,0.08) !important;
}
#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading-borderless span {
  color: #39ff14 !important;
  background: #0b0b0f !important;
}

/* ── View cart items ── */
#order-standard_cart .view-cart-items-header {
  background-color: rgba(57,255,20,0.08) !important;
  color: #39ff14 !important;
}
#order-standard_cart .view-cart-items .item {
  background-color: #111116 !important;
  color: #d8dadd !important;
}
#order-standard_cart .view-cart-items .item:nth-child(even) {
  background-color: #0d0d11 !important;
}
#order-standard_cart .view-cart-tabs .tab-content {
  background-color: #111116 !important;
}
#order-standard_cart .view-cart-promotion-code {
  background-color: #111116 !important;
  border-color: rgba(255,255,255,0.1) !important;
}
#order-standard_cart .view-cart-gateway-checkout {
  background-color: #111116 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #d8dadd !important;
}

/* ── Domain selection options ── */
#order-standard_cart .domain-selection-options .option {
  background-color: #111116 !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  color: #d8dadd !important;
}
#order-standard_cart .domain-selection-options .option-selected {
  background-color: rgba(57,255,20,0.06) !important;
  border-color: rgba(57,255,20,0.2) !important;
}

/* ── Tables ── */
#order-standard_cart .table > tbody > tr > td,
#order-standard_cart .table > tbody > tr > th {
  background-color: transparent !important;
  color: #d8dadd !important;
  border-color: rgba(255,255,255,0.07) !important;
}
#order-standard_cart .table > thead > tr > th {
  background: rgba(57,255,20,0.07) !important;
  color: #39ff14 !important;
  border-color: rgba(255,255,255,0.07) !important;
}

/* ── Alerts ── */
#order-standard_cart .alert-warning {
  background: rgba(255,179,0,0.1) !important;
  border-left: 3px solid #ffb300 !important;
  color: #ffd050 !important;
  border-radius: 8px !important;
}
#order-standard_cart .alert-success {
  background: rgba(57,255,20,0.1) !important;
  border-left: 3px solid #39ff14 !important;
  color: #7fff6a !important;
  border-radius: 8px !important;
}
#order-standard_cart .alert-danger {
  background: rgba(192,57,43,0.12) !important;
  border-left: 3px solid #c0392b !important;
  color: #ff7070 !important;
  border-radius: 8px !important;
}

/* ── Buttons ── */
#order-standard_cart .btn-primary {
  background-color: #39ff14 !important;
  color: #000 !important;
  border-color: transparent !important;
  font-weight: 700 !important;
}
#order-standard_cart .btn-primary:hover {
  background-color: #2be010 !important;
  color: #000 !important;
}
#order-standard_cart .btn-default {
  background: transparent !important;
  color: #39ff14 !important;
  border: 1px solid #39ff14 !important;
}
#order-standard_cart .btn-default:hover {
  background: #39ff14 !important;
  color: #000 !important;
}

/* ── Panels ── */
#order-standard_cart .panel {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
}
#order-standard_cart .panel-heading {
  background: rgba(57,255,20,0.07) !important;
  border-bottom: 1px solid rgba(57,255,20,0.12) !important;
  color: #39ff14 !important;
}
#order-standard_cart .panel-body {
  background: transparent !important;
  color: #d8dadd !important;
}
#order-standard_cart .panel-addon .panel-price {
  background-color: rgba(255,255,255,0.05) !important;
  color: #d8dadd !important;
}
