/* ==========================================================================
   Fuzuhost client area (my.fuzuhost.com)
   A child theme of WHMCS Nexus. Nexus loads this file last, after its own
   theme.min.css, so everything here wins on equal specificity.

   The tokens in section 1 are copied from the marketing site
   (fuzuhost2/css/style.css). Keep the two in step: if a colour changes on
   the site, change it here too. Colours are used through tokens only.
   ========================================================================== */

/* Nexus's own custom.css holds the base variables (white, neutrals, success,
   error, text-on-dark...) that Nexus and the cart app read. Ours replaces that
   file, so pull it in first and override after it. Importing (not copying)
   keeps those defaults in step with WHMCS updates. */
@import url("../../nexus/css/custom.css");

/* Fonts (Archivo, Libre Franklin) load from Google in includes/head.tpl. */

/* ==========================================================================
   1. Brand tokens (from the site)
   ========================================================================== */
:root {
  --fz-primary: #0b6c8e;        /* deep cyan: links and text accents, 5.9:1 on paper */
  --fz-primary-hover: #095a77;
  --fz-primary-soft: rgba(11, 108, 142, .10);
  --fz-accent: #20b4e8;         /* the brand cyan: fills only, always with dark text */
  --fz-accent-hover: #36c2f2;
  --fz-on-accent: #06181f;
  --fz-bg: #fafbfd;             /* cool paper */
  --fz-surface: #ffffff;
  --fz-text: #101a20;
  --fz-text-muted: #55666f;
  --fz-ink: #0d161b;            /* footer, dark panels */
  --fz-ink-2: #16252d;
  --fz-navy: #233f86;           /* the logo navy */
  --fz-sky: #1b387a;
  --fz-tint: #eff4fa;
  --fz-line: #e2e7ee;
  --fz-line-strong: #cbd3de;
  --fz-on-dark: #eef4f6;
  --fz-on-dark-muted: #9fb2bb;
  --fz-dark-line: rgba(255, 255, 255, .12);
  --fz-mint: #92e894;
  --fz-mint-ink: #0a2e14;

  --fz-font-display: Archivo, "Segoe UI", Arial, sans-serif;
  --fz-font-body: "Libre Franklin", "Segoe UI", Roboto, Arial, sans-serif;

  --fz-radius: 16px;
  --fz-radius-sm: 10px;
  --fz-radius-pill: 999px;
  --fz-shadow-sm: 0 1px 2px rgba(13, 22, 27, .05), 0 3px 10px rgba(13, 22, 27, .045);
  --fz-shadow: 0 2px 4px rgba(13, 22, 27, .05), 0 14px 34px rgba(13, 22, 27, .08);
  --fz-ease: cubic-bezier(.22, .68, .32, 1);
  --fz-dur-ui: .2s;

  /* ------------------------------------------------------------------------
     2. Nexus variables, pointed at the brand. Nexus and the nexus_cart order
     form both read these, so most of the cart follows without extra rules.
     ------------------------------------------------------------------------ */
  --primary-50: #f0f9fd;
  --primary-100: #dff2fa;
  --primary-200: #b9e5f5;
  --primary-300: #7fd1ef;
  --primary-400: #3dbbe8;
  --primary-500: #20b4e8;
  --primary-600: #0b6c8e;
  --primary-700: #095a77;
  --primary-800: #0a4a61;
  --primary-900: #0d3d50;
  --primary-950: #062634;

  --primary: var(--primary-600);
  --primary-lifted: var(--primary-700);
  --primary-accented: var(--primary-800);

  --info: var(--fz-primary);
  --info-lifted: var(--fz-primary-hover);
  --info-accented: var(--primary-800);

  --text: var(--fz-text);
  --text-accented: #33444d;
  --text-lifted: var(--fz-text-muted);
  --text-muted: #7c8c95;

  --border-muted: var(--fz-line);
  --border: var(--fz-line-strong);

  --bg: var(--fz-surface);
  --bg-muted: var(--fz-bg);
  --bg-lifted: var(--fz-tint);
  --bg-accented: var(--fz-tint);
  --bg-inverted: var(--fz-ink);

  --grayscale: var(--fz-text);
  --grayscale-lifted: var(--fz-ink-2);
  --grayscale-accented: #33444d;

  --rounding-sm: var(--fz-radius-sm);
  --rounding-md: 12px;
  --rounding-lg: var(--fz-radius);
}

/* ==========================================================================
   3. Base
   ========================================================================== */
html { font-size: 15px; }

body {
  font-family: var(--fz-font-body);
  color: var(--fz-text);
  background: var(--fz-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.card-title, .modal-title {
  font-family: var(--fz-font-display);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--fz-text);
}

a { color: var(--fz-primary); }
a:hover { color: var(--fz-primary-hover); }

::selection { background: var(--primary-200); }

#main-body { background: var(--fz-bg); }

/* ==========================================================================
   4. Buttons: pills, like the site
   ========================================================================== */
.btn {
  border-radius: var(--fz-radius-pill) !important;
  font-family: var(--fz-font-display);
  font-weight: 600;
  transition: transform var(--fz-dur-ui) var(--fz-ease), box-shadow var(--fz-dur-ui) var(--fz-ease),
              background-color var(--fz-dur-ui) var(--fz-ease), border-color var(--fz-dur-ui) var(--fz-ease);
}
.btn:not(.btn-sm):not(.btn-xs):not(.btn-link) { padding: .55rem 1.25rem; }
.btn-sm { padding: .35rem .9rem; }
.btn:focus, .btn.focus { box-shadow: 0 0 0 3px var(--primary-200) !important; }

/* The main action: the brand cyan with dark text (white on it fails contrast). */
.btn-primary,
body #main-body .btn-primary {
  background: var(--fz-accent);
  border-color: var(--fz-accent);
  color: var(--fz-on-accent);
  box-shadow: var(--fz-shadow-sm);
}
.btn-primary:hover, .btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
body #main-body .btn-primary:hover {
  background: var(--fz-accent-hover);
  border-color: var(--fz-accent-hover);
  color: var(--fz-on-accent);
  transform: translateY(-1px);
  box-shadow: var(--fz-shadow);
}

