/* ZetServers front-end header/footer layer for the cloudhub theme.
   Loaded AFTER template/css/main.min.css so it overrides the old site's
   header/footer styling. cloudhub's own client-area components are left
   untouched — only the shell changes. */

@import url("/assets/fonts.css");

:root {
  --blue:       #042a77;
  --blue-600:   #0a3a9c;
  --blue-500:   #1e52c4;
  --blue-400:   #3f74e8;
  --blue-50:    #eef2fb;
  --blue-100:   #dbe4f6;

  --ink:        #0b1330;
  --ink-2:      #1a2447;
  --muted:      #5a6487;
  --muted-2:    #8a93b0;
  --hairline:   rgba(4,42,119,0.12);
  --hairline-2: rgba(4,42,119,0.06);

  --bg:         #f6f7fb;
  --bg-2:       #ffffff;
  --bg-card:    #ffffff;
  --bg-tint:    #f1f4fc;

  --radius:     14px;
  --radius-lg:  22px;

  --shadow-sm:  0 1px 0 rgba(10,20,60,.04), 0 1px 2px rgba(10,20,60,.04);
  --shadow-md:  0 1px 0 rgba(10,20,60,.05), 0 12px 28px -12px rgba(4,42,119,.18);
  --shadow-lg:  0 1px 0 rgba(10,20,60,.05), 0 30px 60px -24px rgba(4,42,119,.28);

  --accent:     #00d1b2;
}

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

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'ss01','cv11';
  letter-spacing: -0.005em;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 {
  font-family: inherit;
  color: var(--ink);
  letter-spacing: -0.018em;
  font-weight: 600;
}

a { color: var(--blue-500); }
a:hover, a:focus { color: var(--blue-600); text-decoration: none; }

code, pre, .mono, kbd {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-feature-settings: 'zero','ss01';
}

hr { border-top-color: var(--hairline); }
small, .text-muted { color: var(--muted) !important; }


/* ---------- footer -------------------------------------------------------- */
/* Rules lifted from the front end's own footer block: light, hairline top
   border, ink-2 links. (An earlier revision made this a dark slab — that was
   wrong; the site footer is light.) */

#footer, #footer.footer {
  background: transparent;
  border-top: 1px solid var(--hairline);
  color: var(--ink);
  margin-top: 40px;
  padding: 60px 0 40px;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: clamp(22px, 3vw, 40px); }
.foot-col h2 { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.foot-col a { display: block; color: var(--ink-2); text-decoration: none; font-size: 14.5px; padding: 6px 0; letter-spacing: -0.005em; }
.foot-col a:hover { color: var(--blue); }
.foot-col img { width: auto; }
.foot-about { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 14px; max-width: 34ch; }
.foot-social { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.foot-social a { display: inline-flex; padding: 0; color: var(--muted); }
.foot-social a:hover { color: var(--blue); }
.foot-social svg { width: 18px; height: 18px; }

.foot-legal {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--hairline-2);
  color: var(--muted); font-size: 13px;
}
.foot-legal .fl-name { font-weight: 600; color: var(--ink-2); }
.foot-legal span + span::before { content: "·"; margin-right: 14px; color: var(--muted-2); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px;
  margin-top: 16px; color: var(--muted); font-size: 13px;
}
.foot-bottom div { text-wrap: balance; }
.as-link { color: var(--muted); text-decoration: none; }
.as-link:hover { color: var(--blue); }
/* language / currency switchers kept from the stock footer */
.foot-ctl {
  background: transparent; border: 1px solid var(--hairline); color: var(--ink-2);
  border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 12.5px; cursor: pointer; margin-left: 8px;
}
.foot-ctl:hover { background: var(--bg-tint); color: var(--blue); }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}


/* ---------- site nav (ported from partials/nav.html) ---------------------- */
/* Bootstrap also owns `.nav`, and it would turn this <header> into a flex row
   and strip its padding — so the element is re-declared explicitly here. */

