/* HostingGuard - custom WHMCS theme */
:root {
    --hg-bg: #050b14;
    --hg-bg-soft: #091321;
    --hg-panel: #0b1726;
    --hg-panel-2: #0e1d2f;
    --hg-line: #1e3852;
    --hg-text: #f3f8ff;
    --hg-muted: #9db0c5;
    --hg-blue: #0797ff;
    --hg-cyan: #04d4ef;
    --hg-green: #25d981;
}

html { font-size: 14px; scroll-behavior: smooth; }
body.hg-theme { background: var(--hg-bg); color: var(--hg-text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.hg-theme a { color: #4bbcff; }
body.hg-theme a:hover { color: #8bd8ff; text-decoration: none; }
.hg-theme .container { max-width: 1420px; }
.hg-theme .btn { border-radius: 6px; font-weight: 600; letter-spacing: 0; min-height: 40px; }
.hg-theme .btn-primary { background: linear-gradient(100deg, #087ff4, #08bff0); border-color: #149def; box-shadow: 0 8px 24px rgba(0,145,255,.2); color: #fff; }
.hg-theme .btn-primary:hover { background: #168df4; border-color: #35aaff; color: #fff; }

/* Global header */
.hg-header { background: rgba(4,11,20,.96); border-bottom: 0 !important; position: relative; z-index: 1030; }
.hg-header .hg-navbar { background: rgba(4,11,20,.97) !important; min-height: 58px; padding: 0; }
.hg-header .hg-navbar > .container { padding-left: 22px; padding-right: 22px; }
.hg-brand { align-items: center; color: #fff !important; display: inline-flex; font-size: 1.4rem; font-weight: 800; gap: 8px; margin: 0; min-height: 58px; padding: 0 0 8px; position: relative; }
.hg-brand .logo-img { max-height: 38px; max-width: 205px; width: auto; }
.hg-brand-tagline { bottom: 7px; color: #88a3bc; font-size: .48rem; font-weight: 600; left: 48px; line-height: 1; position: absolute; text-transform: uppercase; white-space: nowrap; }
.hg-logo-mark { align-items: center; background: linear-gradient(145deg,#03c8ef,#086df4); border-radius: 8px; box-shadow: 0 0 20px rgba(0,145,255,.34); display: inline-flex; height: 40px; justify-content: center; width: 40px; }
.hg-brand-name span { color: var(--hg-blue); }
.hg-primary-nav > li > a { color: #e8f0f8 !important; display: block; font-size: .9rem; font-weight: 600; padding: 26px 14px !important; position: relative; }
.hg-primary-nav > li > a:hover, .hg-primary-nav > .active > a { color: #31baff !important; }
.hg-primary-nav > .active > a:after { background: var(--hg-blue); bottom: 0; content: ""; height: 2px; left: 14px; position: absolute; right: 14px; }
.hg-primary-nav > li[menuitemname="Network Status"] { display: none !important; }
.hg-desktop-nav { align-items: stretch; display: flex; }
.hg-desktop-nav > li > a { color: #e7eff7 !important; display: flex; font-size: .73rem; font-weight: 600; min-height: 58px; align-items: center; padding: 0 13px; position: relative; white-space: nowrap; }
.hg-desktop-nav > li > a:hover, .hg-desktop-nav > li.active > a { color: #1fb5ff !important; }
.hg-desktop-nav > li.active > a:after { background: #079cff; bottom: 9px; content: ""; height: 2px; left: 13px; position: absolute; right: 13px; }
.hg-desktop-nav .dropdown-toggle:after { margin-left: 7px; }
.hg-mobile-nav { display: none; }
.hg-header-actions { align-items: center; display: flex; gap: 5px; }
.hg-status-link { align-items: center; color: #d8e4ef !important; display: flex; font-size: .65rem; gap: 6px; white-space: nowrap; }
.hg-status-link > span { background: #35e88d; border: 2px solid rgba(53,232,141,.2); border-radius: 50%; box-sizing: content-box; height: 6px; width: 6px; }
.hg-language, .hg-login, .hg-cart { align-items: center; background: transparent; border: 0; color: #e8f0f8 !important; display: inline-flex; font-size: .68rem; gap: 6px; padding: 0 7px; }
.hg-language .iti-flag { display: inline-block; }
.hg-language .fa-chevron-down { font-size: .55rem; }
.hg-signup { align-items: center; display: inline-flex; font-size: .7rem; justify-content: center; min-height: 34px !important; min-width: 92px; padding: 0 14px; }
.hg-cart { min-width: 32px; position: relative; }
.hg-cart .badge { background: var(--hg-blue); border-radius: 10px; font-size: .63rem; position: absolute; right: 0; top: 1px; }
.hg-menu-toggle { border: 1px solid var(--hg-line) !important; color: #fff !important; min-width: 44px; }
.hg-accountbar { background: #071725; border-bottom: 1px solid var(--hg-line); }
.hg-accountbar .btn, .hg-accountbar .input-group-text { background: transparent; border: 0; color: var(--hg-muted); }
/* Account bar + email verification banner (override theme.css light/grey defaults) */
header.header.hg-header .topbar.hg-accountbar { background: #071725; border-bottom: 1px solid var(--hg-line); color: var(--hg-muted); padding: 4px 0; }
header.header.hg-header .topbar.hg-accountbar .btn,
header.header.hg-header .topbar.hg-accountbar .active-client .btn,
header.header.hg-header .topbar.hg-accountbar .active-client .input-group-text { background: transparent; color: var(--hg-muted); }
header.header.hg-header .topbar.hg-accountbar .btn:hover,
header.header.hg-header .topbar.hg-accountbar .active-client .btn:hover { color: var(--hg-cyan); }
header.header.hg-header .topbar.hg-accountbar .active-client .btn.btn-active-client span { border-bottom: 1px dashed rgba(4,212,239,.55); color: #e8f3ff; }
.hg-theme .verification-banner { background: #0a1a2b; border-bottom: 1px solid var(--hg-line); color: var(--hg-text); }
.hg-theme .verification-banner .text { color: var(--hg-text); }
.hg-theme .verification-banner .fas, .hg-theme .verification-banner .fal, .hg-theme .verification-banner .far { color: #f5b942; }
.hg-theme .verification-banner .btn.close { color: var(--hg-muted); text-shadow: none; }
.hg-theme .verification-banner .btn.close:hover { color: #fff; }
.hg-theme .verification-banner .btn-resend-verify-email { background: linear-gradient(100deg,#087ff4,#08bff0); border-color: #149def; color: #fff; min-height: 0; }
.hg-theme .verification-banner .btn-resend-verify-email:hover { background: #168df4; border-color: #35aaff; color: #fff; }
.hg-header .dropdown-menu { background: #0b1827; border: 1px solid var(--hg-line); border-radius: 6px; box-shadow: 0 18px 45px rgba(0,0,0,.4); }
.hg-header .dropdown-item { color: #c9d9e8; }
.hg-header .dropdown-item:hover { background: #102740; color: #fff; }

/* Homepage hero */
.hg-home-main { padding: 0 !important; }
.hg-home-main > .hg-home-wrap, .hg-home-main .primary-content { width: 100%; }
.hg-hero { background: #030913 url(../images/hostinguard-datacenter-hero.png) center/cover no-repeat; border-bottom: 1px solid #10263b; min-height: 510px; overflow: hidden; position: relative; }
.hg-hero:after { background: linear-gradient(90deg,rgba(3,9,19,.98) 0%,rgba(3,9,19,.9) 34%,rgba(3,9,19,.18) 65%,rgba(3,9,19,.25) 100%); content: ""; inset: 0; position: absolute; }
.hg-hero-inner { align-items: center; display: flex; min-height: 510px; position: relative; z-index: 1; }
.hg-hero-copy { max-width: 650px; padding: 42px 0 30px; }
.hg-eyebrow { align-items: center; background: rgba(23,66,96,.5); border: 1px solid #214760; border-radius: 16px; color: #bce9ff; display: inline-flex; font-size: .76rem; font-weight: 700; gap: 7px; padding: 6px 11px; text-transform: uppercase; }
.hg-eyebrow i { color: #42dfa0; }
.hg-hero h1 { color: #fff; font-size: 3.4rem; font-weight: 800; letter-spacing: 0; line-height: 1.02; margin: 18px 0 14px; max-width: 600px; }
.hg-hero h1 span { color: #079cff; display: block; }
.hg-hero-copy > p { color: #b5c5d7; font-size: 1.18rem; line-height: 1.55; max-width: 610px; }
.hg-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 23px 0 30px; }
.hg-hero-actions .btn { align-items: center; display: inline-flex; gap: 12px; justify-content: center; min-height: 48px; padding: 0 28px; }
.hg-hero-actions .btn-outline-light { background: rgba(9,25,41,.72); border-color: #38536e; }
.hg-trust-row { display: flex; flex-wrap: wrap; gap: 27px; }
.hg-trust-row > span { align-items: center; color: #bdd0e1; display: flex; font-size: .78rem; gap: 10px; line-height: 1.45; }
.hg-trust-row i { align-items: center; border: 1px solid #365a78; border-radius: 50%; color: #23c6ee; display: flex; font-size: 1rem; height: 38px; justify-content: center; width: 38px; }
.hg-hero-label { background: linear-gradient(110deg,rgba(4,15,27,.9),rgba(5,22,39,.66)); border: 1px solid rgba(58,124,174,.42); border-left: 3px solid #0ba8f5; border-radius: 6px; box-shadow: 0 18px 45px rgba(0,0,0,.28); margin-left: auto; overflow: hidden; padding: 21px 22px 18px; position: relative; width: 265px; }
.hg-hero-label:after { background: linear-gradient(90deg,#09a5f4,transparent); content: ""; height: 1px; left: 22px; opacity: .55; position: absolute; right: 22px; top: 51px; }
.hg-hero-label small { align-items: center; color: #82a8c7; display: flex; font-size: .61rem; font-style: normal; font-weight: 700; gap: 7px; margin-bottom: 24px; text-transform: uppercase; }
.hg-hero-label small i { background: #32e58c; border-radius: 50%; box-shadow: 0 0 10px rgba(50,229,140,.75); height: 6px; width: 6px; }
.hg-hero-label strong { color: #b6ddff; display: block; font-size: 1.16rem; line-height: 1.17; text-transform: uppercase; }
.hg-hero-label > span { color: #c1d0de; display: block; font-size: .88rem; line-height: 1.4; margin-top: 12px; }
.hg-hero-label > div { align-items: end; border-top: 1px solid rgba(65,119,158,.38); display: flex; gap: 9px; margin-top: 18px; padding-top: 13px; }
.hg-hero-label b { color: #fff; font-size: 1.05rem; line-height: 1; }
.hg-hero-label em { color: #7492aa; font-size: .63rem; font-style: normal; }

/* Homepage sections */
.hg-services, .home-domain-search, .hg-support-band, .hg-benefits, .hg-account-shortcuts { background: var(--hg-bg); padding: 34px 0; }
.hg-section-heading { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 20px; }
.hg-section-heading span, .hg-domain-heading > span, .hg-support-copy > span { color: #19b9ed; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.hg-section-heading h2, .hg-domain-heading h2, .hg-support-copy h2, .hg-account-shortcuts h2 { color: #f5f9ff; font-size: 1.55rem; font-weight: 750; margin: 4px 0 0; }
.hg-section-heading > a { color: #7fceeF; font-size: .83rem; }
.hg-service-grid { display: grid; gap: 16px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.hg-service-card { background-color: #091624; background-position: center; background-repeat: no-repeat; background-size: cover; border: 1px solid #2b4963; border-radius: 7px; display: flex; flex-direction: column; min-height: 220px; overflow: hidden; padding: 22px; position: relative; }
.hg-service-card:before { background: linear-gradient(90deg,rgba(4,12,22,.98) 0%,rgba(5,17,30,.94) 42%,rgba(5,17,30,.45) 72%,rgba(5,17,30,.2) 100%); content: ""; inset: 0; position: absolute; }
.hg-service-card:after { background: linear-gradient(180deg,transparent 45%,rgba(2,8,15,.55)); content: ""; inset: 0; position: absolute; }
.hg-service-card { background-image: url(../images/hostinguard-datacenter-hero.png); }
.hg-service-card-1 { background-image: url(../images/cards/service-hosting.webp); }
.hg-service-card-2 { background-image: url(../images/cards/service-reseller.webp); }
.hg-service-card-3 { background-image: url(../images/cards/service-vps.webp); }
.hg-service-card-4 { background-image: url(../images/cards/service-dedicated.webp); }
.hg-service-card-5 { background-image: url(../images/cards/service-licenses.webp); }
.hg-service-card-6 { background-image: url(../images/cards/service-reseller.webp); }
.hg-service-domain { background-image: url(../images/cards/service-domains.webp); }
.hg-service-transfer { background-image: url(../images/cards/service-transfer.webp); }
.hg-service-card > i { color: #149cff; font-size: 2rem; margin-bottom: 15px; position: relative; z-index: 2; }
.hg-service-3 > i, .hg-service-transfer > i { color: #a761ff; }
.hg-service-domain > i { color: #00d6eb; }
.hg-service-card > div { max-width: 72%; position: relative; z-index: 2; }
.hg-service-card h3 { color: #fff; font-size: 1.08rem; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.hg-service-card p { color: #c1d1e0; font-size: .82rem; line-height: 1.5; min-height: 40px; text-shadow: 0 2px 8px rgba(0,0,0,.9); }
.hg-service-card .btn { background: rgba(8,26,43,.78); border-color: #32658c; color: #f2f8fd; font-size: .78rem; margin-top: auto; position: relative; z-index: 2; }
.hg-service-card .btn:hover { background: #0d8ff0; border-color: #0d8ff0; }
.home-domain-search { border-top: 1px solid #10243a; }
.hg-domain-layout { align-items: stretch; display: grid; gap: 20px; grid-template-columns: minmax(0,1.9fr) minmax(280px,.8fr); }
.hg-domain-main { min-width: 0; }
.hg-domain-heading { margin-bottom: 16px; }
.hg-domain-heading p, .hg-support-copy p { color: var(--hg-muted); margin: 6px 0 0; }
.hg-domain-searchbox { align-items: stretch; display: flex; gap: 10px; position: relative; }
.hg-domain-searchbox > .fa-search { color: #7891aa; font-size: 1.1rem; left: 20px; position: absolute; top: 18px; z-index: 2; }
.hg-domain-searchbox .form-control, .hg-domain-searchbox textarea { background: #f5f8fc; border: 1px solid #d8e0e9; border-radius: 7px; color: #142131; flex: 1; height: 52px; min-height: 52px; overflow: hidden; padding: 15px 18px 15px 52px; resize: none; }
.hg-domain-actions { display: flex; gap: 8px; }
.hg-domain-actions .btn { min-height: 52px; min-width: 132px; }
.hg-domain-actions .btn-outline-primary { background: #0b1a29; border-color: #2675ae; color: #d6efff; }
.tld-logos { display: grid !important; gap: 0; grid-template-columns: repeat(6,1fr); list-style: none; margin: 17px 0 0 !important; padding: 0 !important; }
.tld-logos li { border-right: 1px solid #172b3e; display: block !important; padding: 0 20px !important; text-align: left; width: auto !important; }
.tld-logos li:first-child { padding-left: 0 !important; }
.tld-logos strong { color: #fff; display: block; font-size: 1.05rem; }
.tld-logos span { color: #91a5b8; display: block; font-size: .76rem; }
.hg-domain-pricing { display: inline-block; font-size: .8rem; margin-top: 15px; }
.hg-domain-links { align-items: center; display: flex; gap: 20px; }
.hg-domain-links .btn-link { color: #78cfff; font-size: .8rem; margin-top: 15px; min-height: auto; padding: 0; }
.hg-domain-advanced { border-top: 1px solid #19334a; margin-top: 12px; padding-top: 10px; }
.hg-domain-advanced summary { color: #82a6c3; cursor: pointer; display: inline-flex; font-size: .78rem; gap: 7px; list-style: none; }
.hg-domain-advanced summary::-webkit-details-marker { display: none; }
.hg-domain-advanced-fields { align-items: end; display: grid; gap: 14px; grid-template-columns: 1fr .55fr auto; margin-top: 12px; }
.hg-domain-advanced-fields label { color: #9fb3c6; display: block; font-size: .72rem; margin-bottom: 5px; }
.hg-domain-advanced-fields .btn-group, .hg-domain-advanced-fields .multiselect-native-select { width: 100%; }
.hg-domain-advanced-fields .multiselect { background: #0c1d2c; border: 1px solid #30516d; color: #dceaf4; width: 100%; }
.hg-domain-advanced-fields .hg-safe-search { align-items: center; display: flex; gap: 6px; min-height: 40px; white-space: nowrap; }
.hg-domain-promo { align-items: center; background: linear-gradient(90deg,rgba(6,25,45,.92),rgba(5,25,48,.28)),url(../images/cards/service-domains.webp) center/cover no-repeat; border: 1px solid #285071; border-radius: 7px; display: flex; min-height: 170px; overflow: hidden; padding: 24px; position: relative; }
.hg-domain-promo:after { background: linear-gradient(180deg,transparent,rgba(1,7,14,.4)); content: ""; inset: 0; position: absolute; }
.hg-domain-promo > div { max-width: 190px; position: relative; z-index: 1; }
.hg-domain-promo h3 { color: #fff; font-size: 1.45rem; font-weight: 750; line-height: 1.05; margin: 0 0 10px; }
.hg-domain-promo p { color: #b3c6d8; font-size: .76rem; line-height: 1.45; }
.hg-domain-promo a { background: rgba(8,61,102,.72); border: 1px solid #2879af; border-radius: 5px; color: #fff; display: inline-flex; font-size: .72rem; gap: 8px; padding: 8px 12px; }
.hg-support-band { background: #07111d; border-bottom: 1px solid #172a3d; border-top: 1px solid #172a3d; }
.hg-support-band > .container { align-items: center; display: grid; gap: 50px; grid-template-columns: .8fr 1.2fr; }
.hg-help-links { display: grid; gap: 10px; grid-template-columns: repeat(3,1fr); }
.hg-help-links > a { align-items: center; background: #0a1726; border: 1px solid #20374e; border-radius: 7px; color: #fff; display: flex; gap: 12px; min-height: 76px; padding: 14px; }
.hg-help-links > a > i:first-child { color: #19aef5; font-size: 1.25rem; }
.hg-help-links > a > i:last-child { font-size: .7rem; margin-left: auto; }
.hg-help-links span { color: #829bb2; font-size: .7rem; }
.hg-help-links strong { color: #fff; display: block; font-size: .83rem; }
.hg-benefits { padding: 18px 0; }
.hg-benefits > .container { display: grid; gap: 14px; grid-template-columns: repeat(4,1fr); }
.hg-benefits .container > div { align-items: center; border: 1px solid #1b334a; border-radius: 7px; display: flex; gap: 15px; min-height: 72px; padding: 14px 18px; }
.hg-benefits i { color: #169cff; font-size: 1.55rem; }
.hg-benefits span { color: #8fa5b9; font-size: .74rem; }
.hg-benefits strong { color: #fff; display: block; font-size: .86rem; }
.hg-account-shortcuts { border-top: 1px solid #14283c; }
.hg-account-shortcuts .container > div { display: grid; gap: 12px; grid-template-columns: repeat(4,1fr); margin-top: 16px; }
.hg-account-shortcuts a { background: #0b1827; border: 1px solid #20374e; border-radius: 7px; color: #dce9f5; padding: 17px; }
.hg-account-shortcuts i { color: #20aaf4; margin-right: 10px; }

/* Interior WHMCS screens */
.hg-theme:not(.hg-homepage) #main-body { background: #07101b; min-height: 60vh; padding: 38px 0 55px; }
.hg-theme .master-breadcrumb { background: #081522; border-bottom: 1px solid #183047; }
.hg-theme .breadcrumb { background: transparent; margin: 0; padding: 13px 0; }
.hg-theme .breadcrumb a, .hg-theme .breadcrumb-item { color: #8fa9c0; }
.hg-theme .primary-content > h1, .hg-theme .primary-content > h2, .hg-theme .primary-content .card-title { color: #eff7ff; }
.hg-theme .card, .hg-theme .panel, .hg-theme .list-group-item, .hg-theme .sidebar .list-group-item { background-color: #0b1725; border-color: #223b52; color: #d5e1ec; }
.hg-theme .card-header, .hg-theme .panel-heading { background: #0e2032; border-color: #223b52; color: #f4f8fc; }
.hg-theme .sidebar .list-group-item.active, .hg-theme .sidebar .list-group-item:hover { background: #0d8de8; color: #fff; }
.hg-theme .table { color: #cbd8e4; }
.hg-theme .table thead th { background: #0d1d2c; border-color: #263e54; color: #fff; }
.hg-theme .table td { border-color: #1c3247; }
.hg-theme .table-hover tbody tr:hover { background: #10263a; color: #fff; }
.hg-theme .form-control, .hg-theme .custom-select { background: #f6f8fb; border-color: #b9c5d0; border-radius: 5px; color: #17202b; }
.hg-theme label { color: #bdcddd; }
.hg-theme .modal-content { background: #0b1726; border: 1px solid #29445f; color: #dce7f2; }
.hg-theme .modal-header, .hg-theme .modal-footer { border-color: #253e55; }
.hg-theme .alert { border-radius: 6px; }
.hg-theme .pagination .page-link { background: #0b1726; border-color: #284159; color: #9ed5f7; }
.hg-theme .pagination .active .page-link { background: #0b91ee; color: #fff; }

/* Footer */
.hg-footer { background: #040a12 !important; border-top: 1px solid #172b3e; color: #849aae; padding: 27px 0 19px; }
.hg-footer-top { align-items: center; display: grid; grid-template-columns: 1fr auto 1fr; }
.hg-footer-brand { font-size: 1.2rem; }
.hg-footer-brand .logo-img { max-height: 40px; max-width: 210px; }
.hg-footer-nav { display: flex; gap: 22px; }
.hg-footer-nav a { color: #9bb0c4 !important; font-size: .76rem; }
.hg-footer-social { justify-self: end; margin: 0; }
.hg-footer-social a { color: #d6e4ef !important; }
.hg-footer-bottom { align-items: center; border-top: 1px solid #132536; display: flex; justify-content: space-between; margin-top: 22px; padding-top: 15px; }
.hg-footer .copyright { color: #6f8599; font-size: .7rem; }
.hg-footer-bottom .btn { color: #91a7bb; font-size: .72rem; }
.hg-footer-bottom .iti-flag { display: inline-block; margin-right: 7px; }

@media (max-width: 1199.98px) {
    .hg-header .hg-navbar { min-height: 66px; padding: 8px 0; }
    .hg-header .navbar-toggler { display: block; }
    .hg-header .navbar-collapse.collapse:not(.show) { display: none !important; }
    .hg-header .navbar-collapse.collapse.show { display: block !important; flex-basis: 100%; }
    .hg-header .navbar-collapse { border-top: 1px solid #183047; margin-top: 8px; padding: 12px 0; }
    .hg-primary-nav > li > a { padding: 11px 5px !important; }
    .hg-primary-nav > .active > a:after { display: none; }
    .hg-desktop-nav { display: none; }
    .hg-mobile-nav { display: flex; }
    .hg-header-actions { align-items: flex-start; flex-wrap: wrap; padding: 8px 0; }
    .hg-status-link, .hg-language, .hg-login, .hg-signup { min-height: 38px; }
    .hg-service-grid { grid-template-columns: repeat(2,1fr); }
    .hg-hero-label { display: none; }
    .hg-help-links { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .hg-brand-name { font-size: 1.25rem; }
    .hg-brand .logo-img { max-height: 38px; max-width: 180px; }
    .hg-hero, .hg-hero-inner { min-height: 600px; }
    .hg-hero { background-position: 62% center; }
    .hg-hero:after { background: linear-gradient(90deg,rgba(3,9,19,.97),rgba(3,9,19,.78)); }
    .hg-hero-copy { padding: 38px 0 28px; }
    .hg-hero h1 { font-size: 2.45rem; }
    .hg-hero-copy > p { font-size: 1rem; }
    .hg-hero-actions .btn { flex: 1 1 100%; }
    .hg-trust-row { display: grid; gap: 12px; grid-template-columns: repeat(2,1fr); }
    .hg-service-grid, .hg-benefits > .container, .hg-account-shortcuts .container > div { grid-template-columns: 1fr; }
    .hg-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .hg-domain-searchbox { flex-direction: column; }
    .hg-domain-searchbox > .fa-search { top: 18px; }
    .hg-domain-actions .btn { flex: 1; min-width: 0; }
    .hg-domain-layout { grid-template-columns: 1fr; }
    .hg-domain-advanced-fields { align-items: stretch; grid-template-columns: 1fr; }
    .hg-domain-promo { min-height: 190px; }
    .tld-logos { grid-template-columns: repeat(3,1fr); row-gap: 18px; }
    .tld-logos li { padding: 0 10px !important; }
    .hg-support-band > .container { gap: 25px; grid-template-columns: 1fr; }
    .hg-footer-top { gap: 22px; grid-template-columns: 1fr; text-align: center; }
    .hg-footer-brand, .hg-footer-social { justify-self: center; }
    .hg-footer-nav { flex-wrap: wrap; justify-content: center; }
    .hg-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 420px) {
    .hg-hero h1 { font-size: 2.15rem; }
    .hg-trust-row { grid-template-columns: 1fr; }
    .hg-domain-actions { flex-direction: column; }
    .tld-logos { grid-template-columns: repeat(2,1fr); }
}

/* ==========================================================================
   Client area - same visual language as the homepage (dark cards, glow, cyan)
   ========================================================================== */
.hg-theme:not(.hg-homepage) #main-body {
    background: radial-gradient(900px 380px at 88% 0, rgba(7,151,255,.10), transparent 70%),
                radial-gradient(700px 320px at 0 30%, rgba(4,212,239,.05), transparent 70%),
                #07101b;
}
.hg-theme .primary-content > h1, .hg-theme .primary-content > h2 { font-weight: 800; }

/* Stat tiles */
.hg-theme .tiles .row.no-gutters { margin-left: -6px; margin-right: -6px; }
.hg-theme .tiles .row.no-gutters > [class*="col"] { padding: 6px; }
.hg-theme .tiles .tile { background: linear-gradient(145deg,#0d1f33 0%,#091524 100%); border: 1px solid #20374e !important; border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.28); overflow: hidden; padding: 16px 20px 14px; }
.hg-theme .tiles .tile:before { background: radial-gradient(circle at 100% 0, rgba(7,151,255,.16), transparent 60%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.hg-theme .tiles .tile .stat { color: #fff; font-weight: 800; position: relative; }
.hg-theme .tiles .tile .title { color: var(--hg-muted); letter-spacing: .05em; position: relative; }
.hg-theme .tiles .tile .highlight { position: relative; }
.hg-theme .tiles .tile i { color: rgba(32,170,244,.22); z-index: 0; }
.hg-theme .tiles .tile:hover { background: linear-gradient(145deg,#10273f 0%,#0a1a2c 100%); border-color: #2f6b96 !important; box-shadow: 0 12px 34px rgba(7,151,255,.16); transform: translateY(-2px); }
.hg-theme .tiles .tile:hover i { color: rgba(4,212,239,.4); }
.hg-theme .tiles .bg-color-blue { background: linear-gradient(90deg,#087ff4,#08bff0); }
.hg-theme .tiles .bg-color-green { background: linear-gradient(90deg,#1ec46f,#25d981); }
.hg-theme .tiles .bg-color-red { background: linear-gradient(90deg,#f0455a,#ff7a86); }
.hg-theme .tiles .bg-color-gold { background: linear-gradient(90deg,#f0a12b,#f5c452); }

/* Cards / panels */
.hg-theme .card, .hg-theme .panel { background: linear-gradient(160deg,#0c1b2d 0%,#08131f 100%); border: 1px solid #20374e; border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.26); overflow: hidden; }
.hg-theme .card-header, .hg-theme .panel-heading { background: linear-gradient(90deg,rgba(13,32,50,.95),rgba(10,24,38,.95)); border-bottom: 1px solid #20374e; }
.hg-theme .card-header .card-title i, .hg-theme .panel-heading .panel-title i { color: var(--hg-cyan); }
.hg-theme .card-footer, .hg-theme .panel-footer { background: rgba(6,15,25,.7); border-top: 1px solid #1c3247; color: var(--hg-muted); }
.hg-theme .card.card-accent-gold { border-top: 3px solid #f5b942; }
.hg-theme .card.card-accent-green, .hg-theme .card.card-accent-emerald { border-top: 3px solid #25d981; }
.hg-theme .card.card-accent-red, .hg-theme .card.card-accent-pomegranate { border-top: 3px solid #ff5c6c; }
.hg-theme .card.card-accent-blue, .hg-theme .card.card-accent-midnight-blue { border-top: 3px solid var(--hg-blue); }
.hg-theme .card.card-accent-orange, .hg-theme .card.card-accent-sun-flower { border-top: 3px solid #f59f42; }
.hg-theme .card.card-accent-teal, .hg-theme .card.card-accent-turquoise { border-top: 3px solid var(--hg-cyan); }
.hg-theme .card.card-accent-purple, .hg-theme .card.card-accent-amethyst, .hg-theme .card.card-accent-magenta, .hg-theme .card.card-accent-pink { border-top: 3px solid #8b6cff; }
.hg-theme .card.card-accent-lime { border-top: 3px solid #a3e635; }
.hg-theme .card.card-accent-wet-asphalt { border-top: 3px solid #4b6a88; }
.hg-theme .card-body, .hg-theme .card-text { color: #cfdcea; }
.hg-theme .list-group-item { border-color: #1c3247; }
.hg-theme .list-group-item-action:hover, .hg-theme .list-group-item-action:focus { background: #0f2438; color: #fff; }
.hg-theme .sidebar .list-group-item { color: #c4d5e5; }
.hg-theme .sidebar .list-group-item .badge { background: rgba(7,151,255,.2); color: #7fd0ff; }
.hg-theme .sidebar .list-group-item.active .badge { background: rgba(255,255,255,.2); color: #fff; }

/* Buttons - tinted style so the accents match the palette */
.hg-theme .btn-success { background: rgba(37,217,129,.14); border: 1px solid rgba(37,217,129,.55); color: #4be79f; }
.hg-theme .btn-success:hover, .hg-theme .btn-success:focus { background: #1fc474; border-color: #25d981; color: #04140c; }
.hg-theme .btn-warning { background: rgba(245,185,66,.14); border: 1px solid rgba(245,185,66,.55); color: #f7c766; }
.hg-theme .btn-warning:hover, .hg-theme .btn-warning:focus { background: #f5b942; border-color: #f5b942; color: #1a1103; }
.hg-theme .btn-danger { background: rgba(255,92,108,.14); border: 1px solid rgba(255,92,108,.55); color: #ff8b97; }
.hg-theme .btn-danger:hover, .hg-theme .btn-danger:focus { background: #f0455a; border-color: #f0455a; color: #fff; }
.hg-theme .btn-info { background: rgba(4,212,239,.13); border: 1px solid rgba(4,212,239,.55); color: #4fe3f6; }
.hg-theme .btn-info:hover, .hg-theme .btn-info:focus { background: var(--hg-cyan); border-color: var(--hg-cyan); color: #021216; }
.hg-theme .btn-default, .hg-theme .btn-secondary, .hg-theme .btn-light { background: #0e2032; border: 1px solid #2b4963; color: #dbe9f6; }
.hg-theme .btn-default:hover, .hg-theme .btn-default:focus, .hg-theme .btn-secondary:hover, .hg-theme .btn-secondary:focus, .hg-theme .btn-light:hover { background: #12304a; border-color: #3aa6e8; color: #fff; }
.hg-theme .btn-link { color: #4bbcff; }
.hg-theme .btn-outline-primary { border-color: var(--hg-blue); color: #4bbcff; }
.hg-theme .btn-outline-primary:hover { background: var(--hg-blue); color: #fff; }
.hg-theme .btn.disabled, .hg-theme .btn:disabled { opacity: .55; }
.hg-theme .card-header .btn, .hg-theme .panel-heading .btn { font-size: .78rem; min-height: 0; padding: 5px 12px; }

/* Forms */
.hg-theme .form-control, .hg-theme .custom-select, .hg-theme .input-group-text { background-color: #071320; border: 1px solid #28445c; color: #eaf3fb; }
.hg-theme .input-group-text { color: var(--hg-muted); }
.hg-theme .form-control::placeholder { color: #6f889f; }
.hg-theme .form-control:focus, .hg-theme .custom-select:focus { background-color: #08182a; border-color: var(--hg-blue); box-shadow: 0 0 0 .2rem rgba(7,151,255,.2); color: #fff; }
.hg-theme .form-control:disabled, .hg-theme .form-control[readonly] { background-color: #0a1826; color: #8ea4b9; }
.hg-theme .custom-select option { background: #0b1726; color: #eaf3fb; }
.hg-theme .form-text, .hg-theme .text-muted, .hg-theme small.text-muted { color: #8ea4b9 !important; }
.hg-theme .custom-control-label { color: #cfdcea; }
.hg-theme .input-group .btn { min-height: 0; }

/* Tables, dropdowns, alerts, misc */
.hg-theme .table thead th { background: linear-gradient(90deg,#0d1f33,#0a1826); }
.hg-theme .table-striped tbody tr:nth-of-type(odd) { background: rgba(255,255,255,.02); }
.hg-theme .dropdown-menu { background: #0b1827; border: 1px solid var(--hg-line); border-radius: 6px; box-shadow: 0 18px 45px rgba(0,0,0,.4); }
.hg-theme .dropdown-item { color: #c9d9e8; }
.hg-theme .dropdown-item:hover, .hg-theme .dropdown-item:focus { background: #102740; color: #fff; }
.hg-theme .dropdown-divider { border-color: #1c3247; }
.hg-theme .alert-warning { background: rgba(245,185,66,.1); border-color: rgba(245,185,66,.4); color: #f7d38a; }
.hg-theme .alert-danger { background: rgba(255,92,108,.1); border-color: rgba(255,92,108,.4); color: #ff9aa4; }
.hg-theme .alert-success { background: rgba(37,217,129,.1); border-color: rgba(37,217,129,.4); color: #6ff0ae; }
.hg-theme .alert-info { background: rgba(4,212,239,.1); border-color: rgba(4,212,239,.4); color: #6ee9f8; }
.hg-theme .nav-tabs { border-color: #20374e; }
.hg-theme .nav-tabs .nav-link { color: #9db0c5; }
.hg-theme .nav-tabs .nav-link.active { background: #0b1726; border-color: #20374e #20374e #0b1726; color: #fff; }
.hg-theme .page-link:hover { background: #12304a; color: #fff; }
.hg-theme hr { border-color: #1c3247; }
.hg-theme .popover, .hg-theme .popover-body { background: #0b1827; border-color: var(--hg-line); color: #cfdcea; }
.hg-theme .popover .popover-header { background: #0e2032; border-color: var(--hg-line); color: #fff; }
.hg-theme .bs-popover-bottom > .arrow:after { border-bottom-color: #0b1827; }
.hg-theme .client-alerts li a { color: #cfdcea; }
.hg-theme .client-alerts li a:hover { background: #102740; }

/* Replace leftover light-gray borders from theme.css */
.hg-theme .client-home-cards .list-group { background: transparent; border-bottom: 1px solid #1c3247 !important; border-top: 1px solid #1c3247 !important; }
.hg-theme .client-home-cards .list-group .list-group-item { background: transparent; border-bottom: 1px solid #1c3247; color: #cfdcea; }
.hg-theme .client-home-cards .list-group .list-group-item:last-child { border-bottom: 0; }
.hg-theme .client-home-cards small { color: #8ea4b9; }
.hg-theme .client-home-cards .card-header { background: linear-gradient(90deg,rgba(13,32,50,.95),rgba(10,24,38,.95)); border-bottom: 1px solid #20374e; }
.hg-theme div[menuitemname="Active Products/Services"] .card-footer { border-top: 1px solid #1c3247; }
.hg-theme .card-footer:not(.border-0) { border-top: 1px solid #1c3247; }
.hg-theme .sidebar .list-group-item, .hg-theme .sidebar .card-body, .hg-theme .sidebar .card-footer { border-color: #1c3247; }
.hg-theme .table th, .hg-theme .table td, .hg-theme .table thead th, .hg-theme .table tbody + tbody,
.hg-theme .table-bordered, .hg-theme .table-bordered th, .hg-theme .table-bordered td { border-color: #1c3247 !important; }
.hg-theme .table .thead-light th { background: #0d1f33; color: #dbe9f6; }
.hg-theme .table-solid-bottom-border-light-gray { border-bottom-color: #1c3247; }
.hg-theme .dataTables_wrapper table.table-list { border-color: #1c3247; }
.hg-theme table.table-list thead th { background: linear-gradient(90deg,#0d1f33,#0a1826); border-bottom: 1px solid #263e54; color: #fff; }
.hg-theme .table-list > tbody > tr > td a.border-left { border-left-color: #1c3247; }
.hg-theme .view-ticket .card-body { border-bottom-color: #1c3247; }
.hg-theme .responsive-tabs-sm .nav-item { border-bottom-color: #1c3247 !important; }
.hg-theme .md-preview table, .hg-theme .markdown-content table { background: #0b1725; border-color: #1c3247; }
.hg-theme .md-preview table > thead > tr > th, .hg-theme .markdown-content table > thead > tr > th,
.hg-theme .md-preview table > tbody > tr > td, .hg-theme .markdown-content table > tbody > tr > td { border-color: #1c3247; }
.hg-theme .md-preview table > thead > tr > th, .hg-theme .markdown-content table > thead > tr > th { background: #0d1f33; color: #fff; }
.hg-theme div.credit-card { background: #0b1725; border-color: #28445c; }
.hg-theme #registration .field, .hg-theme #registration .form-control { background: #071320; border-color: #28445c; color: #eaf3fb; }
.hg-theme #registration .form-control:focus { border-color: var(--hg-blue); }
.hg-theme .border, .hg-theme .border-top, .hg-theme .border-bottom, .hg-theme .border-left, .hg-theme .border-right { border-color: #1c3247 !important; }
.hg-theme .dropdown-item.disabled, .hg-theme .btn-view-more.disabled { color: #6f889f !important; }

/* Disabled buttons: keep them dark/readable on hover (theme.css forces #fff !important) */
.hg-theme .btn-default.disabled, .hg-theme .btn-default[disabled],
.hg-theme .btn-default.disabled:hover, .hg-theme .btn-default[disabled]:hover,
.hg-theme .btn-default.disabled:focus, .hg-theme .btn-default[disabled]:focus,
.hg-theme .btn-default.disabled.focus, .hg-theme .btn-default[disabled].focus,
.hg-theme .btn-secondary.disabled, .hg-theme .btn-secondary:disabled,
.hg-theme .btn-secondary.disabled:hover, .hg-theme .btn-secondary:disabled:hover { background-color: #0b1a2a !important; border-color: #22384e !important; color: #6f889f !important; cursor: not-allowed; opacity: 1; }
.hg-theme .btn-primary.disabled, .hg-theme .btn-primary:disabled { background: #123252; border-color: #1d4a75; color: #7fa4c4; opacity: 1; }
.hg-theme .btn-success.disabled, .hg-theme .btn-warning.disabled, .hg-theme .btn-danger.disabled, .hg-theme .btn-info.disabled { opacity: .5; }
.hg-theme .btn-group .btn-default.dropdown-toggle { background: #0e2032; border-color: #2b4963; color: #dbe9f6; }

/* Remaining light surfaces from theme.css -> dark HostingGuard surfaces */
.hg-theme .announcements .announcement article { background: rgba(7,151,255,.06); border-left: 4px solid var(--hg-blue); border-radius: 0 6px 6px 0; color: #cfdcea; }
.hg-theme .announcements .announcement article p { color: #cfdcea; }
.hg-theme .announcements .announcement h1, .hg-theme .announcements .announcement h2, .hg-theme .announcements .announcement h3 { color: #4bbcff; }
.hg-theme .kb-category a:hover, .hg-theme .kb-article-item:hover { background: #10263a; }
.hg-theme .kb-category a, .hg-theme .kb-article-item a { color: #cfdcea; }
.hg-theme .view-ticket .posted-by, .hg-theme .view-ticket .attachment-list li figure { background: #0e2032; border-color: #1c3247; color: #cfdcea; }
.hg-theme .ticketfeedbackstaffcont, .hg-theme .twofa-setup .backup-code { background: #0e2032; color: #dbe9f6; }
.hg-theme .select-account a:hover { background: #10263a; }
.hg-theme .continue-container, .hg-theme .invite-box { background: #0b1a2a; border-color: #1c3247; color: #cfdcea; }
.hg-theme .md-editor > .btn-toolbar { background: #0e2032 !important; border-color: #28445c; }
.hg-theme .md-editor > textarea.markdown-editor, .hg-theme .md-editor > .md-preview { background: #071320 !important; border-color: #28445c; color: #eaf3fb; }
.hg-theme .modal .modal-header { background: #0e2032; color: #fff; }
.hg-theme .modal .close, .hg-theme .modal-header .close { color: #cfdcea; text-shadow: none; }
.hg-theme .modal-localisation .item-selector .item { color: #cfdcea; }
.hg-theme .modal-localisation .item-selector .item:hover { background: #10263a; }
.hg-theme .modal-localisation .item-selector .item.active { background: var(--hg-blue); color: #fff; }
.hg-theme .img-thumbnail { background: #0b1726; border-color: #28445c; }
.hg-theme mark, .hg-theme .mark { background: rgba(245,185,66,.25); color: #ffe2a3; }
.hg-theme .responsive-tabs-sm, .hg-theme .responsive-tabs-sm .nav-item a.active, .hg-theme .responsive-tabs-sm-connector .channel { background: #0b1726 !important; border-color: #1c3247; }
.hg-theme .responsive-tabs-sm .nav-item a:hover { background: #10263a; }
.hg-theme .action-icon-btns a { background: #0e2032; border-color: #2b4963; color: #dbe9f6; }
.hg-theme .table-list > tbody > tr > td { background: transparent; color: #cbd8e4; }
.hg-theme .table-list > tbody > tr:hover > td { background: #10263a; color: #fff; }
.hg-theme .dataTables_wrapper table.table-list thead th.sorting_asc, .hg-theme .dataTables_wrapper table.table-list thead th.sorting_desc { background: #12304a; }
.hg-theme .invoice-summary-table td.total-row, .hg-theme tr.masspay-total td { background: #0e2032; color: #fff; }
.hg-theme div.product-details div.product-icon { background: #0e2032; }
.hg-theme div.product-details-tab-container { background: #0b1726; border-color: #1c3247; }
.hg-theme .upgrade .product-to-be-upgraded, .hg-theme .upgrade .products .product { background: #0b1726; border-color: #28445c; color: #cfdcea; }
.hg-theme .store-order-container .store-domain-tabs li a { background: #0e2032; color: #cfdcea; }
.hg-theme .store-order-container .store-domain-tabs li.active a { background: #0b1726; color: #fff; }
.hg-theme .promo-container, .hg-theme .promo-banner { background: #0b1726; border-color: #1c3247; color: #cfdcea; }
.hg-theme .featured-tld { background: #0b1726; border-color: #1c3247; color: #cfdcea; }
.hg-theme .featured-tld .price { background: #0e2032; color: #fff; }
.hg-theme .domain-pricing .tld-row.highlighted { background: #10263a; }
.hg-theme .domain-pricing .tld-pricing-header .col-xs-2, .hg-theme .domain-pricing .tld-pricing-header .col-sm-2,
.hg-theme .domain-pricing .tld-pricing-header div:nth-child(odd) { background: #0e2032; color: #fff; }
.hg-theme .form-control option, .hg-theme select option { background: #0b1726; color: #eaf3fb; }
.hg-theme .sidebar .list-group-item .badge { background: rgba(7,151,255,.2); }
.hg-theme .card-title.bg-primary, .hg-theme .card-title.bg-info, .hg-theme .card-title.bg-warning, .hg-theme .card-title.bg-danger { border-radius: 0; }
.hg-theme .jumbotron, .hg-theme .well { background: #0b1726; border-color: #1c3247; color: #cfdcea; }
.hg-theme .announcements .announcement > h2 a, .hg-theme .announcements h1 { color: #4bbcff; }
.hg-theme .text-domain, .hg-theme .text-black-50 { color: #9db0c5; }
.hg-theme blockquote { border-left-color: var(--hg-blue); color: #cfdcea; }
.hg-theme code { background: rgba(255,255,255,.06); color: #ffb3c0; }
.hg-theme pre { background: #071320; border: 1px solid #1c3247; color: #cfdcea; }

/* Homepage domain search: dark glass field + solid brand button (replaces the white bar) */
.hg-theme .hg-domain-searchbox { gap: 12px; }
.hg-theme .hg-domain-searchbox > .fa-search, .hg-theme .hg-domain-searchbox > .far.fa-search { color: var(--hg-cyan); opacity: .85; }
.hg-theme .hg-domain-searchbox .form-control,
.hg-theme .hg-domain-searchbox textarea { background: linear-gradient(145deg,rgba(13,31,51,.96),rgba(7,19,32,.96)); border: 1px solid #2b4963; box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 10px 28px rgba(0,0,0,.28); color: #eaf3fb; transition: border-color .2s ease, box-shadow .2s ease; }
.hg-theme .hg-domain-searchbox .form-control::placeholder,
.hg-theme .hg-domain-searchbox textarea::placeholder { color: #7891aa; }
.hg-theme .hg-domain-searchbox .form-control:hover,
.hg-theme .hg-domain-searchbox textarea:hover { border-color: #3b6b91; }
.hg-theme .hg-domain-searchbox .form-control:focus,
.hg-theme .hg-domain-searchbox textarea:focus { background: #08182a; border-color: var(--hg-blue); box-shadow: 0 0 0 .2rem rgba(7,151,255,.22), 0 10px 28px rgba(0,0,0,.28); color: #fff; outline: 0; }
.hg-theme .hg-domain-actions .btn-primary,
.hg-theme .hg-domain-actions .btn-primary:disabled,
.hg-theme .hg-domain-actions .btn-primary.disabled { background: linear-gradient(100deg,#087ff4,#08bff0); border-color: #149def; box-shadow: 0 8px 24px rgba(0,145,255,.25); color: #fff; opacity: 1; }
.hg-theme .hg-domain-actions .btn-primary:hover { background: #168df4; border-color: #35aaff; color: #fff; }
.hg-theme .hg-domain-links a, .hg-theme .hg-domain-links .btn-link { color: #4bbcff; }
.hg-theme .hg-domain-advanced summary { color: var(--hg-muted); }
.hg-theme .hg-domain-advanced summary:hover { color: #fff; }
