/* =========================================================
   eXthus Cloud WHMCS Theme Override
   For WHMCS Twenty-One / Bootstrap-based client area
   Aligned with https://exthus.cloud/assets/css/site.css
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* -----------------------------
   Core variables (exthus.cloud)
----------------------------- */

:root {
  /* Synced with exthus.cloud/assets/css/site.css (dark theme) */
  --ex-bg-black: #050607;
  --ex-bg-dark: #0a0d12;
  --ex-bg-panel: #11171c;
  --ex-bg-panel-soft: #0f1419;

  --ex-green: #8fe000;
  --ex-green-hover: #a2ff00;
  --ex-green-border: rgba(143, 224, 0, 0.35);
  --ex-green-soft: rgba(143, 224, 0, 0.12);
  --ex-green-tint: #0a0d12;

  --ex-text-dark: #f4f6f8;
  --ex-text-soft: #f4f6f8;
  --ex-text-muted: rgba(220, 228, 242, 0.68);

  --ex-text-light: #ffffff;
  --ex-text-light-muted: rgba(255, 255, 255, 0.65);
  --ex-text-light-soft: rgba(255, 255, 255, 0.82);

  --ex-border-light: rgba(255, 255, 255, 0.08);
  --ex-border-strong: rgba(255, 255, 255, 0.14);
  --ex-border-dark: rgba(255, 255, 255, 0.08);

  --ex-elevated: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  --ex-elevated-solid: #11171c;

  --ex-radius-sm: 12px;
  --ex-radius-md: 12px;
  --ex-radius-lg: 20px;

  --ex-shadow-card: 0 16px 40px rgba(0, 0, 0, 0.35);
  --ex-shadow-card-hover: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 24px rgba(143, 224, 0, 0.06);
  --ex-lime-glow: rgba(143, 224, 0, 0.35);

  --ex-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ex-header-h: 72px;
  --ex-wrap: min(1200px, calc(100% - 40px));
  --ex-on-accent: #050607;
}

/* -----------------------------
   Portal zone (subtle vs marketing site)
----------------------------- */

body.portal-area section#main-body {
  position: relative;
  background: var(--ex-green-tint) !important;
}

body.portal-area section#main-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ex-green) 0%, rgba(143, 224, 0, 0) 70%);
  pointer-events: none;
}

body.portal-area .master-breadcrumb .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

body.portal-area .master-breadcrumb .container::after {
  content: "Client portal";
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #050607;
  padding: 6px 10px;
  border-radius: 999px;
  border: 0;
  background: var(--ex-green);
}

/* -----------------------------
   Global base
----------------------------- */

html,
body {
  background: var(--ex-bg-black) !important;
  color: var(--ex-text-dark);
  font-family: var(--ex-font) !important;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  letter-spacing: -0.01em;
}

a {
  color: var(--ex-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms ease, opacity 180ms ease;
}

a:hover,
a:focus {
  color: #fff;
  text-decoration: none;
}

.main-content a:not(.btn):not(.nav-link):not(.dropdown-item) {
  color: var(--ex-green);
}

.main-content a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--ex-font) !important;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
}

p {
  color: var(--ex-text-muted);
}

/* -----------------------------
   Top navbar / header
----------------------------- */

.navbar-main,
.navbar,
.navbar-default,
#header,
section#header {
  background: rgba(5, 6, 7, 0.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 0 !important;
  box-shadow: none !important;
}

.navbar-main {
  border-bottom: 1px solid var(--ex-border-dark) !important;
}

.navbar-main .navbar-brand,
.navbar-main .navbar-brand:hover,
.navbar-main .navbar-brand:focus {
  color: var(--ex-text-light) !important;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.navbar-main .navbar-nav > li > a,
.navbar-main .nav > li > a,
.navbar-main a {
  color: var(--ex-text-light) !important;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus,
.navbar-main .navbar-nav > .active > a,
.navbar-main .navbar-nav > .open > a {
  color: var(--ex-green) !important;
  background: transparent !important;
}

.navbar-main .dropdown-menu {
  background: var(--ex-bg-panel) !important;
  border: 1px solid var(--ex-border-dark) !important;
  border-radius: var(--ex-radius-md);
  box-shadow: 0 20px 45px rgba(0,0,0,0.28);
  padding: 8px;
}

.navbar-main .dropdown-menu > li > a {
  color: var(--ex-text-light-soft) !important;
  border-radius: 8px;
  padding: 10px 12px;
}

.navbar-main .dropdown-menu > li > a:hover,
.navbar-main .dropdown-menu > li > a:focus {
  color: var(--ex-green) !important;
  background: var(--ex-green-soft) !important;
}

/* WHMCS secondary nav / breadcrumb-style nav */
.master-breadcrumb,
.breadcrumb,
.navbar-secondary,
#main-menu {
  background: var(--ex-bg-dark) !important;
  border-color: var(--ex-border-dark) !important;
}

.breadcrumb,
.breadcrumb a {
  color: var(--ex-text-light-muted) !important;
}

.breadcrumb > .active {
  color: var(--ex-green) !important;
}

/* -----------------------------
   Main body layout
----------------------------- */

section#main-body {
  background: var(--ex-bg-dark) !important;
  padding-top: 42px;
  padding-bottom: 72px;
}

.main-content,
.container {
  color: var(--ex-text-dark);
}

/* Page titles */
.main-content h1,
.page-header h1,
.header-lined h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.header-lined {
  border-bottom: 1px solid var(--ex-border-light);
  margin-bottom: 28px;
}

.header-lined h1 {
  margin-bottom: 10px;
}

/* -----------------------------
   Panels, cards, boxes
----------------------------- */

.panel,
.card,
.tiles .tile,
.client-home-panels .panel,
.product-details,
.domain-pricing,
.sidebar .panel,
.list-group,
.marketing-email-optin,
.logincontainer,
.signupfields {
  background: var(--ex-elevated) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: var(--ex-radius-lg) !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  overflow: hidden;
}

.panel:hover,
.card:hover,
.tiles .tile:hover,
.client-home-panels .panel:hover {
  box-shadow: var(--ex-shadow-card-hover), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  border-color: var(--ex-green-border) !important;
  transform: translateY(-2px);
}

.panel-heading,
.card-header {
  background: transparent !important;
  border-bottom: 1px solid var(--ex-border-light) !important;
  color: #fff !important;
  font-weight: 800;
}

.panel-title,
.card-title {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.panel-body,
.card-body {
  color: var(--ex-text-muted);
}

.panel-footer,
.card-footer {
  background: rgba(255, 255, 255, 0.02) !important;
  border-top: 1px solid var(--ex-border-light) !important;
}

/* -----------------------------
   Client area home tiles
----------------------------- */

.tiles .tile {
  padding: 28px 24px !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tiles .tile:hover {
  transform: translateY(-3px);
}

.tiles .tile .icon {
  color: var(--ex-green) !important;
}

.tiles .tile .stat {
  color: var(--ex-text-dark) !important;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.tiles .tile .title {
  color: var(--ex-text-muted) !important;
  font-weight: 600;
}

/* -----------------------------
   Buttons
----------------------------- */

.btn,
button,
input[type="submit"],
input[type="button"] {
  font-family: var(--ex-font) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-success,
.btn-order-now,
input[type="submit"].btn-primary,
button.btn-primary {
  background: var(--ex-green) !important;
  border-color: transparent !important;
  color: #050607 !important;
  box-shadow: 0 8px 28px var(--ex-lime-glow);
}

.btn-primary:hover,
.btn-success:hover,
.btn-order-now:hover,
input[type="submit"].btn-primary:hover,
button.btn-primary:hover {
  background: var(--ex-green-hover) !important;
  border-color: transparent !important;
  color: #050607 !important;
  box-shadow: 0 12px 36px var(--ex-lime-glow);
}

.btn-default,
.btn-secondary,
.btn-outline-primary {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--ex-text-dark) !important;
  border: 1px solid var(--ex-border-strong) !important;
}

.btn-default:hover,
.btn-secondary:hover,
.btn-outline-primary:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #fff !important;
  border-color: var(--ex-green-border) !important;
}

.btn-danger {
  border-radius: 10px !important;
}

/* Small action buttons */
.btn-xs,
.btn-sm {
  border-radius: 8px !important;
}

/* -----------------------------
   Forms
----------------------------- */

.form-control,
input.form-control,
select.form-control,
textarea.form-control,
.field,
.input-group .form-control {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: var(--ex-radius-sm) !important;
  color: var(--ex-text-dark) !important;
  box-shadow: none !important;
  font-size: 15px;
}

.form-control::placeholder {
  color: rgba(220, 228, 242, 0.45) !important;
}

.form-control:focus,
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  border-color: var(--ex-green) !important;
  box-shadow: 0 0 0 3px var(--ex-green-soft) !important;
}

label,
.control-label {
  color: var(--ex-text-soft) !important;
  font-weight: 700;
}

.help-block,
.form-text,
.text-muted {
  color: var(--ex-text-muted) !important;
}

/* Input groups */
.input-group-addon,
.input-group-text {
  background: var(--ex-green-tint) !important;
  border-color: var(--ex-border-light) !important;
  color: var(--ex-text-dark) !important;
}

/* -----------------------------
   Alerts
----------------------------- */

.alert {
  border-radius: var(--ex-radius-md) !important;
  border-width: 1px !important;
  box-shadow: 0 14px 36px rgba(8,25,22,0.06);
}

.alert-success {
  background: var(--ex-green-soft) !important;
  border-color: rgba(143, 224, 0, 0.35) !important;
  color: var(--ex-text-dark) !important;
}

.alert-info {
  background: var(--ex-green-tint) !important;
  border-color: var(--ex-border-light) !important;
  color: var(--ex-text-soft) !important;
}

.alert-warning {
  background: #FFFBEA !important;
  border-color: #E9D978 !important;
  color: #675900 !important;
}

.alert-danger {
  background: #FFF1F1 !important;
  border-color: #F1B6B6 !important;
  color: #7E1F1F !important;
}

/* -----------------------------
   Tables
----------------------------- */

.table,
.dataTable {
  background: var(--ex-elevated-solid) !important;
  border-radius: var(--ex-radius-md);
  overflow: hidden;
}

.table > thead > tr > th,
.dataTable > thead > tr > th {
  background: var(--ex-bg-dark) !important;
  color: var(--ex-text-light) !important;
  border-color: var(--ex-border-dark) !important;
  font-weight: 800;
}

.table > tbody > tr > td,
.dataTable > tbody > tr > td {
  border-color: var(--ex-border-light) !important;
  color: var(--ex-text-soft);
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.03) !important;
}

/* -----------------------------
   Badges / labels
----------------------------- */

.label,
.badge {
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

.label-success,
.badge-success,
.status-active {
  background: var(--ex-green) !important;
  color: var(--ex-text-dark) !important;
}

.label-info,
.badge-info {
  background: var(--ex-bg-panel) !important;
  color: var(--ex-text-light) !important;
}

.label-warning,
.badge-warning {
  background: #F5D547 !important;
  color: var(--ex-text-dark) !important;
}

/* -----------------------------
   Login / register pages
----------------------------- */

.logincontainer {
  max-width: 520px;
  padding: 34px !important;
}

.logincontainer .header-lined h1,
.logincontainer h1,
.logincontainer h2 {
  color: var(--ex-text-dark) !important;
  font-weight: 900;
}

.logincontainer .btn-primary {
  width: 100%;
}

/* -----------------------------
   Knowledgebase / announcements
----------------------------- */

.kb-article-title,
.announcement-single h2,
.announcement-single h3 {
  color: var(--ex-text-dark) !important;
}

.kb-category,
.announcement-single {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: var(--ex-radius-lg) !important;
  box-shadow: var(--ex-shadow-card);
}

/* -----------------------------
   Sidebar
----------------------------- */

.sidebar .panel {
  border-radius: var(--ex-radius-lg) !important;
}

.sidebar .list-group-item,
.sidebar .list-group-item-action,
#order-standard_cart .cart-sidebar .list-group-item,
#order-standard_cart .cart-sidebar .list-group-item-action,
#order-standard_cart .card-sidebar .list-group-item,
#order-standard_cart .card-sidebar .list-group-item-action {
  background: transparent !important;
  border-color: var(--ex-border-light) !important;
  color: var(--ex-text-light-soft) !important;
}

.sidebar .list-group-item:hover,
.sidebar .list-group-item.active,
.sidebar .list-group-item-action:hover,
.sidebar .list-group-item-action:focus,
#order-standard_cart .cart-sidebar .list-group-item:hover,
#order-standard_cart .cart-sidebar .list-group-item-action:hover,
#order-standard_cart .cart-sidebar .list-group-item-action:focus,
#order-standard_cart .card-sidebar .list-group-item:hover,
#order-standard_cart .card-sidebar .list-group-item-action:hover {
  background: var(--ex-green-soft) !important;
  color: #fff !important;
  border-color: var(--ex-green-border) !important;
}

/* -----------------------------
   Order form / cart
   Works with Standard Cart-ish structures
----------------------------- */

#order-standard_cart,
#order-standard_cart .container {
  font-family: var(--ex-font) !important;
}

/* Panels / cart chrome — exclude .products .product (plan cards styled below) */
#order-standard_cart .product:not(.products .product),
#order-standard_cart .summary-container,
#order-standard_cart .view-cart-items,
#order-standard_cart .order-summary,
#order-standard_cart .domain-selection-options .option,
#order-standard_cart .sub-heading,
#order-standard_cart .checkout-security-msg,
#order-standard_cart .panel {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: var(--ex-radius-lg) !important;
  box-shadow: var(--ex-shadow-card) !important;
}

#order-standard_cart .product:not(.products .product):hover {
  border-color: rgba(143, 224, 0, 0.35) !important;
  box-shadow: var(--ex-shadow-card-hover) !important;
}

#order-standard_cart .btn-primary,
#order-standard_cart .btn-success,
#order-standard_cart .btn-checkout,
#order-standard_cart .btn-order-now {
  background: var(--ex-green) !important;
  color: var(--ex-on-accent) !important;
  border-color: var(--ex-green) !important;
  border-radius: 8px !important;
}

#order-standard_cart .btn-primary:hover,
#order-standard_cart .btn-success:hover,
#order-standard_cart .btn-checkout:hover,
#order-standard_cart .btn-order-now:hover {
  background: var(--ex-green-hover) !important;
  color: var(--ex-on-accent) !important;
  border-color: var(--ex-green-border) !important;
}

#order-standard_cart .order-summary {
  background: var(--ex-bg-dark) !important;
  color: var(--ex-text-light) !important;
  border-color: var(--ex-border-dark) !important;
}

#order-standard_cart .order-summary h2,
#order-standard_cart .order-summary h3,
#order-standard_cart .order-summary .summary-totals,
#order-standard_cart .order-summary .total-due-today {
  color: var(--ex-text-light) !important;
}

#order-standard_cart .order-summary .total-due-today span,
#order-standard_cart .order-summary .amt {
  color: var(--ex-green) !important;
}

#order-standard_cart .summary-container {
  padding: 24px !important;
}

#order-standard_cart .field,
#order-standard_cart input,
#order-standard_cart select,
#order-standard_cart textarea {
  border-radius: 10px !important;
}

/* Product group tabs */
#order-standard_cart .nav-tabs {
  border-bottom: 1px solid var(--ex-border-light) !important;
}

#order-standard_cart .nav-tabs > li > a {
  color: var(--ex-text-muted) !important;
  border-radius: 10px 10px 0 0 !important;
  font-weight: 750;
}

#order-standard_cart .nav-tabs > li.active > a,
#order-standard_cart .nav-tabs > li > a:hover {
  color: var(--ex-text-dark) !important;
  background: var(--ex-elevated-solid) !important;
  border-color: var(--ex-border-light) !important;
  border-bottom-color: var(--ex-elevated-solid) !important;
}

/* Cart progress steps */
#order-standard_cart .order-summary .recurring-totals {
  color: var(--ex-text-light-muted) !important;
}

#order-standard_cart .progress,
.progress {
  background: var(--ex-border-light) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

#order-standard_cart .progress-bar,
.progress-bar {
  background: var(--ex-green) !important;
  color: var(--ex-text-dark) !important;
}

/* -----------------------------
   Domain checker
----------------------------- */

.domain-checker-container,
.domain-search-container {
  background: var(--ex-bg-dark) !important;
  border: 1px solid var(--ex-border-dark) !important;
  border-radius: var(--ex-radius-lg) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}

.domain-checker-container h1,
.domain-checker-container h2,
.domain-search-container h1,
.domain-search-container h2 {
  color: var(--ex-text-light) !important;
}

.domain-checker-container p,
.domain-search-container p {
  color: var(--ex-text-light-muted) !important;
}

/* -----------------------------
   Footer
----------------------------- */

section#footer,
.footer,
#footer {
  background: var(--ex-bg-black) !important;
  color: var(--ex-text-light-muted) !important;
  border-top: 1px solid var(--ex-border-dark) !important;
}

section#footer a,
.footer a,
#footer a {
  color: var(--ex-text-light-muted) !important;
}

section#footer a:hover,
.footer a:hover,
#footer a:hover {
  color: var(--ex-green) !important;
}

section#footer h4,
.footer h4,
#footer h4 {
  color: var(--ex-text-light) !important;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.footer .copyright,
#footer .copyright {
  color: #7F8A84 !important;
  font-size: 13px;
}

/* -----------------------------
   Modals
----------------------------- */

.modal-content {
  border-radius: var(--ex-radius-lg) !important;
  border: 1px solid var(--ex-border-light) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,0.22);
}

.modal-header {
  border-bottom-color: var(--ex-border-light) !important;
}

.modal-footer {
  border-top-color: var(--ex-border-light) !important;
  background: var(--ex-green-tint) !important;
}

/* -----------------------------
   Pagination
----------------------------- */

.pagination > li > a,
.pagination > li > span {
  color: var(--ex-text-dark) !important;
  border-color: var(--ex-border-light) !important;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > li > a:hover {
  background: var(--ex-green) !important;
  border-color: var(--ex-green) !important;
  color: var(--ex-text-dark) !important;
}

/* -----------------------------
   Responsive
----------------------------- */

@media (max-width: 991px) {
  section#main-body {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .panel,
  .card,
  .tiles .tile,
  .client-home-panels .panel {
    border-radius: 18px !important;
  }

  .main-content h1,
  .page-header h1,
  .header-lined h1 {
    font-size: 34px;
    letter-spacing: -0.045em;
  }

  .navbar-main .navbar-nav > li > a {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .logincontainer {
    padding: 24px !important;
  }

  .btn {
    width: auto;
  }

  .navbar-main .dropdown-menu {
    box-shadow: none;
    border-radius: 0;
  }
}






/* =========================================================
   eXthus Cloud WHMCS Header / Menu Visibility Fix
   ========================================================= */

#header,
#header.header {
  background: rgba(5, 6, 7, 0.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#header .navbar,
#header .navbar-light,
#header .main-navbar-wrapper {
  background: transparent !important;
  border: 0 !important;
}

#header .main-navbar-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Logo / brand */
#header .navbar-brand {
  color: var(--ex-elevated-solid) !important;
  font-family: var(--ex-font) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  opacity: 1 !important;
}

#header .navbar-brand:hover {
  color: #8fe000 !important;
}