/* Secondary actions read as the site's ghost button. */
.btn-default, .btn-secondary,
body #main-body .btn-outline-primary,
.btn-outline-primary {
  background: transparent;
  color: var(--fz-text);
  border: 1px solid var(--fz-line-strong);
}
.btn-default:hover, .btn-secondary:hover,
body #main-body .btn-outline-primary:hover,
.btn-outline-primary:hover {
  background: var(--fz-primary-soft);
  color: var(--fz-primary);
  border-color: var(--fz-primary);
}

/* Transfer, Pay and other "go" buttons stay green but on the brand shape. */
.btn-success { background: #1a8a4a; border-color: #1a8a4a; color: #fff; }
.btn-success:hover { background: #157540; border-color: #157540; color: #fff; }

.btn-link { color: var(--fz-primary); font-weight: 600; }

/* ==========================================================================
   5. Header: paper, hairline, bold 15px nav (as on the site)
   ========================================================================== */
/* The header sticks to the top like the site's. z-index keeps the menu
   panels above the hero, which is positioned too. */
header.header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(250, 251, 253, .94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--fz-line);
}
@supports not (backdrop-filter: blur(1px)) { header.header { background: var(--fz-bg); } }

/* ---- Header menu (includes/fz-nav.tpl, js/fuzuhost.js) ------------------ */
.fz-nav { position: relative; }
.fz-nav__bar {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px;
}
.fz-nav__logo { flex: none; display: block; }
.fz-nav__logo img { display: block; height: 40px; width: auto; }

.fz-nav__menu { margin-left: auto; }
.fz-nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.fz-nav__item { margin: 0; }

.fz-nav__trigger {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .7rem;
  border: 0; background: none;
  font-family: var(--fz-font-body);
  font-size: .9375rem; font-weight: 600;
  color: var(--fz-text);
  white-space: nowrap;
  border-radius: var(--fz-radius-sm);
  cursor: pointer;
  transition: color var(--fz-dur-ui) var(--fz-ease), background-color var(--fz-dur-ui) var(--fz-ease);
}
.fz-nav__trigger svg { width: .8em; height: .8em; transition: transform var(--fz-dur-ui) var(--fz-ease); }
.fz-nav__trigger:hover,
.fz-nav__trigger[aria-expanded="true"] { color: var(--fz-primary); background: var(--fz-primary-soft); }
.fz-nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.fz-nav__trigger:focus-visible { outline: 2px solid var(--fz-primary); outline-offset: 2px; }

/* A panel spans the header's full width and drops below the bar. */
.fz-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--fz-surface);
  border-top: 1px solid var(--fz-line);
  border-bottom: 1px solid var(--fz-line);
  box-shadow: 0 24px 48px rgba(13, 22, 27, .10);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--fz-dur-ui) var(--fz-ease), transform var(--fz-dur-ui) var(--fz-ease), visibility var(--fz-dur-ui);
}
.fz-nav__item.is-open > .fz-panel { opacity: 1; visibility: visible; transform: none; }

.fz-panel__inner {
  max-width: 1140px; margin: 0 auto;
  padding: 1.75rem 15px 2rem;
  display: grid; gap: 2.25rem;
  grid-template-columns: 1.3fr 1fr .9fr;
  align-items: start;
}
.fz-panel__inner--auto { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.75rem; }

.fz-panel__h {
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  margin: 0 0 .8rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fz-text-muted);
}
.fz-panel__h span { font-size: .8rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--fz-primary); }

.fz-panel__more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .8rem;
  font-family: var(--fz-font-display); font-weight: 600; font-size: .9rem;
  color: var(--fz-primary); text-decoration: none;
}
.fz-panel__more svg { width: 1em; height: 1em; transition: transform var(--fz-dur-ui) var(--fz-ease); }
.fz-panel__more:hover { color: var(--fz-primary-hover); text-decoration: none; }
.fz-panel__more:hover svg { transform: translateX(4px); }

/* The ladder, small: each plan with its own animal. */
.fz-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.fz-tiers li { margin: 0; }
.fz-tier {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto;
  column-gap: .85rem; align-items: center;
  padding: .45rem .5rem;
  border-radius: 12px;
  color: var(--fz-text); text-decoration: none;
  transition: background-color var(--fz-dur-ui) var(--fz-ease), box-shadow var(--fz-dur-ui) var(--fz-ease);
}
.fz-tier img, .fz-tier__blank {
  grid-row: 1 / 3;
  width: 64px; height: 48px;
  object-fit: cover; object-position: center 12%;
  border-radius: 10px;
  background: var(--fz-sky);
}
.fz-tier__t { align-self: end; font-size: .95rem; }
.fz-tier__t b { font-family: var(--fz-font-display); font-weight: 700; }
.fz-tier__t i {
  margin-left: .35rem;
  font-style: normal; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--tier-ink, var(--fz-text-muted));
}
.fz-tier__d { align-self: start; font-size: .8rem; color: var(--fz-text-muted); }
.fz-tier:hover { background: var(--fz-tint); box-shadow: inset 3px 0 0 var(--tier, var(--fz-accent)); color: var(--fz-text); text-decoration: none; }

