html:has(#neural-configure),
body:has(#neural-configure) {
  background-color: #070d16 !important;
}
body:has(#neural-configure) {
  background-image: linear-gradient(180deg, rgba(7,13,22,.18), rgba(7,13,22,.50) 68%, #070d16), url("../images/neural-core-v1.0.0.webp") !important;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
body:has(#neural-configure) :is(.header, .header .main-meta, footer.footer, footer.footer .copyright) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:has(#neural-configure) .header .main-menu > ul.navbar-nav {
  border-left: 0 !important;
}
@media (max-width: 991.98px) {
  body:has(#neural-configure) .header .main-menu:not(:has(a[href*="view=dashboard"])) {
    background: #0b1521 !important;
    border-radius: 10px;
  }
  body:has(#neural-configure) .header .main-menu:not(:has(a[href*="view=dashboard"])) .nav-item:has(> .dropdown-menu a[href="order.php"])::before {
    content: "Services";
    display: block;
    padding: 10px 14px 2px;
    color: #a8c4dc;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
  }
  body:has(#neural-configure) .header .main-menu:not(:has(a[href*="view=dashboard"])) .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-toggle {
    display: none !important;
  }
  body:has(#neural-configure) .header .main-menu:not(:has(a[href*="view=dashboard"])) .nav-item > .dropdown-menu:has(a[href="order.php"]) {
    display: block !important;
    position: static !important;
    float: none;
    transform: none !important;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}
/* Services only. Leave the hamburger icon and unrelated menus alone. */
@media (min-width: 992px) {
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-toggle:is(:hover, :focus, [aria-expanded="true"]),
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]).show > .dropdown-toggle {
    background: #142639 !important;
    color: #eef6ff !important;
  }
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-menu {
    background: #0d1928 !important;
    border: 1px solid #29435c !important;
    border-radius: 8px;
  }
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-menu > li > a {
    background: transparent !important;
    color: #e3efff !important;
  }
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-menu > li > a:is(:hover, :focus),
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-menu > li:hover {
    background: #182d43 !important;
    color: #fff !important;
  }
}
@media (max-width: 991.98px) {
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"]))::after,
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"])) > .dropdown-menu::before,
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"])) > .dropdown-menu::after,
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"])) > .dropdown-toggle::before,
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"])) > .dropdown-toggle::after {
    content: none !important;
    display: none !important;
  }
  html body:has(#neural-configure) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"])) {
    background-image: none !important;
  }
}


html body #neural-configure {
  background: transparent !important;
}
html body #neural-configure > .container {
  width: calc(100% - 2 * clamp(12px, 4vw, 56px));
  max-width: 1700px;
  padding: clamp(18px, 4vw, 52px) 0 36px;
}
#neural-configure .neural-configure-heading {
  margin: 0 0 14px;
  color: #f5f8ff;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
}
#neural-configure .neural-configure-heading > span {
  color: #ff5166 !important;
  margin-inline-start: .22em;
}
#neural-configure .neural-configure-heading > span { margin: 0 .2em 0 0; }
html body #neural-configure .cart-status-bar,
html body #neural-configure .cart-status-rail {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}
html body #neural-configure .cart-status-bar { margin: 0 0 24px !important; }
html body #neural-configure .cart-status-rail {
  display: flex !important;
  justify-content: flex-start !important;
  flex-wrap: wrap;
  gap: 8px clamp(12px, 4vw, 48px);
}
html body #neural-configure .cart-status-nodes {
  position: static !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 0 6px !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html body #neural-configure .cart-status-nodes.active { border-bottom: 2px solid #69b8ff !important; }
html body #neural-configure .cart-status-label {
  position: static !important;
  transform: none !important;
  color: #a3b5c8 !important;
  font-size: clamp(.8rem, 1.5vw, 1rem);
}
html body #neural-configure .cart-status-nodes.active .cart-status-label { color: #69b8ff !important; }
#neural-configure .inner-rail,
#neural-configure :is(.cart-status-bar, .cart-status-rail, .cart-status-nodes)::before,
#neural-configure :is(.cart-status-bar, .cart-status-rail, .cart-status-nodes)::after { display: none !important; }