/* Main menu links */
#header #nav > li > a,
#header .navbar-nav > li > a,
#header .main-navbar-wrapper a {
  color: rgba(255, 255, 255, 0.82) !important;
  opacity: 1 !important;
  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: -0.01em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: color 180ms ease, background-color 180ms ease;
}

/* Hover / active (matches exthus.cloud .site-nav) */
#header #nav > li > a:hover,
#header #nav > li > a:focus,
#header .navbar-nav > li > a:hover,
#header .navbar-nav > li > a:focus,
#header .navbar-nav > li.open > a,
#header .dropdown.show > a {
  color: #fff !important;
  background: transparent !important;
}

#header .navbar-nav > li.active > a,
#header #nav > li.active > a {
  color: var(--ex-green) !important;
  background: transparent !important;
}

/* Account menu */
#header #Secondary_Navbar-Account > a {
  color: rgba(255, 255, 255, 0.82) !important;
  opacity: 1 !important;
}

#header #Secondary_Navbar-Account > a:hover,
#header #Secondary_Navbar-Account.show > a {
  color: #fff !important;
}

/* Dropdown menus */
#header .dropdown-menu {
  background: #11171c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32) !important;
}

#header .dropdown-menu .dropdown-item,
#header .dropdown-menu .dropdown-item a,
#header .dropdown-menu > li > a {
  color: rgba(255, 255, 255, 0.82) !important;
  background: transparent !important;
  opacity: 1 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 9px 10px !important;
}

#header .dropdown-menu .dropdown-item:hover,
#header .dropdown-menu .dropdown-item:focus,
#header .dropdown-menu .dropdown-item:hover a,
#header .dropdown-menu > li > a:hover {
  color: #8fe000 !important;
  background: rgba(143, 224, 0, 0.08) !important;
}

#header .dropdown-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Search box */
#header .input-group.search .form-control {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--ex-text-dark) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-left: 0 !important;
  border-radius: 0 var(--ex-radius-sm) var(--ex-radius-sm) 0 !important;
}

#header .input-group.search .form-control::placeholder {
  color: rgba(220, 228, 242, 0.45) !important;
}

#header .input-group.search .btn {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--ex-text-dark) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-right: 0 !important;
  border-radius: var(--ex-radius-sm) 0 0 var(--ex-radius-sm) !important;
}

/* Cart button */
#header .cart-btn,
#header .toolbar .btn {
  color: var(--ex-text-light-soft) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
}

#header .cart-btn:hover,
#header .toolbar .btn:hover {
  color: #8fe000 !important;
  border-color: #8fe000 !important;
  background: #141b21 !important;
}

/* Cart badge */
#header #cartItemCount,
#header .badge-info {
  background: #8fe000 !important;
  color: var(--ex-text-dark) !important;
  font-weight: 800 !important;
}

/* Mobile collapsed menu */
@media (max-width: 1199px) {
  #header .navbar-collapse {
    background: #050607 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 16px 0 !important;
  }

  #header #nav > li > a,
  #header .navbar-nav > li > a {
    display: block !important;
    padding: 12px 0 !important;
    color: var(--ex-elevated-solid) !important;
  }

  #header .dropdown-menu {
    box-shadow: none !important;
    margin: 6px 0 12px !important;
  }
}








/* =========================================================
   eXthus Cloud WHMCS Order Summary Fix
   ========================================================= */

.secondary-cart-sidebar #orderSummary {
  margin-top: 0 !important;
}

.secondary-cart-sidebar .order-summary {
  overflow: hidden;
  border-radius: 16px !important;
  background: #151b22 !important;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  ) !important;
  border: 1px solid var(--ex-border-strong) !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

/* Summary header — compact label bar */
.secondary-cart-sidebar .order-summary h2 {
  margin: 0 !important;
  padding: 12px 18px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
  font-family: var(--ex-font) !important;
  font-size: 0.72rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  border-bottom: 1px solid var(--ex-border-light) !important;
}

/* Summary body — lighter than main canvas */
.secondary-cart-sidebar .order-summary .summary-container,
.secondary-cart-sidebar #producttotal {
  padding: 16px 18px 14px !important;
  background: transparent !important;
  color: var(--ex-text-dark) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Product name/group */
.secondary-cart-sidebar .order-summary .product-name {
  display: block !important;
  margin-bottom: 4px !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
}

.secondary-cart-sidebar .order-summary .product-group {
  display: block !important;
  margin-bottom: 14px !important;
  color: var(--ex-text-muted) !important;
  font-family: var(--ex-font) !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 650 !important;
}

/* Line items — flex rows; prices flush right (match total-due-today .amt) */
.secondary-cart-sidebar .order-summary .clearfix,
.secondary-cart-sidebar .order-summary .summary-totals .clearfix,
.secondary-cart-sidebar .order-summary .summary-container .clearfix,
.secondary-cart-sidebar .order-summary #producttotal .clearfix,
.secondary-cart-sidebar .order-summary .subtotal.clearfix,
.secondary-cart-sidebar .order-summary .recurring-totals.clearfix,
.secondary-cart-sidebar .order-summary .bordered-totals .clearfix,
#order-standard_cart .secondary-cart-sidebar .order-summary .clearfix,
#order-standard_cart .secondary-cart-sidebar .order-summary .summary-totals .clearfix {
  clear: none !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: baseline !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 7px 0 !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

/* Bootstrap .clearfix::after becomes a 3rd flex item — suppress it */
.secondary-cart-sidebar .order-summary .clearfix::after,
.secondary-cart-sidebar .order-summary .summary-totals .clearfix::after,
.secondary-cart-sidebar .order-summary .summary-container .clearfix::after,
.secondary-cart-sidebar .order-summary #producttotal .clearfix::after,
.secondary-cart-sidebar .order-summary .subtotal.clearfix::after,
.secondary-cart-sidebar .order-summary .recurring-totals.clearfix::after,
.secondary-cart-sidebar .order-summary .bordered-totals .clearfix::after,
#order-standard_cart .secondary-cart-sidebar .order-summary .clearfix::after,
#order-standard_cart .secondary-cart-sidebar .order-summary .summary-totals .clearfix::after {
  display: none !important;
  content: none !important;
}

.secondary-cart-sidebar .order-summary .pull-left,
.secondary-cart-sidebar .order-summary .float-left,
#order-standard_cart .secondary-cart-sidebar .order-summary .pull-left,
#order-standard_cart .secondary-cart-sidebar .order-summary .float-left {
  float: none !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  color: var(--ex-text-muted) !important;
  text-align: left !important;
}

.secondary-cart-sidebar .order-summary .pull-right,
.secondary-cart-sidebar .order-summary .float-right,
#order-standard_cart .secondary-cart-sidebar .order-summary .pull-right,
#order-standard_cart .secondary-cart-sidebar .order-summary .float-right {
  float: none !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
  color: var(--ex-text-dark) !important;
  text-align: right !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
}

.secondary-cart-sidebar .order-summary .recurring-charges.pull-right,
.secondary-cart-sidebar .order-summary .recurring-charges.float-right {
  white-space: normal !important;
}

/* Totals divider */
.secondary-cart-sidebar .order-summary .summary-totals {
  margin-top: 8px !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--ex-border-light) !important;
}

/* Total due today */
.secondary-cart-sidebar .order-summary .total-due-today {
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--ex-border-light) !important;
  text-align: left !important;
}

.secondary-cart-sidebar .order-summary .total-due-today .amt {
  display: block !important;
  margin-bottom: 2px !important;
  color: var(--ex-green) !important;
  font-family: var(--ex-font) !important;
  font-size: 1.75rem !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  text-align: right !important;
  font-variant-numeric: tabular-nums !important;
}

.secondary-cart-sidebar .order-summary .total-due-today span:not(.amt) {
  display: block !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.72rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

/* Continue button underneath */
.secondary-cart-sidebar #btnCompleteProductConfig {
  width: 100% !important;
  margin-top: 14px !important;
  min-width: 0 !important;
  padding: 13px 20px !important;
  border-radius: 999px !important;
  background: var(--ex-green) !important;
  border-color: var(--ex-green) !important;
  color: var(--ex-on-accent) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 8px 28px var(--ex-lime-glow) !important;
}

.secondary-cart-sidebar #btnCompleteProductConfig:hover {
  background: var(--ex-green-hover) !important;
  border-color: var(--ex-green-hover) !important;
  color: var(--ex-on-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--ex-lime-glow) !important;
}

/* Mobile/tablet: stop sidebar summary getting awkward */
@media (max-width: 991px) {
  .secondary-cart-sidebar {
    margin-top: 32px !important;
  }

  .secondary-cart-sidebar #orderSummary {
    position: static !important;
    margin-top: 0 !important;
  }

  .secondary-cart-sidebar .order-summary h2 {
    font-size: 0.68rem !important;
  }

  .secondary-cart-sidebar .order-summary .total-due-today .amt {
    font-size: 1.6rem !important;
  }
}






/* =========================================================
   eXthus Cloud WHMCS Cart / Checkout Blue Colour Fixes
   ========================================================= */

/* Cart items header */
.view-cart-items-header {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 12px 12px 0 0 !important;
  color: var(--ex-text-muted) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 12px 18px !important;
}

.view-cart-items-header .row,
.view-cart-items-header div {
  color: var(--ex-text-muted) !important;
}

/* Cart item rows */
.view-cart-items {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-top: 0 !important;
  border-radius: 0 0 12px 12px !important;
  overflow: visible !important;
  box-shadow: 0 18px 45px rgba(8, 25, 22, 0.06) !important;
}

.view-cart-items .item {
  background: transparent !important;
  border-bottom: 1px solid var(--ex-border-light) !important;
  padding: 16px 18px !important;
}

.view-cart-items .item:nth-child(even) {
  background: rgba(255, 255, 255, 0.03) !important;
}

.view-cart-items .item:last-child {
  border-bottom: 0 !important;
}

/* Cart item typography */
.view-cart-items .item-title {
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  letter-spacing: -0.035em !important;
}

.view-cart-items .item-group,
.view-cart-items .item-domain,
.view-cart-items .cycle,
.view-cart-items .renewal {
  display: block !important;
  color: var(--ex-text-muted) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 550 !important;
  margin-top: 3px !important;
}

.view-cart-items .item-domain {
  color: var(--ex-green-hover) !important;
  font-weight: 700 !important;
}

/* Price column */
.view-cart-items .item-price {
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 19px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  letter-spacing: -0.035em !important;
}

.view-cart-items .item-price .cycle,
.view-cart-items .item-price .renewal,
.view-cart-items .item-price .renewal-price {
  color: var(--ex-text-muted) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

/* Edit/remove links */
.view-cart-items .btn-link,
.view-cart-items .btn-link i {
  color: var(--ex-green-hover) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.view-cart-items .btn-link:hover,
.view-cart-items .btn-link:hover i {
  color: #8fe000 !important;
}

.view-cart-items .btn-remove-from-cart,
.view-cart-items .btn-remove-from-cart i {
  color: var(--ex-text-dark) !important;
  opacity: 0.7 !important;
}

.view-cart-items .btn-remove-from-cart:hover,
.view-cart-items .btn-remove-from-cart:hover i {
  color: #C0392B !important;
  opacity: 1 !important;
}

/* Empty Cart button - remove blue */
.empty-cart .btn,
#btnEmptyCart {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--ex-border-light) !important;
  color: var(--ex-text-muted) !important;
  border-radius: 10px !important;
  padding: 9px 13px !important;
  font-family: var(--ex-font) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.empty-cart .btn i,
#btnEmptyCart i {
  color: #8fe000 !important;
}

.empty-cart .btn:hover,
#btnEmptyCart:hover {
  background: #141b21 !important;
  border-color: #8fe000 !important;
  color: #8fe000 !important;
}

/* Sidebar active item - replace WHMCS blue */
.sidebar .list-group-item.active,
.panel-sidebar .list-group-item.active,
.card-sidebar .list-group-item.active,
.list-group-item.active {
  background: #11171c !important;
  border-color: #8fe000 !important;
  color: var(--ex-elevated-solid) !important;
  font-weight: 750 !important;
}

.sidebar .list-group-item.active i,
.panel-sidebar .list-group-item.active i,
.card-sidebar .list-group-item.active i,
.list-group-item.active i {
  color: #8fe000 !important;
}

.sidebar .list-group-item:hover,
.panel-sidebar .list-group-item:hover,
.card-sidebar .list-group-item:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--ex-text-dark) !important;
  border-color: rgba(143, 224, 0, 0.35) !important;
}

/* Dropdown button for domain registration term */
.view-cart-items .dropdown-toggle,
.view-cart-items .btn-default.dropdown-toggle {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid #8fe000 !important;
  color: var(--ex-text-dark) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 5px 11px !important;
  box-shadow: none !important;
}

.view-cart-items .dropdown-toggle:hover,
.view-cart-items .btn-default.dropdown-toggle:hover {
  background: #8fe000 !important;
  color: var(--ex-text-dark) !important;
  border-color: #8fe000 !important;
}

/* Dropdown menu */
.view-cart-items .dropdown-menu,
.secondary-cart-body .dropdown-menu {
  background: #11171c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28) !important;
}

.view-cart-items .dropdown-menu .dropdown-item,
.view-cart-items .dropdown-menu .dropdown-item a,
.secondary-cart-body .dropdown-menu .dropdown-item,
.secondary-cart-body .dropdown-menu .dropdown-item a {
  color: rgba(255, 255, 255, 0.82) !important;
  background: transparent !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  padding: 8px 10px !important;
  text-decoration: none !important;
}

.view-cart-items .dropdown-menu .dropdown-item:hover,
.view-cart-items .dropdown-menu .dropdown-item:hover a,
.secondary-cart-body .dropdown-menu .dropdown-item:hover,
.secondary-cart-body .dropdown-menu .dropdown-item:hover a {
  background: rgba(143, 224, 0, 0.08) !important;
  color: #8fe000 !important;
}

/* Promo code tabs */
.view-cart-tabs {
  margin-top: 28px !important;
}

.view-cart-tabs .nav-tabs {
  border-bottom: 1px solid var(--ex-border-light) !important;
}

.view-cart-tabs .nav-tabs .nav-link {
  background: rgba(255, 255, 255, 0.02) !important;
  color: var(--ex-text-muted) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-bottom: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  padding: 13px 18px !important;
}

.view-cart-tabs .nav-tabs .nav-link.active,
.view-cart-tabs .nav-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--ex-text-dark) !important;
  border-color: rgba(143, 224, 0, 0.35) !important;
}

.view-cart-tabs .tab-content {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-top: 0 !important;
  border-radius: 0 0 12px 12px !important;
  padding: 18px !important;
  box-shadow: 0 18px 45px rgba(8, 25, 22, 0.06) !important;
}

/* Promo input */
.view-cart-tabs .form-control,
.view-cart-tabs .field {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  color: var(--ex-text-dark) !important;
  border-radius: 10px !important;
  height: 46px !important;
  font-family: var(--ex-font) !important;
}

.view-cart-tabs .form-control:focus,
.view-cart-tabs .field:focus {
  border-color: #8fe000 !important;
  box-shadow: 0 0 0 3px rgba(143, 224, 0, 0.14) !important;
}

.view-cart-tabs .field-icon {
  color: var(--ex-text-muted) !important;
}

/* Validate promo button */
.view-cart-tabs button[name="validatepromo"],
.view-cart-tabs .btn-default {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid #8fe000 !important;
  color: var(--ex-text-dark) !important;
  border-radius: 10px !important;
  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  padding: 13px 18px !important;
}

.view-cart-tabs button[name="validatepromo"]:hover,
.view-cart-tabs .btn-default:hover {
  background: #8fe000 !important;
  border-color: #8fe000 !important;
  color: var(--ex-text-dark) !important;
}

/* Any remaining WHMCS blue buttons inside cart */
.secondary-cart-body .btn-primary,
.secondary-cart-body .btn-info,
.secondary-cart-body .btn-success {
  background: #8fe000 !important;
  border-color: #8fe000 !important;
  color: var(--ex-text-dark) !important;
}

.secondary-cart-body .btn-primary:hover,
.secondary-cart-body .btn-info:hover,
.secondary-cart-body .btn-success:hover {
  background: #8fe000 !important;
  border-color: var(--ex-green-hover) !important;
  color: var(--ex-text-dark) !important;
}







/* =========================================================
   eXthus Cloud WHMCS Domain Search Section
   ========================================================= */

.home-domain-search {
  background:
    radial-gradient(circle at 72% 0%, rgba(143, 224, 0, 0.1) 0%, rgba(143, 224, 0, 0) 42%),
    linear-gradient(180deg, var(--ex-bg-black) 0%, var(--ex-bg-dark) 100%) !important;
  border-bottom: 1px solid var(--ex-border-light) !important;
  padding: 46px 0 54px !important;
}

.home-domain-search .p-5 {
  padding: 0 !important;
  max-width: 860px !important;
  margin: 0 auto !important;
}

.home-domain-search h2 {
  margin: 0 0 22px !important;
  color: #fff !important;
  font-family: var(--ex-font) !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

.home-domain-search .input-group-wrapper {
  background: var(--ex-elevated) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: var(--ex-radius-lg) !important;
  padding: 6px !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.home-domain-search .input-group {
  border-radius: var(--ex-radius-sm) !important;
  overflow: hidden !important;
  background: transparent !important;
}

.home-domain-search input.form-control {
  height: 52px !important;
  min-height: 52px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: var(--ex-radius-sm) 0 0 var(--ex-radius-sm) !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  padding: 0 18px !important;
  box-shadow: none !important;
}

.home-domain-search input.form-control::placeholder {
  color: rgba(220, 228, 242, 0.45) !important;
}

.home-domain-search input.form-control:focus {
  border: 0 !important;
  box-shadow: none !important;
}

/* Search button */
.home-domain-search #btnDomainSearch,
.home-domain-search #btnDomainSearch2 {
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 24px !important;
  background: var(--ex-green) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #050607 !important;
  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
  box-shadow: none !important;
}

.home-domain-search #btnDomainSearch:hover,
.home-domain-search #btnDomainSearch2:hover {
  background: var(--ex-green-hover) !important;
  color: #050607 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--ex-lime-glow);
}

/* View all pricing link */
.home-domain-search a.btn-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 14px !important;
  padding: 0 !important;
  color: var(--ex-green-hover) !important;
  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  text-decoration: none !important;
}

.home-domain-search a.btn-link:hover {
  color: #8fe000 !important;
  text-decoration: none !important;
}

/* Optional little arrow after View all pricing */
.home-domain-search a.btn-link::after {
  content: "→";
  font-size: 15px;
  line-height: 1;
  transition: transform 180ms ease;
}