/* An item with an icon tile, a bold name and one line under it. */
.fz-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.fz-links li { margin: 0; }
.fz-links a {
  display: grid; grid-template-columns: 40px 1fr; gap: .8rem; align-items: start;
  padding: .55rem .5rem;
  border-radius: 12px;
  color: var(--fz-text); text-decoration: none;
  transition: background-color var(--fz-dur-ui) var(--fz-ease);
}
.fz-links b { display: block; font-family: var(--fz-font-display); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.fz-links small { display: block; font-size: .8rem; line-height: 1.4; color: var(--fz-text-muted); }
.fz-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--fz-tint);
  color: var(--fz-primary);
  transition: background-color var(--fz-dur-ui) var(--fz-ease), color var(--fz-dur-ui) var(--fz-ease);
}
.fz-ico svg { width: 20px; height: 20px; }
.fz-links a:hover { background: var(--fz-tint); color: var(--fz-text); text-decoration: none; }
.fz-links a:hover .fz-ico { background: var(--fz-accent); color: var(--fz-on-accent); }

/* Popular domain endings with their price. */
.fz-tlds { list-style: none; margin: 0; padding: 0; }
.fz-tlds li { margin: 0; border-top: 1px solid var(--fz-line); }
.fz-tlds li:first-child { border-top: 0; }
.fz-tlds a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .55rem .25rem;
  color: var(--fz-text); text-decoration: none;
}
.fz-tlds b { font-family: var(--fz-font-display); font-weight: 700; font-size: 1.02rem; }
.fz-tlds span { font-size: .85rem; color: var(--fz-text-muted); font-variant-numeric: tabular-nums; }
.fz-tlds a:hover b { color: var(--fz-primary); }

/* Plain link lists (the logged-in "My account" panel). */
.fz-plain { list-style: none; margin: 0; padding: 0; }
.fz-plain li { margin: 0; }
.fz-plain a { display: block; padding: .32rem 0; font-size: .92rem; color: var(--fz-text); }
.fz-plain a:hover { color: var(--fz-primary); text-decoration: none; }
.fz-count {
  display: inline-block; min-width: 1.4em; padding: 0 .4em; margin-left: .3rem;
  border-radius: var(--fz-radius-pill);
  background: var(--fz-accent); color: var(--fz-on-accent);
  font-size: .72rem; font-weight: 700; text-align: center;
}

/* The picture card at the end of a panel. */
.fz-feature {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 230px;
  border-radius: var(--fz-radius);
  color: #fff; text-decoration: none;
  background: var(--fz-sky);
}
.fz-feature img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
  transition: transform .5s var(--fz-ease);
}
.fz-feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(9, 16, 20, .88) 8%, rgba(9, 16, 20, .25) 60%, transparent);
}
.fz-feature__body { display: grid; gap: .25rem; padding: 1.1rem 1.2rem; }
.fz-feature__k { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.fz-feature b { font-family: var(--fz-font-display); font-size: 1.2rem; line-height: 1.2; }
.fz-feature__go { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--fz-accent); font-weight: 600; }
.fz-feature__go svg { width: 1em; height: 1em; }
.fz-feature:hover { color: #fff; text-decoration: none; }
.fz-feature:hover img { transform: scale(1.04); }

/* The knowledgebase search card in the Support panel. */
.fz-feature--search {
  display: grid; align-content: start; gap: .75rem;
  min-height: 0;
  padding: 1.2rem;
  background: var(--fz-tint);
  color: var(--fz-text);
}
.fz-feature--search::after { display: none; }
.fz-feature--search .fz-feature__k { color: var(--fz-text-muted); }
.fz-search {
  display: flex; align-items: center; gap: .5rem;
  padding: 0 .9rem;
  background: var(--fz-surface);
  border: 1px solid var(--fz-line-strong);
  border-radius: var(--fz-radius-pill);
}
.fz-search svg { width: 18px; height: 18px; color: var(--fz-text-muted); flex: none; }
.fz-search input { flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; font-size: .92rem; color: var(--fz-text); outline: 0; }
.fz-search:focus-within { border-color: var(--fz-primary); box-shadow: 0 0 0 3px var(--fz-primary-soft); }
.fz-feature--search .btn { justify-self: start; }

/* Right side of the bar: cart, register, log in / client area. */
.fz-nav__tools { display: flex; align-items: center; gap: .5rem; flex: none; margin-left: .75rem; }
.fz-icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--fz-line);
  border-radius: var(--fz-radius-pill);
  background: var(--fz-surface);
  color: var(--fz-text);
  cursor: pointer;
  transition: border-color var(--fz-dur-ui) var(--fz-ease), transform var(--fz-dur-ui) var(--fz-ease);
}
.fz-icon-btn svg { width: 20px; height: 20px; }
.fz-icon-btn:hover { border-color: var(--fz-text); color: var(--fz-text); transform: translateY(-1px); }
.fz-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--fz-radius-pill);
  background: var(--fz-accent); color: var(--fz-on-accent);
  font-size: .7rem; font-weight: 700;
  border: 2px solid var(--fz-bg);
}
.fz-nav__login {
  padding: .55rem .6rem;
  font-weight: 600; font-size: .9375rem;
  color: var(--fz-text);
}
.fz-nav__login:hover { color: var(--fz-primary); text-decoration: none; }
.fz-nav__cta { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.fz-nav__toggle, .fz-nav__mobile-cta { display: none; }

/* Narrow screens: the menu becomes a drawer under the bar. */
@media (max-width: 1199.98px) {
  .fz-nav__toggle { display: inline-flex; }
  .fz-nav__login { display: none; }
  .fz-nav__tools { margin-left: auto; }
  .fz-nav__menu {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - 68px); overflow-y: auto;
    margin: 0; padding: .5rem 15px 2rem;
    background: var(--fz-surface);
    border-top: 1px solid var(--fz-line);
    box-shadow: 0 24px 48px rgba(13, 22, 27, .12);
  }
  .fz-nav.is-drawer-open .fz-nav__menu { display: block; }
  .fz-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .fz-nav__trigger {
    width: 100%; justify-content: space-between;
    padding: .95rem .25rem;
    font-size: 1.05rem;
    border-radius: 0;
    border-bottom: 1px solid var(--fz-line);
  }
  .fz-nav__trigger:hover, .fz-nav__trigger[aria-expanded="true"] { background: none; }
  .fz-panel {
    position: static; display: none;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: none;
  }
  .fz-nav__item.is-open > .fz-panel { display: block; }
  .fz-panel__inner, .fz-panel__inner--auto { grid-template-columns: 1fr; gap: 1.25rem; padding: 1rem 0 1.25rem; }
  .fz-feature:not(.fz-feature--search) { display: none; }
  .fz-nav__mobile-cta { display: grid; gap: .6rem; margin-top: 1.25rem; }
  .fz-nav__mobile-cta .btn { margin: 0; }
}
@media (max-width: 575.98px) {
  .fz-nav__cta { display: none; }
  .fz-nav__logo img { height: 34px; }
}
html.fz-no-scroll, html.fz-no-scroll body { overflow: hidden; }

