/* ==========================================================================
   Cloud Cabin client area theme - cloudcabin.css
   A layer on top of WHMCS Twenty-One (Bootstrap 4.5.3), loaded after Twenty-One's own CSS.
   Tokens, fonts, buttons, cards and the night/day hero come from cloudcabin.com (assets/css/styles.css + effects.css):
   keep the two in step. Source: _whmcs/cloudcabin-theme/src (edit there, then run build.py).

   Brand rules (README of the website)
   - #3B82F6 is for fills, rings and icons; links on white use #2563EB (#3B82F6 is only 3.7:1 on white)
   - buttons filled with #3B82F6 carry deep-navy text (#061226), not white
   - dark mode is the default, with a switch; all motion stops under prefers-reduced-motion
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Tokens (same names and values as the website)
   ------------------------------------------------------------------------- */
:root {
  --cc-primary: #3b82f6;
  --cc-primary-rgb: 59, 130, 246;
  --cc-primary-hover: #60a5fa;
  --cc-primary-600: #2563eb;
  --cc-primary-700: #1d4ed8;
  --cc-primary-300: #93c5fd;
  --cc-primary-200: #bfdbfe;
  --cc-primary-100: #dbeafe;
  --cc-primary-50: #eff6ff;
  --cc-on-primary: #061226;

  --cc-ink-950: #060b16;
  --cc-ink-900: #0b1220;
  --cc-ink-850: #0e1729;
  --cc-ink-800: #111b30;
  --cc-ink-700: #1a2744;
  --cc-ink-600: #2a3b5e;

  --cc-text-on-dark: #e6edf8;
  --cc-text-on-dark-muted: #a9b8d0;
  --cc-green: #34d399;

  --cc-radius-sm: 12px;
  --cc-radius: 18px;
  --cc-radius-lg: 28px;

  --cc-font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --cc-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --cc-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

:root,
[data-bs-theme="light"] {
  color-scheme: light;
  --cc-bg: #ffffff;
  --cc-page: #f4f7fd;
  --cc-card: #ffffff;
  --cc-card-2: #f7f9fe;
  --cc-surface-alt: #f4f7fd;
  --cc-border: #e2e8f0;
  --cc-border-strong: #cbd5e1;
  --cc-border-hover: #c7d8f7;
  --cc-heading: #0b1220;
  --cc-text: #1e293b;
  --cc-text-muted: #475569;
  --cc-link: #2563eb;
  --cc-link-hover: #1d4ed8;
  --cc-ring: #1d4ed8;
  --cc-tag-fg: #2563eb;
  --cc-tint: #dbeafe;
  --cc-tint-soft: #eff6ff;
  --cc-tint-fg: #1d4ed8;
  --cc-input-bg: #ffffff;
  --cc-input-bd: #76849a;   /* WCAG 1.4.11: a field's edge needs 3:1 against the page */
  --cc-placeholder: #5b6b82;
  --cc-ok-fg: #047857;
  --cc-ok-bg: #d1fae5;
  --cc-ok-bd: #6ee7b7;
  --cc-warn-fg: #9a3412;
  --cc-warn-bg: #ffedd5;
  --cc-warn-bd: #fdba74;
  --cc-bad-fg: #b91c1c;
  --cc-bad-bg: #fee2e2;
  --cc-bad-bd: #fca5a5;
  --cc-info-fg: #1e3a8a;
  --cc-info-bg: #dbeafe;
  --cc-info-bd: #93c5fd;
  --cc-off-fg: #475569;
  --cc-off-bg: #e2e8f0;
  --cc-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 14px -6px rgba(15, 23, 42, 0.1);
  --cc-shadow-md: 0 2px 4px rgba(15, 23, 42, 0.04), 0 18px 40px -18px rgba(15, 23, 42, 0.2);
  --cc-shadow-lg: 0 4px 8px rgba(15, 23, 42, 0.04), 0 32px 64px -24px rgba(30, 64, 175, 0.32);
}

[data-bs-theme="dark"] {
  color-scheme: dark;
  --cc-bg: #0b1220;
  --cc-page: #0b1220;
  --cc-card: #111b30;
  --cc-card-2: #16233f;
  --cc-surface-alt: #0e1729;
  --cc-border: rgba(255, 255, 255, 0.1);
  --cc-border-strong: rgba(255, 255, 255, 0.26);
  --cc-border-hover: rgba(59, 130, 246, 0.55);
  --cc-heading: #ffffff;
  --cc-text: #dbe5f5;
  --cc-text-muted: #a9b8d0;
  --cc-link: #93c5fd;
  --cc-link-hover: #ffffff;
  --cc-ring: #93c5fd;
  --cc-tag-fg: #93c5fd;
  --cc-tint: rgba(59, 130, 246, 0.2);
  --cc-tint-soft: rgba(59, 130, 246, 0.12);
  --cc-tint-fg: #bfdbfe;
  --cc-input-bg: rgba(255, 255, 255, 0.06);
  --cc-input-bd: rgba(255, 255, 255, 0.4);
  --cc-placeholder: #9fb0cc;
  --cc-ok-fg: #6ee7b7;
  --cc-ok-bg: rgba(52, 211, 153, 0.14);
  --cc-ok-bd: rgba(52, 211, 153, 0.4);
  --cc-warn-fg: #fdba74;
  --cc-warn-bg: rgba(251, 146, 60, 0.16);
  --cc-warn-bd: rgba(251, 146, 60, 0.42);
  --cc-bad-fg: #fecaca;
  --cc-bad-bg: rgba(248, 113, 113, 0.16);
  --cc-bad-bd: rgba(248, 113, 113, 0.42);
  --cc-info-fg: #bfdbfe;
  --cc-info-bg: rgba(59, 130, 246, 0.16);
  --cc-info-bd: rgba(59, 130, 246, 0.45);
  --cc-off-fg: #cbd5e1;
  --cc-off-bg: rgba(148, 163, 184, 0.16);
  --cc-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px -6px rgba(0, 0, 0, 0.5);
  --cc-shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --cc-shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.3), 0 32px 64px -24px rgba(var(--cc-primary-rgb), 0.45);
}

/* ---- Nexus Cart palette. The order form (templates/orderforms/cloudcabin_cart, a child of WHMCS's Nexus Cart) draws the cart
   and domain search as an app inside a Shadow DOM whose colours are --vl-* = var(--primary), var(--bg) ... (nexus_cart/css/
   custom.css). Custom properties pass into a Shadow DOM, so defining these names here themes the app and follows the switch.
   Twenty-One normally defines them in its custom.css, which this theme does not load. Light mode: the app puts white
   (--text-inverted) on --primary, so the fill is #2563EB (5.2:1); #3B82F6 with white would be 3.7:1. Dark mode: #3B82F6 with
   navy text, as on the website. Bootstrap 4 exports --primary etc. too, but none of its rules read them. ---- */
:root,
[data-bs-theme="light"] {
  --primary: #2563eb; --primary-lifted: #1d4ed8; --primary-accented: #1e40af;
  --secondary: #475569; --secondary-lifted: #334155; --secondary-accented: #1e293b;
  --success: #047857; --success-lifted: #065f46; --success-accented: #064e3b;
  --info: #2563eb; --info-lifted: #1d4ed8; --info-accented: #1e40af;
  --notice: #6d28d9; --notice-lifted: #5b21b6; --notice-accented: #4c1d95;
  --warning: #c2410c; --warning-lifted: #9a3412; --warning-accented: #7c2d12;
  --error: #b91c1c; --error-lifted: #991b1b; --error-accented: #7f1d1d;
  --grayscale: #0b1220; --grayscale-lifted: #1a2744; --grayscale-accented: #2a3b5e;
  --neutral: #5b6b82; --neutral-lifted: #475569; --neutral-accented: #334155;
  --text-inverted: #ffffff; --text-muted: #5b6b82; --text-lifted: #475569; --text-accented: #334155; --text: #1e293b;
  --border-muted: #e2e8f0; --border: #cbd5e1; --border-lifted: #94a3b8; --border-accented: #475569;
  --bg: #ffffff; --bg-muted: #f7f9fe; --bg-lifted: #eef3fb; --bg-accented: #e2e8f0; --bg-inverted: #0b1220;
  --text-xs: 0.7rem; --text-sm: 0.8rem; --text-md: 0.9rem; --text-lg: 1rem;
  --outline-sm: 1px; --outline-md: 2px; --outline-lg: 3px;
  --rounding-sm: 0.4rem; --rounding-md: 0.75rem; --rounding-lg: 1rem;
  --letter-spacing: 0em; --disabled-opacity: 40%;
}
[data-bs-theme="dark"] {
  --primary: #3b82f6; --primary-lifted: #60a5fa; --primary-accented: #93c5fd;
  --secondary: #94a3b8; --secondary-lifted: #cbd5e1; --secondary-accented: #e2e8f0;
  --success: #34d399; --success-lifted: #6ee7b7; --success-accented: #a7f3d0;
  --info: #60a5fa; --info-lifted: #93c5fd; --info-accented: #bfdbfe;
  --notice: #a78bfa; --notice-lifted: #c4b5fd; --notice-accented: #ddd6fe;
  --warning: #fbbf24; --warning-lifted: #fcd34d; --warning-accented: #fde68a;
  --error: #f87171; --error-lifted: #fca5a5; --error-accented: #fecaca;
  --grayscale: #e6edf8; --grayscale-lifted: #cbd5e1; --grayscale-accented: #a9b8d0;
  --neutral: #94a3b8; --neutral-lifted: #a9b8d0; --neutral-accented: #cbd5e1;
  --text-inverted: #061226; --text-muted: #9fb0cc; --text-lifted: #a9b8d0; --text-accented: #cbd5e1; --text: #dbe5f5;
  --border-muted: rgba(255, 255, 255, 0.08); --border: rgba(255, 255, 255, 0.14); --border-lifted: rgba(255, 255, 255, 0.26); --border-accented: rgba(255, 255, 255, 0.4);
  --bg: #111b30; --bg-muted: #0e1729; --bg-lifted: #16233f; --bg-accented: #1a2744; --bg-inverted: #e6edf8;
}

/* -------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------- */
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body,
body.primary-bg-color {
  font-family: var(--cc-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cc-text);
  background-color: var(--cc-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--cc-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--cc-heading);
}
h1, .h1 { font-size: 2rem; }
h2, .h2 { font-size: 1.6rem; }
h3, .h3 { font-size: 1.3rem; }
h4, .h4 { font-size: 1.15rem; }
h5, .h5 { font-size: 1.05rem; }
a { color: var(--cc-link); text-underline-offset: 0.2em; }
/* links inside sentences need more than colour to stand out (WCAG 1.4.1) */
#main-body p a:not(.btn):not(.cc-btn), #main-body .form-check a, #main-body .alert a { text-decoration: underline; }
a:hover { color: var(--cc-link-hover); }
hr { border-top-color: var(--cc-border); }
small, .small { color: inherit; }
.text-muted { color: var(--cc-text-muted) !important; }
.text-dark { color: var(--cc-heading) !important; }
.text-primary { color: var(--cc-link) !important; }
code, kbd, pre, samp { font-family: var(--cc-font-mono); }
::selection { background: rgba(var(--cc-primary-rgb), 0.28); }
:focus-visible { outline: 3px solid var(--cc-ring); outline-offset: 2px; }
[data-bs-theme="dark"] :focus-visible { outline-color: var(--cc-primary-300); }
.btn:focus, .btn.focus, .form-control:focus, .custom-select:focus { box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.35); }

.cc-skip {
  position: absolute; left: 1rem; top: -120px; z-index: 3000;
  padding: 0.8rem 1.3rem; font-weight: 600; color: var(--cc-ink-900); background: #fff;
  border-radius: 12px; box-shadow: var(--cc-shadow-md); transition: top 0.2s ease;
}
.cc-skip:focus { top: 1rem; color: var(--cc-ink-900); }
#main-body:focus { outline: 0; }

/* Utilities that Bootstrap pins to white/light: follow the theme instead */
.bg-white, .bg-light { background-color: var(--cc-card) !important; }
.border, .border-top, .border-bottom, .border-left, .border-right { border-color: var(--cc-border) !important; }

/* -------------------------------------------------------------------------
   3. Header: always dark, like the website's navigation
   ------------------------------------------------------------------------- */
header.header.cc-header {
  position: relative;
  z-index: 1030;
  color: var(--cc-text-on-dark);
  background: rgba(7, 13, 26, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, 0.7);
}
.cc-hero header.header.cc-header { background: transparent; border-bottom-color: transparent; box-shadow: none; }