.home-domain-search a.btn-link:hover::after {
  transform: translateX(3px);
}

/* Mobile */
@media (max-width: 767px) {
  .home-domain-search {
    padding: 36px 0 42px !important;
  }

  .home-domain-search h2 {
    font-size: 32px !important;
    line-height: 1.08 !important;
    margin-bottom: 18px !important;
  }

  .home-domain-search .input-group-wrapper {
    padding: 6px !important;
  }

  .home-domain-search input.form-control {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
  }

  .home-domain-search #btnDomainSearch2 {
    margin-top: 12px !important;
    width: 100% !important;
  }

  .home-domain-search .row.d-sm-none .col-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .home-domain-search a.btn-link {
    float: none !important;
    margin-top: 16px !important;
    justify-content: center !important;
    width: 100% !important;
  }
}






/* =========================================================
   eXthus Cloud WHMCS Domain Promo / Add Hosting Box
   ========================================================= */

.domain-promo-box {
  position: relative;
  max-width: 560px;
  margin: 34px auto 0 !important;
  padding: 30px 32px !important;

  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 22px !important;

  box-shadow:
    0 18px 45px rgba(8, 25, 22, 0.08),
    0 0 0 1px rgba(143, 224, 0, 0.06) !important;

  overflow: hidden;
}

/* subtle green glow/background accent */
.domain-promo-box::before {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(143, 224, 0, 0.16), rgba(143, 224, 0, 0) 68%);
  pointer-events: none;
}

/* layout fix */
.domain-promo-box .clearfix {
  position: relative;
  z-index: 1;
  padding-right: 92px;
}

/* server icon */
.domain-promo-box .fa-server {
  position: absolute;
  top: 28px;
  right: 30px;

  color: #11171c !important;
  font-size: 54px !important;
  opacity: 1 !important;
}

/* little green server lights */
.domain-promo-box .fa-server::after {
  content: "";
}

/* title */
.domain-promo-box h3 {
  margin: 0 0 4px !important;
  color: var(--ex-text-dark) !important;

  font-family: var(--ex-font) !important;
  font-size: 28px !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
  letter-spacing: -0.045em !important;
}

/* yellow warning text override */
.domain-promo-box .text-warning,
.domain-promo-box .font-bold.text-warning {
  margin: 0 0 16px !important;
  color: var(--ex-green-hover) !important;

  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

/* body copy */
.domain-promo-box p {
  position: relative;
  z-index: 1;

  margin: 0 0 18px !important;
  color: #5f6b76 !important;

  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}

/* button */
.domain-promo-box .btn,
.domain-promo-box .btn-warning {
  position: relative;
  z-index: 1;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 44px !important;
  padding: 0 20px !important;

  background: #8fe000 !important;
  border: 1px solid #8fe000 !important;
  border-radius: 10px !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;
  text-decoration: none !important;

  box-shadow: 0 14px 32px rgba(143, 224, 0, 0.18) !important;
}

.domain-promo-box .btn:hover,
.domain-promo-box .btn-warning:hover {
  background: #8fe000 !important;
  border-color: var(--ex-green-hover) !important;
  color: var(--ex-text-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(143, 224, 0, 0.24) !important;
}

/* Optional arrow on the CTA */
.domain-promo-box .btn::after {
  content: "→";
  margin-left: 8px;
  font-size: 16px;
  line-height: 1;
  transition: transform 180ms ease;
}

.domain-promo-box .btn:hover::after {
  transform: translateX(3px);
}

/* Mobile */
@media (max-width: 767px) {
  .domain-promo-box {
    margin-top: 28px !important;
    padding: 26px 24px !important;
    border-radius: 18px !important;
  }

  .domain-promo-box .clearfix {
    padding-right: 0;
  }

  .domain-promo-box .fa-server {
    position: static;
    display: block;
    margin-bottom: 16px;
    font-size: 44px !important;
  }

  .domain-promo-box h3 {
    font-size: 24px !important;
  }

  .domain-promo-box .btn,
  .domain-promo-box .btn-warning {
    width: 100% !important;
  }
}



/* =========================================================
   WHMCS Cart Dropdown Visibility Fix
   Allows domain year dropdown to open fully
   ========================================================= */

.view-cart-items,
.view-cart-items .item,
.view-cart-items .item .row,
.view-cart-items .item-price,
.secondary-cart-body {
  overflow: visible !important;
}

.view-cart-items {
  position: relative !important;
  z-index: 20 !important;
}

.view-cart-items .item {
  position: relative !important;
  z-index: 21 !important;
}

.view-cart-items .dropdown {
  position: relative !important;
  z-index: 9999 !important;
}

.view-cart-items .dropdown-menu {
  z-index: 99999 !important;
  min-width: 190px !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Keep the dropdown neatly styled */
.view-cart-items .dropdown-menu.show {
  display: block !important;
  background: #11171c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32) !important;
}

/* Make sure options are readable */
.view-cart-items .dropdown-menu .dropdown-item,
.view-cart-items .dropdown-menu .dropdown-item a {
  display: block !important;
  width: 100% !important;
  color: rgba(255, 255, 255, 0.82) !important;
  background: transparent !important;
  font-family: var(--ex-font) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.view-cart-items .dropdown-menu .dropdown-item:hover,
.view-cart-items .dropdown-menu .dropdown-item:hover a {
  background: rgba(143, 224, 0, 0.08) !important;
  color: #8fe000 !important;
}




/* =========================================================
   eXthus Cloud WHMCS Configure Product Page Cleanup
   ========================================================= */

/* Main configure layout */
.cart-body .secondary-cart-body {
  background: transparent !important;
  color: var(--ex-text-dark) !important;
}

.cart-body .secondary-cart-body > p {
  margin: 0 0 16px !important;
  color: var(--ex-text-muted) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}

/* Product info card */
.cart-body .product-info {
  background: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 16px !important;
  padding: 22px 24px !important;
  margin-bottom: 4px !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color: var(--ex-text-muted) !important;
  font-family: var(--ex-font) !important;
}

/* Product title */
.cart-body .product-info .product-title {
  margin: 0 0 8px !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 1.35rem !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

/* Product description text */
.cart-body .product-info p {
  margin: 0 !important;
  color: var(--ex-text-muted) !important;
  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
}

/* Section headings inside description */
.cart-body .product-info strong {
  display: inline-block !important;
  margin-top: 18px !important;
  margin-bottom: 2px !important;
  color: var(--ex-text-dark) !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
}



/* Reduce the damage from excessive <br> tags */
.cart-body .product-info br {
  display: none !important;
}

/* Convert bullet-like lines into tighter spacing */
.cart-body .product-info p {
  white-space: normal !important;
}

/* Better bullet styling where WHMCS has literal bullets */
.cart-body .product-info p {
  word-spacing: normal !important;
}

/* Billing cycle area */
.cart-body .field-container {
  margin-top: 18px !important;
  background: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.cart-body .field-container label {
  display: block !important;
  margin: 0 0 8px !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.cart-body .field-container select,
.cart-body #inputBillingcycle {
  width: 100% !important;
  min-height: 44px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: 10px !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 0 14px !important;
  box-shadow: none !important;
}

.cart-body .field-container select:focus,
.cart-body #inputBillingcycle:focus {
  border-color: #8fe000 !important;
  box-shadow: 0 0 0 3px rgba(143, 224, 0, 0.14) !important;
}

/* Sales assistance alert */
.cart-body .alert.info-text-sm,
.cart-body .alert-warning.info-text-sm {
  margin-top: 18px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: 12px !important;
  color: var(--ex-text-muted) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
}

.cart-body .alert.info-text-sm i,
.cart-body .alert-warning.info-text-sm i {
  color: var(--ex-green-hover) !important;
  margin-right: 6px !important;
}

.cart-body .alert.info-text-sm a,
.cart-body .alert-warning.info-text-sm a {
  color: var(--ex-green) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.cart-body .alert.info-text-sm a:hover,
.cart-body .alert-warning.info-text-sm a:hover {
  color: var(--ex-green-hover) !important;
}

/* Page heading cleanup */
.cart-body .header-lined {
  border-bottom: 1px solid var(--ex-border-light) !important;
  margin-bottom: 18px !important;
  padding-bottom: 10px !important;
}

.cart-body .header-lined p,
#order-standard_cart .header-lined p {
  margin: 10px 0 0 !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

.cart-body .header-lined h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: var(--ex-font) !important;
  font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

/* Make configure page content width feel cleaner */
.cart-body form#frmConfigureProduct > .row {
  align-items: flex-start !important;
}

.cart-body .secondary-cart-body {
  padding-right: 28px !important;
}

#order-standard_cart .secondary-cart-sidebar {
  padding-left: 8px !important;
}

/* Mobile */
@media (max-width: 991px) {
  .cart-body .secondary-cart-body {
    padding-right: 0 !important;
  }

  .cart-body .product-info {
    padding: 28px 24px !important;
    border-radius: 18px !important;
  }

  .cart-body .product-info .product-title {
    font-size: 28px !important;
  }

  .cart-body .header-lined h1 {
    font-size: 34px !important;
  }

  .cart-body .field-container select,
  .cart-body #inputBillingcycle {
    max-width: 100% !important;
  }
}




/* Product description cleanup */
.cart-body .product-info p {
  margin: 0 0 14px !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.cart-body .product-info .cloud-product-intro {
  margin-bottom: 18px !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.cart-body .product-info h4 {
  margin: 18px 0 8px !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

/* Best for / footer copy after feature list */
.cart-body .product-info .cloud-product-list ~ p,
.cart-body .product-info .cloud-product-list ~ h4 + p,
.cart-body .product-info > p:last-child {
  color: var(--ex-text-muted) !important;
}

.cart-body .product-info .cloud-product-list ~ h4,
.cart-body .product-info strong {
  color: var(--ex-text-dark) !important;
}

.cart-body .product-info h4:first-of-type {
  margin-top: 0 !important;
}

.cart-body .product-info .cloud-product-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 18px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  list-style: none !important;
}

.cart-body .product-info .cloud-product-list li {
  position: relative !important;
  margin: 0 !important;
  padding-left: 22px !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}

.cart-body .product-info .cloud-product-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #8fe000;
  font-weight: 900;
}

@media (max-width: 767px) {
  .cart-body .product-info {
    padding: 28px 24px !important;
  }

  .cart-body .product-info .cloud-product-list {
    grid-template-columns: 1fr !important;
  }

  .cart-body .product-info .product-title {
    font-size: 28px !important;
  }
}



/* =========================================================
   eXthus Cloud WHMCS Product Listing Cleanup
   Fixes broken product cards on /store/managed-hosting
   ========================================================= */

/* Product grid spacing */
#order-standard_cart .products .row,
.products .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
}

#order-standard_cart .products .col-md-6,
.products .col-md-6 {
  margin-bottom: 34px !important;
}

/* Product cards — match exthus.cloud .plan-card */
#order-standard_cart .products .product,
.products .product {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100%;
  padding: 28px !important;
  overflow: visible !important;
  background-color: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: var(--ex-radius-lg) !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#order-standard_cart .products .product:hover,
.products .product:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 224, 0, 0.35) !important;
  box-shadow: var(--ex-shadow-card-hover), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

#order-standard_cart .products .product header,
.products .product header {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

#order-standard_cart .products .product header span,
.products .product header span {
  display: block !important;
  margin: 0 !important;
  font-family: var(--ex-font) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  color: var(--ex-text-dark) !important;
}

#order-standard_cart .products .product .product-desc,
.products .product .product-desc {
  flex: 1 1 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--ex-text-muted) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

/* Hide WHMCS-generated empty paragraph wrappers */
#order-standard_cart .products .product .product-desc > p:empty,
.products .product .product-desc > p:empty {
  display: none !important;
}

/* Kill the random BR spacing WHMCS injects into product cards */
#order-standard_cart .products .product .product-desc br,
.products .product .product-desc br {
  display: none !important;
}

/* Plan tagline (intro under title) */
#order-standard_cart .products .product .cloud-product-intro,
.products .product .cloud-product-intro {
  margin: 6px 0 20px !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

/* Feature list — .plan-features */
#order-standard_cart .products .product .cloud-product-list,
.products .product .cloud-product-list {
  flex: 1 1 auto !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  list-style: none !important;
}

#order-standard_cart .products .product .cloud-product-list li,
.products .product .cloud-product-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--ex-border-light) !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

#order-standard_cart .products .product .cloud-product-list li:last-child,
.products .product .cloud-product-list li:last-child {
  border-bottom: 0 !important;
}

#order-standard_cart .products .product .cloud-product-list li::before,
.products .product .cloud-product-list li::before {
  content: "✓";
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ex-green-hover) !important;
  font-weight: 800;
  position: static !important;
  padding: 0 !important;
}

/* Normal paragraphs after the feature list */
#order-standard_cart .products .product .product-desc p,
.products .product .product-desc p {
  margin: 0 0 18px !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

/* WHMCS injects Includes / Best for as h4 or <p><strong> — hide on store listing */
#order-standard_cart .products .product .product-desc h4,
.products .product .product-desc h4,
#order-standard_cart .products .product .product-desc p:has(> strong),
.products .product .product-desc p:has(> strong) {
  display: none !important;
}

/* Hide duplicate WHMCS feature ul when custom cloud-product-list exists */
#order-standard_cart .products .product .product-desc:has(.cloud-product-list) > ul:not(.cloud-product-list),
.products .product .product-desc:has(.cloud-product-list) > ul:not(.cloud-product-list) {
  display: none !important;
}

/* WHMCS default feature ul — plan-features styling when no custom HTML */
#order-standard_cart .products .product .product-desc > ul:not(.cloud-product-list),
.products .product .product-desc > ul:not(.cloud-product-list) {
  flex: 1 1 auto !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  list-style: none !important;
}

#order-standard_cart .products .product .product-desc > ul:not(.cloud-product-list) li,
.products .product .product-desc > ul:not(.cloud-product-list) li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--ex-border-light) !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
}

#order-standard_cart .products .product .product-desc > ul:not(.cloud-product-list) li::before,
.products .product .product-desc > ul:not(.cloud-product-list) li::before {
  content: "✓" !important;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ex-green-hover) !important;
  font-weight: 800;
  position: static !important;
}

/* Meta rows (Best for) — value in span, label as trailing text node */
#order-standard_cart .products .product .product-desc > ul:not(.cloud-product-list) li:has(.feature-value:not(:empty)),
.products .product .product-desc > ul:not(.cloud-product-list) li:has(.feature-value:not(:empty)) {
  display: block !important;
  margin-top: 10px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--ex-border-light) !important;
  border-bottom: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

#order-standard_cart .products .product .product-desc > ul:not(.cloud-product-list) li:has(.feature-value:not(:empty))::before,
.products .product .product-desc > ul:not(.cloud-product-list) li:has(.feature-value:not(:empty))::before {
  content: "Best for" !important;
  display: block !important;
  margin-bottom: 6px !important;
  color: var(--ex-text-dark) !important;
  font-size: 0.72rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

#order-standard_cart .products .product .product-desc > ul:not(.cloud-product-list) li:has(.feature-value:not(:empty)) .feature-value,
.products .product .product-desc > ul:not(.cloud-product-list) li:has(.feature-value:not(:empty)) .feature-value {
  display: block !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

/* Hide empty WHMCS feature rows (Includes) */
#order-standard_cart .products .product .product-desc > ul:not(.cloud-product-list) li:has(.feature-value:empty),
.products .product .product-desc > ul:not(.cloud-product-list) li:has(.feature-value:empty) {
  display: none !important;
}

/* Price block — .plan-price */
#order-standard_cart .products .product footer,
.products .product footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 16px !important;
  margin-top: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  width: 100% !important;
}

#order-standard_cart .products .product .product-pricing,
.products .product .product-pricing {
  margin: 0 0 4px !important;
  padding: 0 !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-align: left !important;
}

#order-standard_cart .products .product .product-pricing .price,
.products .product .product-pricing .price {
  display: block !important;
  margin: 4px 0 0 !important;
  color: var(--ex-text-dark) !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.1 !important;
}

#order-standard_cart .products .product .product-pricing .price small,
.products .product .product-pricing .price small,
#order-standard_cart .products .product .product-pricing .cycle,
.products .product .product-pricing .cycle {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--ex-text-muted) !important;
}

/* CTA — alt plan on Start/Pro, primary on featured Plus */
#order-standard_cart .products .product .btn-order-now,
.products .product .btn-order-now {
  width: 100% !important;
  margin-top: 0 !important;
  padding: 14px 22px !important;
  border-radius: 999px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--ex-text-dark) !important;
  border: 1px solid var(--ex-border-strong) !important;
  box-shadow: none !important;
}

#order-standard_cart .products .product .btn-order-now:hover,
.products .product .btn-order-now:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #fff !important;
  border-color: rgba(143, 224, 0, 0.35) !important;
  box-shadow: none !important;
}

/* Featured Cloud Plus — .plan-card.is-featured */
#order-standard_cart .products #product2,
.products #product2 {
  border-color: var(--ex-green-hover) !important;
  box-shadow: 0 28px 64px rgba(162, 255, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  transform: scale(1.02);
}

#order-standard_cart .products #product2::before,
.products #product2::before {
  content: "Most popular";
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto;
  transform: none;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ex-green);
  color: var(--ex-on-accent);
  font-family: var(--ex-font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: none;
  white-space: nowrap;
}

#order-standard_cart .products #product2 .btn-order-now,
.products #product2 .btn-order-now {
  background: var(--ex-green) !important;
  color: var(--ex-on-accent) !important;
  border-color: var(--ex-green-hover) !important;
  box-shadow: 0 8px 28px var(--ex-lime-glow) !important;
}

#order-standard_cart .products #product2 .btn-order-now:hover,
.products #product2 .btn-order-now:hover {
  background: var(--ex-green-hover) !important;
  color: var(--ex-on-accent) !important;
  box-shadow: 0 12px 36px var(--ex-lime-glow) !important;
}

/* Allow the badge to show */
#order-standard_cart .products .col-md-6,
.products .col-md-6 {
  overflow: visible !important;
}

/* Mobile */
@media (max-width: 991px) {
  #order-standard_cart .products .product,
  .products .product {
    border-radius: var(--ex-radius-md) !important;
    padding: 24px !important;
  }

  #order-standard_cart .products #product2,
  .products #product2 {
    transform: none;
  }
}




#order-standard_cart .products .product div.product-desc,
#order-standard_cart .products .product footer {
  width: 100% !important;
}

/* Badge + column overflow */
#order-standard_cart .products #product2,
.products #product2 {
  overflow: visible !important;
}

#order-standard_cart .products,
#order-standard_cart .products .row,
#order-standard_cart .products .col-md-6,
.products,
.products .row,
.products .col-md-6 {
  overflow: visible !important;
}




/* eXthus Cloud WHMCS breadcrumb bar (portal sub-nav) */
nav.master-breadcrumb {
  background: var(--ex-bg-dark) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
}