/* Nexus's logged-in bar above the menu: keep it, make it quieter. */
header.header .topbar { background: var(--fz-ink); }

/* Dropdowns: rounded panel with a soft lift, like the site's menus. */
.dropdown-menu {
  border: 1px solid var(--fz-line);
  border-radius: var(--fz-radius);
  box-shadow: var(--fz-shadow);
  padding: .4rem;
}
.dropdown-item, .dropdown-menu .dropdown-item > a {
  border-radius: var(--fz-radius-sm);
  font-size: .9rem;
}
.dropdown-item:hover, .dropdown-item:focus,
.dropdown-item.active, .dropdown-item:active {
  background: var(--fz-primary-soft);
  color: var(--fz-primary);
}
.dropdown-item.active a, .dropdown-item:active a { color: var(--fz-primary); }

/* Breadcrumb: the site's quiet crumb line on the soft tint. */
.master-breadcrumb { background: var(--fz-tint); border-bottom: 1px solid var(--fz-line); }
.master-breadcrumb .breadcrumb { padding: .6rem 0; font-size: .85rem; background: transparent; }
.master-breadcrumb .breadcrumb a { color: var(--fz-text-muted); }
.master-breadcrumb .breadcrumb-item.active { color: var(--fz-text); font-weight: 600; }

/* ==========================================================================
   6. Home page hero: the domain search sits on the night scene, as on the
      site's home page.
   ========================================================================== */