/* logged-in strip: notifications, account name, switch account, return to admin */
header.header .topbar.cc-topbar {
  padding: 3px 0;
  color: var(--cc-text-on-dark-muted);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cc-hero header.header .topbar.cc-topbar { background: rgba(6, 11, 22, 0.35); }
header.header .topbar .btn,
header.header .topbar .active-client .btn { min-height: 32px; font-size: 0.85rem; color: var(--cc-text-on-dark-muted); }
header.header .topbar .btn:hover,
header.header .topbar .active-client .btn:hover { color: #fff; }
header.header .topbar .active-client .input-group-text { color: var(--cc-text-on-dark-muted); }
header.header .topbar .active-client .btn.btn-active-client span { border-bottom-color: rgba(255, 255, 255, 0.45); }
header.header .topbar .btn-return-to-admin { color: #fde68a; }

.cc-nav.navbar { padding: 0.8rem 0; }
.cc-nav > .container { flex-wrap: wrap; gap: 0.6rem; }
/* Bootstrap 4 drops the container padding inside a collapsing navbar; keep the site's 16px side gutter */
.cc-nav.navbar > .container { padding-left: 16px; padding-right: 16px; }
.cc-nav .navbar-brand { padding: 0; margin-right: 1.5rem; }
header.header .cc-nav .logo-img { display: block; width: auto; height: 34px; max-width: none; max-height: none; }
.cc-nav__tools { order: 2; display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.cc-nav .navbar-collapse { order: 3; }
@media (min-width: 1200px) {
  /* one row: the menu gives way (Twenty-One's script then moves extra items into "More"), never the switch and cart */
  .cc-nav > .container { flex-wrap: nowrap; }
  .cc-nav__tools { order: 4; flex: none; margin-left: 0.75rem; }
  .cc-nav .navbar-collapse { order: 3; min-width: 0; }
  /* dropdown links never wrap (Bootstrap), so let the row itself wrap: a second row is what tells Twenty-One's script to move items into "More" */
  header.header .cc-nav #nav { flex-wrap: wrap; min-width: 0; }
  .cc-nav .navbar-brand { flex: none; margin-right: 1rem; }
  header.header .cc-nav .navbar-nav > li > a { padding-left: 0.7rem !important; padding-right: 0.7rem !important; }
  header.header .cc-nav .navbar-nav > li > a::before { left: 0.7rem; right: 0.7rem; }
  /* signed in, the menu is long: the account menu ("Hello, <name>!") becomes a round icon button beside the switch and cart.
     The label stays in the link (font-size 0), so screen readers still announce it; the strip above shows the name. */
  .cc-logged-in header.header .cc-nav .cc-nav__account { margin-left: 0.5rem; }
  .cc-logged-in header.header .cc-nav .cc-nav__account > li > a {
    justify-content: center; width: 44px; height: 44px; margin-block: 0; padding: 0 !important;
    font-size: 0; color: #fff; background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 14px;
  }
  .cc-logged-in header.header .cc-nav .cc-nav__account > li > a:hover,
  .cc-logged-in header.header .cc-nav .cc-nav__account > li.show > a { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.45); }
  .cc-logged-in header.header .cc-nav .cc-nav__account > li > a::before {
    content: "\f007"; position: static; height: auto; transform: none; background: none; border-radius: 0;
    font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro"; font-weight: 400; font-size: 1.05rem; line-height: 1;
  }
  .cc-logged-in header.header .cc-nav .cc-nav__account > li > a::after { display: none; }
  .cc-logged-in header.header .cc-nav .cc-nav__account > li > a > i,
  .cc-logged-in header.header .cc-nav .cc-nav__account > li > a > .badge { display: none; }
}

/* menu links (markup from Twenty-One's includes/navbar.tpl) */
header.header .cc-nav .navbar-nav > li > a {
  position: relative;
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.85rem !important;
  font-size: 0.95rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
header.header .cc-nav .navbar-nav > li > a::before {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.2rem; height: 2px;
  background: var(--cc-primary); border-radius: 2px; transform: scaleX(0); transform-origin: left center; transition: transform 0.25s ease;
}
header.header .cc-nav .navbar-nav > li > a:hover,
header.header .cc-nav .navbar-nav > li > a:focus-visible,
header.header .cc-nav .navbar-nav > li.active > a,
header.header .cc-nav .navbar-nav > li.show > a { color: #fff; }
header.header .cc-nav .navbar-nav > li > a:hover::before,
header.header .cc-nav .navbar-nav > li.active > a::before,
header.header .cc-nav .navbar-nav > li.show > a::before { transform: scaleX(1); }
@media (min-width: 1200px) {
  /* Twenty-One's script moves menu items into "More" while the #nav row is 30px tall or more; negative margins keep the
     row under that while each link keeps its full 40px click area */
  header.header .cc-nav .navbar-nav > li > a { margin-block: -0.45rem; }
}
header.header .cc-nav .navbar-nav .badge { color: var(--cc-on-primary); background: var(--cc-primary); border-radius: 999px; }

/* dropdowns in the header: dark panels like the website's menus */
header.header .dropdown-menu {
  min-width: 230px; padding: 0.4rem; margin-top: 0.5rem;
  background: var(--cc-ink-850); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.8);
}
header.header .dropdown-menu li.dropdown-item { padding: 0; background: none; }
header.header .dropdown-menu a.dropdown-item {
  display: block; padding: 0.55rem 0.75rem !important;
  font-size: 0.92rem; line-height: 1.35; color: #dce6f7; white-space: normal;
  border-radius: 10px;
}
header.header .dropdown-menu a.dropdown-item:hover,
header.header .dropdown-menu a.dropdown-item:focus { color: #fff; background: rgba(var(--cc-primary-rgb), 0.16); }
header.header .dropdown-menu .dropdown-item.active,
header.header .dropdown-menu .dropdown-item:active { background: rgba(var(--cc-primary-rgb), 0.24); }
header.header .dropdown-divider { border-top-color: rgba(255, 255, 255, 0.1); margin: 0.35rem 0.5rem; }

/* icon buttons: theme switch, cart, menu */
.cc-theme-toggle,
.cc-icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  color: #fff; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 14px;
  cursor: pointer; text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.cc-theme-toggle:hover, .cc-icon-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.45); }
.cc-theme-toggle:active, .cc-icon-btn:active { transform: scale(0.94); }
html:not(.js) .cc-theme-toggle { display: none; }
/* the pause button (front page only) shares the switch's look and shows what pressing it will do */
.mt-pause, .mt-play { fill: currentColor; stroke: none; }
.mt-play, .cc-paused .mt-pause { display: none; }
.cc-paused .mt-play { display: inline; }
.cc-theme-toggle__icon { width: 22px; height: 22px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tt-moon path { fill: currentColor; stroke: none; }
.tt-moon, .tt-sun { transform-origin: 12px 12px; transition: transform 0.55s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.35s ease; }
:root[data-bs-theme="dark"] .tt-moon { opacity: 0; transform: rotate(-80deg) scale(0.35); }
:root[data-bs-theme="light"] .tt-sun { opacity: 0; transform: rotate(80deg) scale(0.35); }
.cc-icon-btn .badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; padding: 3px 6px;
  font-size: 0.7rem; font-weight: 700; line-height: 1; color: var(--cc-on-primary); background: var(--cc-primary); border-radius: 999px;
}
.cc-toggler .bars, .cc-toggler .bars::before, .cc-toggler .bars::after {
  position: absolute; left: 50%; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.28s ease, top 0.28s ease, background-color 0.2s ease;
}
.cc-toggler .bars { top: 50%; transform: translate(-50%, -50%); }
.cc-toggler .bars::before, .cc-toggler .bars::after { content: ""; left: 0; }
.cc-toggler .bars::before { top: -7px; }
.cc-toggler .bars::after { top: 7px; }
.cc-toggler[aria-expanded="true"] .bars { background: transparent; }
.cc-toggler[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.cc-toggler[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* phones: logo, switch, cart and menu button on one row inside the 16px gutters */
@media (max-width: 575.98px) {
  header.header .cc-nav .logo-img { height: 28px; }
  .cc-nav .navbar-brand { margin-right: 0.5rem; }
  .cc-nav__tools { gap: 0.4rem; }
  .cc-theme-toggle, .cc-icon-btn { width: 42px; height: 42px; border-radius: 13px; }
}
/* the front page has one more button in that row */
@media (max-width: 399.98px) {
  .cc-tpl-homepage .cc-nav.navbar > .container { column-gap: 0; }
  .cc-tpl-homepage header.header .cc-nav .logo-img { height: 26px; }
  .cc-tpl-homepage .cc-nav__tools { gap: 0.25rem; }
  .cc-tpl-homepage .cc-theme-toggle, .cc-tpl-homepage .cc-icon-btn { width: 40px; height: 40px; }
}
@media (min-width: 1200px) {
  /* room for it on desktops too, so the menu stays on one row and WHMCS does not fold links into "More" */
  .cc-tpl-homepage .cc-nav .navbar-brand { margin-right: 0.5rem; }
  .cc-tpl-homepage header.header .cc-nav .navbar-nav > li > a { padding-left: 0.42rem !important; padding-right: 0.42rem !important; }
  .cc-tpl-homepage header.header .cc-nav .navbar-nav > li > a::before { left: 0.42rem; right: 0.42rem; }
}
@media (max-width: 359.98px) {
  .cc-tpl-homepage .cc-nav.navbar > .container { padding-left: 12px; padding-right: 12px; }
  .cc-tpl-homepage .cc-nav .navbar-brand { margin-right: 4px; }
  .cc-tpl-homepage header.header .cc-nav .logo-img { height: 22px; }
  .cc-tpl-homepage .cc-nav__tools { gap: 3px; }
  .cc-tpl-homepage .cc-theme-toggle, .cc-tpl-homepage .cc-icon-btn { width: 38px; height: 38px; }
}

/* the knowledgebase search inside the mobile menu */
.cc-nav__search { margin-bottom: 0.5rem; }
header.header .cc-nav__search .search { width: 100%; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; }
header.header .cc-nav__search .btn, header.header .cc-nav__search .form-control { color: #fff; background: transparent; border: 0; }
header.header .cc-nav__search .form-control::placeholder { color: var(--cc-text-on-dark-muted); }

@media (max-width: 1199.98px) {
  .cc-nav .navbar-collapse {
    flex-basis: 100%;
    margin-top: 0.5rem; padding: 0.75rem;
    max-height: calc(100svh - 110px); overflow-y: auto;
    background: rgba(9, 15, 29, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 20px;
    box-shadow: 0 30px 70px -26px rgba(0, 0, 0, 0.85);
  }
  header.header .cc-nav .navbar-nav > li > a { min-height: 46px; padding: 0.75rem 0.85rem !important; }
  header.header .cc-nav .navbar-nav > li > a::before { display: none; }
  header.header .cc-nav .navbar-nav > li.active > a { background: rgba(var(--cc-primary-rgb), 0.16); }
  header.header .dropdown-menu { margin: 0.2rem 0 0.4rem; background: rgba(255, 255, 255, 0.04); box-shadow: none; }
  .cc-nav__account { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
}

/* -------------------------------------------------------------------------
   4. Front page hero: the website's night (dark mode) / day (light mode) mountain scene
   ------------------------------------------------------------------------- */
.cc-hero {
  --ridge-h: 30vh;
  --near-h: max(calc(var(--ridge-h) * 0.5), 10.8333vw);
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--cc-ink-950);
}
/* only the artwork is clipped (the clouds are wider than the screen); the header's menus may hang below the hero */
.cc-hero__scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cc-layer { position: absolute; inset: 0; }
.cc-layer img { position: absolute; display: block; max-width: none; user-select: none; }
.cc-hero__photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: opacity 1.1s ease; }
.cc-hero__photo .sky--day { opacity: 0; }
:root[data-bs-theme="light"] .cc-hero__photo .sky--night { opacity: 0; }
:root[data-bs-theme="light"] .cc-hero__photo .sky--day { opacity: 1; }
.cc-hero__shade {
  background:
    radial-gradient(75% 55% at 50% 30%, rgba(var(--cc-primary-rgb), 0.12), transparent 70%),
    radial-gradient(64% 54% at 50% 46%, rgba(5, 10, 22, 0.55), transparent 78%),
    linear-gradient(180deg, rgba(6, 11, 22, 0.84) 0%, rgba(8, 16, 34, 0.66) 44%, rgba(6, 11, 22, 0.9) 100%);
  transition: opacity 1s ease;
}
:root[data-bs-theme="light"] .cc-hero__shade {
  background:
    radial-gradient(64% 30% at 50% 27%, rgba(6, 24, 66, 0.46), transparent 80%),
    radial-gradient(86% 58% at 50% 43%, rgba(6, 24, 66, 0.56), transparent 80%),
    radial-gradient(66% 40% at 50% 74%, rgba(6, 24, 66, 0.42), transparent 80%),
    linear-gradient(180deg, rgba(6, 24, 66, 0.40) 0%, rgba(10, 38, 94, 0.32) 50%, rgba(6, 24, 66, 0.42) 100%);
}
.cc-hero__glow {
  background:
    radial-gradient(46% 42% at 78% 26%, rgba(var(--cc-primary-rgb), 0.3), transparent 62%),
    radial-gradient(40% 36% at 14% 58%, rgba(34, 211, 238, 0.12), transparent 62%);
  animation: ccGlowShift 16s ease-in-out infinite alternate;
}
:root[data-bs-theme="light"] .cc-hero__glow {
  background:
    radial-gradient(40% 36% at 80% 22%, rgba(255, 232, 160, 0.34), transparent 62%),
    radial-gradient(40% 36% at 12% 60%, rgba(255, 255, 255, 0.16), transparent 62%);
}
@keyframes ccGlowShift { from { opacity: 0.6; } to { opacity: 1; } }
.cc-hero__grid { opacity: 0.55; background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.3px); background-size: 30px 30px; }
:root[data-bs-theme="light"] .cc-hero__grid { opacity: 0.22; }

.cc-hero__ridge img { left: 0; bottom: 0; width: 100%; object-fit: cover; object-position: 50% 100%; transition: filter 1.1s ease, opacity 1.1s ease; }
.cc-hero__ridge--far img { height: var(--ridge-h); object-position: 50% 25%; }
.cc-hero__ridge--mid img { height: calc(var(--ridge-h) * 0.72); object-position: 50% 55%; }
.cc-hero__ridge--near img { height: var(--near-h); bottom: -2px; object-position: 62% 100%; }
:root[data-bs-theme="dark"] .rn--day { opacity: 0; }
:root[data-bs-theme="light"] .rn--night { opacity: 0; }
:root[data-bs-theme="light"] .cc-hero__ridge--far img { filter: brightness(1.62) saturate(1.25); }
:root[data-bs-theme="light"] .cc-hero__ridge--mid img { filter: brightness(1.42) saturate(1.2); }
.cc-hero__clouds img {
  left: -12%; width: 124%; height: calc(var(--ridge-h) * 0.95); object-fit: cover;
  animation: ccCloudDrift 48s ease-in-out infinite alternate; transition: filter 1.1s ease;
}
.cc-hero__clouds--far img { bottom: calc(var(--ridge-h) * 0.62); opacity: 0.85; }
.cc-hero__clouds--near img { bottom: calc(var(--ridge-h) * -0.06); height: calc(var(--ridge-h) * 0.62); opacity: 0.38; animation-duration: 36s; animation-direction: alternate-reverse; }
:root[data-bs-theme="light"] .cc-hero__clouds img { filter: brightness(1.15) saturate(0.6); }
@keyframes ccCloudDrift { from { transform: translateX(-3.5%); } to { transform: translateX(3.5%); } }

/* stars (dark mode only): three layers twinkling out of step; the dots themselves are copied from the website by build.py */
.cc-hero__stars { transition: opacity 1s ease; }
.cc-hero__stars .st { position: absolute; inset: 0; animation: ccTwinkle 4.6s ease-in-out infinite alternate; }
.cc-hero__stars .st--b { animation-duration: 6.4s; animation-delay: -2.2s; }
.cc-hero__stars .st--c { animation-duration: 8.8s; animation-delay: -5s; }
@keyframes ccTwinkle { from { opacity: 0.25; } to { opacity: 1; } }
:root[data-bs-theme="light"] .cc-hero__stars { opacity: 0; }
.cc-hero__stars .st--a { background:
    radial-gradient(#ffffffe0 0 0.5px,#0000 1.60px) 14.9% 51.2%/4px 4px no-repeat,
    radial-gradient(#fffffff2 0 0.85px,#0000 1.95px) 49.6% 28.1%/4px 4px no-repeat,
    radial-gradient(#ffffffcc 0 0.85px,#0000 1.95px) 48.8% 53.8%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.6px,#0000 1.70px) 68.8% 17.4%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.5px,#0000 1.60px) 88.5% 3.8%/4px 4px no-repeat,
    radial-gradient(#ffffffcc 0 0.6px,#0000 1.70px) 92.2% 24.1%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.85px,#0000 1.95px) 52.7% 46.3%/4px 4px no-repeat,
    radial-gradient(#ffffffe0 0 0.85px,#0000 1.95px) 35.2% 41.3%/4px 4px no-repeat,
    radial-gradient(#d6e5fff2 0 0.5px,#0000 1.60px) 42.0% 55.1%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.85px,#0000 1.95px) 13.6% 21.3%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.85px,#0000 1.95px) 31.1% 36.1%/4px 4px no-repeat,
    radial-gradient(#fff3d6cc 0 0.6px,#0000 1.70px) 58.5% 4.0%/4px 4px no-repeat,
    radial-gradient(#fff3d6ff 0 0.7px,#0000 1.80px) 65.8% 23.3%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.6px,#0000 1.70px) 65.7% 8.3%/4px 4px no-repeat,
    radial-gradient(#d6e5ffff 0 0.85px,#0000 1.95px) 37.6% 44.5%/4px 4px no-repeat,
    radial-gradient(#fffffff2 0 0.85px,#0000 1.95px) 69.5% 59.0%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.6px,#0000 1.70px) 50.2% 59.0%/4px 4px no-repeat,
    radial-gradient(#d6e5ffcc 0 0.7px,#0000 1.80px) 40.8% 21.9%/4px 4px no-repeat,
    radial-gradient(#ffffffcc 0 0.5px,#0000 1.60px) 65.3% 37.3%/4px 4px no-repeat,
    radial-gradient(#fff3d6ff 0 0.85px,#0000 1.95px) 51.8% 34.6%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.6px,#0000 1.70px) 85.5% 35.1%/4px 4px no-repeat,
    radial-gradient(#d6e5ffff 0 0.7px,#0000 1.80px) 48.6% 22.7%/4px 4px no-repeat,
    radial-gradient(#fffffff2 0 0.6px,#0000 1.70px) 46.0% 3.6%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.7px,#0000 1.80px) 84.7% 48.3%/4px 4px no-repeat,
    radial-gradient(#ffffffe0 0 0.5px,#0000 1.60px) 10.0% 3.0%/4px 4px no-repeat,
    radial-gradient(#d6e5ffe0 0 0.6px,#0000 1.70px) 27.8% 48.2%/4px 4px no-repeat; }
.cc-hero__stars .st--b { background:
    radial-gradient(#ffffffff 0 0.5px,#0000 1.60px) 93.8% 57.0%/4px 4px no-repeat,
    radial-gradient(#ffffffe0 0 0.7px,#0000 1.80px) 36.7% 11.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6cc 0 0.6px,#0000 1.70px) 60.3% 35.7%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.7px,#0000 1.80px) 79.2% 51.9%/4px 4px no-repeat,
    radial-gradient(#fff3d6e0 0 0.5px,#0000 1.60px) 50.2% 54.3%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.85px,#0000 1.95px) 91.5% 54.6%/4px 4px no-repeat,
    radial-gradient(#d6e5fff2 0 0.5px,#0000 1.60px) 55.8% 15.7%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.7px,#0000 1.80px) 18.7% 31.6%/4px 4px no-repeat,
    radial-gradient(#d6e5ffb8 0 0.85px,#0000 1.95px) 97.5% 27.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6f2 0 0.85px,#0000 1.95px) 77.8% 22.5%/4px 4px no-repeat,
    radial-gradient(#d6e5ffcc 0 0.6px,#0000 1.70px) 70.7% 28.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6cc 0 0.7px,#0000 1.80px) 90.8% 31.0%/4px 4px no-repeat,
    radial-gradient(#ffffffcc 0 0.85px,#0000 1.95px) 35.7% 44.1%/4px 4px no-repeat,
    radial-gradient(#d6e5ffb8 0 0.6px,#0000 1.70px) 92.3% 49.3%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.7px,#0000 1.80px) 76.2% 29.8%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.7px,#0000 1.80px) 31.9% 14.1%/4px 4px no-repeat,
    radial-gradient(#fffffff2 0 0.5px,#0000 1.60px) 77.3% 21.8%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.7px,#0000 1.80px) 7.6% 39.9%/4px 4px no-repeat,
    radial-gradient(#ffffffe0 0 0.6px,#0000 1.70px) 67.5% 55.1%/4px 4px no-repeat,
    radial-gradient(#ffffffcc 0 0.5px,#0000 1.60px) 81.2% 56.7%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.6px,#0000 1.70px) 7.5% 22.9%/4px 4px no-repeat,
    radial-gradient(#d6e5ffff 0 0.5px,#0000 1.60px) 13.1% 5.9%/4px 4px no-repeat; }
.cc-hero__stars .st--c { background:
    radial-gradient(#fff3d6b8 0 0.7px,#0000 1.80px) 24.8% 33.6%/4px 4px no-repeat,
    radial-gradient(#d6e5ffcc 0 0.5px,#0000 1.60px) 62.1% 5.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.85px,#0000 1.95px) 54.9% 13.1%/4px 4px no-repeat,
    radial-gradient(#fff3d6f2 0 0.6px,#0000 1.70px) 40.1% 51.9%/4px 4px no-repeat,
    radial-gradient(#fffffff2 0 0.5px,#0000 1.60px) 73.2% 40.9%/4px 4px no-repeat,
    radial-gradient(#fff3d6cc 0 0.7px,#0000 1.80px) 30.9% 3.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.85px,#0000 1.95px) 70.6% 55.4%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.7px,#0000 1.80px) 94.6% 9.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6e0 0 0.85px,#0000 1.95px) 15.1% 14.6%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.7px,#0000 1.80px) 50.7% 24.4%/4px 4px no-repeat,
    radial-gradient(#ffffffe0 0 0.5px,#0000 1.60px) 58.1% 54.4%/4px 4px no-repeat,
    radial-gradient(#d6e5fff2 0 0.5px,#0000 1.60px) 69.1% 20.9%/4px 4px no-repeat,
    radial-gradient(#d6e5ffff 0 0.85px,#0000 1.95px) 29.4% 5.7%/4px 4px no-repeat,
    radial-gradient(#d6e5ffff 0 0.6px,#0000 1.70px) 78.9% 25.8%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.5px,#0000 1.60px) 43.0% 26.1%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.7px,#0000 1.80px) 38.3% 36.0%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.5px,#0000 1.60px) 97.9% 20.0%/4px 4px no-repeat,
    radial-gradient(#d6e5ffb8 0 0.7px,#0000 1.80px) 93.1% 58.3%/4px 4px no-repeat; }

/* shooting stars (night only): effects.js sends one across the upper sky now and then, at a random spot and angle: a short
   streak whose bright head leads the way, fading in and out within a second */
.hero__shoot { overflow: hidden; transition: opacity 0.8s ease; }
.meteor {
  position: absolute; height: 2px; border-radius: 2px; opacity: 0; transform-origin: right center;
  background: linear-gradient(90deg, rgba(214, 228, 255, 0), rgba(214, 228, 255, 0.45) 60%, #fff);
  filter: drop-shadow(0 0 3px rgba(210, 226, 255, 0.9));
}
.cc-hero__stars .st--b { background:
    radial-gradient(#ffffffff 0 0.5px,#0000 1.60px) 93.8% 57.0%/4px 4px no-repeat,
    radial-gradient(#ffffffe0 0 0.7px,#0000 1.80px) 36.7% 11.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6cc 0 0.6px,#0000 1.70px) 60.3% 35.7%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.7px,#0000 1.80px) 79.2% 51.9%/4px 4px no-repeat,
    radial-gradient(#fff3d6e0 0 0.5px,#0000 1.60px) 50.2% 54.3%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.85px,#0000 1.95px) 91.5% 54.6%/4px 4px no-repeat,
    radial-gradient(#d6e5fff2 0 0.5px,#0000 1.60px) 55.8% 15.7%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.7px,#0000 1.80px) 18.7% 31.6%/4px 4px no-repeat,
    radial-gradient(#d6e5ffb8 0 0.85px,#0000 1.95px) 97.5% 27.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6f2 0 0.85px,#0000 1.95px) 77.8% 22.5%/4px 4px no-repeat,
    radial-gradient(#d6e5ffcc 0 0.6px,#0000 1.70px) 70.7% 28.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6cc 0 0.7px,#0000 1.80px) 90.8% 31.0%/4px 4px no-repeat,
    radial-gradient(#ffffffcc 0 0.85px,#0000 1.95px) 35.7% 44.1%/4px 4px no-repeat,
    radial-gradient(#d6e5ffb8 0 0.6px,#0000 1.70px) 92.3% 49.3%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.7px,#0000 1.80px) 76.2% 29.8%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.7px,#0000 1.80px) 31.9% 14.1%/4px 4px no-repeat,
    radial-gradient(#fffffff2 0 0.5px,#0000 1.60px) 77.3% 21.8%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.7px,#0000 1.80px) 7.6% 39.9%/4px 4px no-repeat,
    radial-gradient(#ffffffe0 0 0.6px,#0000 1.70px) 67.5% 55.1%/4px 4px no-repeat,
    radial-gradient(#ffffffcc 0 0.5px,#0000 1.60px) 81.2% 56.7%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.6px,#0000 1.70px) 7.5% 22.9%/4px 4px no-repeat,
    radial-gradient(#d6e5ffff 0 0.5px,#0000 1.60px) 13.1% 5.9%/4px 4px no-repeat; }
.cc-hero__stars .st--c { background:
    radial-gradient(#fff3d6b8 0 0.7px,#0000 1.80px) 24.8% 33.6%/4px 4px no-repeat,
    radial-gradient(#d6e5ffcc 0 0.5px,#0000 1.60px) 62.1% 5.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.85px,#0000 1.95px) 54.9% 13.1%/4px 4px no-repeat,
    radial-gradient(#fff3d6f2 0 0.6px,#0000 1.70px) 40.1% 51.9%/4px 4px no-repeat,
    radial-gradient(#fffffff2 0 0.5px,#0000 1.60px) 73.2% 40.9%/4px 4px no-repeat,
    radial-gradient(#fff3d6cc 0 0.7px,#0000 1.80px) 30.9% 3.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.85px,#0000 1.95px) 70.6% 55.4%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.7px,#0000 1.80px) 94.6% 9.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6e0 0 0.85px,#0000 1.95px) 15.1% 14.6%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.7px,#0000 1.80px) 50.7% 24.4%/4px 4px no-repeat,
    radial-gradient(#ffffffe0 0 0.5px,#0000 1.60px) 58.1% 54.4%/4px 4px no-repeat,
    radial-gradient(#d6e5fff2 0 0.5px,#0000 1.60px) 69.1% 20.9%/4px 4px no-repeat,
    radial-gradient(#d6e5ffff 0 0.85px,#0000 1.95px) 29.4% 5.7%/4px 4px no-repeat,
    radial-gradient(#d6e5ffff 0 0.6px,#0000 1.70px) 78.9% 25.8%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.5px,#0000 1.60px) 43.0% 26.1%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.7px,#0000 1.80px) 38.3% 36.0%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.5px,#0000 1.60px) 97.9% 20.0%/4px 4px no-repeat,
    radial-gradient(#d6e5ffb8 0 0.7px,#0000 1.80px) 93.1% 58.3%/4px 4px no-repeat; }

/* shooting stars (night only): effects.js sends one across the upper sky now and then, at a random spot and angle: a short
   streak whose bright head leads the way, fading in and out within a second */
.hero__shoot { overflow: hidden; transition: opacity 0.8s ease; }
.meteor {
  position: absolute; height: 2px; border-radius: 2px; opacity: 0; transform-origin: right center;
  background: linear-gradient(90deg, rgba(214, 228, 255, 0), rgba(214, 228, 255, 0.45) 60%, #fff);
  filter: drop-shadow(0 0 3px rgba(210, 226, 255, 0.9));
}
.cc-hero__stars .st--c { background:
    radial-gradient(#fff3d6b8 0 0.7px,#0000 1.80px) 24.8% 33.6%/4px 4px no-repeat,
    radial-gradient(#d6e5ffcc 0 0.5px,#0000 1.60px) 62.1% 5.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.85px,#0000 1.95px) 54.9% 13.1%/4px 4px no-repeat,
    radial-gradient(#fff3d6f2 0 0.6px,#0000 1.70px) 40.1% 51.9%/4px 4px no-repeat,
    radial-gradient(#fffffff2 0 0.5px,#0000 1.60px) 73.2% 40.9%/4px 4px no-repeat,
    radial-gradient(#fff3d6cc 0 0.7px,#0000 1.80px) 30.9% 3.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.85px,#0000 1.95px) 70.6% 55.4%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.7px,#0000 1.80px) 94.6% 9.8%/4px 4px no-repeat,
    radial-gradient(#fff3d6e0 0 0.85px,#0000 1.95px) 15.1% 14.6%/4px 4px no-repeat,
    radial-gradient(#fff3d6b8 0 0.7px,#0000 1.80px) 50.7% 24.4%/4px 4px no-repeat,
    radial-gradient(#ffffffe0 0 0.5px,#0000 1.60px) 58.1% 54.4%/4px 4px no-repeat,
    radial-gradient(#d6e5fff2 0 0.5px,#0000 1.60px) 69.1% 20.9%/4px 4px no-repeat,
    radial-gradient(#d6e5ffff 0 0.85px,#0000 1.95px) 29.4% 5.7%/4px 4px no-repeat,
    radial-gradient(#d6e5ffff 0 0.6px,#0000 1.70px) 78.9% 25.8%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.5px,#0000 1.60px) 43.0% 26.1%/4px 4px no-repeat,
    radial-gradient(#ffffffb8 0 0.7px,#0000 1.80px) 38.3% 36.0%/4px 4px no-repeat,
    radial-gradient(#ffffffff 0 0.5px,#0000 1.60px) 97.9% 20.0%/4px 4px no-repeat,
    radial-gradient(#d6e5ffb8 0 0.7px,#0000 1.80px) 93.1% 58.3%/4px 4px no-repeat; }

/* shooting stars (night only): effects.js sends one across the upper sky now and then, at a random spot and angle: a short
   streak whose bright head leads the way, fading in and out within a second */
.hero__shoot { overflow: hidden; transition: opacity 0.8s ease; }
.meteor {
  position: absolute; height: 2px; border-radius: 2px; opacity: 0; transform-origin: right center;
  background: linear-gradient(90deg, rgba(214, 228, 255, 0), rgba(214, 228, 255, 0.45) 60%, #fff);
  filter: drop-shadow(0 0 3px rgba(210, 226, 255, 0.9));
}

/* moon (night) and sun (day) share one spot */
.orb { position: absolute; right: clamp(7%, 13vw, 17%); top: clamp(22%, 26vh, 30%); border-radius: 50%; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.9s ease; }
.orb--moon {
  width: clamp(46px, 6vw, 84px); aspect-ratio: 1;
  background: radial-gradient(circle at 36% 34%, #ffffff 0%, #eef3ff 38%, #cddaf6 72%, #a9bde6 100%);
  box-shadow: 0 0 36px 8px rgba(190, 212, 255, 0.34), 0 0 130px 44px rgba(118, 160, 255, 0.2);
}
.orb--moon::before, .orb--moon::after { content: ""; position: absolute; border-radius: 50%; background: rgba(110, 132, 184, 0.26); }
.orb--moon::before { width: 22%; height: 22%; left: 52%; top: 22%; }
.orb--moon::after { width: 15%; height: 15%; left: 24%; top: 56%; }
.orb--sun {
  width: clamp(64px, 8.2vw, 118px); aspect-ratio: 1;
  background: radial-gradient(circle, #fffdf0 0, #fff2b8 42%, #ffdc72 72%, rgba(255, 220, 114, 0) 75%);
  box-shadow: 0 0 70px 26px rgba(255, 228, 140, 0.55), 0 0 220px 90px rgba(255, 214, 120, 0.26);
  opacity: 0; transform: translateY(80px) scale(0.7);
}
.orb--sun i {
  position: absolute; inset: -105%;
  background: repeating-conic-gradient(rgba(255, 244, 190, 0) 0 7deg, rgba(255, 244, 190, 0.17) 7deg 11deg);
  -webkit-mask-image: radial-gradient(circle, transparent 20%, #000 34%, transparent 70%);
  mask-image: radial-gradient(circle, transparent 20%, #000 34%, transparent 70%);
  animation: ccSpin 120s linear infinite;
}
@keyframes ccSpin { to { transform: rotate(360deg); } }
:root[data-bs-theme="light"] .orb--moon { opacity: 0; transform: translateY(-46px) scale(0.7); }
:root[data-bs-theme="light"] .orb--sun { opacity: 1; transform: none; }
@media (max-width: 767.98px) { .cc-hero__orb, .cc-hero__birds { display: none; } }

/* parallax layers move with transform only (js/cloudcabin.js) */
.cc-hero [data-parallax] { will-change: transform; }

/* shooting stars (night only): js/cloudcabin.js sends a short streak across the upper sky now and then */
.cc-hero__shoot { overflow: hidden; transition: opacity 0.8s ease; }
.meteor {
  position: absolute; height: 2px; border-radius: 2px; opacity: 0; transform-origin: right center;
  background: linear-gradient(90deg, rgba(214, 228, 255, 0), rgba(214, 228, 255, 0.45) 60%, #fff);
  filter: drop-shadow(0 0 3px rgba(210, 226, 255, 0.9));
}
:root[data-bs-theme="light"] .cc-hero__shoot { opacity: 0; }

/* birds (day only) */
.cc-hero__birds { overflow: hidden; opacity: 0; transition: opacity 1s ease; }
:root[data-bs-theme="light"] .cc-hero__birds { opacity: 0.9; }
.bird {
  position: absolute; left: -6vw; top: var(--y); width: calc(30px * var(--s)); height: auto;
  fill: none; stroke: rgba(255, 255, 255, 0.92); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  animation: ccBirdFly var(--d) linear var(--o) infinite;
}
.bird path { transform-origin: 16px 9px; animation: ccBirdFlap 0.85s ease-in-out infinite alternate; }
@keyframes ccBirdFly { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(114vw, calc(var(--s) * -46px), 0); } }
@keyframes ccBirdFlap { from { transform: scaleY(1); } to { transform: scaleY(0.4); } }
:root[data-bs-theme="dark"] .bird, :root[data-bs-theme="dark"] .bird path { animation-play-state: paused; }

/* lightning (both scenes): js/cloudcabin.js adds this layer behind the far hills and, now and then, a bolt with a flash.
   Screen-blended, so its light brightens the sky, clouds and moon while the hills in front stay dark. */
.cc-hero__storm { overflow: hidden; mix-blend-mode: screen; }
.storm-sky, .storm-flash, .storm-bolt { position: absolute; opacity: 0; pointer-events: none; }
.storm-sky { inset: 0; background: rgb(196, 212, 255); }
.storm-flash {
  top: -30%; width: 78%; height: 120%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 240, 255, 0.95), rgba(170, 196, 255, 0.45) 40%, rgba(120, 150, 255, 0) 78%);
}
.storm-bolt { inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 4px rgba(214, 228, 255, 0.95)) drop-shadow(0 0 14px rgba(140, 175, 255, 0.75)); }
.storm-bolt path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.storm-bolt .core { stroke: #f7faff; }
.storm-bolt .halo { stroke: rgba(176, 200, 255, 0.45); }
:root[data-bs-theme="light"] .cc-hero__stars .st { animation-play-state: paused; }
.fx:not(.is-inview) *, .fx:not(.is-inview) *::before, .fx:not(.is-inview) *::after { animation-play-state: paused !important; }

.cc-hero__inner {
  position: relative;
  padding-top: clamp(2rem, 6vh, 4rem);
  padding-bottom: calc(var(--near-h) + clamp(1.5rem, 4vh, 3rem));
  text-align: center;
}
.cc-chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1.1rem; padding: 0.45rem 1rem 0.45rem 0.85rem;
  font-size: 0.85rem; font-weight: 500; color: #dbe7fb;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
:root[data-bs-theme="light"] .cc-hero .cc-chip { color: #f2f7ff; background: rgba(8, 22, 54, 0.4); border-color: rgba(255, 255, 255, 0.28); }
.cc-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cc-green); animation: ccPulseDot 2.2s infinite; }
@keyframes ccPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.cc-hero__title {
  max-width: 20ch; margin: 0 auto 0.9rem;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.08;
  color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); text-wrap: balance;
}
.cc-hero__lead { max-width: 58ch; margin: 0 auto 1.6rem; font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem); color: #d3def2; }
:root[data-bs-theme="light"] .cc-hero__lead { color: #fff; }
.cc-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }

/* domain search bar (as on the website) */
.cc-domain-search { width: 100%; max-width: 760px; margin: 0 auto; }
.cc-domain-search__bar {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem;
  background: rgba(255, 255, 255, 0.97); border-radius: 20px;
  box-shadow: 0 34px 80px -26px rgba(2, 6, 18, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  transition: box-shadow 0.25s ease;
}
.cc-domain-search__bar:focus-within { box-shadow: 0 34px 80px -26px rgba(2, 6, 18, 0.85), 0 0 0 4px rgba(var(--cc-primary-rgb), 0.6); }
.cc-domain-search__icon { flex: none; padding-left: 0.9rem; font-size: 1.1rem; color: var(--cc-primary-600); }
.cc-domain-search__input {
  flex: 1 1 auto; min-width: 0; padding: 0.85rem 0.4rem;
  font-size: 1.08rem; color: var(--cc-ink-900); background: transparent; border: 0; outline: 0;
}
.cc-domain-search__input::placeholder { color: #5b6b82; opacity: 1; }
.cc-domain-search__bar .btn { flex: none; }
.cc-domain-search__advanced {
  padding: 0.35rem 0.45rem 0.45rem; text-align: left; color: var(--cc-text);
  background: rgba(255, 255, 255, 0.97); border-radius: 20px;
  box-shadow: 0 34px 80px -26px rgba(2, 6, 18, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}
.cc-domain-search__advanced:focus-within { box-shadow: 0 34px 80px -26px rgba(2, 6, 18, 0.85), 0 0 0 4px rgba(var(--cc-primary-rgb), 0.6); }
.cc-domain-search__advanced textarea.form-control { display: block; width: 100%; height: 3.1rem; min-height: 0; resize: none; padding: 0.7rem 0.9rem 0.4rem; font-size: 1rem; line-height: 1.4; border: 0; box-shadow: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cc-domain-search__advanced textarea.form-control:focus { overflow: auto; white-space: normal; }
.cc-domain-search__advanced textarea.form-control:focus { box-shadow: none; }
.cc-domain-search__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem; padding: 0.4rem 0.1rem 0; border-top: 1px solid var(--cc-border); }
.cc-domain-search__options { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.88rem; }
.cc-domain-search__options .btn-group > .btn { min-height: 36px; padding: 0.3rem 0.7rem; font-size: 0.85rem; border-radius: 10px; }
.cc-domain-search__buttons .cc-btn { min-height: 40px; padding: 0.45rem 1rem; }
.cc-domain-search__options .cc-check { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0.25rem; font-weight: 500; color: var(--cc-text); }
.cc-domain-search__buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-left: auto; }
.cc-btn.cc-btn--soft { --btn-bg: var(--cc-card-2); --btn-bg-hover: var(--cc-tint); --btn-fg: var(--cc-heading); --btn-bd: var(--cc-border-strong); --btn-bd-hover: var(--cc-link); }
.cc-btn.cc-btn--soft:hover, .cc-btn.cc-btn--soft:focus-visible { box-shadow: var(--cc-shadow-sm); }
.cc-domain-search__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.25rem 1.25rem; margin: 0.9rem 0 0; font-size: 0.9rem; color: #cbd8ef; }
.cc-domain-search__meta .cc-tld b { font-family: var(--cc-font-mono); font-weight: 600; color: #fff; }
.cc-domain-search__meta a { color: #dbe7fb; }
.cc-domain-search__meta a:hover { color: #fff; }
:root[data-bs-theme="light"] .cc-domain-search__meta { color: #f2f7ff; }
.cc-hero .domainchecker-homepage-captcha { margin-top: 0.75rem; }
@media (max-width: 575.98px) {
  .cc-domain-search__bar { flex-wrap: wrap; padding: 0.4rem; border-radius: 18px; }
  .cc-domain-search__icon { display: none; }
  .cc-domain-search__input { flex: 1 1 100%; padding: 0.75rem 0.85rem; font-size: 1rem; }
  .cc-domain-search__bar .btn { flex: 1 1 40%; }
  .cc-domain-search__buttons { width: 100%; }
  .cc-domain-search__buttons .btn { flex: 1 1 40%; }
}

/* -------------------------------------------------------------------------
   5. Breadcrumb strip and the main area
   ------------------------------------------------------------------------- */
.master-breadcrumb.cc-breadcrumb { background: transparent; border-bottom: 1px solid var(--cc-border); }
.master-breadcrumb .breadcrumb { padding: 0.75rem 0; font-size: 0.88rem; background: transparent; }
.breadcrumb-item, .breadcrumb-item a { color: var(--cc-text-muted); }
.breadcrumb-item a { display: inline-block; min-height: 24px; }
.breadcrumb-item a:hover { color: var(--cc-link); }
.breadcrumb-item.active { color: var(--cc-heading); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--cc-border-strong); }
#main-body { padding: 2rem 0 3.5rem; }
.cc-tpl-homepage #main-body { padding-top: 1rem; background: linear-gradient(180deg, var(--cc-bg) 0, var(--cc-page) 260px); }  /* the white snow line of the day scene melts into the page tint */

/* -------------------------------------------------------------------------
   6. Cards, sidebar, list groups
   ------------------------------------------------------------------------- */
.card,
.primary-content .card {
  color: var(--cc-text);
  background-color: var(--cc-card);
  border: 1px solid var(--cc-border);
  border-radius: 16px;
  box-shadow: var(--cc-shadow-sm);
}
.primary-content .card { margin-bottom: 1rem; }
.card-header, .card-footer { background-color: transparent; border-color: var(--cc-border); }
.card-header:first-child { border-radius: 15px 15px 0 0; }
.card-footer:last-child { border-radius: 0 0 15px 15px; }
.card-title { font-family: var(--cc-font-display); color: var(--cc-heading); }
.card-body { color: var(--cc-text); }
.card-accent-gold, .card-accent-green, .card-accent-red, .card-accent-blue, .card-accent-orange, .card-accent-pink,
.card-accent-purple, .card-accent-lime, .card-accent-magenta, .card-accent-teal, .card-accent-turquoise, .card-accent-emerald,
.card-accent-amethyst, .card-accent-wet-asphalt, .card-accent-midnight-blue, .card-accent-sun-flower, .card-accent-pomegranate,
.card-accent-silver, .card-accent-asbestos { border-top-width: 1px; border-top-color: var(--cc-border); }

.list-group-item {
  color: var(--cc-text);
  background-color: var(--cc-card);
  border-color: var(--cc-border);
}
a.list-group-item, .list-group-item-action { color: var(--cc-text); }
.list-group-item-action:hover, .list-group-item-action:focus { color: var(--cc-heading); background-color: var(--cc-tint-soft); }
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
  color: var(--cc-tint-fg); background-color: var(--cc-tint); border-color: var(--cc-border);
  box-shadow: inset 3px 0 0 var(--cc-primary);
}
.list-group-item.disabled, .list-group-item:disabled { color: var(--cc-text-muted); background-color: var(--cc-card); }

.sidebar .card { overflow: hidden; }
.sidebar .card-header { padding: 0.8rem 1rem; }
.sidebar .card-sidebar .panel-title, .sidebar .card-title { font-size: 0.98rem; }
.sidebar .list-group { font-size: 0.92rem; }
.sidebar .list-group-item { padding: 0.55rem 1rem; border-color: var(--cc-border); }
.sidebar .list-group-item .badge { color: var(--cc-text-muted); background: var(--cc-card-2); border-radius: 999px; }
.sidebar .list-group-item.active, .sidebar .list-group-item.active:focus, .sidebar .list-group-item.active:hover {
  color: var(--cc-tint-fg); background-color: var(--cc-tint); border-color: var(--cc-border);
}
.sidebar .list-group-item > i.far.fa-circle { color: var(--cc-text-muted); }

/* -------------------------------------------------------------------------
   7. Buttons: the website's .btn-cc look on Bootstrap's buttons
   ------------------------------------------------------------------------- */
.btn {
  font-family: var(--cc-font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-sm, .btn-group-sm > .btn { border-radius: 10px; }
.btn-xs { border-radius: 8px; }
.btn-lg, .btn-group-lg > .btn { border-radius: 14px; }

.btn-primary,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle { color: var(--cc-on-primary); background-color: var(--cc-primary); border-color: var(--cc-primary); }
.btn-primary:hover, .btn-primary:focus, .btn-primary.focus {
  color: var(--cc-on-primary); background-color: var(--cc-primary-hover); border-color: var(--cc-primary-hover);
  box-shadow: 0 12px 26px -12px rgba(var(--cc-primary-rgb), 0.7);
}
.btn-primary.disabled, .btn-primary:disabled { color: var(--cc-on-primary); background-color: var(--cc-primary); border-color: var(--cc-primary); opacity: 0.55; }

.btn-default, .btn-secondary, .btn-light,
.btn-default:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled):active {
  color: var(--cc-heading); background-color: var(--cc-card); border: 1px solid var(--cc-border-strong);
}
.btn-default:hover, .btn-default:focus, .btn-secondary:hover, .btn-secondary:focus, .btn-light:hover, .btn-light:focus {
  color: var(--cc-heading); background-color: var(--cc-card-2); border-color: var(--cc-heading);
}
.btn-outline-primary { color: var(--cc-link); border-color: var(--cc-link); }
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:not(:disabled):not(.disabled):active {
  color: var(--cc-on-primary); background-color: var(--cc-primary); border-color: var(--cc-primary);
}
.btn-outline-secondary, .btn-outline-default { color: var(--cc-heading); border-color: var(--cc-border-strong); }
.btn-outline-secondary:hover, .btn-outline-default:hover { color: var(--cc-heading); background-color: var(--cc-card-2); border-color: var(--cc-heading); }
/* white text on these needs the darker shades to pass 4.5:1 */
.btn-success, .btn-success:not(:disabled):not(.disabled):active { color: #fff; background-color: #047857; border-color: #047857; }
.btn-success:hover, .btn-success:focus { color: #fff; background-color: #065f46; border-color: #065f46; }
.btn-danger, .btn-danger:not(:disabled):not(.disabled):active { color: #fff; background-color: #b91c1c; border-color: #b91c1c; }
.btn-danger:hover, .btn-danger:focus { color: #fff; background-color: #991b1b; border-color: #991b1b; }
.btn-info, .btn-info:not(:disabled):not(.disabled):active { color: #fff; background-color: #1d4ed8; border-color: #1d4ed8; }
.btn-info:hover, .btn-info:focus { color: #fff; background-color: #1e40af; border-color: #1e40af; }
.btn-warning, .btn-warning:not(:disabled):not(.disabled):active { color: #1c1003; background-color: #f59e0b; border-color: #f59e0b; }
.btn-warning:hover, .btn-warning:focus { color: #1c1003; background-color: #fbbf24; border-color: #fbbf24; }
.btn-link { color: var(--cc-link); font-weight: 600; }
.btn-link:hover { color: var(--cc-link-hover); }

/* Cloud Cabin button variants used in our own templates */
.cc-btn {
  --btn-bg: var(--cc-primary);
  --btn-fg: var(--cc-on-primary);
  --btn-bd: var(--cc-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 44px; padding: 0.6rem 1.2rem;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd);
  text-decoration: none; white-space: normal;
}
.cc-btn:hover, .cc-btn:focus-visible {
  color: var(--btn-fg-hover, var(--btn-fg)); background: var(--btn-bg-hover, var(--cc-primary-hover)); border-color: var(--btn-bd-hover, var(--btn-bd));
  transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(var(--cc-primary-rgb), 0.6);
}
.cc-btn:active { transform: none; box-shadow: none; }
.cc-btn--lg { min-height: 54px; padding: 0.9rem 1.7rem; font-size: 1.05rem; border-radius: 16px; }
.cc-btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.04); --btn-bg-hover: rgba(255, 255, 255, 0.14); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.4); --btn-bd-hover: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
}
:root[data-bs-theme="light"] .cc-hero .cc-btn--ghost { --btn-bg: rgba(8, 22, 54, 0.4); }
.cc-btn--outline { --btn-bg: transparent; --btn-bg-hover: var(--cc-heading); --btn-fg: var(--cc-heading); --btn-fg-hover: var(--cc-bg); --btn-bd: var(--cc-border-strong); --btn-bd-hover: var(--cc-heading); }
.cc-btn--outline:hover, .cc-btn--outline:focus-visible { box-shadow: 0 14px 30px -14px rgba(11, 18, 32, 0.5); }

/* -------------------------------------------------------------------------
   8. Forms
   ------------------------------------------------------------------------- */
label, .control-label, .col-form-label { color: var(--cc-heading); font-weight: 600; }
.form-control, .custom-select, .input-group-text {
  color: var(--cc-heading);
  background-color: var(--cc-input-bg);
  border: 1px solid var(--cc-input-bd);
  border-radius: 10px;
}
.form-control:focus, .custom-select:focus { color: var(--cc-heading); background-color: var(--cc-input-bg); border-color: var(--cc-link); }
.form-control::placeholder { color: var(--cc-placeholder); opacity: 1; }
.form-control:disabled, .form-control[readonly] { color: var(--cc-text-muted); background-color: var(--cc-card-2); }
.input-group-text { color: var(--cc-text-muted); background-color: var(--cc-card-2); }
select.form-control option, .custom-select option { color: #0b1220; background: #fff; }
.form-text, .help-block { color: var(--cc-text-muted); }
.custom-control-label::before { background-color: var(--cc-input-bg); border-color: var(--cc-input-bd); }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--cc-primary); border-color: var(--cc-primary); }
.is-invalid, .form-control.is-invalid { border-color: var(--cc-bad-fg) !important; }

/* Comfortable targets (WCAG 2.5.8) and readable status colours (1.4.3): Bootstrap's info colour is 3:1 on white */
.form-check-input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; margin-left: -1.5rem; }   /* grows to the left, so the gap to its label stays the same */
#main-body a.small, #main-body .card-footer > a { display: inline-block; min-height: 24px; line-height: 24px; }
[data-bs-theme="light"] .text-info { color: #0e7490 !important; }

/* Wide tables scroll inside their own box on phones (js/cc-a11y.js adds the box), so no column is cut off (WCAG 1.4.10) */
.cc-table-scroll { position: relative; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }   /* relative: keeps hidden screen-reader text inside the box */

/* iCheck radios and checkboxes (client area and cart): WHMCS draws them from a sprite (blue.png) that is faint on white and
   wrong in dark mode, so they are drawn here in the theme colours instead. The real input stays inside, so clicks and
   keyboard use are unchanged. */
.cc-body .iradio_square-blue,
.cc-body .icheckbox_square-blue {
  position: relative; width: 20px; height: 20px; flex: none;
  background: var(--cc-input-bg) none; border: 2px solid var(--cc-input-bd); border-radius: 50%;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.cc-body .icheckbox_square-blue { border-radius: 6px; }
.cc-body .iradio_square-blue.hover, .cc-body .icheckbox_square-blue.hover { border-color: var(--cc-link); }
.cc-body .iradio_square-blue.checked {
  border-color: var(--cc-primary);
  background: var(--cc-input-bg) radial-gradient(circle, var(--cc-primary) 0 4.5px, transparent 5px);
}
.cc-body .icheckbox_square-blue.checked {
  border-color: var(--cc-primary);
  background: var(--cc-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23061226' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.cc-body .iradio_square-blue.disabled, .cc-body .icheckbox_square-blue.disabled { opacity: 0.45; }
.cc-body .iradio_square-blue:has(input:focus-visible), .cc-body .icheckbox_square-blue:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.45); }
.invalid-feedback { color: var(--cc-bad-fg); }

/* -------------------------------------------------------------------------
   9. Tables, alerts, badges, statuses, tabs, pagination, modals, popovers, dropdowns
   ------------------------------------------------------------------------- */
.table { color: var(--cc-text); }
.table th, .table td, .table thead th { border-color: var(--cc-border); }
.table thead th { font-family: var(--cc-font-display); font-weight: 700; color: var(--cc-heading); background: var(--cc-card-2); }
.table-striped tbody tr:nth-of-type(odd) { background-color: var(--cc-tint-soft); }
.table-hover tbody tr:hover { color: var(--cc-heading); background-color: var(--cc-tint-soft); }
.table-list { background: var(--cc-card); border-color: var(--cc-border); }
.table-list thead th { color: var(--cc-heading); background: var(--cc-card-2); border-color: var(--cc-border); }
.table-list > tbody > tr > td { color: var(--cc-text); background: var(--cc-card); border-color: var(--cc-border); }
.table-list > tbody > tr:hover > td { background: var(--cc-tint-soft); }
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_length { color: var(--cc-text-muted); }

.alert { border-radius: 12px; }
.alert-success { color: var(--cc-ok-fg); background-color: var(--cc-ok-bg); border-color: var(--cc-ok-bd); }
.alert-info { color: var(--cc-info-fg); background-color: var(--cc-info-bg); border-color: var(--cc-info-bd); }
.alert-warning { color: var(--cc-warn-fg); background-color: var(--cc-warn-bg); border-color: var(--cc-warn-bd); }
.alert-danger { color: var(--cc-bad-fg); background-color: var(--cc-bad-bg); border-color: var(--cc-bad-bd); }
.alert a:not(.btn), .alert .alert-link { color: inherit; font-weight: 600; text-decoration: underline; }

.badge { font-family: var(--cc-font-body); font-weight: 600; border-radius: 999px; }
.badge-info, .badge-primary { color: var(--cc-on-primary); background-color: var(--cc-primary); }
.badge-success { color: var(--cc-ok-fg); background-color: var(--cc-ok-bg); }
.badge-warning { color: var(--cc-warn-fg); background-color: var(--cc-warn-bg); }
.badge-danger { color: var(--cc-bad-fg); background-color: var(--cc-bad-bg); }
.badge-secondary, .badge-light, .badge-default { color: var(--cc-off-fg); background-color: var(--cc-off-bg); }

/* service, domain, invoice and ticket statuses: soft pills in the website's status colours */
.label { border-radius: 999px; font-weight: 600; }
.label-success, .status-active, .status-paid, .status-completed, .status-accepted, .status-delivered, .status-open, .status-answered { color: var(--cc-ok-fg) !important; background-color: var(--cc-ok-bg) !important; }
.label-warning, .status-pending, .status-unpaid, .status-payment-pending, .status-pending-registration, .status-pending-transfer, .status-grace, .status-onhold, .status-inprogress, .status-customer-reply, .status-collections { color: var(--cc-warn-fg) !important; background-color: var(--cc-warn-bg) !important; }
.label-danger, .status-suspended, .status-terminated, .status-cancelled, .status-fraud, .status-dead, .status-lost, .status-expired, .status-redemption { color: var(--cc-bad-fg) !important; background-color: var(--cc-bad-bg) !important; }
.label-info { color: var(--cc-info-fg) !important; background-color: var(--cc-info-bg) !important; }
.label-default, .status-closed, .status-refunded, .status-transferred-away { color: var(--cc-off-fg) !important; background-color: var(--cc-off-bg) !important; }

.nav-tabs { border-bottom-color: var(--cc-border); }
.nav-tabs .nav-link { color: var(--cc-text-muted); border-radius: 10px 10px 0 0; }
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { color: var(--cc-heading); border-color: transparent; }
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { color: var(--cc-heading); background-color: var(--cc-card); border-color: var(--cc-border) var(--cc-border) var(--cc-card); }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { color: var(--cc-on-primary); background-color: var(--cc-primary); }

.page-link { color: var(--cc-link); background-color: var(--cc-card); border-color: var(--cc-border); }
.page-link:hover { color: var(--cc-heading); background-color: var(--cc-card-2); border-color: var(--cc-border); }
.page-item.active .page-link { color: var(--cc-on-primary); background-color: var(--cc-primary); border-color: var(--cc-primary); }
.page-item.disabled .page-link { color: var(--cc-text-muted); background-color: var(--cc-card); border-color: var(--cc-border); }

.modal-content { color: var(--cc-text); background-color: var(--cc-card); border: 1px solid var(--cc-border); border-radius: 18px; }
.modal .modal-header { background-color: var(--cc-card-2); border-bottom-color: var(--cc-border); border-radius: 17px 17px 0 0; }
.modal-footer { border-top-color: var(--cc-border); }
.close { color: var(--cc-heading); text-shadow: none; opacity: 0.7; }
.close:hover { color: var(--cc-heading); opacity: 1; }

.popover { background-color: var(--cc-card); border-color: var(--cc-border); border-radius: 14px; box-shadow: var(--cc-shadow-md); }
.popover-body { color: var(--cc-text); }
.popover-header { color: var(--cc-heading); background-color: var(--cc-card-2); border-bottom-color: var(--cc-border); }
.bs-popover-bottom > .arrow::after, .bs-popover-auto[x-placement^="bottom"] > .arrow::after { border-bottom-color: var(--cc-card); }
.bs-popover-bottom > .arrow::before, .bs-popover-auto[x-placement^="bottom"] > .arrow::before { border-bottom-color: var(--cc-border); }
.client-alerts { margin: 0; padding: 0; list-style: none; }
.client-alerts li a { display: flex; gap: 0.6rem; padding: 0.5rem 0.25rem; color: var(--cc-text); text-decoration: none; }
.client-alerts li a:hover { color: var(--cc-heading); }
.client-alerts li.none { padding: 0.5rem 0.25rem; color: var(--cc-text-muted); }

.dropdown-menu { color: var(--cc-text); background-color: var(--cc-card); border-color: var(--cc-border); border-radius: 12px; box-shadow: var(--cc-shadow-md); }
.dropdown-item { color: var(--cc-text); }
.dropdown-item:hover, .dropdown-item:focus { color: var(--cc-heading); background-color: var(--cc-tint-soft); }
.dropdown-item.active, .dropdown-item:active { color: var(--cc-tint-fg); background-color: var(--cc-tint); }

/* language and currency chooser */
.modal-localisation .modal-content { background: var(--cc-ink-850); color: var(--cc-text-on-dark); }
.modal-localisation .h5, .modal-localisation h5 { color: #fff; }
.modal-localisation .close { color: #fff; }
.modal-localisation .item-selector .item { color: var(--cc-text-on-dark); border-radius: 10px; }
.modal-localisation .item-selector .item.active, .modal-localisation .item-selector .item:hover { color: var(--cc-on-primary); background: var(--cc-primary); }

/* -------------------------------------------------------------------------
   10. Front page sections
   ------------------------------------------------------------------------- */
.cc-section { padding: 1.75rem 0 1rem; }
.cc-section__head { margin-bottom: 1.25rem; text-align: center; }
.cc-section__head h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.cc-eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--cc-font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cc-tag-fg);
}
.cc-grid { row-gap: 1.25rem; }
.cc-quick-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 1.5rem; color: inherit; text-decoration: none;
  background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cc-quick-card:hover, .cc-quick-card:focus-visible { color: inherit; text-decoration: none; transform: translateY(-5px); border-color: var(--cc-primary); box-shadow: var(--cc-shadow-lg); }
.cc-quick-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; font-size: 1.25rem; color: var(--cc-on-primary); background: var(--cc-primary); border-radius: 15px; }
.cc-quick-card h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.cc-quick-card p { margin: 0 0 1.1rem; font-size: 0.95rem; color: var(--cc-text-muted); }
.cc-go { margin-top: auto; font-family: var(--cc-font-display); font-weight: 600; color: var(--cc-link); }
.cc-go i { margin-left: 0.35rem; font-size: 0.85em; transition: transform 0.2s ease; }
.cc-quick-card:hover .cc-go i { transform: translateX(4px); }

.cc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cc-tile {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem; height: 100%;
  padding: 1.4rem 1rem; text-align: center; color: var(--cc-heading); text-decoration: none;
  font-family: var(--cc-font-display); font-weight: 600;
  background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: var(--cc-radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cc-tile:hover, .cc-tile:focus-visible { color: var(--cc-heading); text-decoration: none; transform: translateY(-4px); border-color: var(--cc-border-hover); box-shadow: var(--cc-shadow-md); }
.cc-tile__icon { display: grid; place-items: center; width: 50px; height: 50px; font-size: 1.2rem; color: var(--cc-tint-fg); background: var(--cc-tint); border-radius: 15px; transition: background-color 0.2s ease, color 0.2s ease; }
.cc-tile:hover .cc-tile__icon { color: var(--cc-on-primary); background: var(--cc-primary); }

/* -------------------------------------------------------------------------
   11. Client area dashboard
   ------------------------------------------------------------------------- */
.cc-dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.cc-dash-head__title { margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); letter-spacing: -0.03em; }
.cc-dash-head__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cc-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.cc-alert > i { font-size: 1.1rem; }
.cc-alert__body { flex: 1 1 260px; }
.cc-alert .cc-btn--outline { --btn-fg: currentColor; --btn-bd: currentColor; }

.cc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
@media (min-width: 1200px) { .cc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cc-stat {
  --accent: var(--cc-primary);
  position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "num icon" "label icon";
  align-items: end; gap: 0.15rem 1rem; height: 100%;
  padding: 1.25rem 1.25rem 1.35rem; overflow: hidden; text-decoration: none;
  background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cc-stat::after { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; bottom: 0; height: 3px; background: var(--accent); border-radius: 3px 3px 0 0; opacity: 0.85; }
.cc-stat:hover, .cc-stat:focus-visible { text-decoration: none; transform: translateY(-4px); border-color: var(--cc-border-hover); box-shadow: var(--cc-shadow-md); }
.cc-stat__num { grid-area: num; font-family: var(--cc-font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--cc-heading); }
.cc-stat__label { grid-area: label; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cc-text-muted); }
.cc-stat__icon { grid-area: icon; align-self: start; display: grid; place-items: center; width: 46px; height: 46px; font-size: 1.1rem; color: var(--cc-tint-fg); background: var(--cc-tint); border-radius: 14px; }
.cc-stat--green { --accent: #10b981; }
.cc-stat--red { --accent: #f87171; }
.cc-stat--gold { --accent: #f59e0b; }

.client-home-cards .card { font-size: 0.95rem; overflow: hidden; }
.client-home-cards .card-header { padding: 0.9rem 1.1rem; background: transparent; border-bottom: 1px solid var(--cc-border); }
.client-home-cards .card-title { display: flex; align-items: center; gap: 0.35rem; font-size: 1.02rem; }
.client-home-cards .card-title > i { color: var(--cc-tag-fg); }
.client-home-cards .card-header .float-right { order: 9; margin-left: auto; }
.client-home-cards .card-header .btn,
.client-home-cards .card-header .btn[class*="bg-color-"] {
  padding: 0.25rem 0.7rem; font-size: 0.8rem; color: var(--cc-heading) !important;
  background: var(--cc-card-2) !important; border: 1px solid var(--cc-border-strong) !important; border-radius: 999px;
}
.client-home-cards .card-header .btn:hover { color: var(--cc-on-primary) !important; background: var(--cc-primary) !important; border-color: var(--cc-primary) !important; }
.client-home-cards .card-body p { padding: 0.75rem 1.1rem; }
.client-home-cards .list-group { border-top: 0 !important; border-bottom: 0 !important; max-height: 220px; }
.client-home-cards .list-group .list-group-item { padding: 0.6rem 1.1rem; border-bottom: 1px solid var(--cc-border); }
.client-home-cards .card-footer { padding: 0.5rem 1.1rem; background: transparent; }
.client-home-cards .card-footer:empty { display: none; }
.client-home-cards small, .client-home-cards .text-muted { color: var(--cc-text-muted) !important; }
.client-home-cards .badge { color: var(--cc-off-fg); background: var(--cc-off-bg); }

/* -------------------------------------------------------------------------
   11b. Order form baseline (Standard Cart): its own light greys swapped for the theme tokens, so every cart step is readable
   in both modes. Standard Cart's CSS is linked inside the page body (after ours), hence the extra .cc-body on every rule. The full cart and checkout design is milestone 2 (templates/orderforms/cloudcabin_cart).
   ------------------------------------------------------------------------- */
.cc-body #order-standard_cart { color: var(--cc-text); }
.cc-body #order-standard_cart label, .cc-body #order-standard_cart p.domain-renewal-desc, .cc-body .service-renewals .div-renewal-period-label, .cc-body #order-standard_cart .domain-checker-advanced label, .cc-body #order-standard_cart .panel-addon .panel-body label { color: var(--cc-text); }
.cc-body #order-standard_cart .products .product { background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: 16px; box-shadow: var(--cc-shadow-sm); overflow: hidden; }
.cc-body #order-standard_cart .products .product header { margin: 0; padding: 0.9rem 1.25rem; background: var(--cc-card-2); border-bottom: 1px solid var(--cc-border); border-radius: 0; }
.cc-body #order-standard_cart .products .product header span { font-family: var(--cc-font-display); font-weight: 700; color: var(--cc-heading); }
.cc-body #order-standard_cart .products .product header .qty, .cc-body #order-standard_cart .field-help-text, .cc-body #order-standard_cart .order-summary .recurring-charges, .cc-body div.domainresults div:not(.btn-group) span, .cc-body .service-renewals .div-renewal-ineligible { color: var(--cc-text-muted); }
.cc-body #order-standard_cart .products .product div.product-desc, .cc-body #order-standard_cart .products .product div.product-desc li { color: var(--cc-text); }
.cc-body #order-standard_cart .products .product div.product-pricing span.price { font-family: var(--cc-font-display); color: var(--cc-heading); }
.cc-body #order-standard_cart .panel-addon .panel-price, .cc-body #order-standard_cart .domain-selection-options .option, .cc-body #order-standard_cart .transfer-not-eligible, .cc-body #order-standard_cart .product-info, .cc-body #order-standard_cart .summary-container, .cc-body #order-standard_cart .apply-credit-container, .cc-body #order-standard_cart .view-cart-tabs .tab-content, .cc-body #order-standard_cart .view-cart-gateway-checkout, .cc-body .spotlight-tlds, .cc-body .suggested-domains .domain-lookup-suggestions-message, .cc-body .suggested-domains .domain-lookup-suggestions-loader, .cc-body .domain-promo-box, .cc-body .domain-renewals, .cc-body .service-renewals, .cc-body .addon-renewals .service-renewal, .cc-body #order-standard_cart .account-select-container div.account, .cc-body #order-standard_cart .mc-promo .body { color: var(--cc-text); background-color: var(--cc-card-2); border-color: var(--cc-border); }
.cc-body #order-standard_cart .domain-selection-options .option-selected, .cc-body #order-standard_cart .account-select-container div.account.active { background-color: var(--cc-tint-soft); }
.cc-body #order-standard_cart .cc-input-container { background-color: var(--cc-card-2); border-color: var(--cc-border); border-radius: 14px; }
.cc-body #order-standard_cart .field, .cc-body #order-standard_cart .form-control { color: var(--cc-heading); background-color: var(--cc-input-bg); border-color: var(--cc-input-bd); }
.cc-body #order-standard_cart .field[disabled], .cc-body #order-standard_cart .field[readonly], .cc-body #order-standard_cart .form-control[disabled], .cc-body #order-standard_cart .form-control[readonly] { color: var(--cc-text-muted); background-color: var(--cc-card-2); }
.cc-body #order-standard_cart .view-cart-items .item { color: var(--cc-text); background-color: var(--cc-card); border-color: var(--cc-border); }
.cc-body #order-standard_cart .view-cart-items .item:nth-child(even) { background-color: var(--cc-card-2); }
.cc-body #order-standard_cart .view-cart-items-header { color: var(--cc-heading); background-color: var(--cc-card-2); }
.cc-body #order-standard_cart .btn-remove-from-cart, .cc-body #order-standard_cart .order-summary .btn-continue-shopping { color: var(--cc-text-muted); }
.cc-body #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"], .cc-body #order-standard_cart .view-cart-tabs .nav-tabs a { color: var(--cc-heading); background-color: var(--cc-card-2); border-color: var(--cc-border) var(--cc-border) var(--cc-card-2); }
.cc-body #order-standard_cart .view-cart-promotion-code, .cc-body #order-standard_cart .mc-promo { color: var(--cc-text); background-color: var(--cc-card); border-color: var(--cc-border-strong); }
.cc-body #order-standard_cart .order-summary { background-color: var(--cc-card-2); border-color: var(--cc-border); border-radius: 16px; overflow: hidden; }
.cc-body #order-standard_cart .order-summary h2 { font-family: var(--cc-font-display); color: var(--cc-on-primary); background-color: var(--cc-primary); }
.cc-body #order-standard_cart .order-summary .summary-totals, .cc-body #order-standard_cart .order-summary .total-due-today { color: var(--cc-heading); border-color: var(--cc-border); }
.cc-body .domain-checker-container { background: var(--cc-tint); border-radius: 16px; }
.cc-body .domain-checker-container .input-group-box { background-color: var(--cc-card); }
.cc-body .domain-pricing .tld-row.highlighted { background: var(--cc-tint-soft); }
.cc-body .domain-pricing .tld-pricing-header div, .cc-body .domain-pricing .tld-pricing-header div:nth-child(odd) { color: var(--cc-heading); background-color: var(--cc-card-2); border-color: var(--cc-primary); }
.cc-body .spotlight-tld { color: var(--cc-text); background-color: var(--cc-card); border-color: var(--cc-border); }
.cc-body .spotlight-tld .unavailable, .cc-body .spotlight-tld .invalid { color: var(--cc-text-muted); background-color: var(--cc-card-2); border-color: var(--cc-border); }
.cc-body .domain-renewals .domain-renewal:nth-child(even), .cc-body .service-renewals .service-renewal:nth-child(even), .cc-body .addon-renewals .service-renewal:nth-child(even) { background-color: var(--cc-tint-soft); }
.cc-body #order-standard_cart .sub-heading { border-top-color: var(--cc-border); }
.cc-body #order-standard_cart .sub-heading span, .cc-body #order-standard_cart .sub-heading .primary-bg-color { color: var(--cc-text-muted); background-color: var(--cc-page); }
.cc-body #order-standard_cart .header-lined h1 { color: var(--cc-heading); }
.cc-body #order-standard_cart .header-lined p { color: var(--cc-text-muted); }

/* bare form controls (no class) that WHMCS prints in the cart, e.g. the AI domain-search box on "Choose a Domain", and the
   bootstrap-multiselect filter buttons whose text Standard Cart pins to near-black */
.cc-body #order-standard_cart textarea:not(.form-control):not(.field),
.cc-body #order-standard_cart input[type="text"]:not(.form-control):not(.field),
.cc-body #order-standard_cart select:not(.form-control):not(.field):not(.multiselect) {
  color: var(--cc-heading); background-color: var(--cc-input-bg); border: 1px solid var(--cc-input-bd); border-radius: 12px; padding: 0.6rem 0.8rem;
}
.cc-body #order-standard_cart textarea:not(.form-control):not(.field)::placeholder { color: var(--cc-placeholder); opacity: 1; }
.cc-body #order-standard_cart textarea:not(.form-control):not(.field):focus { outline: 0; border-color: var(--cc-link); box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.3); }
.cc-body button.multiselect, .cc-body #order-standard_cart button.multiselect, .cc-body #order-standard_cart .domain-checker-advanced .multiselect {
  color: var(--cc-heading); background-color: var(--cc-input-bg); border: 1px solid var(--cc-input-bd); border-radius: 10px;
}
.cc-body .multiselect-container.dropdown-menu { max-height: 260px; }
.cc-body .multiselect-container .multiselect-option, .cc-body .multiselect-container label, .cc-body .multiselect-container .form-check-label { color: var(--cc-text); }
.cc-body .multiselect-container .multiselect-filter .form-control { min-height: 36px; }

/* -------------------------------------------------------------------------
   11c. Nexus Cart app (cart review + domain search). Its colours come from the palette in section 1. From outside, only the
   host element (#nexus-root) can be styled: properties set on it beat the app's own :host rules, so our fonts go in here.
   viewcart.tpl also injects an inline <style> that forces a white page and hides [data-target="#mainNavbar"] (our phone menu
   button): undone below with higher specificity.
   ------------------------------------------------------------------------- */
#nexus-root {
  --font-sans: var(--cc-font-body);
  --default-font-family: var(--cc-font-body);
  --font-mono: var(--cc-font-mono);
  font-family: var(--cc-font-body);
  color: var(--cc-text);
}
/* the few raw Tailwind colours the app uses are light-only (an 8px white halo round the domain box, light borders and fills):
   dark twins, set on the host so they beat the app's own :host defaults */
/* colours for the exact-domain result (drawn inside the app by js/cc-order.js) */
#nexus-root { --cc-exact-line: #15803d; --cc-exact-on: #fff; --cc-exact-bg: #ecfdf5; --cc-exact-no: #b91c1c; --cc-exact-no-on: #fff; --cc-exact-no-bg: #fef2f2; }
[data-bs-theme="dark"] #nexus-root { --cc-exact-line: #22c55e; --cc-exact-on: #052e16; --cc-exact-bg: rgba(34, 197, 94, 0.13); --cc-exact-no: #f87171; --cc-exact-no-on: #2a0a0a; --cc-exact-no-bg: rgba(248, 113, 113, 0.11); }
[data-bs-theme="dark"] #nexus-root {
  --color-neutral-100: #1a2744;
  --color-neutral-200: rgba(255, 255, 255, 0.14);
  --color-neutral-900: #e6edf8;
  --color-gray-50: #16233f;
  --color-gray-100: #1a2744;
  --color-gray-300: rgba(255, 255, 255, 0.22);
}
html body.cc-body section#main-body { background: var(--cc-page) !important; }
html body.cc-body section#main-body:has(#nexus-root) { padding: 1.5rem 0 3rem !important; }
header.header.cc-header .cc-toggler[data-target="#mainNavbar"] { display: inline-grid; }

/* -------------------------------------------------------------------------
   11d. Checkout (Standard Cart's checkout.tpl, also used by Nexus Cart) restyled to sit with the Nexus Cart pages: left-aligned
   section titles, rounded cards, payment methods as tiles, a clear total and a big "Complete Order". CSS only, so the form,
   its fields and the gateways' scripts stay exactly WHMCS's.
   ------------------------------------------------------------------------- */
.cc-body #order-standard_cart .header-lined { margin-bottom: 1.25rem; }
.cc-body #order-standard_cart .header-lined h1 { margin: 0 0 0.35rem; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); letter-spacing: -0.03em; }
.cc-body #order-standard_cart .sub-heading { height: auto; margin: 2rem 0 0.9rem; border-top: 0; text-align: left; }
.cc-body #order-standard_cart .sub-heading span,
.cc-body #order-standard_cart .sub-heading .primary-bg-color {
  position: static; top: 0; display: block; padding: 0;
  font-family: var(--cc-font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--cc-heading); background: none;
}
.cc-body #order-standard_cart .already-registered { padding: 0.9rem 1.1rem; background: var(--cc-tint-soft); border: 1px solid var(--cc-border); border-radius: 14px; }

/* "Choose account": each account is a selectable card */
.cc-body #order-standard_cart .account-select-container { margin: 0; }
.cc-body #order-standard_cart .account-select-container div.account {
  margin: 0 0 0.6rem; padding: 0.9rem 1.1rem;
  color: var(--cc-text); background: var(--cc-card); border: 1px solid var(--cc-border-strong); border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.cc-body #order-standard_cart .account-select-container div.account.active,
.cc-body #order-standard_cart .account-select-container div.account:has(input:checked) {
  background: var(--cc-tint-soft); border-color: var(--cc-primary); box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.25);
}
.cc-body #order-standard_cart .account-select-container label { color: var(--cc-heading); font-weight: 600; }
.cc-body #order-standard_cart .account-select-container .small, .cc-body #order-standard_cart .account-select-container small { color: var(--cc-text-muted); }

/* fields with an icon inside */
.cc-body #order-standard_cart .prepend-icon .field-icon { color: var(--cc-text-muted); }
.cc-body #order-standard_cart .field, .cc-body #order-standard_cart .form-control { min-height: 46px; border-radius: 12px; }
.cc-body #order-standard_cart textarea.field, .cc-body #order-standard_cart textarea.form-control { min-height: 110px; }
.cc-body #order-standard_cart .field:focus, .cc-body #order-standard_cart .form-control:focus { border-color: var(--cc-link); box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.3); }

/* total due today */
.cc-body #order-standard_cart #totalDueToday {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem;
  padding: 1.1rem 1.35rem; text-align: left;
  font-family: var(--cc-font-display); font-size: 1rem; font-weight: 600; color: var(--cc-heading);
  background: var(--cc-tint-soft); border: 1px solid var(--cc-border-hover); border-radius: 16px;
}
.cc-body #order-standard_cart #totalDueToday #totalCartPrice { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; color: var(--cc-heading); }

/* credit balance and the saved-card list */
.cc-body #order-standard_cart .apply-credit-container,
.cc-body #order-standard_cart .cc-input-container { padding: 1rem 1.2rem; border-radius: 16px; }
.cc-body #order-standard_cart .apply-credit-container label, .cc-body #order-standard_cart .cc-input-container label { color: var(--cc-text); }
.cc-body #order-standard_cart .cc-input-container .existing-cc-grid { color: var(--cc-text); font-weight: 400; }

/* payment methods: tiles */
.cc-body #order-standard_cart #paymentGatewaysContainer { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.cc-body #order-standard_cart #paymentGatewaysContainer > p, .cc-body #order-standard_cart #paymentGatewaysContainer > .small { flex-basis: 100%; margin: 0 0 0.2rem; text-align: center; color: var(--cc-text-muted); }
.cc-body #order-standard_cart #paymentGatewaysContainer label.radio-inline {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 52px; margin: 0; padding: 0.7rem 1.15rem;
  font-weight: 600; color: var(--cc-heading); cursor: pointer;
  background: var(--cc-card); border: 1px solid var(--cc-border-strong); border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.cc-body #order-standard_cart #paymentGatewaysContainer label.radio-inline:hover { border-color: var(--cc-link); }
.cc-body #order-standard_cart #paymentGatewaysContainer label.radio-inline:has(input:checked),
.cc-body #order-standard_cart #paymentGatewaysContainer label.radio-inline:has(.checked) {
  background: var(--cc-tint-soft); border-color: var(--cc-primary); box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.25);
}

/* Stripe draws the card number, expiry and CVC inside its own frames with its default (dark) text, because WHMCS passes it
   no colours. In dark mode those three fields get a light background so typed digits stay readable.
   Stripe mounts them as div.form-control.StripeElement (#stripeCreditCard, #stripeExpiryDate, #stripeCvc), at checkout and on
   the client area's "add payment method" page alike. */
[data-bs-theme="dark"] .cc-body .form-control.StripeElement,
[data-bs-theme="dark"] .cc-body #order-standard_cart .form-control.StripeElement { background-color: #f8fafc; border-color: #cbd5e1; }
[data-bs-theme="dark"] .cc-body .form-control.StripeElement--focus { border-color: var(--cc-primary); box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.45); }

/* terms, complete order, security note */
.cc-body #order-standard_cart #btnCompleteOrder {
  min-height: 56px; padding: 0.9rem 2.2rem; font-size: 1.08rem; border-radius: 16px;
  color: var(--cc-on-primary); background: var(--cc-primary); border: 1px solid var(--cc-primary);
}
.cc-body #order-standard_cart #btnCompleteOrder:hover, .cc-body #order-standard_cart #btnCompleteOrder:focus-visible {
  background: var(--cc-primary-hover); border-color: var(--cc-primary-hover); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(var(--cc-primary-rgb), 0.7);
}
@media (max-width: 575.98px) { .cc-body #order-standard_cart #btnCompleteOrder { width: 100%; } }
.cc-body #order-standard_cart .checkout-security-msg {
  position: relative; display: block; margin-top: 1.5rem; padding: 0.9rem 1.1rem 0.9rem 3.1rem;
  font-size: 0.85rem; line-height: 1.5; color: var(--cc-text-muted); background: var(--cc-card-2); border: 1px solid var(--cc-border); border-radius: 14px;
}
.cc-body #order-standard_cart .checkout-security-msg > i {
  position: absolute; left: 1.15rem; top: 50%; float: none; margin: 0; transform: translateY(-50%);
  font-size: 1.2rem; line-height: 1; color: var(--cc-ok-fg);
}
.cc-body #order-standard_cart .checkout-security-msg strong { color: var(--cc-heading); }

/* -------------------------------------------------------------------------
   11e. Product list (Standard Cart products.tpl) as the website's plan cards: name, a big price, the features with ticks,
   and a full-width order button at the bottom. CSS only: the footer is flattened (display: contents) so the price can sit
   under the name and the button at the bottom, whatever the length of the feature list.
   ------------------------------------------------------------------------- */
.cc-body #order-standard_cart .header-lined p { margin: 0; font-size: 1rem; }
.cc-body #order-standard_cart .products { margin: 1.25rem 0 0; }
.cc-body #order-standard_cart .products .row-eq-height > [class*="col-"] { display: flex; margin-bottom: 1.25rem; }
.cc-body #order-standard_cart .products .product {
  position: relative; display: flex; flex-direction: column; width: 100%; margin: 0; padding: 1.6rem 1.5rem 1.5rem;
  color: var(--cc-text); background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: 22px;
  box-shadow: var(--cc-shadow-sm); overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cc-body #order-standard_cart .products .product:hover { transform: translateY(-5px); border-color: var(--cc-border-hover); box-shadow: var(--cc-shadow-lg); }
.cc-body #order-standard_cart .products .product header { order: 1; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.cc-body #order-standard_cart .products .product header span { display: block; font-family: var(--cc-font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--cc-heading); }
.cc-body #order-standard_cart .products .product header .qty { float: none; display: inline-block; margin-top: 0.35rem; font-size: 0.8rem; font-style: normal; color: var(--cc-text-muted); }
.cc-body #order-standard_cart .products .product footer { display: contents; }
.cc-body #order-standard_cart .products .product div.product-pricing {
  order: 2; margin: 0.9rem 0 1.1rem; font-size: 0.92rem; line-height: 1.4; text-align: left; color: var(--cc-text-muted);
}
.cc-body #order-standard_cart .products .product div.product-pricing span.price {
  display: inline-block; margin-bottom: 0.15rem; font-family: var(--cc-font-display); font-size: 2.3rem; font-weight: 700;
  line-height: 1.05; letter-spacing: -0.04em; color: var(--cc-heading);
}
.cc-body #order-standard_cart .products .product div.product-desc {
  order: 3; float: none; width: auto; margin: 0 0 1.4rem; padding: 1.1rem 0 0; font-size: 0.93rem; color: var(--cc-text);
  border-top: 1px solid var(--cc-border);
}
.cc-body #order-standard_cart .products .product div.product-desc > p { margin: 0; }
.cc-body #order-standard_cart .products .product div.product-desc br { display: none; }
.cc-body #order-standard_cart .products .product div.product-desc ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.cc-body #order-standard_cart .products .product div.product-desc ul:empty { display: none; }
.cc-body #order-standard_cart .products .product div.product-desc li { position: relative; padding-left: 1.6rem; line-height: 1.45; }
.cc-body #order-standard_cart .products .product div.product-desc li::before {
  content: "\f00c"; position: absolute; left: 0; top: 0.12rem; font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro"; font-weight: 900;
  font-size: 0.78rem; color: var(--cc-tag-fg);
}
.cc-body #order-standard_cart .products .product span.feature-value { font-weight: 600; color: var(--cc-heading); }
.cc-body #order-standard_cart .products .product .btn-order-now {
  order: 4; display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; min-height: 50px; margin-top: auto;
  font-size: 1rem; color: var(--cc-on-primary); background: var(--cc-primary); border: 1px solid var(--cc-primary); border-radius: 14px;
}
.cc-body #order-standard_cart .products .product .btn-order-now:hover, .cc-body #order-standard_cart .products .product .btn-order-now:focus-visible {
  color: var(--cc-on-primary); background: var(--cc-primary-hover); border-color: var(--cc-primary-hover);
  transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(var(--cc-primary-rgb), 0.7);
}

/* -------------------------------------------------------------------------
   11f. Configure step (configureproduct.tpl) and the order summary beside it
   ------------------------------------------------------------------------- */
.cc-body #order-standard_cart .product-info {
  margin: 0 0 1.5rem; padding: 1.4rem 1.5rem; font-size: 0.93rem; color: var(--cc-text);
  background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: 18px; box-shadow: var(--cc-shadow-sm);
}
.cc-body #order-standard_cart .product-info .product-title {
  margin: 0 0 0.9rem; padding-bottom: 0.9rem; font-family: var(--cc-font-display); font-size: 1.35rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--cc-heading); border-bottom: 1px solid var(--cc-border);
}
.cc-body #order-standard_cart .product-info br { display: none; }
.cc-body #order-standard_cart .product-info p { margin: 0; }
.cc-body #order-standard_cart .product-info ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 0.45rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.cc-body #order-standard_cart .product-info li { position: relative; padding-left: 1.55rem; line-height: 1.45; }
.cc-body #order-standard_cart .product-info li::before {
  content: "\f00c"; position: absolute; left: 0; top: 0.12rem; font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro"; font-weight: 900;
  font-size: 0.78rem; color: var(--cc-tag-fg);
}
.cc-body #order-standard_cart .field-container { margin-bottom: 1rem; }
.cc-body #order-standard_cart .field-container .form-group label, .cc-body #order-standard_cart .field-container > label { font-weight: 600; color: var(--cc-heading); }
.cc-body #order-standard_cart .field-container select.form-control { max-width: 420px; }

/* product add-ons (Standard Cart cards) and the MarketConnect promo */
.cc-body #order-standard_cart .panel-addon { color: var(--cc-text); background: var(--cc-card); border: 1px solid var(--cc-border-strong); border-radius: 16px; overflow: hidden; }
.cc-body #order-standard_cart .panel-addon .panel-body label { color: var(--cc-heading); }
.cc-body #order-standard_cart .panel-addon .panel-price { color: var(--cc-heading); background: var(--cc-card-2); }
.cc-body #order-standard_cart .panel-addon .panel-add { color: var(--cc-on-primary); background: var(--cc-primary); border-radius: 0; }
.cc-body #order-standard_cart .panel-addon-selected { border-color: var(--cc-primary); box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.25); }
.cc-body #order-standard_cart .mc-promo { border-radius: 16px; overflow: hidden; }
.cc-body #order-standard_cart .mc-promo .header h3, .cc-body #order-standard_cart .mc-promo .header h4 { color: var(--cc-heading); }
.cc-body #order-standard_cart .mc-promo .header p, .cc-body #order-standard_cart .mc-promo label { color: var(--cc-text); }

/* order summary (configure step and checkout sidebar) */
.cc-body #order-standard_cart .order-summary { margin: 0 0 1rem; background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: 18px; box-shadow: var(--cc-shadow-sm); }
.cc-body #order-standard_cart .order-summary h2 { padding: 0.85rem 1rem; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.cc-body #order-standard_cart .summary-container { padding: 1rem 1.1rem 1.1rem; font-size: 0.88rem; color: var(--cc-text); background: transparent; border-radius: 0; }
.cc-body #order-standard_cart .order-summary .product-name { font-family: var(--cc-font-display); font-size: 1.05rem; color: var(--cc-heading); }
.cc-body #order-standard_cart .order-summary .product-group { color: var(--cc-text-muted); }
.cc-body #order-standard_cart .order-summary .summary-totals, .cc-body #order-standard_cart .order-summary .subtotal,
.cc-body #order-standard_cart .order-summary .bordered-totals { border-color: var(--cc-border); }
.cc-body #order-standard_cart .order-summary .total-due-today .amt { font-family: var(--cc-font-display); font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; color: var(--cc-heading); }
.cc-body #order-standard_cart .order-summary .total-due-today span:not(.amt) { color: var(--cc-text-muted); }
.cc-body #order-standard_cart .order-summary .loader { color: var(--cc-text-muted); }
.cc-body #order-standard_cart #btnCompleteProductConfig {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; min-height: 54px; margin: 0 auto;
  font-size: 1.05rem; color: var(--cc-on-primary); background: var(--cc-primary); border: 1px solid var(--cc-primary); border-radius: 16px;
}
.cc-body #order-standard_cart #btnCompleteProductConfig:hover, .cc-body #order-standard_cart #btnCompleteProductConfig:focus-visible {
  background: var(--cc-primary-hover); border-color: var(--cc-primary-hover); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(var(--cc-primary-rgb), 0.7);
}

/* -------------------------------------------------------------------------
   11h. A simpler order path (js/cc-order.js + includes/cc-steps.tpl): progress steps, no side menus while ordering, plain domain
   choices, pay-monthly/yearly cards, optional extras folded away. CSS and one script only, so no WHMCS page is copied.
   ------------------------------------------------------------------------- */
.cc-steps-bar { border-bottom: 1px solid var(--cc-border); }
.cc-steps { display: flex; justify-content: center; gap: 0.35rem; margin: 0; padding: 0.85rem 0; list-style: none; }
.cc-step { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--cc-text-muted); }
.cc-step:not(:last-child)::after { content: ""; flex: none; width: clamp(0.75rem, 4vw, 3rem); height: 2px; margin: 0 0.35rem; border-radius: 2px; background: var(--cc-border-strong); }
.cc-step.is-done:not(:last-child)::after { background: var(--cc-primary); }
.cc-step__num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1.75rem; height: 1.75rem; font-size: 0.8rem; font-weight: 700; color: var(--cc-text-muted); border: 1.5px solid var(--cc-border-strong); border-radius: 50%; }
.cc-step.is-current { color: var(--cc-heading); }
.cc-step.is-current .cc-step__num { color: var(--cc-on-primary); background: var(--cc-primary); border-color: var(--cc-primary); }
.cc-step.is-done { color: var(--cc-text); }
.cc-step.is-done .cc-step__num { font-size: 0; color: var(--cc-on-primary); background: var(--cc-primary); border-color: var(--cc-primary); }
.cc-step.is-done .cc-step__num::before { content: "\f00c"; font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro"; font-size: 0.72rem; font-weight: 900; }
@media (max-width: 575.98px) {
  .cc-step:not(.is-current) .cc-step__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* one column while ordering: categories, actions and the currency box stay on the plan list (currency is also in the footer) */
.cc-body.cc-tpl-configureproductdomain #order-standard_cart .cart-sidebar, .cc-body.cc-tpl-configureproductdomain #order-standard_cart .sidebar-collapsed,
.cc-body.cc-tpl-domaintransfer #order-standard_cart .cart-sidebar, .cc-body.cc-tpl-domaintransfer #order-standard_cart .sidebar-collapsed,
.cc-body.cc-tpl-domainregister #order-standard_cart .cart-sidebar, .cc-body.cc-tpl-domainregister #order-standard_cart .sidebar-collapsed,
.cc-body.cc-tpl-configureproduct #order-standard_cart .cart-sidebar, .cc-body.cc-tpl-configureproduct #order-standard_cart .sidebar-collapsed,
.cc-body.cc-tpl-viewcart #order-standard_cart .cart-sidebar, .cc-body.cc-tpl-viewcart #order-standard_cart .sidebar-collapsed { display: none; }
.cc-body.cc-tpl-configureproductdomain #order-standard_cart .cart-body,
.cc-body.cc-tpl-domaintransfer #order-standard_cart .cart-body,
.cc-body.cc-tpl-domainregister #order-standard_cart .cart-body,
.cc-body.cc-tpl-configureproduct #order-standard_cart .cart-body,
.cc-body.cc-tpl-viewcart #order-standard_cart .cart-body { float: none; width: 100%; }
.cc-body.cc-tpl-configureproductdomain #order-standard_cart .cart-body, .cc-body.cc-tpl-domaintransfer #order-standard_cart .cart-body { max-width: 860px; margin: 0 auto; }

.cc-body #order-standard_cart [hidden] { display: none !important; }
.cc-body #order-standard_cart .cc-more {
  display: inline-flex; align-items: center; gap: 0.45rem; margin: 0.15rem 0; padding: 0.35rem 0; font-size: 0.875rem; font-weight: 600;
  color: var(--cc-tag-fg); background: none; border: 0; cursor: pointer;
}
.cc-body #order-standard_cart .cc-more:hover { text-decoration: underline; }
.cc-body #order-standard_cart .cc-more::after { content: "\f078"; font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro"; font-size: 0.7rem; font-weight: 900; transition: transform 0.15s ease; }
.cc-body #order-standard_cart .cc-more[aria-expanded="true"]::after { transform: rotate(180deg); }
.cc-body #order-standard_cart .cc-more--search { display: flex; margin-left: 8.33%; }
@media (max-width: 575.98px) { .cc-body #order-standard_cart .cc-more--search { margin-left: 0; } }
.cc-body #order-standard_cart .cc-included { margin-top: 0.75rem; }
.cc-body #order-standard_cart .product-info .product-title { margin-bottom: 0.35rem; padding-bottom: 0; border-bottom: 0; }

/* domain choices */
.cc-body #order-standard_cart .domain-checker-advanced textarea#message { height: 3.1rem; min-height: 0; resize: none; line-height: 1.4; }
.cc-body #order-standard_cart .domain-checker-advanced textarea#message:focus { height: 5rem; }
.cc-body #order-standard_cart .domain-selection-options label.cc-opt { display: flex; align-items: flex-start; gap: 0.75rem; margin: 0; cursor: pointer; }
.cc-body #order-standard_cart .cc-opt__text { display: block; }
.cc-body #order-standard_cart .cc-opt__title { display: block; font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--cc-heading); }
.cc-body #order-standard_cart .cc-opt__desc { display: block; margin-top: 0.1rem; font-size: 0.85rem; font-weight: 400; line-height: 1.4; color: var(--cc-text-muted); }

/* pay monthly / pay yearly */
.cc-cycles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0.75rem; margin-top: 0.5rem; }
.cc-cycle {
  position: relative; display: block; width: 100%; padding: 1rem 1.15rem; text-align: left; color: var(--cc-text); background: var(--cc-card);
  border: 1.5px solid var(--cc-border-strong); border-radius: 16px; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cc-cycle:hover { border-color: var(--cc-primary); }
.cc-cycle:focus-visible { outline: 2px solid var(--cc-primary); outline-offset: 2px; }
.cc-cycle[aria-pressed="true"] { border-color: var(--cc-primary); box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.28); }
.cc-cycle__name { display: block; font-size: 0.9rem; font-weight: 600; color: var(--cc-heading); }
.cc-cycle__price { display: block; margin-top: 0.3rem; font-family: var(--cc-font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--cc-heading); }
.cc-cycle__per { font-family: var(--cc-font-body, inherit); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; color: var(--cc-text-muted); }
.cc-cycle__note { display: block; margin-top: 0.15rem; font-size: 0.82rem; color: var(--cc-text-muted); }
.cc-cycle__save { position: absolute; top: 0.8rem; right: 0.9rem; padding: 0.15rem 0.55rem; font-size: 0.75rem; font-weight: 700; color: var(--cc-on-primary); background: var(--cc-primary); border-radius: 999px; }

/* PayPal's own stylesheet pins its box white (right for its button), so its text stays dark in both modes */
.cc-body #frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields .payment-instructions,
.cc-body #frmCheckout.paypal_ppcpv-payment-form #creditCardInputFields label.radio-inline { color: #334155; }

/* optional SSL: folded away, and no last-minute certificate adverts at checkout (every plan already has free SSL) */
.cc-body #order-standard_cart .cc-ssl-note { margin: 0.5rem 0 0.1rem; font-size: 0.9rem; color: var(--cc-text); }
.cc-body #order-standard_cart .mc-promos.checkout, .cc-body #order-standard_cart .sub-heading:has(+ .mc-promos.checkout) { display: none; }

/* -------------------------------------------------------------------------
   11i. "Please wait" screen after Complete Order (js/cc-order.js, processingScreen). The checkout request takes the payment and
   registers any domains in one go, so a big order can take a minute or more. Under reduced motion the ring simply stands still.
   ------------------------------------------------------------------------- */
html.cc-processing-open, html.cc-processing-open body { overflow: hidden; }
.cc-processing { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--cc-page); background: color-mix(in srgb, var(--cc-page) 88%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cc-processing[hidden] { display: none; }
.cc-processing__card { box-sizing: border-box; width: 100%; max-width: 28rem; padding: 2rem 1.75rem; overflow: hidden; text-align: center; color: var(--cc-text); background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: var(--cc-radius); box-shadow: var(--cc-shadow-lg); }
.cc-processing__brand { margin: -2rem -1.75rem 1.75rem; padding: 1.1rem 1rem; background: rgba(7, 13, 26, 0.96); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }   /* the header's colours: the logo has white lettering */
.cc-processing__logo { display: block; width: auto; max-width: 100%; height: 30px; margin: 0 auto; }
.cc-processing__spinner { width: 3rem; height: 3rem; margin: 0 auto 1.25rem; box-sizing: border-box; border: 4px solid var(--cc-border-strong); border-top-color: var(--cc-primary); border-radius: 50%; animation: ccSpin 0.9s linear infinite; }
.cc-processing__title { margin: 0 0 0.6rem; font-family: var(--cc-font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.3; color: var(--cc-heading); }
.cc-processing__title:focus { outline: none; }   /* focused by the script only, so screen readers read the screen out; not reachable by Tab */
.cc-processing__text { margin: 0; color: var(--cc-text-muted); }
.cc-processing__slow { margin: 0.9rem 0 0; font-weight: 600; color: var(--cc-text); }
.cc-processing__slow:empty { margin: 0; }   /* stays in the page while empty, so the later message is announced */

/* -------------------------------------------------------------------------
   11g. Fixes from the 7 Nov 2026 contrast sweep (35 pages x light/dark): colours that WHMCS, its plugins or MarketConnect pin
   to light-only or low-contrast values.
   ------------------------------------------------------------------------- */
/* DataTables pagination (invoices, emails, domain pricing...) */
.cc-body .pagination .page-link, .cc-body .dataTables_wrapper .pagination .page-link, .cc-body ul.pagination li.paginate_button a.page-link {
  color: var(--cc-link); background-color: var(--cc-card); border-color: var(--cc-border);
}
.cc-body .pagination .page-item.active .page-link, .cc-body .dataTables_wrapper .pagination .active .page-link { color: var(--cc-on-primary); background-color: var(--cc-primary); border-color: var(--cc-primary); }
.cc-body .pagination .page-item.disabled .page-link, .cc-body .dataTables_wrapper .pagination .disabled .page-link { color: var(--cc-text-muted); background-color: var(--cc-card); }

/* bootstrap-switch (yes/no toggles, e.g. account details > email preferences) */
.cc-body .bootstrap-switch { border-color: var(--cc-input-bd); border-radius: 10px; }
.cc-body .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,
.cc-body .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success { color: #fff; background: #047857; }
.cc-body .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
.cc-body .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary { color: var(--cc-on-primary); background: var(--cc-primary); }
.cc-body .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,
.cc-body .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default { color: var(--cc-heading); background: var(--cc-card-2); }
.cc-body .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger,
.cc-body .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger { color: #fff; background: #b91c1c; }
.cc-body .bootstrap-switch .bootstrap-switch-label { color: var(--cc-heading); background: var(--cc-card); }

/* "Sign in with / Connect with" buttons: darker brand fills so white text passes 4.5:1 */
.cc-body .btn-social.btn-twitter, .cc-body .btn-twitter { color: #fff; background-color: #0f1419; border-color: #0f1419; }
.cc-body .btn-social.btn-facebook, .cc-body .btn-facebook { color: #fff; background-color: #1458c8; border-color: #1458c8; }
.cc-body .btn-social.btn-google, .cc-body .btn-google { color: #1f1f1f; background-color: #fff; border-color: #dadce0; }

/* The row of sign-in buttons (login, register, checkout, account security): three identical boxes. Google draws its button in its own
   frame (head.tpl asks it for the same width), so only the outer box is sized here, and the frame's outline is trimmed so there is just one. */
.cc-body .social-signin-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-bottom: 1.5rem; }
.cc-body .social-signin-btns .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; box-sizing: border-box; width: 220px; max-width: 100%; height: 44px; margin: 0; padding: 0 12px; line-height: 1.2; }
.cc-body .social-signin-btns .btn-google { padding: 0; }
.cc-body .social-signin-btns .btn-google iframe { clip-path: inset(3px 11px); }
[data-bs-theme="dark"] .cc-body .social-signin-btns .btn-twitter { border-color: var(--cc-border-strong); }   /* its dark fill vanished against the dark page */

/* The "Sign Up" divider on the registration page: Twenty-One pins it to a white box */
.cc-body #registration .sub-heading { border-top-color: var(--cc-border); }
.cc-body #registration .sub-heading span { color: var(--cc-text-muted); background-color: var(--cc-page); }

/* MarketConnect banners on the dashboard and service pages (SSL, SiteLock...): Twenty-One pins them to white, which left dark mode's pale text on
   white. The coloured top edge stays each product's own, so only the other three borders are set here. */
.cc-body .promo-banner, .cc-body .promo-container { color: var(--cc-text); background-color: var(--cc-card); }
.cc-body .promo-banner { border-right: 1px solid var(--cc-border); border-bottom: 1px solid var(--cc-border); border-left: 1px solid var(--cc-border); border-radius: 16px; padding: 1.25rem; }
.cc-body .promo-container { border-color: var(--cc-border); }
.cc-body .promo-banner h3, .cc-body .promo-banner h4, .cc-body .promo-container h3, .cc-body .promo-container h4 { color: var(--cc-heading); }
.cc-body .promo-banner a:not(.btn), .cc-body .promo-container a:not(.btn) { color: var(--cc-link); }
.cc-body .promo-banner .btn { color: var(--cc-on-primary); background-color: var(--cc-primary); }

/* announcements and the knowledgebase list */
.cc-body .announcements .announcement article, .cc-body .announcement-single article { color: var(--cc-text); background: transparent; }
.cc-body .announcements .announcement h1, .cc-body .announcements .announcement h2, .cc-body .announcements .announcement h3 { color: var(--cc-heading); }
.cc-body .list-group-item small, .cc-body .kb-article-item small, .cc-body .announcements small { color: var(--cc-text-muted); }

/* markdown editor (open ticket, reply): toolbar, preview and footer */
.cc-body .md-editor, .cc-body .md-editor > textarea, .cc-body .md-editor .md-preview { color: var(--cc-heading); background-color: var(--cc-input-bg); border-color: var(--cc-input-bd); }
.cc-body .md-editor .md-header, .cc-body .md-editor .md-footer, .cc-body .md-footer { color: var(--cc-text-muted); background-color: var(--cc-card-2) !important; border-color: var(--cc-border); }  /* the editor's CSS loads after ours */
.cc-body .md-footer .small-font, .cc-body .md-footer .markdown-save { color: var(--cc-text-muted); }
.cc-body .md-editor .btn-default, .cc-body .md-editor .btn { color: var(--cc-heading); background: var(--cc-card); border-color: var(--cc-border-strong); }

/* the markdown message box itself: its own CSS (loaded after ours) pins a white background, which with the theme's light
   text made typed text invisible in dark mode */
.cc-body .md-editor > textarea.md-input, .cc-body textarea.markdown-editor, .cc-body .md-editor > textarea {
  color: var(--cc-heading) !important; background-color: var(--cc-input-bg) !important; border-color: var(--cc-input-bd) !important;
}
.cc-body .md-editor.active { border-color: var(--cc-link); box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.3); }
.cc-body .md-editor > .md-preview { color: var(--cc-text); background-color: var(--cc-card) !important; }

/* file picker (ticket attachments) */
.cc-body .custom-file-label { color: var(--cc-text); background-color: var(--cc-input-bg); border-color: var(--cc-input-bd); border-radius: 12px; }
.cc-body .custom-file-label::after { color: var(--cc-heading); background-color: var(--cc-card-2); border-left-color: var(--cc-input-bd); border-radius: 0 11px 11px 0; }
.cc-body .custom-file-input:focus ~ .custom-file-label { border-color: var(--cc-link); box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.3); }

/* DataTables search box and the list tables' header row */
.cc-body .dataTables_wrapper .dataTables_filter input, .cc-body .dataTables_filter input[type="search"] {
  color: var(--cc-heading); background-color: var(--cc-input-bg); border: 1px solid var(--cc-input-bd); border-radius: 10px;
}
/* WHMCS draws this box's search icon from a PNG with a solid white background, which shows as a white square in dark mode: a line icon in the theme's colours instead */
.cc-body .dataTables_wrapper .dataTables_filter label .form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E"); background-position: 15px center; background-size: 17px 17px; }
:root[data-bs-theme="dark"] .cc-body .dataTables_wrapper .dataTables_filter label .form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb0cc' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E"); }
.cc-body .table-list thead th, .cc-body table.dataTable thead th, .cc-body .table-domains thead th, .cc-body #tableDomainPricing thead th {
  color: var(--cc-heading); background-color: var(--cc-card-2); border-color: var(--cc-border);
}
.cc-body .table-list thead th.sorting_asc, .cc-body .table-list thead th.sorting_desc,
.cc-body table.dataTable thead th.sorting_asc, .cc-body table.dataTable thead th.sorting_desc { color: var(--cc-heading); background-color: var(--cc-tint-soft); }
.cc-body .dataTables_wrapper .dataTables_length select { color: var(--cc-heading); background-color: var(--cc-input-bg); border-color: var(--cc-input-bd); }

/* domain pricing: the registry logos are dark artwork, so their tile stays light in dark mode */
[data-bs-theme="dark"] .cc-body .featured-tld .img-container { background-color: #f8fafc; }

/* domain pricing: the featured extensions' coloured price bars */
.cc-body .featured-tld .price, .cc-body .featured-tld .price.com, .cc-body .featured-tld .price.net, .cc-body .featured-tld .price.org,
.cc-body .featured-tld .price.tech, .cc-body .featured-tld .price.couk, .cc-body .featured-tld .price.uk, .cc-body .featured-tld [class*="price"] {
  color: var(--cc-on-primary); background-color: var(--cc-primary);
}
.cc-body .featured-tld { background: var(--cc-card); border: 1px solid var(--cc-border); border-radius: 16px; overflow: hidden; }

/* MarketConnect promos in the cart and checkout (SSL, SiteLock...) */
.cc-body .mc-promo .cta .btn, .cc-body .mc-promo .btn-add, .cc-body .promo-container .cta .btn { color: var(--cc-on-primary) !important; background-color: var(--cc-primary) !important; border-color: var(--cc-primary) !important; }  /* the promo CSS loads after ours */
.cc-body .mc-promo .cta .price, .cc-body .mc-promo .price { color: var(--cc-ok-fg) !important; }
.cc-body .mc-promo .header, .cc-body .mc-promo .body { color: var(--cc-text); }

/* registration form (register.php): Twenty-One pins its fields to white with grey text and grey labels */
.cc-body #registration .field, .cc-body #registration .form-control, .cc-body .prepend-icon .field {
  min-height: 46px; color: var(--cc-heading); background-color: var(--cc-input-bg); border: 1px solid var(--cc-input-bd); border-radius: 12px;
}
.cc-body #registration .field:focus, .cc-body #registration .form-control:focus { border-color: var(--cc-link); box-shadow: 0 0 0 3px rgba(var(--cc-primary-rgb), 0.3); }
.cc-body #registration .prepend-icon .field-icon, .cc-body .prepend-icon .field-icon { height: 46px; line-height: 46px; color: var(--cc-text-muted); }
.cc-body #registration label, .cc-body label.form-check, .cc-body .form-check-label { color: var(--cc-text); }
.cc-body #registration .info-text-sm, .cc-body #registration .field-help-text { color: var(--cc-text-muted); }
.cc-body .field-error-msg { color: var(--cc-bad-fg); }
.cc-body #registration input::placeholder, .cc-body #registration textarea::placeholder, .cc-body .field::placeholder { color: var(--cc-placeholder); opacity: 1; }

/* Nexus Cart: one panel uses Tailwind's raw white */
[data-bs-theme="dark"] #nexus-root { --color-white: #16233f; }

/* MarketConnect landing pages (e.g. /store/ssl-certificates) are drawn for light backgrounds only: in dark mode they stay a
   light "island" (light tokens inside), and their own coloured bands get readable text. */
[data-bs-theme="dark"] .landing-page {
  color-scheme: light;
  --cc-bg: #ffffff; --cc-page: #f4f7fd; --cc-card: #ffffff; --cc-card-2: #f7f9fe; --cc-surface-alt: #f4f7fd;
  --cc-border: #e2e8f0; --cc-border-strong: #cbd5e1; --cc-border-hover: #c7d8f7;
  --cc-heading: #0b1220; --cc-text: #1e293b; --cc-text-muted: #475569; --cc-link: #2563eb; --cc-link-hover: #1d4ed8; --cc-ring: #1d4ed8;
  --cc-tag-fg: #2563eb; --cc-tint: #dbeafe; --cc-tint-soft: #eff6ff; --cc-tint-fg: #1d4ed8;
  --cc-input-bg: #ffffff; --cc-input-bd: #76849a; --cc-placeholder: #5b6b82;
  color: var(--cc-text); background-color: #ffffff;
  border-radius: 18px; overflow: hidden;
}
.cc-body .landing-page .card-header h1, .cc-body .landing-page .card-header h2, .cc-body .landing-page .card-header h3,
.cc-body .landing-page .card-header h4, .cc-body .landing-page .card-header h5 { color: inherit; }
.cc-body .landing-page .card-header[style*="background"], .cc-body .landing-page [id^="sslHeading"], .cc-body .landing-page #sslHeaderMultiYear { color: #fff; }
.cc-body .landing-page .item h4, .cc-body .landing-page .help-me-choose h4 { color: inherit; }
.cc-body .landing-page .standout-1 { background-color: #b45309 !important; }  /* MarketConnect's store CSS loads after ours */
.cc-body .landing-page .standout-1 h1, .cc-body .landing-page .standout-1 h2, .cc-body .landing-page .standout-1 h3, .cc-body .landing-page .standout-1 p { color: #fff; }
.cc-body .landing-page p.ideal { color: #475569 !important; }
.cc-body .landing-page .navbar-nav .nav-link { color: #334155; }
.cc-body .landing-page .navbar-nav .nav-link:hover, .cc-body .landing-page .navbar-nav .nav-link.active { color: #1d4ed8; }

/* -------------------------------------------------------------------------
   12. Footer (as on the website)
   ------------------------------------------------------------------------- */
footer.footer.cc-footer {
  position: relative; margin: 0; padding: clamp(3rem, 5vw, 4.5rem) 0 0;
  font-size: 0.94rem; color: #b5c3db; background: var(--cc-ink-950);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
footer.footer.cc-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cc-primary), transparent); opacity: 0.7; }
.cc-footer__cols { row-gap: 2.25rem; }
.cc-footer h2 { margin-bottom: 1rem; font-family: var(--cc-font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.cc-footer__logo img { display: block; width: 190px; height: auto; margin-bottom: 1rem; }
.cc-footer p { color: #b5c3db; }
.cc-footer__links, .cc-footer__contact { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.cc-footer__links a { display: inline-flex; align-items: center; min-height: 24px; color: #b5c3db; text-decoration: none; transition: color 0.2s ease; }
.cc-footer__links a:hover, .cc-footer__links a:focus-visible { color: #fff; }
.cc-footer__contact { gap: 0.85rem; }
.cc-footer__contact li { display: flex; gap: 0.8rem; }
.cc-footer__contact i { flex: none; width: 1.1rem; margin-top: 0.3rem; color: var(--cc-primary-300); }
.cc-footer__contact a { color: #e2eaf8; overflow-wrap: anywhere; }
.cc-footer__contact address { margin: 0; font-style: normal; }
.cc-social { display: flex; gap: 0.6rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.cc-social a {
  display: grid; place-items: center; width: 42px; height: 42px;
  color: #dbe7fb; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 50%;
  text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.cc-social a:hover, .cc-social a:focus-visible { color: var(--cc-on-primary); background: var(--cc-primary); border-color: var(--cc-primary); transform: translateY(-3px); }
.cc-x-logo { width: 15px; height: 15px; fill: currentColor; }
footer.footer .btn.cc-footer__locale {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.1rem; padding: 0.45rem 0.9rem; line-height: 1.3;
  font-family: var(--cc-font-body); font-size: 0.88rem; font-weight: 500; color: #dbe7fb;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
}
footer.footer .btn.cc-footer__locale:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cc-footer__bottom { margin-top: clamp(2rem, 4vw, 3rem); padding: 1.4rem 0 2rem; font-size: 0.86rem; color: #8fa0bd; border-top: 1px solid rgba(255, 255, 255, 0.08); }
footer.footer .cc-footer__bottom .copyright { margin: 0 0 0.25rem; text-align: left; font-size: inherit; color: #b5c3db; }
.cc-footer__bottom p { color: #8fa0bd; }
.cc-footer__legal { display: flex; flex-wrap: wrap; gap: 0 1.4rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.cc-footer__legal a { display: inline-block; padding: 0.3rem 0; color: #b5c3db; text-decoration: none; }
.cc-footer__legal a:hover { color: #fff; text-decoration: underline; }
.cc-footer__legal .cc-footer__cookies { padding: 0.3rem 0; font: inherit; color: #b5c3db; background: none; border: 0; cursor: pointer; }
.cc-footer__legal .cc-footer__cookies:hover { color: #fff; text-decoration: underline; }

/* The cookie banner (css/cc-consent.css, copied from the website) relies on two helpers Bootstrap 4 does not have */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.cc-dialog .mono { font-family: var(--cc-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); }

/* the floating "return to admin" button WHMCS shows when an admin is signed in */
.btn-return-to-admin { color: #1c1003; background: #fbbf24; border-color: #fbbf24; }

/* -------------------------------------------------------------------------
   13. Theme switch: circular reveal (View Transitions), nothing else animates meanwhile
   ------------------------------------------------------------------------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; animation: ccThemeReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes ccThemeReveal {
  from { clip-path: circle(0 at var(--tx, 100%) var(--ty, 0)); }
  to { clip-path: circle(var(--tr, 150vmax) at var(--tx, 100%) var(--ty, 0)); }
}
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: none !important; }

/* -------------------------------------------------------------------------
   14. Reduced motion (WCAG 2.3.3): nothing drifts, twinkles, pulses or lifts
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .cc-hero__clouds img, .cc-hero__glow, .cc-hero__stars .st, .orb--sun i, .cc-chip .dot, .bird, .bird path { animation: none !important; }
  .cc-hero__shoot, .cc-hero__storm, .cc-hero__birds { display: none !important; }
  .cc-hero [data-parallax] { transform: none !important; }
  .cc-btn:hover, .cc-quick-card:hover, .cc-tile:hover, .cc-stat:hover, .cc-social a:hover { transform: none !important; }
  ::view-transition-new(root) { animation: none !important; }
  .cc-motion-toggle { display: none; }   /* nothing moves for these visitors, so there is nothing to pause */
}
/* The pause button: the same decorative motion stops. Only the front-page hero is listed (not every element, as above), so WHMCS's own loading spinners keep working */
html.cc-paused { scroll-behavior: auto; }
.cc-paused .cc-hero__clouds img, .cc-paused .cc-hero__glow, .cc-paused .cc-hero__stars .st, .cc-paused .orb--sun i, .cc-paused .cc-chip .dot, .cc-paused .bird, .cc-paused .bird path { animation: none !important; }
.cc-paused .cc-hero__shoot, .cc-paused .cc-hero__storm, .cc-paused .cc-hero__birds { display: none !important; }
.cc-paused .cc-hero [data-parallax] { transform: none !important; }

/* -------------------------------------------------------------------------
   15. Print: plain and light
   ------------------------------------------------------------------------- */
@media print {
  .cc-header, .cc-footer, .cc-hero__scene, .cc-theme-toggle { display: none !important; }
  body, body.primary-bg-color { color: #000; background: #fff; }
}
