/* ==========================================================================
   ForwayHost theme layer for WHMLab "basic" template
   - Loaded after main.css / color.php, so it wins without editing core CSS.
   - Everything is scoped under .fh-* classes so the client area and admin
     panel keep their existing WHMLab styling.
   Brand tokens: navy ground, Forway green (#88E64A), cyan accent (#1CCFEA).
   ========================================================================== */

:root {
    --fh-navy-950: #050B18;
    --fh-navy-900: #081226;
    --fh-navy-800: #0C1A36;
    --fh-navy-700: #13254A;
    --fh-navy-650: #0A1630;
    --fh-ink: #0B1730;
    --fh-text-d: #EAF1FB;      /* text on dark */
    --fh-muted-d: #A3B4CF;     /* secondary text on dark  (≈8:1 on navy) */
    --fh-faint-d: #7F93B3;     /* captions on dark        (≈5:1 on navy) */
    --fh-soft-d: #C7D3E6;
    --fh-muted-l: #4A5B78;     /* secondary text on light (≈7:1 on white) */
    --fh-line-d: rgba(148, 180, 230, .14);
    --fh-line-l: #DDE4EF;
    --fh-bg-l: #F3F6FB;
    --fh-green: #88E64A;
    --fh-green-ink: #0A1A05;
    --fh-green-deep: #2F6B0A;
    --fh-green-tint: #ECFADF;
    --fh-cyan: #1CCFEA;
    --fh-cyan-deep: #0A7F94;   /* cyan for text on light backgrounds */
    --fh-cyan-tint: #E3F8FB;
    --fh-radius: 16px;
    --fh-font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fh-font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fh-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Base (frontend pages only: body gets .fh-body in frontend layout) ---------- */
.fh-body { background: var(--fh-navy-900); font-family: var(--fh-font-body); }
.fh-body .preloader { background: var(--fh-navy-900); }
.fh, .fh-header, .fh-footer { font-family: var(--fh-font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.fh *, .fh-header *, .fh-footer * { box-sizing: border-box; }
.fh h1, .fh h2, .fh h3, .fh h4, .fh-footer h2, .fh-footer h3 {
    font-family: var(--fh-font-display); letter-spacing: -.02em; margin: 0; color: inherit; font-weight: 600;
}
.fh p { margin: 0; }
.fh a { text-decoration: none; }
.fh-mono { font-family: var(--fh-font-mono); }
.fh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.fh-sec { padding: 104px 0; }
.fh-dark { background: var(--fh-navy-900); color: var(--fh-text-d); }
.fh-darker { background: var(--fh-navy-950); color: var(--fh-text-d); }
.fh-light { background: var(--fh-bg-l); color: var(--fh-ink); }
.fh-white { background: #fff; color: var(--fh-ink); }
.fh-grid-bg {
    background-image:
        linear-gradient(rgba(148, 180, 230, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 180, 230, .06) 1px, transparent 1px);
    background-size: 56px 56px;
}
.fh-eyebrow { font-family: var(--fh-font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.fh-light .fh-eyebrow, .fh-white .fh-eyebrow { color: var(--fh-cyan-deep); }
.fh-dark .fh-eyebrow, .fh-darker .fh-eyebrow { color: var(--fh-cyan); }
.fh-h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; margin-top: 12px !important; }
.fh-lede { font-size: 18px; }
.fh-dark .fh-muted, .fh-darker .fh-muted { color: var(--fh-muted-d); }
.fh-light .fh-muted, .fh-white .fh-muted { color: var(--fh-muted-l); }
.fh-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.fh-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---------- Grids ---------- */
.fh-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fh-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fh-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fh-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.fh-split--narrow-left { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.fh-split--top { align-items: start; }

/* ---------- Buttons ---------- */
.fh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
    font: 600 15px/1 var(--fh-font-body); cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}
.fh-btn:hover { transform: translateY(-1px); }
.fh-btn:focus-visible, .fh-tld:focus-visible, .fh-seg button:focus-visible, .fh-faq__q:focus-visible { outline: 3px solid var(--fh-cyan); outline-offset: 2px; }
.fh-btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.fh-btn--p, .fh-btn--p:hover, .fh-btn--p:focus { background: var(--fh-green); color: var(--fh-green-ink); }
.fh-btn--p:hover { box-shadow: 0 8px 28px -8px rgba(136, 230, 74, .55); }
.fh-btn--s, .fh-btn--s:hover, .fh-btn--s:focus { background: transparent; color: var(--fh-text-d); border-color: rgba(163, 180, 207, .35); }
.fh-btn--s:hover { border-color: var(--fh-cyan); }
.fh-btn--d, .fh-btn--d:hover, .fh-btn--d:focus { background: var(--fh-ink); color: #fff; }
.fh-btn--block { width: 100%; }

/* ---------- Cards ---------- */
.fh-card-d { background: var(--fh-navy-800); border: 1px solid var(--fh-line-d); border-radius: var(--fh-radius); }
.fh-card-l { background: #fff; border: 1px solid var(--fh-line-l); border-radius: var(--fh-radius); }
a.fh-card-l { color: var(--fh-ink); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.fh-card-l:hover { color: var(--fh-ink); border-color: #B9C7DB; box-shadow: 0 16px 40px -24px rgba(11, 23, 48, .35); transform: translateY(-2px); }
.fh-ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.fh-ico--c { background: var(--fh-cyan-tint); color: var(--fh-cyan-deep); }
.fh-ico--g { background: var(--fh-green-tint); color: var(--fh-green-deep); }
.fh-svc { padding: 26px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.fh-svc h3 { font-size: 18px; }
.fh-svc p { color: var(--fh-muted-l); font-size: 15px; }
.fh-svc__more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--fh-cyan-deep); }
.fh-badge { font-family: var(--fh-font-mono); font-size: 12px; padding: 4px 10px; border-radius: 6px; }
.fh-badge--g { color: var(--fh-green-deep); background: var(--fh-green-tint); }
.fh-feat { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.fh-feat svg { flex: none; margin-top: 3px; }

/* ---------- Header ---------- */
.fh-header { position: sticky; top: 0; z-index: 99; background: rgba(8, 18, 38, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(148, 180, 230, .12); color: var(--fh-text-d); }
.fh-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.fh-header__logo img { height: 34px; width: auto; display: block; max-width: 200px; object-fit: contain; }
.fh-nav { display: flex; gap: 2px; align-items: center; margin: 0; padding: 0; list-style: none; }
.fh-nav > li { position: relative; }
.fh-nav > li > a, .fh-nav > li > button {
    display: inline-flex; align-items: center; gap: 4px; color: var(--fh-soft-d); font: 500 15px/1 var(--fh-font-body);
    padding: 12px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; min-height: 44px;
}
.fh-nav > li > a:hover, .fh-nav > li > button:hover, .fh-nav > li > a.active, .fh-nav > li:focus-within > button { color: #fff; background: rgba(148, 180, 230, .08); }
.fh-drop {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 8px; margin: 0; list-style: none;
    background: var(--fh-navy-800); border: 1px solid var(--fh-line-d); border-radius: 12px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
    opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.fh-nav > li:hover .fh-drop, .fh-nav > li:focus-within .fh-drop { opacity: 1; visibility: visible; transform: none; }
.fh-drop a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--fh-soft-d); font-size: 14px; }
.fh-drop a:hover { background: rgba(28, 207, 234, .1); color: #fff; }
.fh-header__actions { display: flex; align-items: center; gap: 8px; }
.fh-header__login { color: var(--fh-text-d); font-weight: 500; font-size: 15px; padding: 10px 12px; }
.fh-header__login:hover { color: var(--fh-green); }
.fh-iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--fh-soft-d); position: relative; background: transparent; border: 0; }
.fh-iconbtn:hover { color: #fff; background: rgba(148, 180, 230, .08); }
.fh-cart-count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--fh-cyan); color: #04131A; font: 600 11px/18px var(--fh-font-mono); text-align: center; }
.fh-menu-btn { display: none; background: var(--fh-navy-800); border: 1px solid rgba(148, 180, 230, .2); color: var(--fh-text-d); cursor: pointer; }
.fh-mnav { display: none; border-top: 1px solid rgba(148, 180, 230, .12); background: var(--fh-navy-900); max-height: calc(100vh - 76px); overflow-y: auto; }
.fh-mnav.is-open { display: block; }
.fh-mnav a { display: block; color: var(--fh-text-d); padding: 14px 4px; border-bottom: 1px solid rgba(148, 180, 230, .1); font-weight: 500; }
.fh-mnav a:hover { color: var(--fh-green); }
.fh-mnav__group { font-family: var(--fh-font-mono); font-size: 12px; color: var(--fh-faint-d); text-transform: uppercase; letter-spacing: .08em; padding: 18px 4px 4px; }
.fh-mnav__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 20px; }
.fh-mnav__btns a { border-bottom: 0; padding: 0 16px; }
/* Re-skin WHMLab's language switcher inside the dark header */
.fh-header .language_switcher__caption { color: var(--fh-soft-d); }
.fh-header .language_switcher__caption .text { color: var(--fh-soft-d); }

/* ---------- Hero ---------- */
.fh-hero { position: relative; overflow: hidden; padding: 96px 0 88px; border-bottom: 1px solid rgba(148, 180, 230, .1); }
.fh-hero__glow { position: absolute; width: 900px; height: 520px; max-width: 100%; left: 50%; top: 260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(28, 207, 234, .16), rgba(136, 230, 74, .06) 55%, transparent); pointer-events: none; }
.fh-hero__inner { position: relative; }
.fh-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid rgba(148, 180, 230, .2); background: rgba(12, 26, 54, .7); color: var(--fh-soft-d); font-size: 13px; }
.fh-pill img { width: 20px; height: 20px; border-radius: 5px; display: block; }
.fh-hero h1 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.06; margin-top: 28px; max-width: 920px; font-weight: 700; color: #fff; }
.fh-hero h1 span { color: var(--fh-cyan); }
.fh-hero__sub { margin-top: 22px; color: var(--fh-muted-d); max-width: 680px; }
.fh-hero__ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

/* ---------- Domain search ---------- */
.fh-domain { width: 100%; max-width: 860px; margin-top: 64px; text-align: left; padding: 28px; border-radius: 20px; background: linear-gradient(180deg, rgba(19, 37, 74, .92), rgba(12, 26, 54, .92)); border: 1px solid rgba(148, 180, 230, .18); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.fh-domain__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.fh-domain__top h2 { font-size: 20px; color: #fff; }
.fh-domain__box { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--fh-navy-950); border: 1px solid rgba(148, 180, 230, .22); transition: border-color .15s, box-shadow .15s; }
.fh-domain__box:focus-within { border-color: var(--fh-cyan); box-shadow: 0 0 0 4px rgba(28, 207, 234, .15); }
.fh-domain__field { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; color: var(--fh-faint-d); }
.fh-domain__input { flex: 1; min-width: 0; height: 56px; border: 0; outline: none; background: transparent; color: #fff; font: 500 18px var(--fh-font-mono); padding: 0 6px; }
.fh-domain__input::placeholder { color: var(--fh-faint-d); }
.fh-domain__tld { color: var(--fh-cyan); font: 500 18px var(--fh-font-mono); flex: none; }
.fh-tlds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.fh-tlds__label { font-size: 13px; color: var(--fh-faint-d); margin-right: 4px; }
.fh-tld { cursor: pointer; border-radius: 999px; padding: 8px 14px; font: 14px var(--fh-font-mono); border: 1px solid rgba(148, 180, 230, .22); background: rgba(8, 18, 38, .6); color: var(--fh-soft-d); min-height: 40px; display: inline-flex; align-items: center; gap: 8px; }
.fh-tld:hover { border-color: var(--fh-cyan); color: #fff; }
.fh-tld small { font-size: 12px; color: var(--fh-faint-d); }
.fh-tld.is-on { border-color: var(--fh-green); color: var(--fh-green-ink); background: var(--fh-green); }
.fh-tld.is-on small { color: var(--fh-green-ink); }
.fh-domain__note { font-size: 13px; color: var(--fh-faint-d); margin-top: 14px !important; }
.fh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Segmented toggle ---------- */
.fh-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: #E6ECF5; gap: 4px; }
.fh-seg button { border: 0; cursor: pointer; min-height: 40px; padding: 0 18px; border-radius: 9px; font: 600 14px var(--fh-font-body); background: transparent; color: var(--fh-muted-l); }
.fh-seg button.is-on { background: var(--fh-ink); color: #fff; }
.fh-seg--d { background: var(--fh-navy-800); border: 1px solid var(--fh-line-d); }
.fh-seg--d button { color: var(--fh-muted-d); }
.fh-seg--d button.is-on { background: var(--fh-cyan); color: #04131A; }

/* ---------- Plans ---------- */
.fh-plan { position: relative; padding: 28px 24px; border-radius: 18px; background: #fff; color: var(--fh-ink); border: 1px solid var(--fh-line-l); display: flex; flex-direction: column; }
.fh-plan--feat { background: var(--fh-ink); color: var(--fh-text-d); border-color: var(--fh-ink); box-shadow: 0 30px 60px -30px rgba(11, 23, 48, .6); }
.fh-plan__tag { position: absolute; top: -12px; left: 24px; background: var(--fh-green); color: var(--fh-green-ink); font: 600 12px var(--fh-font-mono); padding: 4px 10px; border-radius: 6px; }
.fh-plan h3 { font-size: 20px; }
.fh-plan__cat { font-size: 13px; color: var(--fh-muted-l); margin-top: 4px !important; }
.fh-plan--feat .fh-plan__cat, .fh-plan--feat .fh-plan__per, .fh-plan--feat .fh-plan__desc { color: var(--fh-muted-d); }
.fh-plan__price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.fh-plan__amt { font: 500 28px var(--fh-font-mono); }
.fh-plan__per { font-size: 14px; color: var(--fh-muted-l); }
.fh-plan__setup { font-size: 13px; color: var(--fh-muted-l); margin-top: 4px !important; min-height: 20px; }
.fh-plan--feat .fh-plan__setup { color: var(--fh-muted-d); }
.fh-plan__rule { height: 1px; background: var(--fh-line-l); margin: 22px 0 18px; }
.fh-plan--feat .fh-plan__rule { background: rgba(148, 180, 230, .18); }
.fh-plan__desc { font-size: 15px; color: var(--fh-muted-l); }
.fh-plan__desc ul { padding-left: 18px; margin: 0; }
.fh-plan__btn { margin-top: 20px; }
.fh-empty { text-align: center; padding: 40px 24px; border: 1px dashed var(--fh-line-l); border-radius: var(--fh-radius); color: var(--fh-muted-l); }
.fh-dark .fh-empty { border-color: var(--fh-line-d); color: var(--fh-muted-d); }

/* ---------- Servers ---------- */
.fh-srv { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fh-srv__name { font: 600 16px var(--fh-font-display); }
.fh-srv__spec { font: 13px var(--fh-font-mono); color: var(--fh-muted-d); margin-top: 4px !important; }
.fh-srv__right { display: flex; align-items: center; gap: 14px; }
.fh-console { overflow: hidden; box-shadow: 0 40px 90px -40px rgba(28, 207, 234, .35); }
.fh-console__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--fh-line-d); background: var(--fh-navy-650); }
.fh-dot { width: 10px; height: 10px; border-radius: 5px; background: var(--fh-green); box-shadow: 0 0 0 4px rgba(136, 230, 74, .18); display: inline-block; }
.fh-status { font: 12px var(--fh-font-mono); padding: 4px 10px; border-radius: 6px; background: rgba(136, 230, 74, .14); color: #A8EE7A; }
.fh-console__grid { padding: 22px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fh-kv__k { font-size: 12px; color: var(--fh-faint-d); }
.fh-kv__v { font: 14px var(--fh-font-mono); margin-top: 2px; color: var(--fh-text-d); }
.fh-meter { height: 6px; border-radius: 3px; background: var(--fh-navy-700); margin-top: 8px; overflow: hidden; }
.fh-meter span { display: block; width: 38%; height: 100%; background: linear-gradient(90deg, var(--fh-cyan), var(--fh-green)); }
.fh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fh-chip { font: 13px var(--fh-font-mono); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(148, 180, 230, .22); color: var(--fh-soft-d); }

/* ---------- Provider flow ---------- */
.fh-flow { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.1fr) 72px minmax(0, 1.3fr); align-items: center; }
.fh-flow__arrow { height: 2px; background: linear-gradient(90deg, rgba(28, 207, 234, .15), var(--fh-cyan)); position: relative; }
.fh-flow__arrow::after { content: ''; position: absolute; right: -1px; top: -4px; border-left: 8px solid var(--fh-cyan); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.fh-flow__engine { padding: 24px; border-radius: var(--fh-radius); background: linear-gradient(160deg, var(--fh-navy-700), var(--fh-navy-800)); border: 1px solid rgba(28, 207, 234, .45); box-shadow: 0 0 0 6px rgba(28, 207, 234, .06); }
.fh-flow__label { font: 12px var(--fh-font-mono); color: var(--fh-faint-d); }
.fh-flow__node { padding: 16px; }
.fh-flow__node .fh-flow__label { color: var(--fh-green); }

/* ---------- Why (bordered grid) ---------- */
.fh-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--fh-line-l); border-radius: 18px; overflow: hidden; }
.fh-why > div { padding: 32px; border-right: 1px solid var(--fh-line-l); border-bottom: 1px solid var(--fh-line-l); margin: 0 -1px -1px 0; }
.fh-why h3 { font-size: 18px; margin-top: 16px; }
.fh-why p { color: var(--fh-muted-l); font-size: 15px; margin-top: 8px !important; }

/* ---------- Dashboard preview ---------- */
.fh-dash { display: grid; grid-template-columns: 200px minmax(0, 1fr); overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8); }
.fh-dash__side { background: var(--fh-navy-650); border-right: 1px solid var(--fh-line-d); padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.fh-dash__side span { padding: 9px 10px; color: var(--fh-muted-d); border-radius: 8px; }
.fh-dash__side span.is-on { background: rgba(28, 207, 234, .12); color: #fff; }
.fh-dash__main { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fh-tile { padding: 14px; border-radius: 12px; background: var(--fh-navy-900); border: 1px solid var(--fh-line-d); }
.fh-table { border-radius: 12px; border: 1px solid var(--fh-line-d); overflow: hidden; }
.fh-table > div { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-size: 14px; gap: 10px; }
.fh-table > div + div { border-top: 1px solid rgba(148, 180, 230, .1); }
.fh-table__head { font-size: 12px !important; color: var(--fh-faint-d); background: var(--fh-navy-650); }

/* ---------- Offer band ---------- */
.fh-offer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: 20px; background: linear-gradient(100deg, #0F3B2A 0%, #0C2A3E 55%, #0C1A36 100%); border: 1px solid rgba(136, 230, 74, .3); }
.fh-offer h2 { font-size: 26px; margin-top: 8px; color: #fff; }
.fh-code { color: #fff; background: rgba(255, 255, 255, .08); padding: 2px 8px; border-radius: 6px; font-family: var(--fh-font-mono); }

/* ---------- Reviews ---------- */
.fh-review { margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.fh-review blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.fh-review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.fh-avatar { width: 40px; height: 40px; border-radius: 20px; background: var(--fh-cyan-tint); color: var(--fh-cyan-deep); flex: none; display: flex; align-items: center; justify-content: center; font: 600 15px var(--fh-font-display); }

/* ---------- FAQ ---------- */
.fh-faq { border-top: 1px solid var(--fh-line-l); }
.fh-faq__item { border-bottom: 1px solid var(--fh-line-l); }
.fh-faq__q { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 600 17px var(--fh-font-display); color: var(--fh-ink); min-height: 44px; }
.fh-faq__sign { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--fh-bg-l); display: flex; align-items: center; justify-content: center; color: var(--fh-cyan-deep); transition: transform .2s ease; }
.fh-faq__item.is-open .fh-faq__sign { transform: rotate(45deg); }
.fh-faq__a { color: var(--fh-muted-l); padding: 0 48px 22px 0; font-size: 16px; display: none; }
.fh-faq__item.is-open .fh-faq__a { display: block; }

/* ---------- CTA ---------- */
.fh-cta { padding: 96px 0; position: relative; overflow: hidden; }
.fh-cta__glow { position: absolute; width: 760px; height: 380px; max-width: 100%; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(136, 230, 74, .14), transparent); pointer-events: none; }
.fh-cta h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.1; max-width: 760px; color: #fff; }
.fh-cta h2 span { color: var(--fh-green); }

/* ---------- Footer ---------- */
.fh-footer { background: var(--fh-navy-950); border-top: 1px solid rgba(148, 180, 230, .1); padding: 64px 0 32px; color: var(--fh-text-d); }
.fh-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.fh-footer__logo img { height: 30px; width: auto; display: block; max-width: 200px; object-fit: contain; }
.fh-footer__about { color: var(--fh-muted-d); margin-top: 16px; font-size: 15px; max-width: 320px; }
.fh-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.fh-footer__col h2 { font: 600 15px var(--fh-font-display); margin-bottom: 4px; color: #fff; }
.fh-footer__col a { color: var(--fh-muted-d); }
.fh-footer__col a:hover { color: var(--fh-green); }
.fh-footer__pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.fh-footer__pay span { font: 12px var(--fh-font-mono); padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(148, 180, 230, .2); color: var(--fh-soft-d); }
.fh-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(148, 180, 230, .1); font-size: 14px; color: var(--fh-faint-d); }

/* ---------- Inner pages: breadcrumb strip under the dark header ---------- */
.fh-crumb { background: var(--fh-navy-800); border-bottom: 1px solid var(--fh-line-d); color: var(--fh-muted-d); font-size: 14px; }
.fh-crumb .fh-wrap { padding-top: 12px; padding-bottom: 12px; }
.fh-crumb a { color: var(--fh-cyan); }
.fh-crumb a:hover { color: var(--fh-green); }
/* Inner page content keeps WHMLab's light styling */
.fh-page { background: #fff; color: var(--fh-ink); }

/* Keep the WHMLab subscribe launcher readable on the new palette */
.fh-body .subscribe-btn { background: var(--fh-green) !important; color: var(--fh-green-ink) !important; border-color: var(--fh-green) !important; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .fh-btn, a.fh-card-l, .fh-drop, .fh-faq__sign { transition: none; }
    .fh-btn:hover, a.fh-card-l:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .fh-nav, .fh-header__login, .fh-header__register { display: none; }
    .fh-menu-btn { display: inline-flex; }
    .fh-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fh-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
    .fh-sec { padding: 72px 0; }
    .fh-split, .fh-split--narrow-left { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .fh-g3, .fh-why { grid-template-columns: minmax(0, 1fr); }
    .fh-flow { grid-template-columns: minmax(0, 1fr); }
    .fh-flow__arrow { width: 2px; height: 40px; margin: 0 auto; background: linear-gradient(180deg, rgba(28, 207, 234, .15), var(--fh-cyan)); }
    .fh-flow__arrow::after { right: -4px; top: auto; bottom: -1px; border-top: 8px solid var(--fh-cyan); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 0; }
    .fh-dash { grid-template-columns: minmax(0, 1fr); }
    .fh-dash__side { display: none; }
    .fh-hero { padding: 72px 0 64px; }
    .fh-domain { margin-top: 48px; }
}
@media (max-width: 640px) {
    .fh-wrap { padding: 0 16px; }
    .fh-sec { padding: 60px 0; }
    .fh-g4, .fh-g2, .fh-footer__grid { grid-template-columns: minmax(0, 1fr); }
    .fh-lede { font-size: 16px; }
    .fh-stack-sm { flex-direction: column; align-items: stretch; }
    .fh-stack-sm .fh-btn { width: 100%; }
    .fh-hero__ctas { width: 100%; }
    .fh-domain { padding: 18px; border-radius: 16px; }
    .fh-domain__box { flex-direction: column; align-items: stretch; padding: 6px; }
    .fh-domain__field { padding-left: 10px; }
    .fh-domain__box .fh-btn { width: 100%; }
    .fh-offer { flex-direction: column; align-items: flex-start; padding: 24px; }
    .fh-offer .fh-btn { width: 100%; }
    .fh-faq__a { padding-right: 0; }
    .fh-console__grid { grid-template-columns: minmax(0, 1fr); }
    .fh-header__logo img { height: 28px; max-width: 150px; }
    .fh-tile .fh-mono { font-size: 14px !important; }
}

/* hidden attribute must beat inline display rules used by toggled panels */
.fh [hidden] { display: none !important; }

/* ==========================================================================
   v1.1 — Brand colour tokens for WHMLab components on public + client pages
   WHMLab's main.css builds every button/badge/link colour from --base-*.
   Re-declaring them on body.fh-body pins the brand's accessible cyan (#0A7F94,
   4.7:1 with white text) regardless of the admin "Site Base Color", and keeps
   the admin panel untouched.
   ========================================================================== */
.fh-body {
    --base-h: 189; --base-s: 87%; --base-l: 31%;
    --base: var(--base-h) var(--base-s) var(--base-l);
    --base-50: var(--base-h) var(--base-s) calc(var(--base-l) + 25%);
    --base-100: var(--base-h) var(--base-s) calc(var(--base-l) + 20%);
    --base-200: var(--base-h) var(--base-s) calc(var(--base-l) + 15%);
    --base-300: var(--base-h) var(--base-s) calc(var(--base-l) + 10%);
    --base-400: var(--base-h) var(--base-s) calc(var(--base-l) + 5%);
    --base-600: var(--base-h) var(--base-s) calc(var(--base-l) - 5%);
    --base-700: var(--base-h) var(--base-s) calc(var(--base-l) - 10%);
    --base-800: var(--base-h) var(--base-s) calc(var(--base-l) - 15%);
    --base-900: var(--base-h) var(--base-s) calc(var(--base-l) - 20%);
    --dark: 222 63% 12%;
    --heading: 222 63% 12%;
    --body: 219 24% 38%;
}

/* ==========================================================================
   v1.1 — Client area (body.fh-client): dark top bar + sidebar, light workspace
   ========================================================================== */
.fh-client { background: var(--fh-bg-l); color: var(--fh-ink); font-family: var(--fh-font-body); }
.fh-client .preloader { background: var(--fh-bg-l); }

/* Top bar */
.fh-topbar { position: sticky; top: 0; z-index: 1010; height: 64px; background: var(--fh-navy-900); border-bottom: 1px solid rgba(148, 180, 230, .12); color: var(--fh-text-d); }
.fh-topbar__inner { height: 100%; display: flex; align-items: center; gap: 12px; padding: 0 24px; }
.fh-topbar .fh-header__logo img { height: 30px; }
.fh-topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.fh-topbar .language_switcher__caption, .fh-topbar .language_switcher__caption .text { color: var(--fh-soft-d); }
.fh-side-toggle { display: none; }
.fh-userchip { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid rgba(148, 180, 230, .2); color: var(--fh-text-d); min-height: 44px; }
.fh-userchip:hover { color: #fff; border-color: var(--fh-cyan); }
.fh-userchip__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--fh-green); color: var(--fh-green-ink); display: flex; align-items: center; justify-content: center; font: 600 15px var(--fh-font-display); flex: none; }
.fh-userchip__text { display: flex; flex-direction: column; line-height: 1.2; }
.fh-userchip__name { font-size: 14px; font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fh-userchip__bal { font: 12px var(--fh-font-mono); color: var(--fh-green); }

/* Sidebar */
.fh-side { position: fixed; top: 64px; bottom: 0; left: 0; width: 248px; z-index: 1005; background: var(--fh-navy-900); border-right: 1px solid rgba(148, 180, 230, .1); padding: 20px 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.fh-side__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.fh-side__group { font: 11px var(--fh-font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--fh-faint-d); padding: 18px 12px 6px; }
.fh-side__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 42px; border-radius: 10px; color: var(--fh-muted-d); font-size: 14.5px; font-weight: 500; }
.fh-side__link:hover { color: #fff; background: rgba(148, 180, 230, .07); }
.fh-side__link.is-active { color: #fff; background: rgba(28, 207, 234, .12); box-shadow: inset 3px 0 0 var(--fh-cyan); }
.fh-side__link.is-active svg { color: var(--fh-cyan); }
.fh-side__badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--fh-green); color: var(--fh-green-ink); font: 600 12px/22px var(--fh-font-mono); text-align: center; }
.fh-side__help { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 12px; background: var(--fh-navy-800); border: 1px solid var(--fh-line-d); color: var(--fh-cyan); font-size: 14px; }
.fh-side__help:hover { color: var(--fh-green); border-color: rgba(28, 207, 234, .4); }
.fh-side__help-title { color: #fff; font-weight: 600; }
.fh-side-scrim { position: fixed; inset: 64px 0 0 0; z-index: 1004; background: rgba(5, 11, 24, .6); }

/* Workspace */
.fh-app { margin-left: 248px; min-height: calc(100vh - 64px); }
.fh-app__main { max-width: 1240px; padding: 28px 32px 64px; }
.fh-app__head { margin-bottom: 24px; }
.fh-app__crumb { font-size: 13px; color: var(--fh-muted-l); display: flex; gap: 6px; align-items: center; }
.fh-app__crumb a { color: var(--fh-cyan-deep); }
.fh-app__title { font: 600 28px/1.2 var(--fh-font-display); letter-spacing: -.02em; color: var(--fh-ink); margin: 6px 0 0; }

/* Neutralise WHMLab page wrappers so pages sit in the workspace */
.fh-app__main .pt-60, .fh-app__main .pt-80, .fh-app__main .pt-100 { padding-top: 0 !important; }
.fh-app__main .pb-60, .fh-app__main .pb-80, .fh-app__main .pb-100 { padding-bottom: 0 !important; }
.fh-app__main .bg--light, .fh-app__main .section-full, .fh-app__main .service-category { background: transparent !important; }
.fh-app__main > div > .container, .fh-app__main > .container, .fh-app__main .section-full > .container { max-width: none; padding-left: 0; padding-right: 0; }
.fh-app__main .col-lg-9:only-child { width: 100%; }

/* WHMLab components, re-skinned */
.fh-app__main .card, .fh-app__main .custom--card { border: 1px solid var(--fh-line-l); border-radius: 14px; box-shadow: none; background: #fff; overflow: hidden; }
.fh-app__main .card-header { background: #fff !important; border-bottom: 1px solid var(--fh-line-l); font: 600 16px var(--fh-font-display); color: var(--fh-ink) !important; padding: 16px 20px; }
.fh-app__main .card-header.bg-dark-two, .fh-app__main .bg-dark-two { background: #fff !important; color: var(--fh-ink) !important; }
.fh-app__main .card-body { padding: 20px; }
.fh-app__main h1, .fh-app__main h2, .fh-app__main h3, .fh-app__main h4, .fh-app__main h5, .fh-app__main h6 { font-family: var(--fh-font-display); color: var(--fh-ink); letter-spacing: -.01em; }
.fh-app__main .form--control, .fh-app__main .form-control, .fh-app__main .form-select { border-radius: 10px; border: 1px solid #CBD5E3; min-height: 46px; font-family: var(--fh-font-body); color: var(--fh-ink); }
.fh-app__main .form--control:focus, .fh-app__main .form-control:focus, .fh-app__main .form-select:focus { border-color: var(--fh-cyan-deep); box-shadow: 0 0 0 4px rgba(10, 127, 148, .15); }
.fh-app__main label, .fh-app__main .form-label { font-weight: 500; color: var(--fh-ink); font-size: 14px; }
.fh-app__main .btn { border-radius: 10px; font-weight: 600; font-family: var(--fh-font-body); }
.fh-app__main .btn--base { min-height: 42px; }

/* Tables → clean card tables (mobile card rows come from main.css data-labels) */
.fh-app__main .table { background: #fff; border: 1px solid var(--fh-line-l); border-radius: 14px; overflow: hidden; border-collapse: separate; border-spacing: 0; font-family: var(--fh-font-body); font-size: 14.5px; }
.fh-app__main .table thead tr { background: #F7F9FC; }
.fh-app__main .table thead tr th { color: var(--fh-muted-l); font: 600 12px var(--fh-font-body); text-transform: uppercase; letter-spacing: .06em; padding: 14px 18px; border-bottom: 1px solid var(--fh-line-l); }
.fh-app__main .table tbody tr td { font-family: var(--fh-font-body); color: var(--fh-ink); padding: 16px 18px; border-bottom: 1px solid #EDF1F7; }
.fh-app__main .table tbody tr:last-child td { border-bottom: 0; }
.fh-app__main .table tbody tr:nth-child(even) { background: #fff; }
.fh-app__main .table tbody tr:hover { background: #F9FBFD; }
.fh-app__main .table tbody tr td::before { font-family: var(--fh-font-body); color: var(--fh-muted-l); font-size: 13px; }

/* Status badges → soft pills with AA-contrast text */
.fh-app__main .badge, .fh-dash .badge { border: 0 !important; border-radius: 999px; padding: 4px 10px; font: 600 12px var(--fh-font-body); }
.fh-body .badge--success { background: #E6F6EC; color: #1C6B3A; }
.fh-body .badge--danger { background: #FDECEC; color: #A42424; }
.fh-body .badge--warning { background: #FFF4DE; color: #8A5300; }
.fh-body .badge--primary, .fh-body .badge--info { background: var(--fh-cyan-tint); color: #075E6E; }
.fh-body .badge--dark, .fh-body .badge--secondary { background: #EDF1F7; color: #3A4A66; }
.fh-app__main .badge.badge--icon { width: 36px; height: 36px; border-radius: 10px; padding: 0; background: var(--fh-cyan-tint); color: var(--fh-cyan-deep); }
.fh-app__main .badge.badge--icon:hover { background: var(--fh-cyan-deep); color: #fff; }

/* Pagination */
.fh-app__main .pagination .page-link { border-radius: 8px; margin: 0 3px; border: 1px solid var(--fh-line-l); color: var(--fh-ink); min-width: 40px; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.fh-app__main .pagination .page-item.active .page-link { background: var(--fh-ink); border-color: var(--fh-ink); color: #fff; }

/* ---------- ForwayHost client components ---------- */
.fh-panel { background: #fff; border: 1px solid var(--fh-line-l); border-radius: 14px; }
.fh-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--fh-line-l); }
.fh-panel__head h2 { font: 600 16px var(--fh-font-display); margin: 0; color: var(--fh-ink); }
.fh-panel__head a { font-size: 14px; font-weight: 600; color: var(--fh-cyan-deep); }
.fh-panel__body { padding: 20px; }
.fh-panel__empty { padding: 28px 20px; text-align: center; color: var(--fh-muted-l); font-size: 14.5px; }
.fh-panel__empty a { color: var(--fh-cyan-deep); font-weight: 600; }

.fh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fh-stat { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: #fff; border: 1px solid var(--fh-line-l); border-radius: 14px; color: var(--fh-ink); transition: border-color .15s, box-shadow .15s; }
a.fh-stat:hover { color: var(--fh-ink); border-color: #B9C7DB; box-shadow: 0 12px 30px -20px rgba(11, 23, 48, .35); }
.fh-stat__top { display: flex; justify-content: space-between; align-items: center; color: var(--fh-muted-l); font-size: 13.5px; font-weight: 500; }
.fh-stat__val { font: 600 28px/1.1 var(--fh-font-display); letter-spacing: -.02em; }
.fh-stat__sub { font-size: 13px; color: var(--fh-muted-l); }

.fh-welcome { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 28px; border-radius: 16px; background: linear-gradient(120deg, var(--fh-navy-800), var(--fh-navy-700)); color: var(--fh-text-d); position: relative; overflow: hidden; }
.fh-welcome::after { content: ''; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; background: radial-gradient(closest-side, rgba(28, 207, 234, .22), transparent); pointer-events: none; }
.fh-welcome h2 { font: 600 22px var(--fh-font-display); color: #fff; margin: 0; }
.fh-welcome p { color: var(--fh-muted-d); margin: 4px 0 0; font-size: 15px; }
.fh-welcome__bal { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fh-welcome__amt { font: 500 26px var(--fh-font-mono); color: #fff; }
.fh-welcome__lbl { font-size: 12px; color: var(--fh-faint-d); text-transform: uppercase; letter-spacing: .08em; }

.fh-alert { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border-radius: 14px; border: 1px solid #F3C9C9; background: #FFF6F6; color: #7A1D1D; }
.fh-alert strong { color: #A42424; }
.fh-alert--info { border-color: #BFE6EE; background: #F1FBFD; color: #075E6E; }

.fh-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.fh-list { list-style: none; margin: 0; padding: 0; }
.fh-list > li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; border-bottom: 1px solid #EDF1F7; }
.fh-list > li:last-child { border-bottom: 0; }
.fh-list__main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fh-list__title { font-weight: 600; color: var(--fh-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.fh-list__title:hover { color: var(--fh-cyan-deep); }
.fh-list__meta { font-size: 13px; color: var(--fh-muted-l); }
.fh-list__side { display: flex; align-items: center; gap: 12px; flex: none; }
.fh-amt { font: 500 14.5px var(--fh-font-mono); color: var(--fh-ink); }

.fh-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fh-quick a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--fh-line-l); color: var(--fh-ink); font-weight: 500; font-size: 14px; min-height: 52px; }
.fh-quick a:hover { border-color: var(--fh-cyan-deep); color: var(--fh-cyan-deep); }
.fh-quick svg { color: var(--fh-cyan-deep); flex: none; }

.fh-dsearch { display: flex; gap: 8px; }
.fh-dsearch input { flex: 1; min-width: 0; min-height: 46px; border-radius: 10px; border: 1px solid #CBD5E3; padding: 0 14px; font: 15px var(--fh-font-mono); color: var(--fh-ink); }
.fh-dsearch input:focus { outline: none; border-color: var(--fh-cyan-deep); box-shadow: 0 0 0 4px rgba(10, 127, 148, .15); }

.fh-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.fh-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.fh-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--fh-line-l); background: #fff; color: var(--fh-muted-l); font-size: 14px; font-weight: 500; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
.fh-tabs a:hover { color: var(--fh-ink); border-color: #B9C7DB; }
.fh-tabs a.is-on { background: var(--fh-ink); border-color: var(--fh-ink); color: #fff; }
.fh-tabs small { font: 12px var(--fh-font-mono); opacity: .75; }

.fh-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.fh-btn--ghost, .fh-btn--ghost:hover, .fh-btn--ghost:focus { background: var(--fh-cyan-tint); color: var(--fh-cyan-deep); }
.fh-btn--ghost:hover { background: var(--fh-cyan-deep); color: #fff; }

.fh-pager { margin-top: 20px; }

/* Responsive client area */
@media (max-width: 1199px) {
    .fh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fh-cols { grid-template-columns: minmax(0, 1fr); }
    .fh-userchip__text { display: none; }
    .fh-userchip { padding: 4px; }
}
@media (max-width: 991px) {
    .fh-side-toggle { display: inline-flex; }
    .fh-side { transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility .2s; width: 280px; }
    .fh-side.is-open { transform: none; visibility: visible; box-shadow: 20px 0 60px -20px rgba(0, 0, 0, .6); }
    .fh-app { margin-left: 0; }
    .fh-app__main { padding: 20px 20px 48px; }
    .fh-hide-sm { display: none !important; }
}
@media (max-width: 640px) {
    .fh-topbar__inner { padding: 0 12px; gap: 6px; }
    .fh-topbar .fh-header__logo img { height: 24px; max-width: 120px; }
    .fh-topbar .language_switcher { display: none; }
    .fh-app__main { padding: 16px 16px 40px; }
    .fh-app__title { font-size: 24px; }
    .fh-stats { gap: 10px; }
    .fh-stat { padding: 14px; }
    .fh-stat__val { font-size: 22px; }
    .fh-welcome { padding: 20px; }
    .fh-list > li { padding: 12px 16px; flex-wrap: wrap; }
    .fh-quick { grid-template-columns: minmax(0, 1fr); }
    .fh-dsearch { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .fh-side { transition: none; } }
.fh-app__main .table a.fh-list__title { display: inline-block; vertical-align: middle; }
@media (max-width: 767px) {
    /* Each record reads as its own card on phones */
    .fh-app__main .table--responsive--md tbody tr { border-bottom: 10px solid var(--fh-bg-l); }
    .fh-app__main .table--responsive--md tbody tr:last-child { border-bottom: 0; }
    .fh-app__main .table--responsive--md tbody tr td { padding: 12px 16px; }
    .fh-app__main .table .fh-list__main { text-align: right !important; align-items: flex-end; }
}

/* ---------- v1.3: display-currency switcher ---------- */
.fh-cur { position: relative; }
.fh-cur summary { list-style: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(148, 180, 230, .22); color: var(--fh-soft-d); font: 500 13px var(--fh-font-mono); }
.fh-cur summary::-webkit-details-marker { display: none; }
.fh-cur summary:hover, .fh-cur[open] summary { color: #fff; border-color: var(--fh-cyan); }
.fh-cur__menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 140px; padding: 6px; background: var(--fh-navy-800); border: 1px solid var(--fh-line-d); border-radius: 10px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); z-index: 120; }
.fh-cur__menu a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 7px; color: var(--fh-soft-d); font: 13px var(--fh-font-mono); }
.fh-cur__menu a:hover { background: rgba(28, 207, 234, .1); color: #fff; }
.fh-cur__menu small { color: var(--fh-faint-d); }
@media (max-width: 640px) { .fh-header .language_switcher { display: none; } }

/* ---------- v1.4: branded sign-in / sign-up / verification pages ---------- */
.fh-auth, .fh-auth .account-section {
    background-color: var(--fh-bg-l) !important;
    background-image: radial-gradient(closest-side at 50% 0%, rgba(28, 207, 234, .12), transparent 70%) !important;
    background-size: 100% 480px !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
}
.fh-auth .account-section { padding: 48px 0 64px; }
.fh-auth .account-section .logo img { max-height: 40px; width: auto; }
.fh-auth .account-form { background: #fff; border-radius: 18px; border: 1px solid var(--fh-line-l); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); padding: 32px; font-family: var(--fh-font-body); }
.fh-auth .account-form h4 { font-family: var(--fh-font-display); color: var(--fh-ink); letter-spacing: -.01em; }
.fh-auth .account-form .btn--base { background: var(--fh-green) !important; border-color: var(--fh-green) !important; color: var(--fh-green-ink) !important; font-weight: 600; min-height: 48px; border-radius: 10px; }
.fh-auth .account-form .btn--base-outline { border: 1px solid var(--fh-ink); color: var(--fh-ink); background: transparent; min-height: 46px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.fh-auth .account-form .btn--base-outline:hover { background: var(--fh-ink); color: #fff; }
.fh-auth .account-form .form--control { border-radius: 10px; min-height: 46px; }
.fh-auth .account-form .form--control:focus { border-color: var(--fh-cyan-deep); box-shadow: 0 0 0 4px rgba(10, 127, 148, .15); }
.fh-auth .account-form a.text--base, .fh-auth .account-form .text--base { color: var(--fh-cyan-deep) !important; }
@media (max-width: 640px) { .fh-auth .account-form { padding: 22px 18px; } }