.home-domain-search {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 16, 20, .86) 0%, rgba(9, 16, 20, .62) 48%, rgba(9, 16, 20, .25) 100%),
    url("../img/hero-night-1400.webp") center 58% / cover no-repeat,
    var(--fz-sky) !important;
}
@media (max-width: 767.98px) {
  .home-domain-search {
    background:
      linear-gradient(180deg, rgba(9, 16, 20, .55), rgba(9, 16, 20, .85)),
      url("../img/hero-night-700.webp") 70% center / cover no-repeat,
      var(--fz-sky) !important;
  }
}
.home-domain-search > .container > div { padding-top: clamp(2.75rem, 6vw, 5rem) !important; padding-bottom: clamp(2.5rem, 5vw, 4.5rem) !important; }
.home-domain-search h2 {
  color: #fff;
  font-size: clamp(1.9rem, 2.2vw + 1.3rem, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-align: left !important;
  max-width: 40rem;
}
.home-domain-search h2::after {
  content: "";
  display: block;
  width: 8.5rem; height: 3px; margin-top: 1rem;
  border-radius: 3px;
  background: var(--fz-accent);
}
.home-domain-search .input-group-wrapper {
  max-width: 40rem;
  margin: 1.6rem 0 .8rem;
  padding: 6px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--fz-radius-pill);
  backdrop-filter: blur(6px);
}
.home-domain-search .input-group-wrapper .form-control {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.05rem;
  padding-left: 1rem;
}
.home-domain-search .input-group-wrapper .form-control::placeholder { color: rgba(255, 255, 255, .62); }
.home-domain-search .input-group-append .btn { margin-left: 6px; }
.home-domain-search .btn-success { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.home-domain-search .btn-success:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.home-domain-search .btn-link { float: none !important; padding-left: 0; color: rgba(255, 255, 255, .82); }
.home-domain-search .btn-link:hover { color: #fff; }

/* ==========================================================================
   7. Cards, panels and the home page tiles
   ========================================================================== */
.card, .panel, .mc-promo-manage, .mc-promo-login {
  border: 1px solid var(--fz-line);
  border-radius: var(--fz-radius);
  box-shadow: var(--fz-shadow-sm);
  background: var(--fz-surface);
}
.card-header, .panel-heading {
  background: transparent;
  border-bottom: 1px solid var(--fz-line);
  font-family: var(--fz-font-display);
  font-weight: 700;
}
.card-header:first-child { border-radius: var(--fz-radius) var(--fz-radius) 0 0; }

#main-body h2.text-center { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2.1rem); }

/* Product cards on the home page lift on hover, like the plan cards. */
#main-body .pricing-card-title { font-size: 1.35rem; }
#main-body .card.mb-3 { transition: transform var(--fz-dur-ui) var(--fz-ease), box-shadow var(--fz-dur-ui) var(--fz-ease); }
#main-body .card.mb-3:hover { transform: translateY(-3px); box-shadow: var(--fz-shadow); }

/* "How can we help" and "Your account" tiles: no rainbow top borders. */
body #main-body .action-icon-btns a {
  border: 1px solid var(--fz-line) !important;
  border-radius: var(--fz-radius);
  box-shadow: var(--fz-shadow-sm);
  color: var(--fz-text);
  font-weight: 600;
  padding: 1.1rem .5rem 1.2rem;
}
body #main-body .action-icon-btns a:hover {
  border-color: var(--fz-accent) !important;
  color: var(--fz-primary);
  transform: translateY(-3px);
  box-shadow: var(--fz-shadow);
}
.action-icon-btns a .ico-container i { color: var(--fz-accent); }

/* Sidebar panels in the client area. */
.sidebar .card-title, .sidebar .card-header { font-size: 1rem; }
.sidebar .list-group-item.active,
.sidebar .list-group-item.active:hover {
  background: var(--fz-primary-soft);
  border-color: var(--fz-line);
  color: var(--fz-primary);
  font-weight: 600;
}
.list-group-item { border-color: var(--fz-line); }
.list-group-item-action:hover { background: var(--fz-tint); }

/* Client home tiles (services, domains, tickets, invoices). */
.tiles .tile {
  border-radius: var(--fz-radius);
  transition: background-color var(--fz-dur-ui) var(--fz-ease);
}
.tiles .tile .stat { font-family: var(--fz-font-display); font-weight: 800; color: var(--fz-text); }
.tiles .tile i { color: var(--fz-accent); }
.tiles .tile:hover { background: var(--fz-tint); }
.tiles .tile .highlight { background: var(--fz-accent) !important; }

/* ==========================================================================
   8. Forms
   ========================================================================== */
.form-control, .custom-select {
  border-color: var(--fz-line-strong);
  border-radius: var(--fz-radius-sm);
  color: var(--fz-text);
}
.form-control:focus, .custom-select:focus {
  border-color: var(--fz-primary);
  box-shadow: 0 0 0 3px var(--fz-primary-soft);
}
.input-group > .form-control:not(:last-child) { border-radius: var(--fz-radius-sm) 0 0 var(--fz-radius-sm); }
label, .col-form-label { font-weight: 600; color: var(--fz-text); }
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--fz-primary);
  border-color: var(--fz-primary);
}

/* ==========================================================================
   9. Tables, badges and alerts
   ========================================================================== */