header.zs-nav {
  display: block;
  position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in oklab, var(--bg-2) 82%, transparent);
  border-bottom: 1px solid var(--hairline);
  margin: 0; padding: 0; list-style: none;
}
header.zs-nav .wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
header.zs-nav .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
header.zs-nav .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
header.zs-nav .logo img { height: 34px; width: auto; display: block; }

header.zs-nav nav.menu { display: flex; gap: 4px; align-items: center; }
header.zs-nav nav.menu a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--ink-2); text-decoration: none;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em;
  transition: background .15s, color .15s;
}
header.zs-nav nav.menu a:hover { background: var(--bg-tint); color: var(--blue); }
header.zs-nav nav.menu .m { position: relative; }
header.zs-nav nav.menu .m::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
header.zs-nav nav.menu a .chev {
  width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .55; transition: transform .2s ease, opacity .2s ease;
}
header.zs-nav nav.menu .m:hover > a .chev,
header.zs-nav nav.menu .m.open > a .chev { opacity: 1; transform: rotate(225deg) translateY(2px); }

header.zs-nav nav.menu .sub {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 290px;
  background: var(--bg-card); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
header.zs-nav nav.menu .m:hover .sub,
header.zs-nav nav.menu .m.open .sub { opacity: 1; visibility: visible; transform: none; }
header.zs-nav nav.menu .sub a { display: block; padding: 10px 12px; border-radius: 10px; }
header.zs-nav nav.menu .sub a b { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); }
header.zs-nav nav.menu .sub a span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
header.zs-nav nav.menu .sub a:hover b { color: var(--blue); }

header.zs-nav .nav-cta { display: flex; gap: 10px; align-items: center; }
/* the mobile panel mirrors the CTAs into .menu-cta — keep that hidden on desktop */
header.zs-nav .menu-cta { display: none; }
header.zs-nav .btn-ghost { color: var(--ink-2); background: transparent; border-color: var(--hairline); }
header.zs-nav .btn-ghost:hover { background: var(--bg-tint); color: var(--blue); border-color: var(--hairline); }

header.zs-nav .nav-toggle {
  display: none; width: 42px; height: 42px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  background: transparent; border: 0; border-radius: 10px; cursor: pointer; padding: 0;
  transition: background .15s ease;
}
header.zs-nav .nav-toggle:hover { background: var(--bg-tint); }
header.zs-nav .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink-2); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
header.zs-nav .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.zs-nav .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
header.zs-nav .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hamburger takes over at 1100, same breakpoint the front end uses. */
@media (max-width: 1100px) {
  header.zs-nav .logo { order: 1; }
  header.zs-nav .nav-toggle { display: inline-flex; order: 2; margin-left: auto; }
  header.zs-nav .nav-cta { display: none; }
  header.zs-nav nav.menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2);
    border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
    box-shadow: 0 26px 50px -26px rgba(10,15,40,.30);
    padding: 6px 0 10px;
    max-height: calc(100dvh - 76px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  header.zs-nav.open nav.menu { opacity: 1; visibility: visible; transform: none; }
  header.zs-nav nav.menu > a,
  header.zs-nav nav.menu .m > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; border-radius: 0; font-size: 15.5px; font-weight: 500; color: var(--ink);
  }
  header.zs-nav nav.menu .m,
  header.zs-nav nav.menu > a { border-top: 1px solid var(--hairline-2); }
  header.zs-nav nav.menu > .m:first-of-type,
  header.zs-nav nav.menu > a:first-of-type { border-top: 0; }
  header.zs-nav nav.menu .m { position: static; display: block; }
  header.zs-nav nav.menu .m::after { display: none; }
  header.zs-nav nav.menu .m > a:hover,
  header.zs-nav nav.menu > a:hover,
  header.zs-nav nav.menu .sub a:hover { background: transparent; }
  header.zs-nav nav.menu .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; border-radius: 0; padding: 0 24px 10px;
    display: none; min-width: 0; background: transparent;
  }
  header.zs-nav nav.menu .m.open .sub { display: flex; }
  header.zs-nav nav.menu .m.open > a { color: var(--blue); }
  header.zs-nav .menu-cta { display: flex; gap: 10px; padding: 12px 24px 4px; border-top: 1px solid var(--hairline-2); }
  header.zs-nav .menu-cta .btn { width: 100%; justify-content: center; padding: 13px; }
}