nav.master-breadcrumb .breadcrumb-trail {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 0 10px !important;
  padding: 14px 0 !important;
  font-family: var(--ex-font) !important;
}

nav.master-breadcrumb .breadcrumb-you-are-here {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.72rem !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
}

nav.master-breadcrumb .breadcrumb {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-family: inherit !important;
  font-size: 0.92rem !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
}

nav.master-breadcrumb .breadcrumb-item {
  display: inline-block !important;
  line-height: 1.25 !important;
}

nav.master-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.65) !important;
  opacity: 1 !important;
  text-decoration: none !important;
  transition: color 160ms ease;
}

nav.master-breadcrumb .breadcrumb-item a:hover {
  color: #fff !important;
}

nav.master-breadcrumb .breadcrumb-item.active {
  color: var(--ex-green) !important;
  font-weight: 600 !important;
}

nav.master-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 500 !important;
  padding-right: 9px !important;
}

nav.master-breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 9px !important;
}

/* Optional: slightly softer on mobile */
@media (max-width: 767px) {
  nav.master-breadcrumb .breadcrumb-trail {
    padding: 12px 0 !important;
  }

  nav.master-breadcrumb .breadcrumb {
    font-size: 13px !important;
  }
}




header.header .main-navbar-wrapper .navbar-collapse {
    padding: .5rem 0!important;
}






/* =========================================================
   eXthus Cloud - Domain Selection Page Polish
   ========================================================= */

/* Sticky footer layout for short WHMCS pages */
html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main-body {
  flex: 1 0 auto;
}

#footer.footer {
  margin-top: auto !important;
}

/* Domain selection wrapper */
#order-standard_cart .domain-selection-options {
  display: flex;
  flex-direction: column;
  gap: 14px !important;
}

/* Each domain option box */
#order-standard_cart .domain-selection-options .option {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 22px !important;
  padding: 18px 24px !important;
  margin: 0 !important;

  box-shadow:
    0 18px 45px rgba(8, 25, 22, 0.06),
    0 3px 12px rgba(8, 25, 22, 0.035) !important;

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease !important;
}

/* Slight highlight on selected option */
#order-standard_cart .domain-selection-options .option:has(input[type="radio"]:checked) {
  border-color: #bdeb66 !important;
  background: var(--ex-elevated-solid) !important;
  box-shadow:
    0 22px 55px rgba(8, 25, 22, 0.08),
    0 0 0 1px rgba(143, 224, 0, 0.16) !important;
}

/* Label text */
#order-standard_cart .domain-selection-options .option label {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;

  margin: 0 0 16px !important;
  color: #4f5c56 !important;
  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

/* Make unselected option text easier to read */
#order-standard_cart .domain-selection-options .option:not(:has(input[type="radio"]:checked)) label,
#order-standard_cart .domain-selection-options .option:not(.option-active) label {
  color: #66736d !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

/* Selected option label */
#order-standard_cart .domain-selection-options .option:has(input[type="radio"]:checked) label {
  color: var(--ex-text-dark) !important;
  font-weight: 750 !important;
}

/* Radio buttons - remove blue and use eXthus green */
#order-standard_cart .domain-selection-options input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;

  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;

  margin: 0 !important;
  border-radius: 50% !important;
  border: 2px solid #cbd6cf !important;
  background: var(--ex-elevated-solid) !important;

  display: inline-grid !important;
  place-content: center !important;
  cursor: pointer !important;

  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease !important;
}

#order-standard_cart .domain-selection-options input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0f1418;
  transform: scale(0);
  transition: transform 160ms ease;
}

#order-standard_cart .domain-selection-options input[type="radio"]:checked {
  border-color: #8fe000 !important;
  background: #8fe000 !important;
  box-shadow: 0 0 0 4px rgba(143, 224, 0, 0.16) !important;
}

#order-standard_cart .domain-selection-options input[type="radio"]:checked::before {
  transform: scale(1);
}

/* Domain input area */
#order-standard_cart .domain-selection-options .domain-input-group {
  margin-top: 6px !important;
}

/* Inputs/selects inside the domain boxes */
#order-standard_cart .domain-selection-options .form-control,
#order-standard_cart .domain-selection-options .input-group-text {
  min-height: 48px !important;
  height: 48px !important;

  background: var(--ex-elevated-solid) !important;
  border-color: #dfe8df !important;
  color: var(--ex-text-dark) !important;

  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;

  box-shadow: none !important;
}

#order-standard_cart .domain-selection-options .input-group-text {
  color: var(--ex-text-dark) !important;
  background: var(--ex-bg-dark) !important;
  font-weight: 750 !important;
}

/* Input focus */
#order-standard_cart .domain-selection-options .form-control:focus {
  border-color: #8fe000 !important;
  box-shadow: 0 0 0 3px rgba(143, 224, 0, 0.14) !important;
}

/* Button */
#order-standard_cart .domain-selection-options .btn.btn-primary {
  height: 48px !important;
  border-radius: 10px !important;
  background: #8fe000 !important;
  border-color: #8fe000 !important;
  color: var(--ex-text-dark) !important;

  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;

  box-shadow: 0 14px 30px rgba(143, 224, 0, 0.18) !important;
}

#order-standard_cart .domain-selection-options .btn.btn-primary:hover {
  background: #7ed600 !important;
  border-color: #7ed600 !important;
  color: var(--ex-text-dark) !important;
  transform: translateY(-1px);
}

/* Existing domain option should still have breathing room even when collapsed */
#order-standard_cart .domain-selection-options .option + .option {
  margin-top: 0 !important;
}

/* Placeholder text */
#order-standard_cart .domain-selection-options input::placeholder {
  color: #8a958f !important;
  opacity: 1 !important;
}

/* Mobile layout */
@media (max-width: 767px) {
  #order-standard_cart .domain-selection-options .option {
    padding: 18px 18px !important;
    border-radius: 18px !important;
  }

  #order-standard_cart .domain-selection-options .option label {
    font-size: 14px !important;
    align-items: flex-start !important;
  }

  #order-standard_cart .domain-selection-options .col-sm-2 {
    margin-top: 12px !important;
  }
}




#order-standard_cart .domain-selection-options .input-group-text {
    background: var(--ex-elevated-solid) !important; 
    border: none!important;
}

header.header .search {
    border: none;
}





/* Force eXthus green radio/check colour on WHMCS domain selector */
#order-standard_cart #frmProductDomain input[type="radio"],
#order-standard_cart .domain-selection-options input[type="radio"],
#frmProductDomain input[type="radio"][name="domainoption"] {
  accent-color: #8fe000 !important;
}

/* Full custom radio override */
#order-standard_cart #frmProductDomain input[type="radio"][name="domainoption"] {
  -webkit-appearance: none !important;
  appearance: none !important;

  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;

  margin: 0 12px 0 0 !important;
  padding: 0 !important;

  border: 2px solid #cbd6cf !important;
  border-radius: 50% !important;
  background: var(--ex-elevated-solid) !important;

  display: inline-block !important;
  vertical-align: middle !important;
  position: relative !important;

  box-shadow: none !important;
  cursor: pointer !important;
}

/* Selected outer circle */
#order-standard_cart #frmProductDomain input[type="radio"][name="domainoption"]:checked {
  border-color: #8fe000 !important;
  background: #8fe000 !important;
  box-shadow: 0 0 0 4px rgba(143, 224, 0, 0.18) !important;
}

/* Selected inner dot */
#order-standard_cart #frmProductDomain input[type="radio"][name="domainoption"]:checked::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 10px !important;
  height: 10px !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 50% !important;
  background: #0f1418 !important;
}

/* Focus state */
#order-standard_cart #frmProductDomain input[type="radio"][name="domainoption"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(143, 224, 0, 0.22) !important;
}



/* =========================================================
   WHMCS iCheck radio buttons - eXthus green
   Replaces iradio_square-blue default blue styling
========================================================= */

#order-standard_cart .domain-selection-options .iradio_square-blue {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;

  margin: 0 12px 0 0 !important;

  background: var(--ex-elevated-solid) !important;
  border: 2px solid #cbd6cf !important;
  border-radius: 50% !important;

  box-shadow: none !important;
  cursor: pointer !important;
  display: inline-block !important;
  vertical-align: middle !important;

  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease !important;
}

/* Checked state */
#order-standard_cart .domain-selection-options .iradio_square-blue.checked {
  background: #8fe000 !important;
  border-color: #8fe000 !important;
  box-shadow: 0 0 0 4px rgba(143, 224, 0, 0.18) !important;
}

/* Inner dot */
#order-standard_cart .domain-selection-options .iradio_square-blue.checked::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;

  width: 10px !important;
  height: 10px !important;

  transform: translate(-50%, -50%) !important;
  border-radius: 50% !important;
  background: #0f1418 !important;
}

/* Hover */
#order-standard_cart .domain-selection-options .iradio_square-blue:hover {
  border-color: #8fe000 !important;
}

/* Remove/override any iCheck background sprite */
#order-standard_cart .domain-selection-options .iradio_square-blue,
#order-standard_cart .domain-selection-options .iradio_square-blue.checked,
#order-standard_cart .domain-selection-options .iradio_square-blue.hover,
#order-standard_cart .domain-selection-options .iradio_square-blue.checked.hover {
  background-image: none !important;
  background-position: unset !important;
}





/* =========================================================
   eXthus Cloud - Register Domain Page Polish
   ========================================================= */

/* Intro paragraph under Register Domain */
#order-standard_cart .cart-body > p {
  color: #66736d !important;
  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  margin: 0 0 18px !important;
}

/* Domain search hero box */
#order-standard_cart .domain-checker-container {
  margin: 20px 0 24px !important;
}

#order-standard_cart .domain-checker-bg {
  background:
    radial-gradient(circle at 88% 50%, rgba(143, 224, 0, 0.16), transparent 34%),
    var(--ex-elevated) !important;

  border: 1px solid var(--ex-border-light) !important;
  border-radius: var(--ex-radius-lg) !important;
  padding: 54px 34px !important;

  box-shadow:
    0 22px 60px rgba(8, 25, 22, 0.08),
    0 4px 14px rgba(8, 25, 22, 0.04) !important;

  overflow: hidden !important;
  position: relative !important;
}

/* Subtle green cloud/glow shape instead of the heavy yellow globe feel */
#order-standard_cart .domain-checker-bg::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(143, 224, 0, 0.22), transparent 68%);
  pointer-events: none;
}

#order-standard_cart .domain-checker-bg::after {
  content: "";
  position: absolute;
  right: 50px;
  bottom: -45px;
  width: 210px;
  height: 110px;
  border: 10px solid rgba(143, 224, 0, 0.22);
  border-radius: 100px 100px 30px 30px;
  pointer-events: none;
}

/* Keep search form above decorative elements */
#order-standard_cart .domain-checker-bg form,
#order-standard_cart .domain-checker-bg .row,
#order-standard_cart .domain-checker-bg .input-group {
  position: relative !important;
  z-index: 2 !important;
}

/* Search input group */
#order-standard_cart .domain-checker-bg .input-group-box {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid #dfe8df !important;
  border-radius: 16px !important;
  padding: 7px !important;

  box-shadow:
    0 16px 40px rgba(8, 25, 22, 0.10),
    0 2px 8px rgba(8, 25, 22, 0.04) !important;
}

/* Search input */
#order-standard_cart .domain-checker-bg #inputDomain {
  height: 54px !important;
  min-height: 54px !important;
  background: var(--ex-elevated-solid) !important;
  border: 0 !important;
  box-shadow: none !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  padding: 0 18px !important;
}

#order-standard_cart .domain-checker-bg #inputDomain::placeholder {
  color: #8a958f !important;
  opacity: 1 !important;
}

/* Search button */
#order-standard_cart .domain-checker-bg #btnCheckAvailability {
  height: 54px !important;
  min-height: 54px !important;
  border-radius: 12px !important;
  padding: 0 26px !important;

  background: #8fe000 !important;
  border-color: #8fe000 !important;
  color: var(--ex-text-dark) !important;

  font-family: var(--ex-font) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  letter-spacing: -0.01em !important;

  box-shadow: 0 14px 30px rgba(143, 224, 0, 0.20) !important;
}

#order-standard_cart .domain-checker-bg #btnCheckAvailability:hover {
  background: #7ed600 !important;
  border-color: #7ed600 !important;
  transform: translateY(-1px);
}

/* =========================================================
   Domain pricing/extensions box
========================================================= */

#order-standard_cart .domain-pricing {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 24px !important;

  padding: 30px 34px 34px !important;
  margin: 24px 0 34px !important;

  box-shadow:
    0 22px 60px rgba(8, 25, 22, 0.08),
    0 4px 14px rgba(8, 25, 22, 0.04) !important;

  overflow: hidden !important;
}

/* Pricing title */
#order-standard_cart .domain-pricing h4.font-size-18 {
  margin: 0 0 14px !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  letter-spacing: -0.035em !important;
}

/* Category badges wrapper */
#order-standard_cart .domain-pricing .tld-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 22px !important;
}

/* Category badges — dark pill tabs */
#order-standard_cart .domain-pricing .tld-filters .badge {
  border-radius: 999px !important;
  padding: 8px 14px !important;

  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--ex-text-muted) !important;
  border: 1px solid var(--ex-border-light) !important;

  font-family: var(--ex-font) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  text-decoration: none !important;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease !important;
}

#order-standard_cart .domain-pricing .tld-filters .badge-success,
#order-standard_cart .domain-pricing .tld-filters .badge.badge-success {
  background: var(--ex-green) !important;
  color: var(--ex-on-accent) !important;
  border-color: var(--ex-green) !important;
}

#order-standard_cart .domain-pricing .tld-filters .badge:not(.badge-success):hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--ex-text-dark) !important;
  border-color: var(--ex-border-strong) !important;
}

/* Inner table container */
#order-standard_cart .domain-pricing > .bg-white {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

/* Table header */
#order-standard_cart .domain-pricing .tld-pricing-header {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--ex-text-muted) !important;

  font-family: var(--ex-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid var(--ex-border-light) !important;
}

#order-standard_cart .domain-pricing .tld-pricing-header .col-md-4,
#order-standard_cart .domain-pricing .tld-pricing-header .col-4,
#order-standard_cart .domain-pricing .tld-pricing-header .tld-column,
#order-standard_cart .domain-pricing .tld-pricing-header .row,
#order-standard_cart .domain-pricing .tld-pricing-header .no-gutters,
#order-standard_cart .domain-pricing .tld-pricing-header div {
  background: transparent !important;
  color: var(--ex-text-muted) !important;
  border-color: transparent !important;
  border-bottom: none !important;
  border-radius: 0 !important;
}

#order-standard_cart .domain-pricing .tld-pricing-header .col-md-4,
#order-standard_cart .domain-pricing .tld-pricing-header .col-4 {
  padding-top: 13px !important;
  padding-bottom: 13px !important;
}

/* TLD rows */
#order-standard_cart .domain-pricing .tld-row {
  min-height: 58px !important;
  align-items: center !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums !important;

  border-top: none !important;
  border-bottom: 1px solid var(--ex-border-light) !important;
  transition: background-color 160ms ease !important;
}

#order-standard_cart .domain-pricing .tld-row:hover:not(.no-tlds) {
  background: rgba(255, 255, 255, 0.04) !important;
}

#order-standard_cart .domain-pricing .tld-row.highlighted {
  background: var(--ex-green-soft) !important;
}

#order-standard_cart .domain-pricing .tld-row.highlighted strong {
  color: var(--ex-green) !important;
}

#order-standard_cart .domain-pricing .tld-row strong {
  color: var(--ex-text-dark) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

#order-standard_cart .domain-pricing .tld-row .col-xs-4,
#order-standard_cart .domain-pricing .tld-row .col-4 {
  color: var(--ex-text-dark) !important;
}

#order-standard_cart .domain-pricing .tld-row small {
  color: var(--ex-text-muted) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

#order-standard_cart .domain-pricing .tld-row .two-row-center {
  border-right: 1px solid var(--ex-border-light) !important;
}

#order-standard_cart .domain-pricing .tld-row.no-tlds {
  color: var(--ex-text-muted) !important;
}

/* Add a little breathing room in row columns */
#order-standard_cart .domain-pricing .tld-row .col-md-4,
#order-standard_cart .domain-pricing .tld-row .col-4 {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Remove old blue accents/borders if WHMCS adds them */
#order-standard_cart .domain-pricing .tld-pricing-header .col-xs-4,
#order-standard_cart .domain-pricing .tld-pricing-header .col-4,
#order-standard_cart .domain-pricing .tld-row .col-xs-4,
#order-standard_cart .domain-pricing .tld-row .col-4 {
  border-color: var(--ex-border-light) !important;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 767px) {
  #order-standard_cart .domain-checker-bg {
    padding: 34px 18px !important;
    border-radius: 20px !important;
  }

  #order-standard_cart .domain-checker-bg::after {
    opacity: 0.35;
  }

  #order-standard_cart .domain-checker-bg .input-group-box {
    display: block !important;
    padding: 8px !important;
  }

  #order-standard_cart .domain-checker-bg #inputDomain {
    width: 100% !important;
    margin-bottom: 10px !important;
  }

  #order-standard_cart .domain-checker-bg #btnCheckAvailability {
    width: 100% !important;
  }

  #order-standard_cart .domain-pricing {
    padding: 24px 18px 26px !important;
    border-radius: 20px !important;
  }

  #order-standard_cart .domain-pricing h4.font-size-18 {
    font-size: 18px !important;
  }
}





/* Kill WHMCS order-form blue header accents */
#order-standard_cart .domain-pricing .tld-pricing-header .col-xs-2,
#order-standard_cart .domain-pricing .tld-pricing-header .col-sm-2,
#order-standard_cart .domain-pricing .tld-pricing-header .col-xs-4,
#order-standard_cart .domain-pricing .tld-pricing-header .col-sm-4,
#order-standard_cart .domain-pricing .tld-pricing-header div:nth-child(odd) {
  background: transparent !important;
  border-bottom: none !important;
}



#order-standard_cart .domain-selection-options .option label {
    margin: 0 !important;
}



/* =========================================
   eXthus brand logo (matches exthus.cloud .brand)
========================================= */

.exthus-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: #fff;
  text-decoration: none !important;
  font-family: var(--ex-font);
  font-weight: 800;
  font-size: 1.38rem;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: opacity 180ms ease, transform 180ms ease;
}

.exthus-logo:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.exthus-logo-main {
  display: inline-block;
  font-size: 1.12em;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: #fff;
  font-weight: 800;
}

.exthus-logo-x {
  color: var(--ex-green);
  font-weight: 800;
}

.exthus-logo-end {
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  padding-left: 0.34em;
  margin-left: 0.02em;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.56em;
  line-height: 1;
}