html body #neural-configure .config-product-section {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  align-items: stretch;
  gap: clamp(14px, 2vw, 28px);
}
html body #neural-configure .config-product-section > :is(.cm-box-holder, .summary-info) {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  height: auto !important;
  margin: 0 !important;
}
html body #neural-configure :is(.cm-box-holder, .summary-holder) {
  background: #06111e !important;
  color: #e6f2ff;
  border: 1px solid #28658a !important;
  border-radius: 14px;
  box-shadow: none !important;
}
html body #neural-configure :is(.form-wrapper, .summary-holder > .head, .summery-cont, .summery-fees, .summery-bottom) {
  background: transparent !important;
}
html body #neural-configure .summary-holder > .head {
  border-bottom: 1px solid #24435a !important;
  border-radius: 13px 13px 0 0;
}
html body #neural-configure .form-wrapper {
  padding: clamp(16px, 2.5vw, 32px) !important;
}
html body #neural-configure .form-wrapper :is(.form-control, select) {
  background-color: #0c1c2d !important;
  color: #e6f2ff !important;
  border-color: #365c78 !important;
}
html body #neural-configure #continue-button {
  width: 100%;
  min-height: 44px;
  background: #174296 !important;
  border: 1px solid #69b8ff !important;
  color: #fff !important;
}
#neural-configure :is(select, input, button, a):focus-visible {
  outline: 2px solid #69b8ff;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  html body #neural-configure .config-product-section { grid-template-columns: minmax(0, 1fr); }
}
#neural-configure .neural-billing-enhanced > label,
#neural-configure .neural-billing-enhanced > :is(.paymentTerm, .select2-container, .saveWrapper) {
  display: none !important;
}
#neural-configure .neural-billing-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 12px;
  min-width: 0;
  margin: 0;
}
#neural-configure .neural-billing-tiles legend { margin-bottom: 10px; font-size: 1rem; }
#neural-configure .neural-billing-tiles label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px;
  margin: 0;
  border: 1px solid #365c78;
  border-radius: 10px;
  background: #0c1c2d;
  cursor: pointer;
}
#neural-configure .neural-billing-tiles input { accent-color: #69b8ff; }
#neural-configure .neural-billing-tiles label:has(:checked) { border-color: #69b8ff; background: #102940; }
#neural-configure .neural-billing-tiles label:has(:focus-visible) { outline: 2px solid #69b8ff; outline-offset: 2px; }
#neural-configure .neural-summary-cycle,
#neural-configure .neural-summary-plan {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
}
#neural-configure .neural-summary-savings {
  margin: 0;
  color: #69b8ff;
  text-align: end;
  font-weight: 700;
}
#neural-configure .neural-summary-compact .summery-fees li.term {
  display: none !important;
}
#neural-configure .summary-info {
  align-self: stretch !important;
}
#neural-configure .summary-holder { min-height: 100%; }
#neural-configure .neural-billing-label {
  display: grid;
  gap: 3px;
  overflow-wrap: anywhere;
}
#neural-configure .neural-billing-tiles label input { flex: 0 0 auto; }
html body #neural-configure .cart-status-nodes.active { border-radius: 0 !important; }
#neural-configure .neural-summary-total {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  text-align: start;
}
#neural-configure .neural-summary-total #dueToday { margin: 0; }
html body .neural-access-modal .modal-dialog { display: flex; align-items: center; min-height: calc(100% - 2rem); margin: 1rem auto; width: calc(100% - 2rem); }
html body .neural-access-modal .modal-content { background: #06111e !important; color: #e6f2ff; border: 1px solid #365c78 !important; border-radius: 14px; }
html body .neural-access-modal :is(.modal-header, .modal-body, .modal-footer) { background: transparent !important; border-color: #24435a; }
.neural-access-modal .modal-title { text-transform: uppercase; }
.neural-access-modal .modal-title span { color: #ff5166; }
.neural-access-modal label { display: block; }
html body .neural-access-modal #couponSubmitButton { background: #174296 !important; border-color: #69b8ff !important; }

html body #neural-configure .summary-holder .summery-cont {
  padding-bottom: 12px !important;
}
html body #neural-configure .summary-holder .summery-cont p.neural-summary-savings {
  color: #69b8ff !important;
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.4;
}
html body #neural-configure .summary-holder .summery-bottom p.neural-summary-total {
  margin: 0 0 12px !important;
  color: #e6f2ff !important;
  border-top: 0 !important;
  padding-top: 14px;
}
html body #neural-configure .summary-holder p.neural-summary-total > span:first-child {
  color: #e6f2ff !important;
  font-size: 1rem !important;
  font-weight: 600;
}
html body #neural-configure .summary-holder .summery-bottom .change-code {
  display: block;
  text-align: end;
  margin-bottom: 16px;
}