/* ---------- misc ---------------------------------------------------------- */

#main-body { padding-top: 26px; }
.breadcrumb { background: transparent; padding-left: 0; font-size: 13.5px; }
.breadcrumb a { color: var(--muted); }
.pagination .page-link { border-color: var(--hairline); color: var(--ink-2); border-radius: 8px; margin: 0 2px; }
.pagination .page-item.active .page-link { background: var(--blue); border-color: var(--blue); }
.modal-content { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.nav-tabs { border-bottom: 1px solid var(--hairline); }
.nav-tabs .nav-link.active { color: var(--blue); border-color: var(--hairline) var(--hairline) var(--bg-card); border-radius: 10px 10px 0 0; }

/* Respect reduced-motion, as the front end does. */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- specificity guard -------------------------------------------- */
/* cloudhub's template/css/main.min.css styles the old footer via #footer (an ID),
   which outranks the class rules above and was recolouring the links. These
   ID-scoped duplicates restore the front end's own values. */
#footer.zs-footer { background: var(--bg); border-top: 1px solid var(--hairline); color: var(--ink); }
#footer.zs-footer .foot-col a { color: var(--ink-2); font-size: 14.5px; padding: 6px 0; display: block; }
#footer.zs-footer .foot-col a:hover { color: var(--blue); }
#footer.zs-footer .foot-col h2 { color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
#footer.zs-footer .foot-about { color: var(--muted); }
#footer.zs-footer .foot-legal, #footer.zs-footer .foot-bottom { color: var(--muted); }
#footer.zs-footer .foot-legal .fl-name { color: var(--ink-2); }
#footer.zs-footer a.as-link { color: var(--muted); }
#footer.zs-footer a.as-link:hover { color: var(--blue); }

/* ---------- shell corrections -------------------------------------------- */
/* main.min.css (the OLD site's stylesheet, still loaded for cloudhub's content
   utility classes) sets `body{padding:40px 12% 0 12%}`. That 40px produced a white
   strip above the sticky nav, and the 12% inset stopped the nav/footer going
   full-bleed the way they do on the front end. Content keeps its own centring from
   Bootstrap's .container, so zeroing the body padding is safe. */
body { padding: 0 !important; background: var(--bg); }

/* Match the front end's 1240px measure instead of Bootstrap 3's 1170px. */
#main-body > .container { max-width: 1240px; width: 100%; padding-left: clamp(18px,4vw,32px); padding-right: clamp(18px,4vw,32px); }

/* .wrap was only defined for the nav, so the footer spread edge-to-edge. */
#footer.zs-footer .wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }

/* cloudhub is Bootstrap 3, whose .btn geometry differs from the front end's.
   Scope the site's button shape to the nav and footer so the CTAs match. */
header.zs-nav .btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  padding: 11px 18px; border-radius: 10px; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
header.zs-nav .btn-primary {
  background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-sm);
}
header.zs-nav .btn-primary:hover,
header.zs-nav .btn-primary:focus { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
header.zs-nav .btn-ghost,
header.zs-nav .btn-ghost:focus { color: var(--ink-2); background: transparent; border-color: var(--hairline); box-shadow: none; }
header.zs-nav .btn-ghost:hover { background: var(--bg-tint); color: var(--blue); border-color: var(--hairline); }
header.zs-nav .btn svg { flex: none; }

/* ---------- mobile panel CTA contrast ------------------------------------ */
/* Inside the burger panel the buttons are <a> descendants of nav.menu, so
   `header.zs-nav nav.menu a` (0,2,3) outranked `header.zs-nav .btn-primary`
   (0,2,1) and repainted the primary CTA's label dark-on-navy. These selectors
   are (0,4,3) so the button colours win back. */
header.zs-nav nav.menu .menu-cta a.btn,
header.zs-nav nav.menu .menu-cta a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  border: 1px solid transparent; text-decoration: none;
}
header.zs-nav nav.menu .menu-cta a.btn-primary {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
header.zs-nav nav.menu .menu-cta a.btn-primary:hover,
header.zs-nav nav.menu .menu-cta a.btn-primary:focus {
  background: var(--blue-600); border-color: var(--blue-600); color: #fff;
}
header.zs-nav nav.menu .menu-cta a.btn-primary svg { color: #fff; stroke: currentColor; }
header.zs-nav nav.menu .menu-cta a.btn-ghost {
  background: transparent; border-color: var(--hairline); color: var(--ink-2);
}
header.zs-nav nav.menu .menu-cta a.btn-ghost:hover { background: var(--bg-tint); color: var(--blue); }

/* ==========================================================================
   Client-area components — cloudhub (Bootstrap 3) mapped onto the front end's
   design system. Everything is scoped under body.srf-whmcs because cloudhub's
   whmcs.min.css carries a hard reset (`.srf-whmcs *{color:#000}`) that outranks
   bare element/class selectors.
   ========================================================================== */

/* ---- footer social icons -------------------------------------------------
   The #footer.zs-footer .foot-col a guard above (0,3,1) was beating
   .foot-social a (0,2,1), so the icons rendered as stacked blocks. */
#footer.zs-footer .foot-col .foot-social { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
#footer.zs-footer .foot-col .foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; height: auto; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--muted);
}
#footer.zs-footer .foot-col .foot-social a:hover { color: var(--blue); background: transparent; }
#footer.zs-footer .foot-col .foot-social svg { width: 18px; height: 18px; display: block; }

/* ---- typography ---------------------------------------------------------- */
body.srf-whmcs { font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); }
body.srf-whmcs h1, body.srf-whmcs h2, body.srf-whmcs h3,
body.srf-whmcs h4, body.srf-whmcs h5, body.srf-whmcs h6 { font-family: inherit; color: var(--ink); font-weight: 600; letter-spacing: -0.018em; }
body.srf-whmcs .sub-heading { border-bottom: 1px solid var(--hairline); margin: 26px 0 18px; padding-bottom: 10px; }
body.srf-whmcs .sub-heading span { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
body.srf-whmcs code, body.srf-whmcs pre, body.srf-whmcs kbd { font-family: 'JetBrains Mono', ui-monospace, monospace; }
body.srf-whmcs hr { border-top-color: var(--hairline); }

/* ---- buttons ------------------------------------------------------------- */
body.srf-whmcs .btn {
  font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; line-height: 1.2;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  text-shadow: none; box-shadow: none;
}
body.srf-whmcs .btn-sm, body.srf-whmcs .btn-xs { padding: 8px 13px; font-size: 13px; border-radius: 9px; }
body.srf-whmcs .btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

body.srf-whmcs .btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
body.srf-whmcs .btn-primary:hover, body.srf-whmcs .btn-primary:focus,
body.srf-whmcs .btn-primary:active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

body.srf-whmcs .btn-default { background: transparent; border-color: var(--hairline); color: var(--ink-2); }
body.srf-whmcs .btn-default:hover, body.srf-whmcs .btn-default:focus { background: var(--bg-tint); border-color: var(--hairline); color: var(--blue); }

body.srf-whmcs .btn-success { background: #0f9d58; border-color: #0f9d58; color: #fff; }
body.srf-whmcs .btn-danger  { background: #cd3100; border-color: #cd3100; color: #fff; }
body.srf-whmcs .btn-info    { background: var(--blue-50); border-color: var(--hairline); color: var(--blue); }
body.srf-whmcs .btn-link    { color: var(--blue-500); padding-left: 0; padding-right: 0; }

/* ---- panels / cards ------------------------------------------------------ */
body.srf-whmcs .panel {
  background: var(--bg-card); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
body.srf-whmcs .panel > .panel-heading {
  background: transparent; border-bottom: 1px solid var(--hairline-2);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 16px 18px; color: var(--ink); font-weight: 600;
}
body.srf-whmcs .panel-title { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; }
body.srf-whmcs .panel-body { padding: 18px; }
body.srf-whmcs .panel-footer { background: transparent; border-top: 1px solid var(--hairline-2); border-radius: 0 0 var(--radius) var(--radius); padding: 14px 18px; }
body.srf-whmcs .panel-primary { border-color: var(--hairline); }
body.srf-whmcs .panel-primary > .panel-heading { background: var(--blue-50); color: var(--blue); border-bottom-color: var(--hairline); }
body.srf-whmcs .panel-danger  > .panel-heading { background: #fdeceb; color: #a12800; border-bottom-color: rgba(205,49,0,.18); }
body.srf-whmcs .panel-success > .panel-heading { background: #e8f7f0; color: #0b7a45; border-bottom-color: rgba(15,157,88,.18); }
body.srf-whmcs .well { background: var(--bg-tint); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: none; }

/* ---- forms --------------------------------------------------------------- */
body.srf-whmcs .form-control, body.srf-whmcs select.form-control, body.srf-whmcs textarea.form-control {
  background: var(--bg-2); border: 1px solid var(--hairline); border-radius: 10px;
  color: var(--ink); font-family: inherit; font-size: 14.5px;
  padding: 10px 13px; height: auto; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
body.srf-whmcs .form-control:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(63,116,232,.14); outline: 0; }
body.srf-whmcs .form-control::placeholder { color: var(--muted-2); }
body.srf-whmcs .control-label, body.srf-whmcs label { color: var(--ink-2); font-weight: 500; font-size: 14px; }
body.srf-whmcs .form-group { margin-bottom: 16px; }
body.srf-whmcs .input-group-addon { background: var(--bg-tint); border: 1px solid var(--hairline); color: var(--muted); border-radius: 10px; }
body.srf-whmcs .prepend-icon .field-icon { color: var(--muted-2); }
body.srf-whmcs .help-block { color: var(--muted); font-size: 13px; }
body.srf-whmcs .has-error .form-control { border-color: #cd3100; }

/* ---- tables -------------------------------------------------------------- */
body.srf-whmcs .table { color: var(--ink); }
body.srf-whmcs .table > thead > tr > th {
  border-bottom: 1px solid var(--hairline); color: var(--muted);
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
  padding: 12px 14px;
}
body.srf-whmcs .table > tbody > tr > td { border-top: 1px solid var(--hairline-2); padding: 13px 14px; vertical-align: middle; }
body.srf-whmcs .table-hover > tbody > tr:hover { background: var(--bg-tint); }
body.srf-whmcs .table-striped > tbody > tr:nth-of-type(odd) { background: transparent; }
body.srf-whmcs .table > tbody > tr.active > td { background: var(--blue-50); }

/* ---- list groups / sidebar ---------------------------------------------- */
body.srf-whmcs .list-group-item {
  background: var(--bg-card); border: 1px solid var(--hairline); color: var(--ink-2);
  font-size: 14.5px; padding: 12px 14px;
}
body.srf-whmcs .list-group-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
body.srf-whmcs .list-group-item:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
body.srf-whmcs .list-group-item:hover { background: var(--bg-tint); color: var(--blue); }
body.srf-whmcs .list-group-item.active,
body.srf-whmcs .list-group-item.active:hover { background: var(--blue-50); border-color: var(--hairline); color: var(--blue); font-weight: 600; }

/* ---- alerts -------------------------------------------------------------- */
body.srf-whmcs .alert { border-radius: var(--radius); border: 1px solid var(--hairline); box-shadow: none; color: var(--ink); padding: 14px 16px; }
body.srf-whmcs .alert-info    { background: var(--blue-50); border-color: var(--hairline); color: var(--ink); }
body.srf-whmcs .alert-success { background: #e8f7f0; border-color: rgba(15,157,88,.18); color: #0b5c35; }
body.srf-whmcs .alert-warning { background: #fff6e5; border-color: rgba(200,140,0,.22); color: #7a5200; }
body.srf-whmcs .alert-danger  { background: #fdeceb; border-color: rgba(205,49,0,.20); color: #8f2400; }

/* ---- labels / badges ----------------------------------------------------- */
body.srf-whmcs .label, body.srf-whmcs .badge {
  border-radius: 999px; font-weight: 600; font-size: 11.5px; padding: .38em .75em; letter-spacing: .01em;
}
body.srf-whmcs .label-success, body.srf-whmcs .badge-success { background: #e8f7f0; color: #0b7a45; }
body.srf-whmcs .label-danger,  body.srf-whmcs .badge-danger  { background: #fdeceb; color: #a12800; }
body.srf-whmcs .label-warning, body.srf-whmcs .badge-warning { background: #fff6e5; color: #7a5200; }
body.srf-whmcs .label-info,    body.srf-whmcs .badge-info,
body.srf-whmcs .label-default, body.srf-whmcs .badge         { background: var(--blue-50); color: var(--blue); }

/* ---- modals -------------------------------------------------------------- */
body.srf-whmcs .modal-content { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
body.srf-whmcs .modal-header  { border-bottom: 1px solid var(--hairline-2); padding: 18px 22px; }
body.srf-whmcs .modal-title   { font-size: 16px; font-weight: 600; color: var(--ink); }
body.srf-whmcs .modal-body    { padding: 22px; }
body.srf-whmcs .modal-footer  { border-top: 1px solid var(--hairline-2); padding: 14px 22px; }
body.srf-whmcs .close { color: var(--muted); opacity: .8; text-shadow: none; font-weight: 500; }
body.srf-whmcs .close:hover { color: var(--ink); opacity: 1; }

/* ---- navigation bits ----------------------------------------------------- */
body.srf-whmcs .breadcrumb { background: transparent; padding: 14px 0 6px; margin-bottom: 8px; font-size: 13.5px; }
body.srf-whmcs .breadcrumb > li + li::before { color: var(--muted-2); }
body.srf-whmcs .breadcrumb a { color: var(--muted); }
body.srf-whmcs .breadcrumb a:hover { color: var(--blue); }
body.srf-whmcs .breadcrumb > .active { color: var(--ink-2); }

body.srf-whmcs .nav-tabs { border-bottom: 1px solid var(--hairline); }
body.srf-whmcs .nav-tabs > li > a { border: 0; border-radius: 10px 10px 0 0; color: var(--ink-2); font-weight: 500; }
body.srf-whmcs .nav-tabs > li > a:hover { background: var(--bg-tint); border-color: transparent; }
body.srf-whmcs .nav-tabs > li.active > a,
body.srf-whmcs .nav-tabs > li.active > a:hover {
  background: var(--bg-card); color: var(--blue); font-weight: 600;
  border: 1px solid var(--hairline); border-bottom-color: var(--bg-card);
}

body.srf-whmcs .pagination > li > a, body.srf-whmcs .pagination > li > span {
  border-color: var(--hairline); color: var(--ink-2); margin: 0 2px; border-radius: 8px;
}
body.srf-whmcs .pagination > .active > a, body.srf-whmcs .pagination > .active > span {
  background: var(--blue); border-color: var(--blue); color: #fff;
}

/* ---- misc ---------------------------------------------------------------- */
body.srf-whmcs a { color: var(--blue-500); }
body.srf-whmcs a:hover, body.srf-whmcs a:focus { color: var(--blue-600); }
body.srf-whmcs .text-muted { color: var(--muted); }
body.srf-whmcs .progress { border-radius: 999px; background: var(--blue-100); box-shadow: none; height: 8px; }
body.srf-whmcs .progress-bar { background: var(--blue); box-shadow: none; }
body.srf-whmcs .tooltip-inner { background: var(--ink); border-radius: 8px; font-size: 12.5px; }

/* ---- specificity guards for cloudhub's ID- and descendant-heavy rules ----
   whmcs.min.css styles the signup form via `.srf-whmcs #registration .form-control`
   (an ID, 1-2-1) and list groups via `.srf-whmcs .panel > .list-group .list-group-item`
   (0-4-0). Both outranked the component rules above, so the register page kept
   3px inputs and the sidebar kept square corners. */
body.srf-whmcs #registration .form-control,
body.srf-whmcs #registration .field,
body.srf-whmcs #registration select.form-control,
body.srf-whmcs #registration textarea.form-control {
  border-radius: 10px; border: 1px solid var(--hairline); background: var(--bg-2);
  height: auto; padding: 10px 13px; font-size: 14.5px; color: var(--ink); box-shadow: none;
}
body.srf-whmcs #registration .prepend-icon .form-control,
body.srf-whmcs #registration .prepend-icon .field { padding-left: 36px; }
body.srf-whmcs #registration .form-control:focus,
body.srf-whmcs #registration .field:focus {
  border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(63,116,232,.14);
}

body.srf-whmcs .panel > .list-group .list-group-item,
body.srf-whmcs .panel .list-group .list-group-item {
  border-left: 0; border-right: 0; border-color: var(--hairline-2); background: transparent;
}
body.srf-whmcs .panel > .list-group .list-group-item:first-child,
body.srf-whmcs .panel .list-group .list-group-item:first-child { border-top: 0; }
body.srf-whmcs .panel > .list-group .list-group-item:last-child,
body.srf-whmcs .panel .list-group .list-group-item:last-child {
  border-bottom: 0; border-radius: 0 0 var(--radius) var(--radius);
}
body.srf-whmcs .panel > .list-group .list-group-item.active,
body.srf-whmcs .panel .list-group .list-group-item.active {
  background: var(--blue-50); color: var(--blue); font-weight: 600;
}

/* main.min.css declares `.srf-whmcs .field, .srf-whmcs .form-control{border-color:#ddd!important}`.
   !important beats specificity, so matching it is the only way to land the hairline
   border. Deliberately narrow — this is the one place !important is used. */
body.srf-whmcs .form-control,
body.srf-whmcs .field,
body.srf-whmcs #registration .form-control,
body.srf-whmcs #registration .field { border-color: var(--hairline) !important; }
body.srf-whmcs .form-control:focus,
body.srf-whmcs .field:focus,
body.srf-whmcs #registration .form-control:focus,
body.srf-whmcs #registration .field:focus { border-color: var(--blue-400) !important; }

/* ---------- full-bleed white page ----------------------------------------
   Requested: no grey gutters behind the content. Three layers were painting:
     body            #f6f7fb  (the front end's --bg)
     #main-body      #f4f5fb  (cloudhub's own page grey)
     .container      #ffffff  (the white block you could see)
   All three go white so the page reads as one surface. Panels keep their
   hairline borders + shadow, so cards still separate from the background. */
body.srf-whmcs,
body.srf-whmcs #main-body,
body.srf-whmcs #main-body > .container,
body.srf-whmcs #footer.zs-footer { background: #fff; }

/* the sticky nav sits on white now, so its translucency should resolve to white */
header.zs-nav { background: color-mix(in oklab, #fff 82%, transparent); }

/* main.min.css forces #ddd on section rules too — keep dividers on-palette */
body.srf-whmcs .sub-heading { border-bottom-color: var(--hairline) !important; }