.exthus-logo-cloud {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  background: var(--ex-green);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.5 19H9a7 7 0 1 1 .1-14 5.5 5.5 0 0 1 10.9 1.1A4.5 4.5 0 0 1 17.5 19z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.5 19H9a7 7 0 1 1 .1-14 5.5 5.5 0 0 1 10.9 1.1A4.5 4.5 0 0 1 17.5 19z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.exthus-logo-sub {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.94);
  text-transform: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.exthus-logo-portal-badge {
  margin-left: 0.35em;
  padding: 4px 8px;
  font-size: 0.52em;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ex-bg-black);
  background: var(--ex-green);
  border-radius: 999px;
  line-height: 1;
}

.exthus-logo:hover .exthus-logo-cloud {
  filter: drop-shadow(0 0 10px var(--ex-lime-glow));
}

.exthus-logo:hover .exthus-logo-sub {
  color: #fff;
}



/* Prevent logo text selection */
.exthus-logo,
.exthus-logo * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Optional: prevent text cursor feel */
.exthus-logo {
  cursor: pointer;
}




#header .navbar, #header .navbar-light{
    padding-top: 15px;
    padding-bottom: 15px;
}



/* =========================================================
   Domain Pricing Page - Main Box Padding Fix
   /index.php?rp=/domain/pricing
========================================================= */

/* Main domain pricing content card */
.domain-pricing {
  padding: 34px 36px 32px !important;
}

/* Make sure the top row has breathing room */
.domain-pricing > h4 {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

/* Currency selector spacing */
.domain-pricing > form.float-right {
  margin: 0 0 18px 24px !important;
}

/* Category badges spacing */
.domain-pricing .tld-filters {
  margin: 0 0 28px !important;
  padding: 0 !important;
}

/* Give the DataTables controls space */
.domain-pricing .table-container {
  margin-top: 22px !important;
}

/* Top controls inside the DataTable wrapper */
.domain-pricing .dataTables_wrapper .listtable {
  padding-top: 8px !important;
}

/* Search box / info spacing before table */
.domain-pricing .dataTables_filter {
  margin: 0 0 14px !important;
}

.domain-pricing .dataTables_info {
  margin: 0 0 14px !important;
  padding-top: 0 !important;
}

/* Stop the table sticking to surrounding controls */
.domain-pricing table#tableDomainPricing {
  margin-top: 12px !important;
  margin-bottom: 16px !important;
}

/* Bottom controls spacing */
.domain-pricing .dataTables_length,
.domain-pricing .dataTables_paginate {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
  .domain-pricing {
    padding: 26px 18px 28px !important;
  }

  .domain-pricing > form.float-right {
    float: none !important;
    margin: 0 0 18px !important;
    width: 100% !important;
  }

  .domain-pricing > form.float-right .currency-selector {
    width: 100% !important;
  }

  .domain-pricing .table-container {
    margin-top: 18px !important;
  }
}





/* =========================================================
   Product Configure Page - Configurable Options Card
========================================================= */

/* Hide/clean the default WHMCS separator heading */
#order-standard_cart .sub-heading {
  margin: 26px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
}

#order-standard_cart .sub-heading span {
  display: none !important;
}

/* Style configurable options as a proper eXthus card */
#order-standard_cart #productConfigurableOptions.product-configurable-options {
  background: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 14px !important;

  padding: 18px 20px !important;
  margin: 18px 0 20px !important;

  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

/* Add a proper heading inside the card */
#order-standard_cart #productConfigurableOptions::before {
  content: "Optional Extras";
  display: block;

  margin: 0 0 6px !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* Add a short helper line under heading */
#order-standard_cart #productConfigurableOptions::after {
  content: "Add extra storage if your website, files or email usage needs more space.";
  display: block;

  margin: -2px 0 20px !important;
  margin-top:6px!important;

  color: var(--ex-text-muted) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}

/* Fix inner row spacing */
#order-standard_cart #productConfigurableOptions .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Make the configurable option full-width instead of half-width */
#order-standard_cart #productConfigurableOptions .col-sm-6 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Label */
#order-standard_cart #productConfigurableOptions label {
  display: block !important;

  margin: 0 0 8px !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

/* Select field */
#order-standard_cart #productConfigurableOptions select.form-control {
  width: 100% !important;
  max-width: 100% !important;

  height: 44px !important;
  min-height: 44px !important;

  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: 10px !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 650 !important;
  letter-spacing: -0.01em !important;

  padding: 0 16px !important;
  box-shadow: none !important;

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease !important;
}

/* Select focus */
#order-standard_cart #productConfigurableOptions select.form-control:focus {
  border-color: #8fe000 !important;
  box-shadow: 0 0 0 3px rgba(143, 224, 0, 0.14) !important;
  outline: none !important;
}

/* Form group spacing */
#order-standard_cart #productConfigurableOptions .form-group {
  margin-bottom: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
  #order-standard_cart #productConfigurableOptions.product-configurable-options {
    padding: 24px 20px !important;
    border-radius: 18px !important;
  }

  #order-standard_cart #productConfigurableOptions::before {
    font-size: 17px !important;
  }

  #order-standard_cart #productConfigurableOptions select.form-control {
    height: 50px !important;
    min-height: 50px !important;
  }
}




#order-standard_cart #productConfigurableOptions label {
    margin-top:10px!important;
}



/* =========================================================
   Fix select dropdown arrows on configure page
========================================================= */

/* Billing cycle select + configurable option select */
#order-standard_cart .secondary-cart-body #inputBillingcycle,
#order-standard_cart .secondary-cart-body #productConfigurableOptions select.form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  background-color: rgba(255, 255, 255, 0.04) !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(220, 228, 242, 0.75) 50%),
    linear-gradient(135deg, rgba(220, 228, 242, 0.75) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 15px) 50% !important;
  background-size:
    7px 7px,
    7px 7px !important;
  background-repeat: no-repeat !important;

  padding-right: 46px !important;
}

/* Make sure WHMCS/Bootstrap custom-select doesn't override it */
#order-standard_cart .secondary-cart-body select.custom-select,
#order-standard_cart .secondary-cart-body select.form-control {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(220, 228, 242, 0.75) 50%),
    linear-gradient(135deg, rgba(220, 228, 242, 0.75) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 15px) 50% !important;
  background-size:
    7px 7px,
    7px 7px !important;
  background-repeat: no-repeat !important;
  padding-right: 46px !important;
}

/* Optional hover/focus arrow colour feel */
#order-standard_cart .secondary-cart-body #inputBillingcycle:focus,
#order-standard_cart .secondary-cart-body #productConfigurableOptions select.form-control:focus {
  border-color: #8fe000 !important;
  box-shadow: 0 0 0 3px rgba(143, 224, 0, 0.14) !important;
}





/* =========================================================
   Checkout Page Fixes
========================================================= */

/* Checkout — Already Registered / Create account (ghost secondary CTA) */
#order-standard_cart .already-registered #btnAlreadyRegistered,
#order-standard_cart .already-registered #btnNewUserSignup,
#order-standard_cart .already-registered .ex-checkout-ghost {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  box-shadow: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

#order-standard_cart .already-registered #btnAlreadyRegistered:hover,
#order-standard_cart .already-registered #btnAlreadyRegistered:focus,
#order-standard_cart .already-registered #btnNewUserSignup:hover,
#order-standard_cart .already-registered #btnNewUserSignup:focus {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: var(--ex-green-border) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}


/* =========================================================
   Payment Method Radio Dots - replace blue with eXthus green
========================================================= */

/* Base radio circle */
#order-standard_cart .iradio_square-blue {
  width: 18px !important;
  height: 18px !important;

  background: var(--ex-elevated-solid) !important;
  border: 1px solid #dfe8df !important;
  border-radius: 50% !important;

  display: inline-block !important;
  vertical-align: -4px !important;
  margin-right: 7px !important;

  box-shadow: inset 0 0 0 4px var(--ex-elevated-solid) !important;
}

/* Checked radio */
#order-standard_cart .iradio_square-blue.checked {
  background: #8fe000 !important;
  border-color: #8fe000 !important;
  box-shadow:
    inset 0 0 0 4px #ffffff,
    0 0 0 3px rgba(143, 224, 0, 0.16) !important;
}

/* Remove old blue sprite/background if WHMCS/iCheck adds one */
#order-standard_cart .iradio_square-blue,
#order-standard_cart .iradio_square-blue.checked,
#order-standard_cart .iradio_square-blue.hover,
#order-standard_cart .iradio_square-blue.focus {
  background-image: none !important;
  background-position: unset !important;
}


/* =========================================================
   Payment Gateway Box / PayPal Container
========================================================= */

/* Main PayPal / card details container */
#order-standard_cart .cc-input-container {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 18px !important;

  padding: 28px 30px !important;
  margin: 22px 0 22px !important;

  box-shadow:
    0 18px 45px rgba(8, 25, 22, 0.06),
    0 3px 12px rgba(8, 25, 22, 0.035) !important;

  overflow: hidden !important;
}

/* Payment instruction text */
#order-standard_cart .cc-input-container .payment-instructions,
#order-standard_cart .cc-input-container .approval-instructions {
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  text-align: center !important;

  margin: 0 0 18px !important;
}

/* Saved/new payment option row */
#order-standard_cart .cc-input-container ul.selected,
#order-standard_cart .cc-input-container ul {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: 12px !important;

  padding: 13px 16px !important;
  margin: 0 auto 14px !important;

  max-width: 520px !important;
  list-style: none !important;
}

/* PayPal button wrapper */
#order-standard_cart #paypal_ppcpv_input_container_button {
  max-width: 520px !important;
  margin: 0 auto !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}


/* =========================================================
   Payment method labels
========================================================= */

#order-standard_cart #paymentGatewaysContainer .radio-inline {
  color: #66736d !important;
  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;

  margin: 0 10px 8px !important;
}

#order-standard_cart #paymentGatewaysContainer .radio-inline .iradio_square-blue.checked + * {
  color: var(--ex-text-dark) !important;
}


/* =========================================================
   Join Mailing List Box
========================================================= */

#order-standard_cart .marketing-email-optin {
  background: var(--ex-elevated-solid) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 18px !important;

  padding: 24px 28px !important;
  margin: 22px 0 24px !important;

  box-shadow:
    0 14px 35px rgba(8, 25, 22, 0.045),
    0 2px 8px rgba(8, 25, 22, 0.03) !important;
}

#order-standard_cart .marketing-email-optin h4 {
  margin: 0 0 8px !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  letter-spacing: -0.035em !important;
}

#order-standard_cart .marketing-email-optin p {
  margin: 0 0 16px !important;

  color: #66736d !important;
  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
}


/* =========================================================
   Complete Order Button Spacing
========================================================= */

#order-standard_cart #btnCompleteOrder {
  margin-top: 16px !important;
  margin-bottom: 10px !important;
}


/* =========================================================
   Bootstrap switch - make mailing list switch match green
========================================================= */

#order-standard_cart .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success {
  background: #8fe000 !important;
  color: var(--ex-text-dark) !important;
  font-weight: 800 !important;
}

#order-standard_cart .bootstrap-switch {
  border-color: #dfe8df !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

#order-standard_cart .bootstrap-switch .bootstrap-switch-label {
  background: var(--ex-elevated-solid) !important;
}


/* Mobile */
@media (max-width: 767px) {
  #order-standard_cart .cc-input-container {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }

  #order-standard_cart .marketing-email-optin {
    padding: 22px 18px !important;
    border-radius: 16px !important;
  }

  #order-standard_cart .already-registered .pull-right {
    float: none !important;
    text-align: left !important;
    margin-bottom: 12px !important;
  }
}




/* Additional notes textarea padding */
#order-standard_cart textarea[name="notes"].field.form-control {
  padding: 16px 18px !important;
  min-height: 120px !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;

  border-radius: 14px !important;
  resize: vertical !important;
}

/* Placeholder */
#order-standard_cart textarea[name="notes"].field.form-control::placeholder {
  color: #7b8782 !important;
  opacity: 1 !important;
}




/* =========================================================
   Footer — matches exthus.cloud .site-footer
========================================================= */

#footer.site-footer.exthus-cloud-footer {
  position: relative;
  z-index: 5;
  background: var(--ex-bg-black) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  padding: 64px 0 32px !important;
  border-top: 0;
  font-family: var(--ex-font) !important;
  margin-top: 0 !important;
}

#footer.site-footer .exthus-footer-wrap {
  max-width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px;
}

#footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#footer.site-footer .footer-brand .exthus-logo {
  font-size: 1.38rem;
}

#footer.site-footer .footer-brand .exthus-logo-portal-badge {
  display: none;
}

#footer.site-footer .footer-brand .exthus-logo-sub {
  color: rgba(255, 255, 255, 0.94);
}

#footer.site-footer .footer-tagline {
  margin: 16px 0 0;
  max-width: 32ch;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

#footer.site-footer .footer-heading {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ex-green) !important;
}

#footer.site-footer a {
  text-decoration: none !important;
}

#footer.site-footer .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer.site-footer .footer-links li {
  margin: 0;
  padding: 0;
}

#footer.site-footer .footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none !important;
  transition: color 0.2s ease;
}

#footer.site-footer .footer-links a:hover {
  color: var(--ex-green);
}

#footer.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 0.85rem;
}

#footer.site-footer .footer-copyright,
#footer.site-footer .footer-note {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.85rem;
  line-height: 1.4;
}

#footer.site-footer .footer-note {
  color: rgba(255, 255, 255, 0.45) !important;
}

#footer.site-footer .footer-locale {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

#footer.site-footer .footer-locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

#footer.site-footer .footer-locale-btn:hover {
  background: var(--ex-green-soft) !important;
  border-color: rgba(143, 224, 0, 0.35) !important;
  color: #fff !important;
}

#footer.site-footer .footer-locale .list-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

#footer.site-footer .footer-locale .btn-icon {
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

#footer.site-footer .footer-locale .btn-icon:hover {
  color: var(--ex-green) !important;
  border-color: rgba(143, 224, 0, 0.35) !important;
  background: var(--ex-green-soft) !important;
}

#footer.site-footer .brand-footer .brand-mark,
#footer.site-footer .brand-footer .exthus-logo-main {
  color: #fff;
}

@media (max-width: 1024px) {
  #footer.site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  #footer.site-footer {
    padding: 48px 0 28px !important;
  }

  #footer.site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #footer.site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  #footer.site-footer .footer-locale {
    margin-left: 0;
    width: 100%;
  }
}




/* WHMCS mobile: show main cart content before sidebar widgets */
@media (max-width: 991px) {

  /* Make cart body reorderable */
  #order-standard_cart .cart-body {
    display: flex;
    flex-direction: column;
  }

  /* Keep page heading first */
  #order-standard_cart .cart-body > .header-lined {
    order: 1;
  }

  /* Main page content/forms come next */
  #order-standard_cart .cart-body > p,
  #order-standard_cart .cart-body > form,
  #order-standard_cart .cart-body > .domain-selection-options,
  #order-standard_cart .cart-body > .domain-checker-container,
  #order-standard_cart .cart-body > #DomainSearchResults,
  #order-standard_cart .cart-body > .domain-pricing,
  #order-standard_cart .cart-body > .products,
  #order-standard_cart .cart-body > .row,
  #order-standard_cart .cart-body > .secondary-cart-body {
    order: 2;
  }

  /* Move mobile sidebar widgets below main content */
  #order-standard_cart .cart-body > .sidebar-collapsed {
    order: 99;
    margin-top: 35px;
  }

  /* Optional: tidy spacing when moved below */
  #order-standard_cart .sidebar-collapsed .panel {
    margin-bottom: 16px;
  }
}



/* =========================================================
   Portal polish — login, topbar, modals, homepage tiles
========================================================= */

/* Logged-in topbar */
#header .topbar {
  background: var(--ex-bg-dark) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.85rem;
}

#header .topbar .input-group-text,
#header .topbar .btn-active-client,
#header .topbar .btn {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

#header .topbar .btn:hover,
#header .topbar .btn-active-client:hover {
  color: var(--ex-green) !important;
  border-color: rgba(143, 224, 0, 0.35) !important;
}

#header .topbar .btn-return-to-admin {
  background: var(--ex-green-soft) !important;
  color: var(--ex-green) !important;
}

/* Login / register / password reset */
.login-form .card,
.logincontainer {
  border-radius: var(--ex-radius-lg) !important;
  border: 1px solid var(--ex-border-light) !important;
  box-shadow: var(--ex-shadow-card) !important;
}

.login-form .card-body,
.logincontainer {
  padding: 36px 40px !important;
}

.login-form .h3,
.login-form h6.h3 {
  font-size: clamp(1.5rem, 3vw, 1.85rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  color: var(--ex-text-dark) !important;
}

.login-form .text-muted,
.login-form a.small.text-muted {
  color: var(--ex-text-muted) !important;
}

.login-form a.small.text-muted:hover {
  color: var(--ex-green-hover) !important;
}

/* Login / password-reset: single outer border on merged input groups */
.login-form .input-group-merge,
.logincontainer .input-group-merge,
.card-body .input-group-merge {
  display: flex !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: var(--ex-radius-sm) !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.login-form .input-group-merge:focus-within,
.logincontainer .input-group-merge:focus-within,
.card-body .input-group-merge:focus-within {
  border-color: var(--ex-green) !important;
  box-shadow: 0 0 0 3px var(--ex-green-soft) !important;
}

.login-form .input-group-merge .form-control,
.logincontainer .input-group-merge .form-control,
.card-body .input-group-merge .form-control {
  flex: 1 1 auto !important;
  width: 1% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 16px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ex-text-dark) !important;
}

.login-form .input-group-merge .form-control:focus,
.logincontainer .input-group-merge .form-control:focus,
.card-body .input-group-merge .form-control:focus {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.login-form .input-group-merge .input-group-prepend,
.login-form .input-group-merge .input-group-append,
.logincontainer .input-group-merge .input-group-prepend,
.logincontainer .input-group-merge .input-group-append,
.card-body .input-group-merge .input-group-prepend,
.card-body .input-group-merge .input-group-append {
  display: flex !important;
  margin: 0 !important;
}

.login-form .input-group-merge .input-group-text,
.logincontainer .input-group-merge .input-group-text,
.card-body .input-group-merge .input-group-text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 48px !important;
  padding: 0 14px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--ex-text-muted) !important;
  box-shadow: none !important;
}

.login-form .input-group-merge .input-group-append .btn-reveal-pw,
.logincontainer .input-group-merge .input-group-append .btn-reveal-pw,
.card-body .input-group-merge .input-group-append .btn-reveal-pw {
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ex-text-muted) !important;
  transform: none !important;
}

.login-form .input-group-merge .input-group-append .btn-reveal-pw:hover,
.login-form .input-group-merge .input-group-append .btn-reveal-pw:active,
.login-form .input-group-merge .input-group-append .btn-reveal-pw:focus,
.logincontainer .input-group-merge .input-group-append .btn-reveal-pw:hover,
.logincontainer .input-group-merge .input-group-append .btn-reveal-pw:active,
.logincontainer .input-group-merge .input-group-append .btn-reveal-pw:focus,
.card-body .input-group-merge .input-group-append .btn-reveal-pw:hover,
.card-body .input-group-merge .input-group-append .btn-reveal-pw:active,
.card-body .input-group-merge .input-group-append .btn-reveal-pw:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--ex-green) !important;
  transform: none !important;
}