.table thead th, table.dataTable thead th {
  border-bottom: 1px solid var(--fz-line);
  color: var(--fz-text-muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.table td, .table th { border-color: var(--fz-line); }
table.dataTable tbody tr:hover { background: var(--fz-tint); }

.badge { border-radius: var(--fz-radius-pill); font-weight: 600; padding: .35em .7em; }
.label, .status { border-radius: var(--fz-radius-pill); }

.alert { border-radius: var(--fz-radius); border-width: 1px; }
.alert-info { background: var(--primary-50); border-color: var(--primary-200); color: var(--primary-900); }

/* Pagination as small pills. */
.page-link { border-color: var(--fz-line); color: var(--fz-primary); }
.page-item.active .page-link { background: var(--fz-primary); border-color: var(--fz-primary); color: #fff; }
.page-item:first-child .page-link { border-radius: var(--fz-radius-pill) 0 0 var(--fz-radius-pill); }
.page-item:last-child .page-link { border-radius: 0 var(--fz-radius-pill) var(--fz-radius-pill) 0; }

/* ==========================================================================
   10. Login and register pages
   ========================================================================== */
/* Nexus wraps the login card in a full-width container; keep that flat so
   only the card itself lifts. */
.login-form, .login-form > .container {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.login-form .card, .card.mw-540 {
  border-radius: var(--fz-radius);
  box-shadow: var(--fz-shadow);
  overflow: hidden;
}

/* Buttons joined to a field (show password, copy, search) stay square on the
   joined side; the pill shape is for buttons that stand alone. */
.input-group > .input-group-append > .btn,
.input-group > .input-group-prepend > .btn {
  border-radius: 0 !important;
}
.input-group > .input-group-append:last-child > .btn:last-child {
  border-radius: 0 var(--fz-radius-sm) var(--fz-radius-sm) 0 !important;
}
.input-group > .input-group-prepend:first-child > .btn:first-child {
  border-radius: var(--fz-radius-sm) 0 0 var(--fz-radius-sm) !important;
}
/* The home page domain search is the exception: it is one pill with pills inside. */
.home-domain-search .input-group > .input-group-append > .btn { border-radius: var(--fz-radius-pill) !important; }

/* ==========================================================================
   11. Modals
   ========================================================================== */
.modal-content { border: 0; border-radius: var(--fz-radius); box-shadow: 0 28px 60px rgba(13, 22, 27, .18); }
.modal-header { border-bottom-color: var(--fz-line); }
.modal-footer { border-top-color: var(--fz-line); }
.modal-header.bg-primary { background: var(--fz-ink) !important; border-radius: var(--fz-radius) var(--fz-radius) 0 0; }

/* ==========================================================================
   12. Footer (footer.tpl): the site's dark ink footer, in columns
   ========================================================================== */
footer.fz-footer {
  margin: 0;
  padding: clamp(2.75rem, 5vw, 4rem) 0 1.5rem;
  background: var(--fz-ink);
  color: var(--fz-on-dark-muted);
  border-top: 3px solid var(--fz-accent);
  font-size: .92rem;
}
.fz-footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.6fr repeat(4, 1fr);
}
@media (max-width: 991.98px) {
  .fz-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .fz-footer__about { grid-column: 1 / -1; }
}
.fz-footer__logo img { display: block; height: 40px; width: auto; margin-bottom: 1rem; }
.fz-footer__about p { max-width: 22rem; margin: 0 0 1rem; }
.fz-footer h4 {
  margin: 0 0 .9rem;
  font-family: var(--fz-font-display);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fz-on-dark);
}
.fz-footer ul { list-style: none; margin: 0; padding: 0; }
.fz-footer li { margin: 0 0 .5rem; }
.fz-footer a { color: var(--fz-on-dark-muted); text-decoration: none; transition: color var(--fz-dur-ui) var(--fz-ease); }
.fz-footer a:hover { color: var(--fz-accent); }
.fz-footer__contact a { color: var(--fz-on-dark); font-weight: 600; }

.fz-footer__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--fz-dark-line);
}
.fz-footer .copyright { margin: 0; font-size: .85rem; color: var(--fz-on-dark-muted); }
.fz-footer__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.fz-pay {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .8rem;
  border: 1px solid var(--fz-dark-line);
  border-radius: var(--fz-radius-pill);
  font-size: .8rem;
}
.fz-pay b { color: var(--fz-mint); }
.fz-social { display: flex; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.fz-social li { margin: 0; }
.fz-social .btn { color: var(--fz-on-dark); border: 1px solid var(--fz-dark-line); margin: 0 !important; }
.fz-footer__locale { color: var(--fz-on-dark); border: 1px solid var(--fz-dark-line); background: transparent; }
.fz-footer__locale:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ==========================================================================
   14. Store: the plan cards (index.php?rp=/store/...)
       Ported from the marketing site's section 9, "The ladder". Markup is in
       templates/orderforms/fuzuhost_cart/products.tpl, data from
       includes/hooks/fuzuhost_theme.php. Keep in step with the site.
   ========================================================================== */
:root {
  --fz-swara: #6b4f8a;
  --fz-duma: #c0821f;
  --fz-duma-ink: #8f5f14;
  --fz-chui: #4e6b2c;
  --fz-simba: #ad4f0e;
  --fz-ndovu: #47606e;
  --fz-shadow-xs: 0 1px 2px rgba(13, 22, 27, .05);
  --fz-shadow-lg: 0 4px 8px rgba(13, 22, 27, .06), 0 28px 60px rgba(13, 22, 27, .13);
  --fz-radius-lg: 22px;
  --fz-scrim-strong: rgba(9, 16, 20, .84);
}
.tier-swara { --tier: var(--fz-swara); --tier-ink: var(--fz-swara); }
.tier-duma  { --tier: var(--fz-duma);  --tier-ink: var(--fz-duma-ink); }
.tier-chui  { --tier: var(--fz-chui);  --tier-ink: var(--fz-chui); }
.tier-simba { --tier: var(--fz-simba); --tier-ink: var(--fz-simba); }
.tier-ndovu { --tier: var(--fz-ndovu); --tier-ink: var(--fz-ndovu); }

.fz-store { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem); }

/* The site's eyebrow: a dot, then small spaced capitals. */
.fz-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: .8rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fz-text-muted);
}
.fz-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--fz-accent);
}