.login-form .input-group-merge:focus-within .input-group-text,
.logincontainer .input-group-merge:focus-within .input-group-text,
.card-body .input-group-merge:focus-within .input-group-text {
  color: var(--ex-green) !important;
}

.login-form input[type="checkbox"].form-check-input,
.login-form input[name="rememberme"] {
  accent-color: var(--ex-green) !important;
}

.login-form .btn-primary {
  width: 100%;
  padding: 14px 22px !important;
}

/* Homepage promo / help tiles */
.primary-content .card,
.primary-content .mc-promo-manage,
.primary-content .mc-promo-login {
  border-radius: var(--ex-radius-lg) !important;
  border: 1px solid var(--ex-border-light) !important;
  box-shadow: var(--ex-shadow-card) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-content .card,
.primary-content .mc-promo-manage,
.primary-content .mc-promo-login {
  background: var(--ex-elevated) !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.primary-content .card:hover,
.primary-content .mc-promo-manage:hover,
.primary-content .mc-promo-login:hover {
  transform: translateY(-4px);
  box-shadow: var(--ex-shadow-card-hover), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  border-color: var(--ex-green-border) !important;
}

.primary-content .card-accent-teal {
  border-top: 3px solid #20c997 !important;
}

.primary-content .card-accent-red {
  border-top: 3px solid #dc3545 !important;
}

.primary-content .card-accent-yellow {
  border-top: 3px solid #ffc107 !important;
}

.primary-content .card-title {
  color: var(--ex-text-muted) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
}

.primary-content .card-body i,
.primary-content .mc-promo-manage i,
.primary-content .mc-promo-login i {
  color: var(--ex-green) !important;
  opacity: 0.85;
}

.primary-content .card:hover i {
  color: var(--ex-green-hover) !important;
  opacity: 1;
}

/* Modals */
.modal-content {
  border: 1px solid var(--ex-border-light) !important;
  border-radius: var(--ex-radius-lg) !important;
  box-shadow: var(--ex-shadow-card-hover) !important;
  overflow: hidden;
}

.modal-header .modal-title {
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
}

.modal-localisation .modal-content {
  background: var(--ex-bg-black) !important;
  color: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.modal-localisation .modal-body .h5,
.modal-localisation .close {
  color: #fff !important;
}

.modal-localisation .item-selector .item {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--ex-radius-sm) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.modal-localisation .item-selector .item.active,
.modal-localisation .item-selector .item:hover {
  border-color: var(--ex-green) !important;
  background: var(--ex-green-soft) !important;
  color: #fff !important;
}

.modal-localisation .modal-footer {
  background: rgba(255, 255, 255, 0.04) !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* Pagination & DataTables */
.pagination .page-link {
  border-color: var(--ex-border-light) !important;
  color: var(--ex-text-dark) !important;
  border-radius: 8px !important;
}

.pagination .page-item.active .page-link {
  background: var(--ex-green) !important;
  border-color: var(--ex-green) !important;
  color: #050607 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--ex-green) !important;
  border-color: var(--ex-green) !important;
  color: #050607 !important;
}

/* Client area list tables (invoices, domains, services, etc.) */
body.portal-area .dataTables_wrapper table.table-list {
  border-color: var(--ex-border-light) !important;
}

body.portal-area table.table-list thead th,
body.portal-area .dataTables_wrapper table.table-list thead th {
  background-color: var(--ex-bg-dark) !important;
  color: var(--ex-text-light) !important;
  border-bottom-color: var(--ex-border-light) !important;
}

body.portal-area .dataTables_wrapper table.table-list thead th.sorting_asc,
body.portal-area .dataTables_wrapper table.table-list thead th.sorting_desc {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--ex-text-light) !important;
}

body.portal-area .table-list > tbody > tr > td,
body.portal-area table.table-list tbody td {
  background-color: var(--ex-elevated-solid) !important;
  color: var(--ex-text-soft) !important;
}

body.portal-area .table-list > tbody > tr:nth-of-type(even) > td,
body.portal-area table.table-list tbody tr:nth-of-type(even) td {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

body.portal-area .table-list > tbody > tr:hover > td,
body.portal-area table.table-list tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.06) !important;
}

body.portal-area .table-list > tbody > tr > td a,
body.portal-area table.table-list tbody td a {
  color: var(--ex-green-hover) !important;
}

body.portal-area .table-list > tbody > tr > td a:hover,
body.portal-area table.table-list tbody td a:hover {
  color: var(--ex-text-light) !important;
}

body.portal-area .dataTables_wrapper .dataTables_filter label .form-control {
  background-color: var(--ex-bg-panel) !important;
  color: var(--ex-text-soft) !important;
  border-color: var(--ex-border-strong) !important;
}

body.portal-area .dataTables_wrapper .dataTables_info,
body.portal-area .dataTables_wrapper .dataTables_length label {
  color: var(--ex-text-muted) !important;
}

/* WHMCS default primary colour overrides */
.primary-bg-color {
  background-color: var(--ex-bg-black) !important;
}

.bg-primary,
.badge-primary {
  background-color: var(--ex-green) !important;
  color: #050607 !important;
}

.text-primary {
  color: var(--ex-green-hover) !important;
}

/* Invoice / quote browser view — see invoice-exthus.css (loaded on viewinvoice/viewquote only) */

/* Network issues banner */
.network-issue-alert {
  border-radius: var(--ex-radius-md) !important;
  border: 1px solid var(--ex-border-light) !important;
}



/* =========================================================
   Dark theme — catch-all (exthus.cloud v50+)
========================================================= */

body.portal-area,
body.primary-bg-color {
  background: var(--ex-bg-black) !important;
}

section#home-domain-search,
.home-domain-search {
  background:
    radial-gradient(circle at 72% 0%, rgba(143, 224, 0, 0.1) 0%, transparent 42%),
    var(--ex-bg-black) !important;
}

.table,
.dataTable,
.list-group-item,
.well,
#order-standard_cart .view-cart-items,
#order-standard_cart .order-summary,
.secondary-cart-sidebar .order-summary {
  background: var(--ex-elevated) !important;
  color: var(--ex-text-muted) !important;
  border-color: var(--ex-border-light) !important;
}

.table > thead > tr > th,
.dataTable > thead > tr > th {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--ex-text-dark) !important;
  border-color: var(--ex-border-light) !important;
}

.table > tbody > tr > td,
.dataTable > tbody > tr > td {
  border-color: var(--ex-border-light) !important;
  color: var(--ex-text-muted) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.02) !important;
}

.input-group-text,
.input-group-addon {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: var(--ex-border-strong) !important;
  color: var(--ex-text-muted) !important;
}

.sidebar .list-group-item,
.sidebar .list-group-item-action,
#order-standard_cart .cart-sidebar .list-group-item-action {
  background: transparent !important;
  color: var(--ex-text-light-soft) !important;
}

.sidebar .list-group-item:hover,
.sidebar .list-group-item.active,
.sidebar .list-group-item-action:hover,
.sidebar .list-group-item-action:focus {
  background: var(--ex-green-soft) !important;
  color: #fff !important;
  border-color: var(--ex-green-border) !important;
}

.alert-info {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: var(--ex-border-strong) !important;
  color: var(--ex-text-muted) !important;
}

.alert-success {
  background: var(--ex-green-soft) !important;
  border-color: rgba(143, 224, 0, 0.35) !important;
  color: var(--ex-text-dark) !important;
}

#order-standard_cart .products .product,
#order-standard_cart .product,
#order-standard_cart .order-summary {
  background: var(--ex-elevated) !important;
  border: 1px solid var(--ex-border-light) !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color: var(--ex-text-muted) !important;
}

#order-standard_cart .products .product header,
#order-standard_cart .product header {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 0 !important;
}

#order-standard_cart .products .product header span,
#order-standard_cart .products .product header h2 {
  color: var(--ex-text-dark) !important;
}

#order-standard_cart .products .product .product-pricing {
  color: var(--ex-text-muted) !important;
}

#order-standard_cart .products .product .product-pricing .price {
  color: var(--ex-text-dark) !important;
}

#order-standard_cart .products .product .cloud-product-list li,
#order-standard_cart .products .product .product-desc > ul li {
  color: var(--ex-text-muted) !important;
}

#order-standard_cart .order-summary {
  background: var(--ex-elevated) !important;
  color: var(--ex-text-muted) !important;
}

.modal-content {
  background: var(--ex-elevated-solid) !important;
  color: var(--ex-text-muted) !important;
}

.modal-header,
.modal-footer {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--ex-border-light) !important;
}

.modal-header .modal-title {
  color: #fff !important;
}

.dropdown-menu {
  background: var(--ex-bg-panel) !important;
  border: 1px solid var(--ex-border-light) !important;
}

.dropdown-item {
  color: var(--ex-text-light-soft) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--ex-green-soft) !important;
  color: var(--ex-green) !important;
}

.text-muted,
.help-block,
.form-text {
  color: var(--ex-text-muted) !important;
}

label,
.control-label {
  color: var(--ex-text-dark) !important;
}

#footer.site-footer .footer-heading {
  color: var(--ex-green) !important;
}

#footer.site-footer .footer-links a:hover {
  color: var(--ex-green) !important;
}

.exthus-logo-portal-badge {
  color: var(--ex-bg-black) !important;
  background: var(--ex-green) !important;
}

.pagination .page-link {
  background: rgba(255, 255, 255, 0.04) !important;
}

.selectize-input,
.selectize-dropdown {
  background: var(--ex-elevated-solid) !important;
  border-color: var(--ex-border-strong) !important;
  color: var(--ex-text-dark) !important;
}



/* Force dark shell over WHMCS Twenty-One defaults */
body.portal-area,
html body.portal-area,
body.portal-area.primary-bg-color {
  background: var(--ex-bg-black) !important;
  color: var(--ex-text-dark) !important;
}

body.portal-area section#main-body,
body.portal-area #main-body {
  background: var(--ex-bg-dark) !important;
}

body.portal-area header.header,
body.portal-area #header,
body.portal-area #header .navbar,
body.portal-area #header .navbar-light,
body.portal-area #header .main-navbar-wrapper {
  background: rgba(5, 6, 7, 0.92) !important;
}

body.portal-area .card,
body.portal-area .panel,
body.portal-area .login-form .card,
body.portal-area .tiles .tile,
body.portal-area .primary-content .card,
body.portal-area .mc-promo-manage,
body.portal-area .mc-promo-login {
  background-color: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%) !important;
  border: 1px solid var(--ex-border-light) !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color: var(--ex-text-muted) !important;
}

body.portal-area .card h3,
body.portal-area .card .h3,
body.portal-area .panel-title {
  color: #fff !important;
}

body.portal-area .form-control,
body.portal-area select.form-control,
body.portal-area textarea.form-control {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  color: var(--ex-text-dark) !important;
}

body.portal-area .header-lined {
  border-bottom-color: var(--ex-border-light) !important;
}

/* Homepage action tiles (WHMCS default white boxes) */
body.portal-area .action-icon-btns a {
  background-color: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: var(--ex-radius-lg) !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color: var(--ex-text-muted) !important;
  padding: 20px 12px 24px !important;
}

body.portal-area .action-icon-btns a .ico-container i {
  color: var(--ex-green) !important;
  opacity: 0.85;
}

body.portal-area .action-icon-btns a:hover {
  color: #fff !important;
  border-color: var(--ex-green-border) !important;
  transform: translateY(-4px);
  box-shadow: var(--ex-shadow-card-hover), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.portal-area .action-icon-btns a:hover .ico-container i {
  color: var(--ex-green-hover) !important;
  opacity: 1;
}

body.portal-area .action-icon-btns a.card-accent-teal,
body.portal-area .action-icon-btns a.card-accent-pomegranate,
body.portal-area .action-icon-btns a.card-accent-sun-flower,
body.portal-area .action-icon-btns a.card-accent-asbestos,
body.portal-area .action-icon-btns a.card-accent-green,
body.portal-area .action-icon-btns a.card-accent-midnight-blue {
  border-top: 3px solid var(--ex-green) !important;
}

body.portal-area h2.text-center {
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

/* =========================================================
   Store plan cards — final cascade lock (exthus.cloud /plans)
   ========================================================= */

#order-standard_cart .products .product {
  background-color: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%) !important;
}

#order-standard_cart .products .product header {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

#order-standard_cart .products .product .product-pricing {
  color: var(--ex-text-muted) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

#order-standard_cart .products .product .product-pricing .price {
  color: var(--ex-text-dark) !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

#order-standard_cart .cart-sidebar .panel-title,
#order-standard_cart .card-sidebar .panel-title {
  color: #fff !important;
}

#order-standard_cart .cart-sidebar .list-group-item-action,
#order-standard_cart .card-sidebar .list-group-item-action {
  color: var(--ex-text-light-soft) !important;
}

/* =========================================================
   Configure + order summary — premium polish (v58)
   ========================================================= */

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary {
  background: #151b22 !important;
}

body.portal-area #order-standard_cart .cart-body .product-info,
body.portal-area #order-standard_cart .cart-body .field-container,
body.portal-area #order-standard_cart #productConfigurableOptions.product-configurable-options {
  color: var(--ex-text-muted) !important;
}

body.portal-area #order-standard_cart .cart-body .product-info * {
  max-width: 100%;
}

body.portal-area #order-standard_cart .cart-body .product-info a {
  color: var(--ex-green) !important;
}

body.portal-area #order-standard_cart .secondary-cart-body .form-group {
  margin-bottom: 0 !important;
}

body.portal-area #order-standard_cart .view-cart-items .item {
  border-bottom-color: var(--ex-border-light) !important;
}

body.portal-area #order-standard_cart .view-cart-items-header,
body.portal-area #order-standard_cart .view-cart-items-header .row,
body.portal-area #order-standard_cart .view-cart-items-header div {
  color: #fff !important;
}

body.portal-area #order-standard_cart .summary-container .clearfix + .clearfix {
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  margin-top: 2px;
  padding-top: 2px;
}

/* =========================================================
   View cart (cart.php?a=view) — premium polish (v61)
   ========================================================= */

/* Cart items list — single elevated panel */
body.portal-area #order-standard_cart .view-cart-items-header {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-bottom: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  margin-bottom: 0 !important;
}

body.portal-area #order-standard_cart .view-cart-items-header .row,
body.portal-area #order-standard_cart .view-cart-items-header div {
  color: var(--ex-text-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

body.portal-area #order-standard_cart .view-cart-items {
  background: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.015) 100%
  ) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-top: 0 !important;
  border-radius: 0 0 14px 14px !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  margin-bottom: 0 !important;
}

body.portal-area #order-standard_cart .view-cart-items .item {
  background: transparent !important;
  border-bottom-color: var(--ex-border-light) !important;
}

body.portal-area #order-standard_cart .view-cart-items .item:nth-child(even) {
  background: rgba(255, 255, 255, 0.02) !important;
}

body.portal-area #order-standard_cart .view-cart-items .item:last-child {
  border-bottom: 0 !important;
  border-radius: 0 0 14px 14px !important;
}

body.portal-area #order-standard_cart .view-cart-items .item-title {
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

body.portal-area #order-standard_cart .view-cart-items .item-group,
body.portal-area #order-standard_cart .view-cart-items .item small,
body.portal-area #order-standard_cart .view-cart-items .upgrade-calc-msg {
  color: var(--ex-text-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
}

body.portal-area #order-standard_cart .view-cart-items .item-domain {
  color: var(--ex-green) !important;
  font-weight: 650 !important;
}

body.portal-area #order-standard_cart .view-cart-items .item-price {
  color: var(--ex-text-dark) !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

body.portal-area #order-standard_cart .view-cart-items .item-price > span:first-child {
  color: #fff !important;
}

body.portal-area #order-standard_cart .view-cart-items .item-qty .form-control {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  color: var(--ex-text-dark) !important;
  max-width: 72px !important;
  margin: 0 auto 6px !important;
}

body.portal-area #order-standard_cart .view-cart-items .item-qty .btn-xs {
  background: transparent !important;
  border: 1px solid var(--ex-border-light) !important;
  color: var(--ex-text-muted) !important;
  border-radius: 8px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
}

body.portal-area #order-standard_cart .view-cart-items .item-qty .btn-xs:hover {
  border-color: var(--ex-green-border) !important;
  color: var(--ex-green) !important;
}

body.portal-area #order-standard_cart .view-cart-items .row-upgrade-credit {
  margin-top: 0 !important;
  padding-top: 8px !important;
  border-top: 1px dashed var(--ex-border-light) !important;
}

/* Empty cart */
body.portal-area #order-standard_cart .view-cart-empty {
  padding: 48px 24px !important;
  text-align: center !important;
  color: var(--ex-text-muted) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

body.portal-area #order-standard_cart .empty-cart {
  margin-top: 14px !important;
  text-align: right !important;
}

body.portal-area #order-standard_cart .empty-cart .btn,
body.portal-area #order-standard_cart #btnEmptyCart {
  color: var(--ex-text-muted) !important;
}

body.portal-area #order-standard_cart .empty-cart .btn:hover,
body.portal-area #order-standard_cart #btnEmptyCart:hover {
  color: var(--ex-green) !important;
}

/* Promo / tax tabs */
body.portal-area #order-standard_cart .view-cart-tabs {
  margin-top: 24px !important;
}

body.portal-area #order-standard_cart .view-cart-tabs .tab-content {
  background: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  ) !important;
  border-color: var(--ex-border-light) !important;
  border-radius: 0 0 14px 14px !important;
  box-shadow: var(--ex-shadow-card) !important;
}

body.portal-area #order-standard_cart .view-cart-tabs .nav-tabs .nav-link.active,
body.portal-area #order-standard_cart .view-cart-tabs .nav-tabs .nav-link:hover {
  color: #fff !important;
  background: rgba(143, 224, 0, 0.08) !important;
  border-color: var(--ex-green-border) !important;
}

body.portal-area #order-standard_cart .view-cart-tabs .form-control,
body.portal-area #order-standard_cart .view-cart-tabs .field {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--ex-text-dark) !important;
}

body.portal-area #order-standard_cart .view-cart-promotion-code {
  margin-bottom: 12px !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  background: var(--ex-green-soft) !important;
  border: 1px solid var(--ex-green-border) !important;
  color: var(--ex-text-dark) !important;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
  text-align: center !important;
}

body.portal-area #order-standard_cart #calcTaxes .control-label {
  color: var(--ex-text-muted) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}

/* View-cart alerts */
body.portal-area #order-standard_cart .secondary-cart-body > .alert {
  border-radius: 12px !important;
  margin-bottom: 16px !important;
}

/* Order summary sidebar (view cart checkout) */
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary {
  background: #151b22 !important;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  ) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: 16px !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .summary-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 16px 18px 14px !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .clearfix,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .summary-totals .clearfix,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .summary-container .clearfix,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary #producttotal .clearfix,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .subtotal.clearfix,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals.clearfix,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals .clearfix {
  clear: none !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: baseline !important;
  gap: 12px !important;
  width: 100% !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .clearfix::after,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .summary-totals .clearfix::after,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .summary-container .clearfix::after,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary #producttotal .clearfix::after,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .subtotal.clearfix::after,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals.clearfix::after,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals .clearfix::after {
  display: none !important;
  content: none !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .pull-left,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .float-left {
  float: none !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .pull-right,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .float-right {
  float: none !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-charges.pull-right,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-charges.float-right {
  white-space: normal !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .subtotal,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals {
  color: var(--ex-text-muted) !important;
  font-size: 0.88rem !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .subtotal .pull-left,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .subtotal .float-left,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals .pull-left,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals .float-left,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals .pull-left,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals .float-left {
  color: var(--ex-text-muted) !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .subtotal .pull-right,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .subtotal .float-right,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals .pull-right,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals .float-right,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals .pull-right,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals .float-right,
body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-charges .cost {
  color: var(--ex-text-dark) !important;
  font-weight: 750 !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .bordered-totals {
  margin-top: 8px !important;
  padding-top: 8px !important;
  border-top: 1px solid var(--ex-border-light) !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .recurring-totals {
  margin-top: 8px !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--ex-border-light) !important;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .total-due-today-padded {
  margin-top: 12px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--ex-border-light) !important;
}

body.portal-area #order-standard_cart .secondary-cart-sidebar .order-summary .express-checkout-buttons .separator {
  color: var(--ex-text-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  margin: 12px 0 !important;
}

/* Checkout CTA — lime pill */
body.portal-area #order-standard_cart #checkout.btn-checkout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 14px !important;
  padding: 14px 22px !important;
  border-radius: 999px !important;
  background: var(--ex-green) !important;
  border-color: var(--ex-green) !important;
  color: var(--ex-on-accent) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 8px 28px var(--ex-lime-glow) !important;
}

body.portal-area #order-standard_cart #checkout.btn-checkout:hover:not(.disabled) {
  background: var(--ex-green-hover) !important;
  border-color: var(--ex-green-hover) !important;
  color: var(--ex-on-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--ex-lime-glow) !important;
}

body.portal-area #order-standard_cart #checkout.btn-checkout.disabled {
  opacity: 0.45 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

body.portal-area #order-standard_cart #continueShopping.btn-continue-shopping {
  margin-top: 10px !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.88rem !important;
  font-weight: 650 !important;
  text-decoration: none !important;
}

body.portal-area #order-standard_cart #continueShopping.btn-continue-shopping:hover {
  color: var(--ex-green) !important;
}

/* Page title on view cart */
body.portal-area #order-standard_cart .cart-body .header-lined h1.font-size-36 {
  font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
}

/* Remove-item modals */
body.portal-area #order-standard_cart .modal-remove-item .modal-content {
  border-radius: 16px !important;
  border: 1px solid var(--ex-border-strong) !important;
}

body.portal-area #order-standard_cart .modal-remove-item .modal-title {
  color: #fff !important;
  font-weight: 800 !important;
}

body.portal-area #order-standard_cart .modal-remove-item .modal-body {
  color: var(--ex-text-muted) !important;
}

body.portal-area #order-standard_cart .modal-remove-item .fa-3x {
  color: var(--ex-green) !important;
  opacity: 0.85;
}

/* =========================================================
   WHMCS 9 — Advanced / AI domain search
   (configureproductdomain + domainregister)
========================================================= */

#order-standard_cart .domain-checker-advanced textarea#message,
#order-standard_cart .domain-checker-advanced textarea[name="message"] {
  display: block !important;
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  margin: 0 0 12px !important;
  padding: 0 16px !important;
  resize: none !important;
  overflow: hidden !important;

  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: var(--ex-radius-sm) !important;
  box-shadow: none !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  line-height: 48px !important;
  font-weight: 500 !important;
}

#order-standard_cart .domain-checker-advanced textarea#message::placeholder,
#order-standard_cart .domain-checker-advanced textarea[name="message"]::placeholder {
  color: var(--ex-text-muted) !important;
  opacity: 1 !important;
}

#order-standard_cart .domain-checker-advanced textarea#message:focus,
#order-standard_cart .domain-checker-advanced textarea[name="message"]:focus {
  outline: none !important;
  border-color: var(--ex-green) !important;
  box-shadow: 0 0 0 3px var(--ex-green-soft) !important;
}

/* Advanced search box on standalone domain register */
#order-standard_cart .domain-checker-container.domain-checker-advanced .input-group-box {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: var(--ex-border-strong) !important;
  padding: 12px !important;
}

#order-standard_cart .domain-checker-container.domain-checker-advanced .input-group-box #btnCheckAvailability {
  position: static !important;
  width: 100% !important;
  margin-top: 10px !important;
}

/* Filter row: TLD + max length + safe search (product domain step) */
#order-standard_cart .domain-checker-advanced .domains-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 14px !important;
  margin-top: 4px !important;
}

#order-standard_cart .domain-checker-advanced .domains-row > .btn-group {
  margin: 0 !important;
}

/* Bootstrap-multiselect trigger buttons */
#order-standard_cart .domain-checker-advanced .btn-group > button.multiselect.dropdown-toggle,
#order-standard_cart .domain-checker-advanced button.multiselect.btn {
  min-height: 42px !important;
  padding: 8px 14px !important;
  margin: 0 !important;

  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: var(--ex-radius-sm) !important;
  box-shadow: none !important;

  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: left !important;
}

#order-standard_cart .domain-checker-advanced .btn-group > button.multiselect.dropdown-toggle:hover,
#order-standard_cart .domain-checker-advanced .btn-group > button.multiselect.dropdown-toggle:focus,
#order-standard_cart .domain-checker-advanced button.multiselect.btn:hover,
#order-standard_cart .domain-checker-advanced button.multiselect.btn:focus {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: var(--ex-green-border) !important;
  color: var(--ex-text-dark) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px var(--ex-green-soft) !important;
}

#order-standard_cart .domain-checker-advanced .btn-group > button.multiselect .caret,
#order-standard_cart .domain-checker-advanced button.multiselect .caret {
  border-top-color: var(--ex-text-muted) !important;
}

/* Multiselect dropdown panel */
#order-standard_cart .domain-checker-advanced .multiselect-container.dropdown-menu {
  background: var(--ex-bg-panel) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: var(--ex-radius-sm) !important;
  box-shadow: var(--ex-shadow-card) !important;
  padding: 6px 0 !important;
  min-width: 220px !important;
}

#order-standard_cart .domain-checker-advanced .multiselect-container > li > a {
  color: var(--ex-text-dark) !important;
  background: transparent !important;
}

#order-standard_cart .domain-checker-advanced .multiselect-container > li > a > label {
  color: var(--ex-text-dark) !important;
  font-weight: 500 !important;
  padding: 6px 16px 6px 36px !important;
}

#order-standard_cart .domain-checker-advanced .multiselect-container > li.active > a,
#order-standard_cart .domain-checker-advanced .multiselect-container > li.active > a:focus,
#order-standard_cart .domain-checker-advanced .multiselect-container > li.active > a:hover {
  background: var(--ex-green-soft) !important;
  color: var(--ex-text-dark) !important;
}

#order-standard_cart .domain-checker-advanced .multiselect-container input[type="checkbox"] {
  accent-color: var(--ex-green) !important;
}

#order-standard_cart .domain-checker-advanced .multiselect-item.filter .input-group {
  margin: 6px 8px !important;
}

#order-standard_cart .domain-checker-advanced .multiselect-search {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  color: var(--ex-text-dark) !important;
  border-radius: 8px !important;
}

#order-standard_cart .domain-checker-advanced .multiselect-item.filter .input-group-addon {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  color: var(--ex-text-muted) !important;
}

#order-standard_cart .domain-checker-advanced .multiselect-clear-filter {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  color: var(--ex-text-muted) !important;
}

/* Safe Search + filter labels (override WHMCS #333 / white checkbox) */
#order-standard_cart .domain-checker-advanced label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--ex-text-muted) !important;
  cursor: pointer !important;
}

#order-standard_cart .domain-checker-advanced input[type="checkbox"].no-icheck,
#order-standard_cart .domain-checker-advanced input[type="checkbox"][name="filter"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  accent-color: var(--ex-green) !important;

  border: 2px solid var(--ex-border-strong) !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  position: relative !important;
}

#order-standard_cart .domain-checker-advanced input[type="checkbox"].no-icheck:checked,
#order-standard_cart .domain-checker-advanced input[type="checkbox"][name="filter"]:checked {
  background: var(--ex-green) !important;
  border-color: var(--ex-green) !important;
}

#order-standard_cart .domain-checker-advanced input[type="checkbox"].no-icheck:checked::after,
#order-standard_cart .domain-checker-advanced input[type="checkbox"][name="filter"]:checked::after {
  content: "" !important;
  position: absolute !important;
  left: 5px !important;
  top: 2px !important;
  width: 5px !important;
  height: 9px !important;
  border: solid var(--ex-on-accent) !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}

#order-standard_cart .domain-checker-advanced input[type="checkbox"].no-icheck:focus-visible,
#order-standard_cart .domain-checker-advanced input[type="checkbox"][name="filter"]:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px var(--ex-green-soft) !important;
}

/* Product domain step: dark inputs in register option (legacy SLD path) */
#order-standard_cart .domain-selection-options .domain-checker-advanced .form-control {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: var(--ex-border-strong) !important;
  color: var(--ex-text-dark) !important;
}

@media (max-width: 767px) {
  #order-standard_cart .domain-checker-advanced .domains-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #order-standard_cart .domain-checker-advanced .btn-group,
  #order-standard_cart .domain-checker-advanced .btn-group > button.multiselect {
    width: 100% !important;
  }
}


/* =========================================================
   Checkout page — premium dark (portal-area)
   cart.php?a=checkout — matches view/configure cart
========================================================= */

body.portal-area #order-standard_cart .cart-body .header-lined h1.font-size-36 {
  margin-bottom: 6px !important;
}

body.portal-area #order-standard_cart #frmCheckout .already-registered {
  margin-bottom: 18px !important;
}

body.portal-area #order-standard_cart #frmCheckout .already-registered > p {
  color: var(--ex-text-muted) !important;
  font-size: 0.9rem !important;
  margin-bottom: 10px !important;
}

body.portal-area #order-standard_cart #frmCheckout .sub-heading {
  margin: 30px 0 14px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  clear: both !important;
}

body.portal-area #order-standard_cart #frmCheckout .sub-heading:first-of-type {
  margin-top: 10px !important;
}

body.portal-area #order-standard_cart #frmCheckout .sub-heading + .row,
body.portal-area #order-standard_cart #frmCheckout .sub-heading + .field-container,
body.portal-area #order-standard_cart #frmCheckout .sub-heading + .account-select-container,
body.portal-area #order-standard_cart #frmCheckout .sub-heading + .alert {
  margin-top: 0 !important;
}

body.portal-area #order-standard_cart #frmCheckout .sub-heading span.primary-bg-color {
  display: inline-block !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: var(--ex-green-soft) !important;
  border: 1px solid var(--ex-green-border) !important;
  color: var(--ex-green) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

body.portal-area #order-standard_cart #frmCheckout .form-group {
  margin-bottom: 12px !important;
}

/* Icon-prefixed checkout fields (override standard_cart white inputs) */
body.portal-area #order-standard_cart #frmCheckout .prepend-icon .field,
body.portal-area #order-standard_cart #frmCheckout .prepend-icon .form-control,
body.portal-area #order-standard_cart #frmCheckout .field-container .form-control,
body.portal-area #order-standard_cart #frmCheckout .field-container select,
body.portal-area #order-standard_cart #frmCheckout .field-container input,
body.portal-area #order-standard_cart #frmCheckout textarea.field.form-control {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: 12px !important;
  color: var(--ex-text-dark) !important;
  min-height: 46px !important;
  font-family: var(--ex-font) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

body.portal-area #order-standard_cart #frmCheckout .prepend-icon .field,
body.portal-area #order-standard_cart #frmCheckout .prepend-icon .form-control {
  padding: 11px 14px 11px 42px !important;
  width: 100% !important;
}

body.portal-area #order-standard_cart #frmCheckout .prepend-icon .field::placeholder,
body.portal-area #order-standard_cart #frmCheckout textarea.field.form-control::placeholder {
  color: rgba(220, 228, 242, 0.42) !important;
  opacity: 1 !important;
}

body.portal-area #order-standard_cart #frmCheckout .prepend-icon .field:focus,
body.portal-area #order-standard_cart #frmCheckout .prepend-icon .form-control:focus,
body.portal-area #order-standard_cart #frmCheckout .field-container .form-control:focus,
body.portal-area #order-standard_cart #frmCheckout textarea.field.form-control:focus {
  border-color: var(--ex-green) !important;
  box-shadow: 0 0 0 3px var(--ex-green-soft) !important;
  outline: none !important;
}

body.portal-area #order-standard_cart #frmCheckout .prepend-icon .field-icon {
  width: 42px !important;
  height: 46px !important;
  line-height: 46px !important;
}

body.portal-area #order-standard_cart #frmCheckout .prepend-icon .field-icon i {
  color: var(--ex-text-muted) !important;
}

body.portal-area #order-standard_cart #frmCheckout .field-container label,
body.portal-area #order-standard_cart #frmCheckout .form-group > label:not(.field-icon):not(.radio-inline):not(.checkbox-inline) {
  color: var(--ex-text-dark) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}

body.portal-area #order-standard_cart #frmCheckout .field-help-text,
body.portal-area #order-standard_cart #frmCheckout .small.text-muted,
body.portal-area #order-standard_cart #paymentGatewaysContainer > p.small.text-muted {
  color: var(--ex-text-muted) !important;
}

/* Account / payment radios — green selected (domain page pattern) */
body.portal-area #order-standard_cart #frmCheckout input[type="radio"],
body.portal-area #order-standard_cart #paymentGatewaysContainer input.payment-methods[type="radio"],
body.portal-area #order-standard_cart .apply-credit-container input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 8px 0 0 !important;
  vertical-align: -3px !important;
  cursor: pointer !important;
  border: 2px solid var(--ex-border-strong) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
  position: relative !important;
}

body.portal-area #order-standard_cart #frmCheckout input[type="radio"]:checked,
body.portal-area #order-standard_cart #paymentGatewaysContainer input.payment-methods[type="radio"]:checked,
body.portal-area #order-standard_cart .apply-credit-container input[type="radio"]:checked {
  border-color: var(--ex-green) !important;
  background: var(--ex-green) !important;
}

body.portal-area #order-standard_cart #frmCheckout input[type="radio"]:checked::after,
body.portal-area #order-standard_cart #paymentGatewaysContainer input.payment-methods[type="radio"]:checked::after,
body.portal-area #order-standard_cart .apply-credit-container input[type="radio"]:checked::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 6px !important;
  height: 6px !important;
  margin: -3px 0 0 -3px !important;
  border-radius: 50% !important;
  background: var(--ex-on-accent) !important;
}

body.portal-area #order-standard_cart .iradio_square-blue {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 2px solid var(--ex-border-strong) !important;
  box-shadow: none !important;
}

body.portal-area #order-standard_cart .iradio_square-blue.checked {
  background: var(--ex-green) !important;
  border-color: var(--ex-green) !important;
  box-shadow: 0 0 0 3px var(--ex-green-soft) !important;
}

/* Total due today bar */
body.portal-area #order-standard_cart #frmCheckout > #totalDueToday.alert {
  margin: 8px 0 18px !important;
  padding: 16px 20px !important;
  border-radius: 16px !important;
  border: 1px solid var(--ex-green-border) !important;
  background:
    linear-gradient(135deg, rgba(143, 224, 0, 0.14) 0%, rgba(143, 224, 0, 0.04) 55%, rgba(255, 255, 255, 0.02) 100%) !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

body.portal-area #order-standard_cart #frmCheckout > #totalDueToday.alert strong,
body.portal-area #order-standard_cart #frmCheckout > #totalDueToday.alert #totalCartPrice {
  color: var(--ex-green) !important;
  font-size: 1.35rem !important;
  font-weight: 850 !important;
  letter-spacing: -0.03em !important;
}

/* Account credit options */
body.portal-area #order-standard_cart .apply-credit-container {
  background: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  margin: 0 0 18px !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.portal-area #order-standard_cart .apply-credit-container p,
body.portal-area #order-standard_cart .apply-credit-container label.radio {
  color: var(--ex-text-muted) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  margin-bottom: 10px !important;
}

body.portal-area #order-standard_cart .apply-credit-container label.radio:last-child {
  margin-bottom: 0 !important;
}

/* Payment method row */
body.portal-area #order-standard_cart #paymentGatewaysContainer {
  margin: 0 0 16px !important;
  padding: 16px 18px !important;
  border-radius: 16px !important;
  border: 1px solid var(--ex-border-light) !important;
  background: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

body.portal-area #order-standard_cart #paymentGatewaysContainer .radio-inline,
body.portal-area #order-standard_cart #paymentGatewaysContainer .payment-gateway-option {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  color: var(--ex-text-muted) !important;
  font-weight: 600 !important;
  margin: 6px 14px 6px 0 !important;
}

body.portal-area #order-standard_cart #paymentGatewaysContainer .payment-gateway-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

body.portal-area #order-standard_cart #paymentGatewaysContainer .payment-gateway-lock {
  color: var(--ex-green) !important;
  font-size: 0.78rem !important;
  opacity: 0.92 !important;
  flex-shrink: 0 !important;
}

body.portal-area #order-standard_cart #paymentGatewaysContainer .payment-gateway-option:has(input:checked) .payment-gateway-label,
body.portal-area #order-standard_cart #paymentGatewaysContainer .payment-gateway-option:has(input:checked) {
  color: var(--ex-text-dark) !important;
}

body.portal-area #order-standard_cart #paymentGatewaysContainer .radio-inline:has(input:checked),
body.portal-area #order-standard_cart #paymentGatewaysContainer .radio-inline .iradio_square-blue.checked + * {
  color: var(--ex-text-dark) !important;
}

/* PayPal / card gateway panel */
body.portal-area #order-standard_cart .cc-input-container,
body.portal-area #order-standard_cart #paymentGatewayInput {
  background: var(--ex-bg-panel) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 16px !important;
  padding: 20px 22px !important;
  margin: 0 0 18px !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  overflow: visible !important;
}

body.portal-area #order-standard_cart .cc-input-container .payment-instructions,
body.portal-area #order-standard_cart .cc-input-container .approval-instructions {
  color: var(--ex-text-muted) !important;
}

body.portal-area #order-standard_cart .cc-input-container ul.selected,
body.portal-area #order-standard_cart .cc-input-container ul {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin: 0 auto 14px !important;
  max-width: 100% !important;
  list-style: none !important;
}