.fz-store__head { max-width: 40rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.fz-store__head h1 {
  font-size: clamp(1.9rem, 2.2vw + 1.3rem, 3rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 .7rem;
}
.fz-lede { font-size: 1.13rem; color: var(--fz-text-muted); margin: 0; }

.fz-plans {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.fz-plans--1 { grid-template-columns: minmax(0, 380px); }
.fz-plans--2 { grid-template-columns: repeat(2, minmax(0, 380px)); }
.fz-plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .fz-plans, .fz-plans--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .fz-plans, .fz-plans--1, .fz-plans--2, .fz-plans--3 { grid-template-columns: minmax(0, 1fr); } }

.fz-store .plan {
  display: flex; flex-direction: column;
  background: var(--fz-surface);
  border: 1px solid var(--fz-line);
  border-radius: var(--fz-radius-lg);
  overflow: hidden;
  box-shadow: var(--fz-shadow-xs);
  transition: transform var(--fz-dur-ui) var(--fz-ease), box-shadow var(--fz-dur-ui) var(--fz-ease), border-color var(--fz-dur-ui) var(--fz-ease);
}
.fz-store .plan:hover { transform: translateY(-5px); box-shadow: var(--fz-shadow-lg); border-color: var(--tier, var(--fz-accent)); }

.fz-store .plan__art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--fz-sky); }
.fz-store .plan__art img {
  display: block; max-width: 100%;
  width: 100%; height: 100%; object-fit: cover; object-position: center 12%;
  transition: transform .5s var(--fz-ease);
}
.fz-store .plan:hover .plan__art img { transform: scale(1.045); }
.fz-store .plan__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--fz-scrim-strong) 4%, rgba(9, 16, 20, .22) 46%, transparent 72%);
}
/* A product that is not on the ladder: the night sky instead of an animal. */
.fz-store .plan__art--plain {
  aspect-ratio: auto; min-height: 7.5rem;
  background: linear-gradient(135deg, var(--fz-ink) 0%, var(--fz-sky) 100%);
}
.fz-store .plan__name {
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: .7rem; z-index: 1;
  color: #fff;
}
.fz-store .plan__name .k {
  display: block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.fz-store .plan__name .n {
  display: block;
  font-family: var(--fz-font-display);
  font-size: clamp(1.13rem, .4vw + 1.03rem, 1.27rem);
  font-weight: 700; line-height: 1.15;
}
.fz-store .plan__bar {
  position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 2;
  background: var(--tier, var(--fz-accent));
}

.fz-store .plan__body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.fz-store .plan__price { display: flex; align-items: baseline; gap: .3rem; margin: 0 0 .2rem; }
.fz-store .plan__price .cur { font-size: .9rem; font-weight: 600; color: var(--fz-text-muted); }
.fz-store .plan__price .amt {
  font-family: var(--fz-font-display);
  font-size: clamp(1.7rem, 1.8vw + 1.15rem, 2.4rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  color: var(--fz-text);
  font-variant-numeric: tabular-nums;
}
.fz-store .plan__price .per { font-size: .9rem; color: var(--fz-text-muted); }

.fz-store .plan__specs { list-style: none; margin: .6rem 0 1.25rem; padding: 0; }
.fz-store .plan__specs li {
  display: grid; grid-template-columns: 1.1rem 1fr; gap: .55rem;
  align-items: start;
  padding: .42rem 0; margin: 0;
  border-top: 1px solid var(--fz-line);
  font-size: .9rem;
  color: var(--fz-text);
}
.fz-store .plan__specs li:first-child { border-top: 0; }
.fz-store .plan__specs svg { width: 1.1rem; height: 1.1rem; color: var(--tier, var(--fz-primary)); margin-top: .18rem; }
.fz-store .plan__specs b { font-weight: 600; }
.fz-store .plan__desc, .fz-store .plan__fee, .fz-store .plan__stock { font-size: .85rem; color: var(--fz-text-muted); }

.fz-store .plan__body .btn {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px;
  font-size: 1.0625rem;
}
.fz-store .plan__body .btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* What every plan shares, once, under the cards. */
.fz-kit {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--fz-tint);
  border-radius: var(--fz-radius-lg);
}
.fz-kit__head h2 { font-size: clamp(1.35rem, .9vw + 1.13rem, 1.7rem); margin: 0 0 1.2rem; }
.fz-kit__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem;
}
@media (max-width: 991px) { .fz-kit__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .fz-kit__list { grid-template-columns: minmax(0, 1fr); } }
.fz-kit__list li {
  display: grid; grid-template-columns: 1.1rem 1fr; gap: .6rem; align-items: start;
  padding: .55rem 0; margin: 0;
  border-top: 1px solid var(--fz-line-strong);
}
.fz-kit__list svg { width: 1.1rem; height: 1.1rem; color: var(--fz-primary); margin-top: .2rem; }

@media (prefers-reduced-motion: reduce) {
  .fz-store .plan, .fz-store .plan__art img { transition: none; }
  .fz-store .plan:hover { transform: none; }
  .fz-store .plan:hover .plan__art img { transform: none; }
}

/* ==========================================================================
   15. Cart and checkout
   standard_cart pages (choose a domain, configure, checkout) are plain HTML
   and styled here directly. The cart and the domain search are Nexus's Vue
   app inside a shadow root (#nexus-root): only CSS variables reach it, and
   rules set on #nexus-root here win over the app's own :host defaults.
   ========================================================================== */
section#main-body { background: var(--fz-bg); }

/* No category sidebar: the header's Store menus cover it. */
#order-standard_cart .cart-sidebar,
#order-standard_cart .sidebar-collapsed { display: none !important; }
#order-standard_cart .cart-body { float: none; width: 100%; max-width: none; flex: 0 0 100%; padding-left: 0; padding-right: 0; }

#order-standard_cart .header-lined { border: 0; margin-bottom: 1.25rem; }
#order-standard_cart .header-lined h1 { font-size: clamp(1.7rem, 1.8vw + 1.15rem, 2.4rem); margin: 0 0 .4rem; }
#order-standard_cart .header-lined p, #order-standard_cart .text-muted { color: var(--fz-text-muted); }