body.portal-area #order-standard_cart .cc-input-container label.radio-inline {
  color: var(--ex-text-muted) !important;
}

body.portal-area #order-standard_cart #paypal_ppcpv_input_container,
body.portal-area #order-standard_cart #paypal_ppcpv_input_container_button {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 12px !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid var(--ex-border-strong) !important;
}

body.portal-area #order-standard_cart #paypal_ppcpv_input_container img {
  filter: brightness(1.05) contrast(1.05);
}

body.portal-area #order-standard_cart .gateway-errors.alert-danger {
  background: rgba(220, 53, 69, 0.12) !important;
  border-color: rgba(220, 53, 69, 0.35) !important;
  color: #ffb4b4 !important;
  border-radius: 12px !important;
}

/* Mailing list opt-in */
body.portal-area #order-standard_cart .marketing-email-optin {
  background: var(--ex-elevated-solid) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 16px !important;
  padding: 20px 22px !important;
  margin: 18px 0 !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.portal-area #order-standard_cart .marketing-email-optin h4 {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  margin-bottom: 6px !important;
}

body.portal-area #order-standard_cart .marketing-email-optin p {
  color: var(--ex-text-muted) !important;
  margin-bottom: 14px !important;
}

body.portal-area #order-standard_cart .bootstrap-switch {
  border-color: var(--ex-border-strong) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

body.portal-area #order-standard_cart .bootstrap-switch .bootstrap-switch-label {
  background: rgba(255, 255, 255, 0.06) !important;
}

body.portal-area #order-standard_cart .bootstrap-switch .bootstrap-switch-handle-off {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--ex-text-muted) !important;
}

body.portal-area #order-standard_cart .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success {
  background: var(--ex-green) !important;
  color: var(--ex-on-accent) !important;
}

/* Complete order — lime pill + bolt icon */
body.portal-area #order-standard_cart #frmCheckout > .text-center {
  margin-top: 8px !important;
}

body.portal-area #order-standard_cart #btnCompleteOrder {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 520px !important;
  margin: 18px auto 10px !important;
  padding: 15px 28px !important;
  border-radius: 999px !important;
  background: var(--ex-green) !important;
  border: 1px solid var(--ex-green) !important;
  color: var(--ex-on-accent) !important;
  font-family: var(--ex-font) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  box-shadow: 0 10px 32px var(--ex-lime-glow) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease !important;
}

body.portal-area #order-standard_cart #btnCompleteOrder > i.fas {
  font-size: 1.08em !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease, text-shadow 0.35s ease !important;
}

body.portal-area #order-standard_cart #btnCompleteOrder:hover,
body.portal-area #order-standard_cart #btnCompleteOrder:focus {
  background: var(--ex-green-hover) !important;
  border-color: var(--ex-green-hover) !important;
  color: var(--ex-on-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 40px var(--ex-lime-glow) !important;
}

body.portal-area #order-standard_cart #btnCompleteOrder:hover > i.fas,
body.portal-area #order-standard_cart #btnCompleteOrder:focus > i.fas {
  transform: scale(1.18) rotate(-10deg) !important;
  filter: drop-shadow(0 0 6px rgba(5, 6, 7, 0.35)) !important;
  text-shadow: 0 0 10px rgba(5, 6, 7, 0.2) !important;
}

body.portal-area #order-standard_cart #btnCompleteOrder:disabled,
body.portal-area #order-standard_cart #btnCompleteOrder.disabled {
  opacity: 0.45 !important;
  transform: none !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

/* SSL security footer */
body.portal-area #order-standard_cart .checkout-security-msg {
  margin-top: 14px !important;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  border: 1px solid var(--ex-border-light) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.86rem !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.portal-area #order-standard_cart .checkout-security-msg .fa-lock {
  color: var(--ex-green) !important;
  margin-right: 6px !important;
}

body.portal-area #order-standard_cart .checkout-security-msg strong {
  color: var(--ex-text-dark) !important;
  font-weight: 700 !important;
}

/* Account picker cards on checkout */
body.portal-area #order-standard_cart .account-select-container .account {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--ex-border-light) !important;
  border-radius: 14px !important;
  margin-bottom: 10px !important;
  padding: 12px 14px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.portal-area #order-standard_cart .account-select-container .account.active {
  border-color: var(--ex-green-border) !important;
  box-shadow: 0 0 0 1px var(--ex-green-border), 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

body.portal-area #order-standard_cart .account-select-container .address,
body.portal-area #order-standard_cart .account-select-container .address strong {
  color: var(--ex-text-dark) !important;
}

body.portal-area #order-standard_cart .account-select-container .address .small {
  color: var(--ex-text-muted) !important;
}

/* Already registered — premium ghost (portal checkout) */
body.portal-area #order-standard_cart .already-registered {
  display: flow-root !important;
}

body.portal-area #order-standard_cart .already-registered .pull-right {
  margin-bottom: 4px !important;
}

body.portal-area #order-standard_cart .already-registered #btnAlreadyRegistered,
body.portal-area #order-standard_cart .already-registered #btnNewUserSignup {
  background: transparent !important;
  border: 1px solid var(--ex-border-strong) !important;
  color: var(--ex-text-dark) !important;
  font-family: var(--ex-font) !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.portal-area #order-standard_cart .already-registered #btnAlreadyRegistered:hover,
body.portal-area #order-standard_cart .already-registered #btnAlreadyRegistered:focus,
body.portal-area #order-standard_cart .already-registered #btnNewUserSignup:hover,
body.portal-area #order-standard_cart .already-registered #btnNewUserSignup:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--ex-green-border) !important;
  color: #fff !important;
  box-shadow: 0 0 0 1px var(--ex-green-border), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

/* Card brand row (payment section header) + trust badges */
body.portal-area #order-standard_cart #paymentGatewaysContainer.checkout-payment-section {
  overflow: visible !important;
  width: 100% !important;
  text-align: center !important;
}

body.portal-area #order-standard_cart .checkout-card-brands {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  align-content: center !important;
  text-align: center !important;
  width: 100% !important;
  gap: 12px 16px !important;
  margin: 0 0 14px !important;
  padding: 14px 16px !important;
  min-height: 0 !important;
  line-height: normal !important;
  border-radius: 12px !important;
  border: 1px solid var(--ex-border-strong) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  overflow: visible !important;
}

body.portal-area #order-standard_cart .checkout-preferred-payment-label {
  margin: 0 0 12px !important;
  text-align: center !important;
}

body.portal-area #order-standard_cart .checkout-card-brands-label {
  flex: 0 0 auto !important;
  text-align: center !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ex-text-muted) !important;
  line-height: 1.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.portal-area #order-standard_cart .checkout-card-brands-icons {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  align-content: center !important;
  text-align: center !important;
  gap: 12px 14px !important;
  min-height: 1.75rem !important;
  line-height: 1 !important;
  overflow: visible !important;
}

body.portal-area #order-standard_cart .checkout-card-brands-icons .fab,
body.portal-area #order-standard_cart .checkout-card-brands-icons .fas,
body.portal-area #order-standard_cart .checkout-card-brands-icons i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.85rem !important;
  line-height: 1 !important;
  min-width: 2.5rem !important;
  min-height: 1.55rem !important;
  padding: 3px 6px !important;
  box-sizing: border-box !important;
  border-radius: 5px !important;
  color: #ffffff !important;
  opacity: 1 !important;
  vertical-align: middle !important;
  overflow: visible !important;
  transform: none !important;
  transition: transform 0.2s ease, filter 0.2s ease !important;
}

body.portal-area #order-standard_cart .checkout-card-brands-icons .fa-cc-visa {
  background: #1a1f71 !important;
}
body.portal-area #order-standard_cart .checkout-card-brands-icons .fa-cc-mastercard {
  background: linear-gradient(135deg, #eb001b 0%, #eb001b 48%, #f79e1b 52%, #f79e1b 100%) !important;
}
body.portal-area #order-standard_cart .checkout-card-brands-icons .fa-cc-amex {
  background: #006fcf !important;
}
body.portal-area #order-standard_cart .checkout-card-brands-icons .fa-cc-discover {
  background: #ff6000 !important;
}
body.portal-area #order-standard_cart .checkout-card-brands-icons .fa-cc-diners-club {
  background: #0079be !important;
}
body.portal-area #order-standard_cart .checkout-card-brands-icons .fa-cc-jcb {
  background: #0b4ea2 !important;
}
body.portal-area #order-standard_cart .checkout-card-brands-icons .fa-cc-paypal {
  background: #003087 !important;
}

body.portal-area #order-standard_cart .checkout-card-brands-icons .fab:hover,
body.portal-area #order-standard_cart .checkout-card-brands-icons .fas:hover,
body.portal-area #order-standard_cart .checkout-card-brands-icons i:hover {
  transform: translateY(-1px) scale(1.04) !important;
  filter: brightness(1.15) !important;
}

body.portal-area #order-standard_cart .checkout-trust-badges {
  margin: 0 0 18px !important;
  padding: 16px 18px !important;
  border-radius: 14px !important;
  border: 1px solid var(--ex-green-border) !important;
  background:
    linear-gradient(135deg, rgba(143, 224, 0, 0.1) 0%, rgba(143, 224, 0, 0.03) 45%, rgba(255, 255, 255, 0.02) 100%) !important;
  box-shadow: var(--ex-shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

body.portal-area #order-standard_cart .checkout-trust-points {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 8px 16px !important;
}

body.portal-area #order-standard_cart .checkout-trust-points li {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ex-text-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

body.portal-area #order-standard_cart .checkout-trust-points li .fa-lock,
body.portal-area #order-standard_cart .checkout-trust-points li .fa-shield-alt,
body.portal-area #order-standard_cart .checkout-trust-points li .fa-user-shield {
  color: var(--ex-green) !important;
  font-size: 0.85rem !important;
  width: 1em !important;
  flex-shrink: 0 !important;
}

/* Card fields: login-style merged prepend-icon groups (secure dark inputs) */
body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon,
body.portal-area #order-standard_cart #paymentGatewayInput .form-group.prepend-icon,
body.portal-area #order-standard_cart .assisted-cc-input-container .form-group.prepend-icon {
  position: relative !important;
  display: block !important;
  margin-bottom: 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28) !important;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease !important;
}

body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon:focus-within,
body.portal-area #order-standard_cart #paymentGatewayInput .form-group.prepend-icon:focus-within,
body.portal-area #order-standard_cart .assisted-cc-input-container .form-group.prepend-icon:focus-within {
  border-color: var(--ex-green) !important;
  box-shadow: 0 0 0 3px var(--ex-green-soft), inset 0 1px 2px rgba(0, 0, 0, 0.28) !important;
}

body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon .field-icon,
body.portal-area #order-standard_cart #paymentGatewayInput .form-group.prepend-icon .field-icon,
body.portal-area #order-standard_cart .assisted-cc-input-container .form-group.prepend-icon .field-icon {
  width: 42px !important;
  height: 46px !important;
  line-height: 46px !important;
  z-index: 2 !important;
}

body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon .field-icon i,
body.portal-area #order-standard_cart #paymentGatewayInput .form-group.prepend-icon .field-icon i,
body.portal-area #order-standard_cart .assisted-cc-input-container .form-group.prepend-icon .field-icon i {
  color: var(--ex-text-muted) !important;
}

body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon:focus-within .field-icon i,
body.portal-area #order-standard_cart #paymentGatewayInput .form-group.prepend-icon:focus-within .field-icon i,
body.portal-area #order-standard_cart .assisted-cc-input-container .form-group.prepend-icon:focus-within .field-icon i {
  color: var(--ex-green) !important;
}

body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon .input-group,
body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon .input-group .field {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon .input-group {
  display: flex !important;
  align-items: stretch !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon .input-group .field {
  flex: 1 1 auto !important;
  min-height: 46px !important;
  border-radius: 0 !important;
}

body.portal-area #order-standard_cart .cc-input-container .prepend-icon > .field,
body.portal-area #order-standard_cart .cc-input-container #inputDescriptionContainer .prepend-icon > .field {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.portal-area #order-standard_cart .cc-input-container #inputDescriptionContainer .prepend-icon {
  display: block !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28) !important;
}

body.portal-area #order-standard_cart .cc-input-container #inputDescriptionContainer .prepend-icon:focus-within {
  border-color: var(--ex-green) !important;
  box-shadow: 0 0 0 3px var(--ex-green-soft), inset 0 1px 2px rgba(0, 0, 0, 0.28) !important;
}

/* Dark card / remote gateway fields (Stripe, assisted CC, WHMCS embeds) */
body.portal-area #order-standard_cart #paymentGatewayInput input.form-control,
body.portal-area #order-standard_cart #paymentGatewayInput select.form-control,
body.portal-area #order-standard_cart #paymentGatewayInput textarea.form-control,
body.portal-area #order-standard_cart #paymentGatewayInput .form-control,
body.portal-area #order-standard_cart #paymentGatewayInput .field,
body.portal-area #order-standard_cart .cc-input-container .new-card-container input.field,
body.portal-area #order-standard_cart .cc-input-container .new-card-container .form-control,
body.portal-area #order-standard_cart .cc-input-container #inputDescription,
body.portal-area #order-standard_cart .assisted-cc-input-container input,
body.portal-area #order-standard_cart .assisted-cc-input-container .form-control,
body.portal-area #order-standard_cart .assisted-cc-input-fields input,
body.portal-area #order-standard_cart .assisted-cc-input-fields .form-control {
  background: rgba(8, 12, 18, 0.55) !important;
  border: 1px solid var(--ex-border-strong) !important;
  color: var(--ex-text-dark) !important;
  border-radius: 12px !important;
  min-height: 46px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon .field,
body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon .form-control,
body.portal-area #order-standard_cart .cc-input-container #inputDescriptionContainer .prepend-icon .field {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--ex-text-dark) !important;
}

body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon .field:focus,
body.portal-area #order-standard_cart .cc-input-container .form-group.prepend-icon .form-control:focus,
body.portal-area #order-standard_cart .cc-input-container #inputDescriptionContainer .prepend-icon .field:focus {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

body.portal-area #order-standard_cart #paymentGatewayInput .form-group label,
body.portal-area #order-standard_cart .assisted-cc-input-container label {
  color: var(--ex-text-muted) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

body.portal-area #order-standard_cart #paymentGatewayInput .StripeElement,
body.portal-area #order-standard_cart #paymentGatewayInput .InputElement,
body.portal-area #order-standard_cart #paymentGatewayInput [class*="stripe"],
body.portal-area #order-standard_cart .assisted-cc-input-container .StripeElement,
body.portal-area #order-standard_cart .assisted-cc-input-fields .StripeElement {
  background: rgba(8, 12, 18, 0.55) !important;
  border: 1px solid var(--ex-border-strong) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  min-height: 46px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35) !important;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease !important;
}

body.portal-area #order-standard_cart #paymentGatewayInput .StripeElement--focus,
body.portal-area #order-standard_cart #paymentGatewayInput .InputElement--focus,
body.portal-area #order-standard_cart .assisted-cc-input-container .StripeElement--focus,
body.portal-area #order-standard_cart .assisted-cc-input-fields .StripeElement--focus {
  border-color: var(--ex-green) !important;
  box-shadow: 0 0 0 3px var(--ex-green-soft), inset 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

body.portal-area #order-standard_cart #paymentGatewayInput iframe {
  border-radius: 12px !important;
  background: rgba(8, 12, 18, 0.55) !important;
}

body.portal-area #order-standard_cart #newCardInfo {
  margin-top: 4px !important;
}

body.portal-area #order-standard_cart .cc-input-container .input-group-btn .btn-default {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--ex-border-strong) !important;
  color: var(--ex-text-muted) !important;
}

@media (max-width: 767px) {
  body.portal-area #order-standard_cart #frmCheckout .sub-heading {
    margin-top: 22px !important;
  }

  body.portal-area #order-standard_cart .checkout-trust-points {
    grid-template-columns: 1fr !important;
  }

  body.portal-area #order-standard_cart .cc-input-container,
  body.portal-area #order-standard_cart #paymentGatewaysContainer,
  body.portal-area #order-standard_cart .marketing-email-optin,
  body.portal-area #order-standard_cart .apply-credit-container {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  body.portal-area #order-standard_cart #btnCompleteOrder {
    max-width: 100% !important;
    padding: 14px 22px !important;
  }
}

/* =========================================================
   Vertical menus — flat top on first item (v71)
   Parent panel / dropdown already has corner radius; avoid
   double-rounded first list-group-item (inherits from .list-group).
   ========================================================= */

.sidebar .list-group .list-group-item:first-child,
.panel-sidebar .list-group .list-group-item:first-child,
.card-sidebar .list-group .list-group-item:first-child,
.collapsable-card-body .list-group .list-group-item:first-child,
#order-standard_cart .cart-sidebar .list-group .list-group-item:first-child,
#order-standard_cart .card-sidebar .list-group .list-group-item:first-child {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

/* Nav / header dropdown menus — first link flush with menu padding */
.navbar-main .dropdown-menu > li:first-child > a,
#header .dropdown-menu > li:first-child > a,
#header .dropdown-menu > li:first-child .dropdown-item,
.view-cart-items .dropdown-menu > li:first-child > a,
.view-cart-items .dropdown-menu > li:first-child .dropdown-item,
.secondary-cart-body .dropdown-menu > li:first-child > a,
.secondary-cart-body .dropdown-menu > li:first-child .dropdown-item {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

/* Multiselect dropdown — first row */
#order-standard_cart .domain-checker-advanced .multiselect-container.dropdown-menu > li:first-child > a {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}
/* =========================================================
   Domain step — explainer text & combined own-domain input
   ========================================================= */

.domain-step-explainer {
  margin: 0 0 28px;
  padding: 0;
}

.domain-step-explainer p {
  color: var(--ex-text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0 0 6px;
}

.domain-step-explainer p:last-child {
  margin-bottom: 0;
}

.domain-step-explainer strong {
  color: var(--ex-text-soft);
  font-weight: 600;
}

/* Combined own-domain input — full width, no www. prefix */
#owndomaincombined {
  border-radius: 10px !important;
}

/* =========================================================
   Domain option active state — JS-class (.option-active) fallback
   Works when CSS :has() / iCheck desync the native :checked state
   ========================================================= */

/* Inactive card explicit reset */
#order-standard_cart .domain-selection-options .option:not(.option-active) {
  border-color: var(--ex-border-light) !important;
  box-shadow:
    0 18px 45px rgba(8, 25, 22, 0.06),
    0 3px 12px rgba(8, 25, 22, 0.035) !important;
}

/* Active card via JS class */
#order-standard_cart .domain-selection-options .option.option-active {
  border-color: #bdeb66 !important;
  box-shadow:
    0 22px 55px rgba(8, 25, 22, 0.08),
    0 0 0 1px rgba(143, 224, 0, 0.16) !important;
}

/* Active label via JS class */
#order-standard_cart .domain-selection-options .option.option-active label {
  color: var(--ex-text-dark) !important;
  font-weight: 750 !important;
}