/* Section titles in the checkout ("Personal information" ...): left, bold,
   with a hairline, like the site's section heads. */
#order-standard_cart .sub-heading {
  margin: 2.25rem 0 1rem;
  height: auto;
  border: 0;
  text-align: left;
}
#order-standard_cart .sub-heading span {
  display: block;
  padding: 0 0 .55rem;
  background: none;
  border-bottom: 1px solid var(--fz-line);
  font-family: var(--fz-font-display);
  font-size: 1.15rem; font-weight: 700;
  color: var(--fz-text);
}

/* Boxes: the product summary, the domain choices, the order summary. */
#order-standard_cart .product-info,
#order-standard_cart .domain-selection-options .option,
#order-standard_cart .order-summary,
#order-standard_cart .view-cart-items,
#order-standard_cart .panel {
  background: var(--fz-surface);
  border: 1px solid var(--fz-line);
  border-radius: var(--fz-radius);
  box-shadow: var(--fz-shadow-sm);
}
#order-standard_cart .product-info { padding: 1.25rem 1.4rem; }
#order-standard_cart .product-info .product-title { font-family: var(--fz-font-display); font-weight: 700; font-size: 1.3rem; }
#order-standard_cart .domain-selection-options .option { margin-bottom: .75rem; padding: 1rem 1.2rem; transition: border-color var(--fz-dur-ui) var(--fz-ease), background-color var(--fz-dur-ui) var(--fz-ease); }
#order-standard_cart .domain-selection-options .option-selected { border-color: var(--fz-accent); background: var(--primary-50); }
#order-standard_cart .domain-selection-options .option label { font-weight: 600; }

#order-standard_cart .order-summary { overflow: hidden; }
#order-standard_cart .order-summary h2 {
  margin: 0; padding: 1rem 1.25rem;
  background: var(--fz-ink); color: #fff;
  font-family: var(--fz-font-display); font-size: 1.1rem; font-weight: 700;
}
#order-standard_cart .order-summary .summary-container { padding: 1.1rem 1.25rem; background: var(--fz-surface); border: 0; }
#order-standard_cart .order-summary .total-due-today .amt,
#order-standard_cart .order-summary .amt {
  font-family: var(--fz-font-display); font-weight: 800; letter-spacing: -.02em; color: var(--fz-text);
}
#order-standard_cart .order-summary .product-name { font-family: var(--fz-font-display); font-weight: 700; }

/* Total due today: brand tint instead of Bootstrap green. */
#order-standard_cart #totalDueToday,
#order-standard_cart .alert-success.large-text {
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--fz-radius);
  color: var(--fz-text);
  font-size: 1.05rem;
}
#order-standard_cart #totalDueToday strong,
#order-standard_cart #totalDueToday #totalCartPrice {
  font-family: var(--fz-font-display); font-size: 1.35rem; font-weight: 800; color: var(--fz-text);
}

/* Payment methods as selectable pills. */
#order-standard_cart #paymentGatewaysContainer label,
#order-standard_cart .payment-methods label {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: .25rem;
  padding: .6rem 1.1rem;
  border: 1px solid var(--fz-line-strong);
  border-radius: var(--fz-radius-pill);
  background: var(--fz-surface);
  font-weight: 600;
  cursor: pointer;
}

/* Quiet notices: the IP-logging line and "Have questions?". */
#order-standard_cart .alert-warning,
#order-standard_cart .checkout-security-msg {
  background: var(--fz-tint);
  border: 1px solid var(--fz-line);
  border-radius: var(--fz-radius);
  color: var(--fz-text-muted);
}
#order-standard_cart .alert-warning i, #order-standard_cart .checkout-security-msg i { color: var(--fz-primary); }

/* "Already registered?" and other secondary buttons read as ghost pills. */
.btn-info, #order-standard_cart .btn-info {
  background: transparent;
  color: var(--fz-text);
  border: 1px solid var(--fz-line-strong);
}
.btn-info:hover, #order-standard_cart .btn-info:hover {
  background: var(--fz-primary-soft);
  color: var(--fz-primary);
  border-color: var(--fz-primary);
}

/* Big call to action buttons (Continue, Complete order). */
#order-standard_cart .btn-lg, #order-standard_cart #btnCompleteOrder, #order-standard_cart #btnCompleteProductConfig {
  min-height: 52px; padding: .75rem 2rem;
  font-size: 1.1rem;
}

/* The mailing list switch and the checkboxes take the brand colour. */
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary { background: var(--fz-accent); color: var(--fz-on-accent); }
.icheckbox_square-blue.checked, .iradio_square-blue.checked { filter: hue-rotate(-20deg); }

/* ---- The Nexus cart app (cart page, domain search) ---------------------- */
#nexus-root {
  --font-sans: var(--fz-font-body);
  --font-inter: var(--fz-font-body);
  --default-font-family: var(--fz-font-body);
  font-family: var(--fz-font-body);
}
.fz-cart, .fz-domains { padding: 0 !important; }


/* Fixes after review */
#order-standard_cart .order-summary h2,
#order-standard_cart .order-summary h2 * { color: #fff !important; }
.fz-nav__trigger:focus:not(:focus-visible) { outline: 0; }
