/* ============================================================
   GeHost — tema do painel do cliente (base: twenty-one)
   Identidade: azul GeHost #1a73e8, clean estilo gehost.com.br
   Carregado DEPOIS de theme.min.css — só overrides + layout novo
   ============================================================ */

:root {
    --gh-primary: #1a73e8;
    --gh-primary-dark: #1557b0;
    --gh-primary-soft: rgba(26, 115, 232, 0.09);
    --gh-primary-soft2: rgba(26, 115, 232, 0.16);
    --gh-accent: #10b981;
    --gh-danger: #e5484d;
    --gh-warning: #f5a524;
    --gh-bg: #f6f8fb;
    --gh-surface: #ffffff;
    --gh-border: #e6e9f0;
    --gh-text: #1f2937;
    --gh-text-soft: #5f6b7c;
    --gh-radius: 16px;
    --gh-radius-sm: 10px;
    --gh-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 2px 8px rgba(16, 24, 40, 0.06);
    --gh-shadow-lg: 0 10px 30px rgba(16, 24, 40, 0.12);
    --gh-indigo: #6366f1;
    --gh-green: #10b981;
    --gh-amber: #f59e0b;
    --gh-purple: #8b5cf6;
    --gh-rose: #ec4899;
    --gh-teal: #14b8a6;
    --gh-red: #ef4444;
    --gh-sidebar-w: 232px;
    --gh-sidebar-w-min: 76px;
    --gh-topbar-h: 64px;
    --gh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
body.gehost-theme {
    font-family: var(--gh-font);
    background: var(--gh-bg) !important;
    color: var(--gh-text);
    -webkit-font-smoothing: antialiased;
}
body.gehost-theme.primary-bg-color { background: var(--gh-bg) !important; }
body.gehost-theme a { color: var(--gh-primary); }
body.gehost-theme a:hover { color: var(--gh-primary-dark); }

/* ============================================================
   LAYOUT: sidebar fixa + main deslocado (logado)
   ============================================================ */
.gh-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--gh-sidebar-w);
    background: var(--gh-surface);
    border-right: 1px solid var(--gh-border);
    display: flex;
    flex-direction: column;
    z-index: 1040;
    transition: width .2s ease, transform .25s ease;
}
body.gh-logged .gh-main {
    margin-left: var(--gh-sidebar-w);
    transition: margin-left .2s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.gh-logged .gh-main > #main-body { flex: 1 0 auto; }

/* colapsado (desktop) */
html.gh-sb-collapsed .gh-sidebar { width: var(--gh-sidebar-w-min); }
html.gh-sb-collapsed body.gh-logged .gh-main { margin-left: var(--gh-sidebar-w-min); }
html.gh-sb-collapsed .gh-nav-label,
html.gh-sb-collapsed .gh-brand-name,
html.gh-sb-collapsed .gh-brand-logo,
html.gh-sb-collapsed .gh-nav-caret,
html.gh-sb-collapsed .gh-nav-badge,
html.gh-sb-collapsed .gh-submenu { display: none !important; }
html.gh-sb-collapsed .gh-brand-link { display: none; }
html.gh-sb-collapsed .gh-sidebar-brand { justify-content: center; }
html.gh-sb-collapsed .gh-nav-link,
html.gh-sb-collapsed .gh-cta-order { justify-content: center; padding-left: 0; padding-right: 0; }
html.gh-sb-collapsed .gh-sb-collapse i { transform: rotate(180deg); }
html.gh-sb-collapsed .gh-cta-order i { margin-right: 0; }

/* mobile: drawer */
@media (max-width: 991.98px) {
    .gh-sidebar { transform: translateX(-105%); box-shadow: var(--gh-shadow-lg); width: var(--gh-sidebar-w) !important; }
    body.gh-sb-open .gh-sidebar { transform: translateX(0); }
    body.gh-logged .gh-main { margin-left: 0 !important; }
    body.gh-sb-open .gh-backdrop {
        display: block;
        position: fixed; inset: 0;
        background: rgba(15, 23, 42, .45);
        z-index: 1035;
    }
    html.gh-sb-collapsed .gh-nav-label,
    html.gh-sb-collapsed .gh-brand-name,
    html.gh-sb-collapsed .gh-brand-logo,
    html.gh-sb-collapsed .gh-nav-caret,
    html.gh-sb-collapsed .gh-nav-badge { display: inline-block !important; }
    html.gh-sb-collapsed .gh-submenu { display: block !important; }
}
.gh-backdrop { display: none; }

/* ---------- sidebar: marca ---------- */
.gh-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--gh-topbar-h);
    padding: 0 16px;
    border-bottom: 1px solid var(--gh-border);
    flex: 0 0 auto;
}
.gh-brand-link { display: flex; align-items: center; gap: 8px; text-decoration: none !important; min-width: 0; }
.gh-brand-logo { max-height: 34px; max-width: 150px; }
.gh-brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(135deg, var(--gh-primary), #5a9cf5);
    color: #fff; font-weight: 700; font-size: 15px;
    flex: 0 0 auto;
}
.gh-brand-name {
    font-weight: 700; font-size: 17px; color: var(--gh-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gh-sb-collapse {
    border: 0; background: transparent; color: var(--gh-text-soft);
    width: 30px; height: 30px; border-radius: 8px;
    align-items: center; justify-content: center; cursor: pointer;
    transition: background .15s ease;
}
.gh-sb-collapse:hover { background: var(--gh-primary-soft); color: var(--gh-primary); }

/* ---------- sidebar: navegação ---------- */
.gh-nav { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding: 12px 10px; }
.gh-nav::-webkit-scrollbar { width: 5px; }
.gh-nav::-webkit-scrollbar-thumb { background: #d3d9e4; border-radius: 4px; }
.gh-nav-list { list-style: none; margin: 0; padding: 0; }
.gh-nav-sep { height: 1px; background: var(--gh-border); margin: 10px 6px; }
.gh-nav-item { margin: 2px 0; }
.gh-nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--gh-text-soft) !important;
    font-size: 14.5px; font-weight: 500;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease;
    position: relative;
}
.gh-nav-link:hover { background: #f0f3f9; color: var(--gh-text) !important; }
.gh-nav-item.gh-active > .gh-nav-link,
.gh-nav-link.gh-active {
    background: var(--gh-primary-soft);
    color: var(--gh-primary) !important;
    font-weight: 600;
    border-radius: 999px;
}
.gh-nav-link { border-radius: 999px; }
.gh-nav-icon { width: 22px; text-align: center; font-size: 15px; flex: 0 0 auto; }
/* ícones coloridos por seção (geração Z friendly) */
.gh-nav-item[menuitemname="Home"] .gh-nav-icon i { color: var(--gh-primary); }
.gh-nav-item[menuitemname="Services"] .gh-nav-icon i { color: var(--gh-indigo); }
.gh-nav-item[menuitemname="Domains"] .gh-nav-icon i { color: var(--gh-green); }
.gh-nav-item[menuitemname="Billing"] .gh-nav-icon i { color: var(--gh-amber); }
.gh-nav-item[menuitemname="Support"] .gh-nav-icon i { color: var(--gh-purple); }
.gh-nav-item[menuitemname="Open Ticket"] .gh-nav-icon i { color: var(--gh-rose); }
.gh-nav-item[menuitemname="Affiliates"] .gh-nav-icon i { color: var(--gh-teal); }
.gh-nav-item[menuitemname="Account"] .gh-nav-icon i { color: #64748b; }
.gh-nav-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gh-nav-caret { margin-left: auto; font-size: 10px; opacity: .55; transition: transform .18s ease; }
.gh-nav-item.gh-open > .gh-nav-link .gh-nav-caret { transform: rotate(180deg); }
.gh-nav-badge {
    margin-left: auto;
    background: var(--gh-primary); color: #fff;
    font-size: 10.5px; border-radius: 99px; padding: 3px 7px;
}
.gh-submenu {
    list-style: none; margin: 2px 0 4px; padding: 0 0 0 34px;
    display: none;
}
.gh-nav-item.gh-open > .gh-submenu { display: block; }
.gh-submenu-link {
    display: block; padding: 7px 10px; border-radius: 8px;
    color: var(--gh-text-soft) !important; font-size: 13.5px;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease;
}
.gh-submenu-link:hover { background: #f0f3f9; color: var(--gh-text) !important; }
.gh-submenu-link.gh-active { color: var(--gh-primary) !important; font-weight: 600; }
.gh-submenu-divider { height: 1px; background: var(--gh-border); margin: 6px 10px; }

/* ---------- sidebar: rodapé ---------- */
.gh-sidebar-foot { flex: 0 0 auto; padding: 12px 10px; border-top: 1px solid var(--gh-border); }
.gh-cta-order {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--gh-primary); color: #fff !important;
    border-radius: 10px; padding: 10px 12px;
    font-weight: 600; font-size: 14px;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(26, 115, 232, .35);
    transition: background .15s ease, box-shadow .15s ease;
    margin-bottom: 6px;
}
.gh-cta-order:hover { background: var(--gh-primary-dark); box-shadow: 0 4px 10px rgba(26, 115, 232, .4); }
.gh-logout:hover { color: var(--gh-danger) !important; background: rgba(229, 72, 77, .08); }

/* ============================================================
   TOPBAR (logado)
   ============================================================ */
body.gh-logged #header.header { background: transparent; border: 0; box-shadow: none; }
.gh-topbar {
    display: flex; align-items: center; gap: 10px;
    height: var(--gh-topbar-h);
    padding: 0 20px;
    background: var(--gh-surface);
    border-bottom: 1px solid var(--gh-border);
    position: sticky; top: 0; z-index: 1030;
}
.gh-hamburger {
    border: 0; background: transparent; font-size: 18px;
    color: var(--gh-text); width: 40px; height: 40px; border-radius: 10px;
    cursor: pointer;
}
.gh-hamburger:hover { background: var(--gh-primary-soft); color: var(--gh-primary); }
.gh-topbar-search { flex: 0 1 480px; margin: 0; }
.gh-topbar-search .input-group.search {
    width: 100%;
    background: #eef2f9;
    border: 1px solid transparent;
    border-radius: 999px;
    overflow: hidden;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.gh-topbar-search .input-group.search:focus-within {
    background: #fff;
    border-color: var(--gh-primary);
    box-shadow: 0 0 0 4px var(--gh-primary-soft);
}
.gh-topbar-search .btn.btn-default {
    background: transparent; border: 0;
    border-radius: 999px 0 0 999px; color: var(--gh-text-soft);
    padding-left: 18px;
}
.gh-topbar-search .btn.btn-default:hover { color: var(--gh-primary); border: 0; }
.gh-topbar-search .form-control {
    background: transparent; border: 0;
    border-radius: 0 999px 999px 0; height: 44px; font-size: 14px;
    box-shadow: none;
}
.gh-topbar-search .form-control:focus { background: transparent; border: 0; box-shadow: none; }
.gh-topbar-tools { display: flex; align-items: center; gap: 6px; }
.gh-topbar-btn {
    position: relative;
    border: 0 !important; background: transparent;
    color: var(--gh-text-soft) !important;
    width: 40px; height: 40px; border-radius: 10px !important;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 !important;
    font-size: 16px;
}
.gh-topbar-btn:hover { background: var(--gh-primary-soft); color: var(--gh-primary) !important; }
.gh-alert-count {
    position: absolute; top: 4px; right: 3px;
    font-size: 9.5px; padding: 2px 5px; border-radius: 99px;
    background: var(--gh-danger); color: #fff;
}
.gh-topbar .cart-btn .badge { position: absolute; top: 3px; right: 1px; font-size: 9.5px; }
.gh-active-client .btn-group { align-items: center; }
.gh-active-client .btn-active-client {
    display: inline-flex; align-items: center; gap: 9px;
    background: transparent; border: 1px solid var(--gh-border) !important;
    border-radius: 99px !important; padding: 5px 14px 5px 6px !important;
    color: var(--gh-text) !important; font-weight: 600; font-size: 13.5px;
}
.gh-active-client .btn-active-client:hover { border-color: var(--gh-primary) !important; background: var(--gh-primary-soft); }
.gh-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gh-primary), #5a9cf5);
    color: #fff; font-size: 12.5px; flex: 0 0 auto;
}
.gh-client-name { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* breadcrumb (logado) */
body.gh-logged .master-breadcrumb {
    background: transparent; border: 0; box-shadow: none;
    padding: 14px 6px 0;
}
body.gh-logged .master-breadcrumb .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: 13px; }
body.gh-logged .master-breadcrumb .container,
body.gh-logged #main-body > .container { max-width: 1280px; }

/* ============================================================
   CARDS, PAINÉIS, TABELAS — o miolo
   ============================================================ */
body.gehost-theme .card {
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow);
}
body.gehost-theme .card .card-header {
    background: transparent;
    border-bottom: 1px solid var(--gh-border);
    border-radius: var(--gh-radius) var(--gh-radius) 0 0 !important;
    font-weight: 600;
}
body.gehost-theme .card .card-title { font-size: 15.5px; font-weight: 600; color: var(--gh-text); }
body.gehost-theme .card .card-footer { background: #fafbfe; border-top: 1px solid var(--gh-border); border-radius: 0 0 var(--gh-radius) var(--gh-radius) !important; }

/* acentos dos painéis do dashboard: barra viva no topo (estilo KOREOS) */
body.gehost-theme .card[class*="card-accent-"] { border-top-width: 4px; }
body.gehost-theme .card.card-accent-red { border-top-color: var(--gh-red); }
body.gehost-theme .card.card-accent-orange,
body.gehost-theme .card.card-accent-gold { border-top-color: var(--gh-amber); }
body.gehost-theme .card.card-accent-green,
body.gehost-theme .card.card-accent-emerald { border-top-color: var(--gh-green); }
body.gehost-theme .card.card-accent-blue,
body.gehost-theme .card.card-accent-info { border-top-color: var(--gh-primary); }
body.gehost-theme .card.card-accent-purple { border-top-color: var(--gh-purple); }
body.gehost-theme .card.card-accent-asbestos,
body.gehost-theme .card.card-accent-light-blue { border-top-color: var(--gh-indigo); }

/* itens de lista dos painéis: chip de ícone + respiro */
body.gehost-theme .client-home-cards .list-group-item {
    padding: 12px 18px;
    font-size: 14px;
    transition: background .15s ease;
}
body.gehost-theme .client-home-cards .list-group-item:hover { background: #f6f9ff; }

/* tabelas */
body.gehost-theme .table thead th {
    background: #fafbfe;
    color: var(--gh-text-soft);
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em;
    border-top: 0; border-bottom: 1px solid var(--gh-border);
}
body.gehost-theme .table td { vertical-align: middle; border-color: var(--gh-border); }
body.gehost-theme .table-hover tbody tr:hover { background: #f6f9ff; }
body.gehost-theme .dataTables_wrapper .table { margin-bottom: .5rem; }

/* botões */
body.gehost-theme .btn { border-radius: 10px; font-weight: 500; }
body.gehost-theme .btn-primary,
body.gehost-theme .marketing-connect-splash .btn.btn-cta {
    background: var(--gh-primary) !important;
    border-color: var(--gh-primary) !important;
    color: #fff !important;
}
body.gehost-theme .btn-primary:hover,
body.gehost-theme .btn-primary:focus,
body.gehost-theme .btn-primary:active {
    background: var(--gh-primary-dark) !important;
    border-color: var(--gh-primary-dark) !important;
}
body.gehost-theme .btn-success {
    background: var(--gh-accent) !important;
    border-color: var(--gh-accent) !important;
    color: #fff !important;
}
body.gehost-theme .btn-success:hover,
body.gehost-theme .btn-success:focus,
body.gehost-theme .btn-success:active {
    background: #0d9668 !important;
    border-color: #0d9668 !important;
}
body.gehost-theme .btn-default {
    background: #fff; border: 1px solid var(--gh-border); color: var(--gh-text);
}
body.gehost-theme .btn-default:hover { border-color: var(--gh-primary); color: var(--gh-primary); }
body.gehost-theme .btn-link { color: var(--gh-primary); }

/* forms */
body.gehost-theme .form-control { border-radius: 10px; border-color: #d6dbe6; }
body.gehost-theme .form-control:focus {
    border-color: var(--gh-primary);
    box-shadow: 0 0 0 3px var(--gh-primary-soft2);
}
body.gehost-theme .input-group-text { border-radius: 10px 0 0 10px; border-color: #d6dbe6; background: #f7f9fc; }
body.gehost-theme .custom-select { border-radius: 10px; }

/* alerts */
body.gehost-theme .alert { border-radius: var(--gh-radius-sm); border: 0; }
body.gehost-theme .alert-info { background: var(--gh-primary-soft); color: var(--gh-primary-dark); }

/* badges/status — mantém a semântica do WHMCS, refina a forma */
body.gehost-theme .label, body.gehost-theme .status, body.gehost-theme .badge { border-radius: 99px; }

/* paginação */
body.gehost-theme .page-item.active .page-link { background: var(--gh-primary); border-color: var(--gh-primary); }
body.gehost-theme .page-link { color: var(--gh-primary); }

/* nav pills / tabs do WHMCS */
body.gehost-theme .nav-tabs .nav-link.active { color: var(--gh-primary); border-bottom-color: var(--gh-primary); }
body.gehost-theme .nav-pills .nav-link.active { background: var(--gh-primary); }

/* sidebars de contexto (dentro do conteúdo — mantidas) */
body.gehost-theme .card-sidebar .card-header { background: transparent; }
body.gehost-theme .card-sidebar .list-group-item.active {
    background: var(--gh-primary-soft);
    color: var(--gh-primary);
    border-left: 3px solid var(--gh-primary);
    font-weight: 600;
}

/* ============================================================
   DASHBOARD (clientareahome) — V2 KOREOS × HostGator
   ============================================================ */
.gh-welcome {
    display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow);
    padding: 18px 22px;
    margin: 4px 0 20px;
    position: relative;
    overflow: hidden;
}
.gh-welcome::before {
    content: "";
    position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--gh-primary), var(--gh-indigo), var(--gh-purple));
}
.gh-welcome-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gh-primary), var(--gh-indigo));
    color: #fff; font-size: 22px; font-weight: 700;
    flex: 0 0 auto;
    box-shadow: 0 4px 12px rgba(26, 115, 232, .35);
}
.gh-welcome-txt h1 { font-size: 22px; font-weight: 700; color: var(--gh-text); margin: 0; }
.gh-welcome-txt .gh-sub { color: var(--gh-text-soft); font-size: 13.5px; margin: 3px 0 0; }
.gh-welcome-meta { display: flex; align-items: center; }
.gh-status-badge {
    display: inline-flex; align-items: center; gap: 7px;
    border-radius: 999px; padding: 6px 14px;
    font-size: 12.5px; font-weight: 600;
}
.gh-status-ok { background: rgba(16, 185, 129, .12); color: #0d9668; }
.gh-status-off { background: #eef1f6; color: var(--gh-text-soft); }
.gh-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.gh-status-ok .gh-dot { animation: ghPulse 2s infinite; }
@keyframes ghPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .35); }
    50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
}
.gh-head-actions { margin-left: auto; display: flex; gap: 8px; }

/* card "precisa de atenção" (estilo 緊急 KOREOS) */
.gh-attention {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-top: 4px solid var(--gh-red);
    border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow);
    padding: 14px 20px;
    margin-bottom: 20px;
}
.gh-att-icon {
    width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(239, 68, 68, .12); color: var(--gh-red); font-size: 16px;
}
.gh-att-txt { display: flex; flex-direction: column; gap: 1px; }
.gh-att-txt strong { color: var(--gh-text); font-size: 14.5px; }
.gh-att-txt span { color: var(--gh-text-soft); font-size: 13.5px; }
.gh-att-btn {
    margin-left: auto;
    background: var(--gh-red) !important; color: #fff !important;
    border-radius: 999px !important; padding: 8px 20px !important;
    font-weight: 600; border: 0 !important;
}
.gh-att-btn:hover { background: #dc2626 !important; }

/* card links de ajuda (estilo HostGator) */
.gh-help-card {
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow);
    padding: 18px 20px;
    margin-bottom: 20px;
}
.gh-help-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.gh-help-head i { color: var(--gh-primary); }
.gh-help-head strong { font-size: 15.5px; color: var(--gh-text); }
.gh-help-head .gh-sub { color: var(--gh-text-soft); font-size: 13px; }
.gh-help-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 10px;
}
.gh-help-item {
    display: flex; align-items: center; gap: 12px;
    border: 1px solid var(--gh-border);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--gh-text) !important;
    font-size: 14px; font-weight: 500;
    text-decoration: none !important;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.gh-help-item:hover {
    border-color: rgba(26, 115, 232, .4);
    box-shadow: var(--gh-shadow);
    transform: translateY(-1px);
}
.gh-help-arrow { margin-left: auto; font-size: 11px; color: #c3cad6; }
.gh-chip {
    width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.gh-chip-blue { background: rgba(26, 115, 232, .12); color: var(--gh-primary); }
.gh-chip-purple { background: rgba(139, 92, 246, .12); color: var(--gh-purple); }
.gh-chip-green { background: rgba(16, 185, 129, .12); color: #0d9668; }
.gh-chip-orange { background: rgba(245, 158, 11, .14); color: #c77d00; }

/* mobile: na home, dashboard vem ANTES da coluna de contexto (Your Info etc.) */
@media (max-width: 991.98px) {
    body.page-clientareahome #main-body .row > .col-lg-4.col-xl-3 { order: 2; }
    body.page-clientareahome #main-body .row > .primary-content { order: 1; }
}

/* chat flutuante (FAB) */
.gh-chat-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 1050;
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, var(--gh-primary), var(--gh-indigo));
    color: #fff !important;
    border-radius: 999px;
    padding: 14px 22px;
    font-size: 15px; font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(26, 115, 232, .45);
    transition: transform .15s ease, box-shadow .15s ease;
}
.gh-chat-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26, 115, 232, .55); }
.gh-chat-fab i { font-size: 18px; }
.gh-fab-badge {
    position: absolute; top: -4px; right: -2px;
    background: var(--gh-red); color: #fff;
    font-size: 11px; font-weight: 700;
    border-radius: 999px; padding: 2px 7px;
    border: 2px solid #fff;
}
@media (max-width: 575.98px) {
    .gh-chat-fab { padding: 15px; }
    .gh-chat-fab .gh-fab-label { display: none; }
}

/* tiles nativos do twenty-one → stat cards GeHost */
body.gehost-theme .tiles .row.no-gutters { margin: 0 -8px; }
body.gehost-theme .tiles .row.no-gutters > [class*="col-"] { padding: 0 8px; margin-bottom: 16px; }
body.gehost-theme .tiles .tile {
    display: block; position: relative;
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow);
    padding: 20px 18px 18px 74px;
    min-height: 100px;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    overflow: hidden;
}
body.gehost-theme .tiles .tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--gh-shadow-lg);
    border-color: rgba(26, 115, 232, .35);
}
body.gehost-theme .tiles .tile i {
    position: absolute; left: 16px; top: 26px;
    width: 44px; height: 44px; line-height: 44px; text-align: center;
    border-radius: 14px; font-size: 18px;
    background: var(--gh-primary-soft); color: var(--gh-primary);
}
body.gehost-theme .tiles .tile .stat {
    font-size: 32px; font-weight: 800; color: var(--gh-text); line-height: 1.05;
}
body.gehost-theme .tiles .tile .title {
    font-size: 12px; font-weight: 700; color: var(--gh-text-soft);
    text-transform: uppercase; letter-spacing: .06em; margin-top: 3px;
}
body.gehost-theme .tiles .tile .highlight { display: none; }
/* cores por tile (ordem twenty-one: serviços/domínios/tickets/faturas) */
body.gehost-theme .tiles .tile .fa-globe { background: rgba(16, 185, 129, .12); color: #0d9668; }
body.gehost-theme .tiles .tile .fa-comments { background: rgba(139, 92, 246, .12); color: #7c3aed; }
body.gehost-theme .tiles .tile .fa-credit-card { background: rgba(245, 158, 11, .15); color: #c77d00; }
/* fatura em aberto = tile em alerta */
body.gehost-theme .tiles .tile.gh-tile-warn { border-top: 4px solid var(--gh-amber); }
body.gehost-theme .tiles .tile.gh-tile-warn .stat { color: #c77d00; }
body.gehost-theme .tiles .tile.gh-tile-warn i { background: rgba(245, 158, 11, .18); color: #c77d00; }

/* painéis home em grid mais respirado */
body.gehost-theme .client-home-cards .card { margin-bottom: 20px; }
body.gehost-theme .client-home-cards .list-group-item { border-color: var(--gh-border); }

/* ============================================================
   GUEST (login / registro / loja deslogada) — V2.1
   ============================================================ */
/* topbar minimalista */
.gh-guest-topbar {
    background: var(--gh-surface);
    border-bottom: 1px solid var(--gh-border);
    padding: 12px 0;
}
.gh-guest-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gh-guest-brand .logo-img { max-height: 40px; }
.gh-guest-actions { display: flex; align-items: center; gap: 8px; }
.gh-lang-btn {
    display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid var(--gh-border) !important;
    border-radius: 999px !important;
    padding: 7px 16px !important;
    font-size: 13.5px; color: var(--gh-text-soft) !important;
    background: transparent;
}
.gh-lang-btn:hover { border-color: var(--gh-primary) !important; color: var(--gh-primary) !important; }
.gh-guest-cart { position: relative; }
.gh-guest-cart .badge { position: absolute; top: 1px; right: -1px; font-size: 9.5px; }
.gh-guest-cta {
    background: var(--gh-primary) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 8px 20px !important;
    font-weight: 600; font-size: 14px;
    border: 0 !important;
    box-shadow: 0 2px 8px rgba(26, 115, 232, .3);
}
.gh-guest-cta:hover { background: var(--gh-primary-dark) !important; }

/* fundo geral guest */
body.gh-guest #main-body {
    background:
        radial-gradient(1000px 480px at 85% -10%, rgba(26, 115, 232, .10), transparent 60%),
        radial-gradient(800px 420px at -10% 100%, rgba(16, 185, 129, .06), transparent 55%);
}
body.gh-guest .login-form .h3 { font-weight: 700; color: var(--gh-text); }

/* ---------- AUTH HERO (login) — split-screen ---------- */
body.page-login .master-breadcrumb,
body[class*="page-password-reset"] .master-breadcrumb,
body.page-clientregister .master-breadcrumb,
body.page-two-factor-challenge .master-breadcrumb { display: none; }

body.page-login #main-body { background: none; padding: 0; }
body.page-login #main-body > .container { max-width: none; padding: 0; }
body.page-login #main-body .row { margin: 0; }
body.page-login #main-body .primary-content { padding: 0; }

.gh-auth {
    display: flex;
    min-height: calc(100vh - 65px);
}
.gh-auth-brand {
    flex: 1 1 52%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a73e8 0%, #4f46e5 55%, #7c3aed 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}
.gh-auth-brand-inner { position: relative; z-index: 2; max-width: 460px; }
.gh-auth-mark {
    width: 58px; height: 58px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff; font-weight: 800; font-size: 24px;
    margin-bottom: 26px;
}
.gh-auth-brand h2 {
    font-size: 34px; font-weight: 800; line-height: 1.22;
    letter-spacing: -.5px; margin-bottom: 16px; color: #fff;
}
.gh-auth-brand p { font-size: 16px; color: rgba(255, 255, 255, .85); margin-bottom: 26px; }
.gh-auth-feats { list-style: none; padding: 0; margin: 0; }
.gh-auth-feats li {
    display: flex; align-items: center; gap: 10px;
    font-size: 14.5px; color: rgba(255, 255, 255, .92);
    padding: 6px 0;
}
.gh-auth-feats i { color: #7ef0c3; }
.gh-auth-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.gh-auth-glow-1 { width: 420px; height: 420px; background: #60a5fa; top: -140px; right: -120px; }
.gh-auth-glow-2 { width: 380px; height: 380px; background: #a78bfa; bottom: -140px; left: -100px; }

.gh-auth-panel {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--gh-bg);
}
.gh-auth-panel .login-form { width: 100%; max-width: 440px; }
.gh-auth-card {
    border: 1px solid var(--gh-border);
    border-radius: 20px !important;
    box-shadow: var(--gh-shadow-lg);
}
.gh-auth-card .card-body { padding-top: 2.4rem !important; padding-bottom: 2rem !important; }
.gh-auth-submit {
    background: linear-gradient(135deg, var(--gh-primary), var(--gh-indigo)) !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 12px 20px !important;
    font-weight: 700; font-size: 15px;
    box-shadow: 0 6px 18px rgba(26, 115, 232, .35);
    transition: transform .15s ease, box-shadow .15s ease;
}
.gh-auth-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(26, 115, 232, .45); }
.gh-auth-card-foot {
    background: #fafbfe;
    border-radius: 0 0 20px 20px !important;
    text-align: center;
}
.gh-auth-remember { font-size: 13.5px; color: var(--gh-text-soft); }

/* sociais: divisor + pills centrados */
.gh-auth-social { width: 100%; max-width: 440px; margin-top: 22px; }
.gh-auth-social::before {
    content: "ou continue com";
    display: block;
    text-align: center;
    font-size: 12.5px;
    color: var(--gh-text-soft);
    margin-bottom: 14px;
    position: relative;
}
.gh-auth-social .social-signin-btns {
    display: flex; flex-wrap: wrap; gap: 10px;
    align-items: center; justify-content: center;
}
.gh-auth-social .social-signin-btns > * { margin: 0 !important; }
.gh-auth-social .btn {
    border-radius: 999px !important;
}

/* mobile: hero vira topo compacto */
@media (max-width: 991.98px) {
    .gh-auth { flex-direction: column; min-height: 0; }
    .gh-auth-brand { flex: none; padding: 34px 24px; }
    .gh-auth-brand h2 { font-size: 24px; }
    .gh-auth-brand h2 br { display: none; }
    .gh-auth-brand p { font-size: 14.5px; margin-bottom: 16px; }
    .gh-auth-feats li { font-size: 13.5px; padding: 4px 0; }
    .gh-auth-panel { padding: 26px 16px 40px; }
}

/* footer guest slim */
body.gh-guest #footer.footer { padding: 18px 0; margin-top: 0; background: var(--gh-surface); }
body.gh-guest #footer.footer .list-inline.float-lg-right li:not(:last-child) { display: none; }
body.gh-guest #footer.footer .mb-7 { margin-bottom: .5rem !important; }
body.page-login #footer.footer { border-top: 0; }

/* ============================================================
   FOOTER slim
   ============================================================ */
body.gehost-theme #footer.footer {
    background: transparent;
    border-top: 1px solid var(--gh-border);
    color: var(--gh-text-soft);
    padding: 22px 0;
    margin-top: 28px;
}
body.gehost-theme #footer.footer .nav-link { color: var(--gh-text-soft); font-size: 13.5px; }
body.gehost-theme #footer.footer .nav-link:hover { color: var(--gh-primary); }
body.gehost-theme #footer.footer .copyright { font-size: 13px; }
body.gehost-theme #footer.footer .btn { color: var(--gh-text-soft); }

/* ============================================================
   Miudezas / polish
   ============================================================ */
body.gehost-theme .popover { border-radius: var(--gh-radius-sm); box-shadow: var(--gh-shadow-lg); border: 1px solid var(--gh-border); }
body.gehost-theme .dropdown-menu { border-radius: var(--gh-radius-sm); box-shadow: var(--gh-shadow-lg); border: 1px solid var(--gh-border); }
body.gehost-theme .modal-content { border-radius: 14px; border: 0; box-shadow: var(--gh-shadow-lg); }
body.gehost-theme .progress { border-radius: 99px; }
body.gehost-theme .progress-bar { background-color: var(--gh-primary); }
body.gehost-theme ::selection { background: var(--gh-primary-soft2); }

/* botões coloridos do twenty-one (bg-color-*) → identidade GeHost */
body.gehost-theme .btn.bg-color-green,
body.gehost-theme .btn.bg-color-blue,
body.gehost-theme .btn.bg-color-teal,
body.gehost-theme .btn.bg-color-purple,
body.gehost-theme .btn.bg-color-orange,
body.gehost-theme .btn.bg-color-gold,
body.gehost-theme .btn.bg-color-red {
    background: var(--gh-primary) !important;
    border-color: var(--gh-primary) !important;
    color: #fff !important;
}
body.gehost-theme .btn.bg-color-green:hover,
body.gehost-theme .btn.bg-color-blue:hover,
body.gehost-theme .btn.bg-color-teal:hover,
body.gehost-theme .btn.bg-color-purple:hover,
body.gehost-theme .btn.bg-color-orange:hover,
body.gehost-theme .btn.bg-color-gold:hover,
body.gehost-theme .btn.bg-color-red:hover {
    background: var(--gh-primary-dark) !important;
    border-color: var(--gh-primary-dark) !important;
}

/* invoice view coerente */
body.gehost-theme .invoice-container { border-radius: var(--gh-radius); border: 1px solid var(--gh-border); box-shadow: var(--gh-shadow); }

/* tickets */
body.gehost-theme .ticket-reply { border: 1px solid var(--gh-border); border-radius: var(--gh-radius); }

/* não quebrar o standard_cart: escopo mínimo dentro do carrinho */
body.gehost-theme #order-standard_cart .btn-primary { background: var(--gh-primary); border-color: var(--gh-primary); }

/* print: some o chrome do app */
@media print {
    .gh-sidebar, .gh-topbar, .gh-backdrop, #footer.footer { display: none !important; }
    body.gh-logged .gh-main { margin-left: 0 !important; }
}


/* ============================================================
   V3A — des-WHMCS das páginas internas (padrão KOREOS/HostGator)
   ============================================================ */

/* ---------- 1) flutuantes: FAB não cobre o seletor de idioma ---------- */
@media (min-width: 992px) {
    body.gh-logged #footer.footer .list-inline.float-lg-right { margin-right: 175px; }
}
@media (max-width: 991.98px) {
    body.gh-logged #footer.footer { padding-bottom: 96px; }
}
/* seletor de idioma/moeda do footer vira chip */
body.gehost-theme #footer.footer .list-inline .btn {
    border: 1px solid var(--gh-border);
    border-radius: 999px;
    background: var(--gh-surface);
    padding: 7px 16px;
    font-size: 13px;
    box-shadow: var(--gh-shadow);
}
body.gehost-theme #footer.footer .list-inline .btn:hover { border-color: var(--gh-primary); color: var(--gh-primary); }

/* ---------- 2) cabeçalho de página (breadcrumb + título forte) ---------- */
.gh-page-head { padding: 6px 6px 0; }
.gh-page-head .container { max-width: 1280px; }
.gh-page-title {
    font-size: 26px; font-weight: 700; letter-spacing: -.02em;
    color: var(--gh-text); margin: 2px 0 4px;
}
.gh-page-sub { color: var(--gh-text-soft); font-size: 14px; margin: 0 0 6px; }
body.gh-logged #main-body { padding-top: 14px; }

/* ---------- 3) menu lateral interno (card-sidebar) moderno ---------- */
body.gehost-theme .card-sidebar { overflow: hidden; }
body.gehost-theme .card-sidebar .card-header {
    border-bottom: 0; padding: 16px 18px 6px;
}
body.gehost-theme .card-sidebar .card-header .card-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gh-text-soft); }
body.gehost-theme .card-sidebar .card-header .card-title > i:first-child {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 8px;
    background: var(--gh-primary-soft); color: var(--gh-primary);
    font-size: 13px; margin-right: 6px;
}
body.gehost-theme .card-sidebar .list-group { padding: 6px 10px 12px; }
body.gehost-theme .card-sidebar .list-group-item {
    border: 0 !important;
    border-radius: 10px;
    margin: 1px 0;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--gh-text-soft);
    background: transparent;
    transition: background .12s ease, color .12s ease;
}
body.gehost-theme .card-sidebar .list-group-item:hover { background: #f2f6fd; color: var(--gh-primary); }
body.gehost-theme .card-sidebar .list-group-item.active {
    background: var(--gh-primary-soft);
    color: var(--gh-primary);
    border-left: 0;
    font-weight: 600;
}
body.gehost-theme .card-sidebar .list-group-item .badge { background: var(--gh-primary); color: #fff; }

/* ---------- 4) alerts estilo KOREOS: acento na borda esquerda ---------- */
body.gehost-theme .alert {
    border-radius: 12px;
    border: 1px solid var(--gh-border);
    border-left: 4px solid var(--gh-primary);
    background: var(--gh-surface);
    color: var(--gh-text);
    padding: 14px 18px;
    box-shadow: var(--gh-shadow);
}
body.gehost-theme .alert-info { border-left-color: var(--gh-primary); background: #f4f8fe; color: #174ea6; }
body.gehost-theme .alert-success { border-left-color: var(--gh-green); background: #f0fbf7; color: #0b6e4f; }
body.gehost-theme .alert-warning { border-left-color: var(--gh-amber); background: #fefaf1; color: #92600a; }
body.gehost-theme .alert-danger { border-left-color: var(--gh-red); background: #fef4f4; color: #b3261e; }
body.gehost-theme .alert .btn { margin-top: 4px; }

/* ---------- 5) status → pills coloridas ---------- */
body.gehost-theme .label.status, body.gehost-theme .status-label, body.gehost-theme .label {
    border-radius: 999px !important;
    padding: 4px 12px;
    font-size: 11.5px; font-weight: 700;
    letter-spacing: .03em; text-transform: uppercase;
    border: 0;
}
body.gehost-theme .status-active, body.gehost-theme .label-success, body.gehost-theme .status-paid,
body.gehost-theme .status-completed, body.gehost-theme .status-delivered, body.gehost-theme .status-accepted,
body.gehost-theme .status-open { background: rgba(16,185,129,.14) !important; color: #0b7a58 !important; }
body.gehost-theme .status-pending, body.gehost-theme .label-warning, body.gehost-theme .status-inprogress,
body.gehost-theme .status-onhold, body.gehost-theme .status-customer,
body.gehost-theme .status-answered { background: rgba(245,158,11,.16) !important; color: #92600a !important; }
body.gehost-theme .status-unpaid, body.gehost-theme .status-overdue, body.gehost-theme .label-danger,
body.gehost-theme .status-suspended, body.gehost-theme .status-terminated, body.gehost-theme .status-fraud,
body.gehost-theme .status-expired { background: rgba(239,68,68,.13) !important; color: #b3261e !important; }
body.gehost-theme .status-cancelled, body.gehost-theme .status-closed, body.gehost-theme .label-default,
body.gehost-theme .status-refunded { background: #eef1f6 !important; color: var(--gh-text-soft) !important; }

/* ---------- 6) tabelas viram cards (lista de e-mails, faturas, serviços...) ---------- */
body.gehost-theme .primary-content .table-container {
    background: var(--gh-surface);
    border: 1px solid var(--gh-border);
    border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow);
    padding: 6px 14px 10px;
}
body.gehost-theme .primary-content .table-container .table { margin-bottom: 4px; }
body.gehost-theme .table thead th { border-bottom: 1px solid var(--gh-border); background: transparent; }
body.gehost-theme .table td { padding: 14px 12px; font-size: 14px; }
body.gehost-theme .table tbody tr { transition: background .12s ease; }
body.gehost-theme .table-list tbody tr { cursor: pointer; }
body.gehost-theme .table-list tbody tr:hover { background: #f6f9ff; }

/* controles do DataTables (fora do card) */
body.gehost-theme .dataTables_info { color: var(--gh-text-soft); font-size: 13px; }
body.gehost-theme div.dataTables_wrapper div.dataTables_filter input,
body.gehost-theme .dataTables_filter input {
    border: 1px solid #d6dbe6; border-radius: 999px;
    padding: 7px 16px; background: var(--gh-surface);
}
body.gehost-theme .dataTables_filter input:focus { border-color: var(--gh-primary); box-shadow: 0 0 0 3px var(--gh-primary-soft2); outline: 0; }
body.gehost-theme .dataTables_length select { border: 1px solid #d6dbe6; border-radius: 10px; padding: 4px 8px; }
body.gehost-theme .pagination .page-link { border-color: var(--gh-border); border-radius: 8px; margin: 0 2px; }
body.gehost-theme .pagination .page-item.active .page-link { background: var(--gh-primary); border-color: var(--gh-primary); }

/* ---------- 7) botões: ações secundárias viram chips, info deixa de ser teal ---------- */
body.gehost-theme .btn-info {
    background: var(--gh-primary-soft) !important;
    border-color: transparent !important;
    color: var(--gh-primary) !important;
    font-weight: 600;
    border-radius: 999px;
}
body.gehost-theme .btn-info:hover { background: var(--gh-primary) !important; color: #fff !important; }
body.gehost-theme .btn-sm { border-radius: 999px; padding: 5px 14px; }
body.gehost-theme .primary-content .btn-primary,
body.gehost-theme .primary-content .btn-success,
body.gehost-theme .primary-content .btn-default,
body.gehost-theme .primary-content .btn-danger { border-radius: 999px; padding-left: 20px; padding-right: 20px; }
body.gehost-theme .primary-content .input-group .btn { border-radius: 10px; }
body.gehost-theme .btn-danger { background: #fff !important; border: 1px solid rgba(239,68,68,.4) !important; color: var(--gh-red) !important; }
body.gehost-theme .btn-danger:hover { background: var(--gh-red) !important; color: #fff !important; }

/* ---------- 8) forms: labels limpos ---------- */
body.gehost-theme .primary-content label,
body.gehost-theme .primary-content .col-form-label {
    font-size: 13px; font-weight: 600; color: var(--gh-text-soft);
    letter-spacing: .01em; margin-bottom: 5px;
}
body.gehost-theme .primary-content .form-control,
body.gehost-theme .primary-content .custom-select { min-height: 42px; }
body.gehost-theme .primary-content fieldset legend { font-size: 15px; font-weight: 600; color: var(--gh-text); }

/* toggle switch do WHMCS com cor da marca */
body.gehost-theme .toggle-switch-success:checked + .toggle-slider,
body.gehost-theme input[type=checkbox].toggle-switch-success { accent-color: var(--gh-green); }

/* ---------- 9) contas conectadas (Account Security + /user/security) ---------- */
.gh-providers { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.gh-provider-row {
    display: flex; align-items: center; gap: 14px;
    border: 1px solid var(--gh-border);
    border-radius: 14px;
    padding: 14px 18px;
    background: #fbfcfe;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.gh-provider-row:hover { border-color: var(--gh-primary); box-shadow: var(--gh-shadow); }
.gh-provider-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; font-size: 20px; flex: 0 0 auto;
}
.gh-provider-google { background: rgba(234,67,53,.1); color: #ea4335; }
.gh-provider-facebook { background: rgba(24,119,242,.1); color: #1877f2; }
.gh-provider-info { flex: 1 1 auto; min-width: 0; }
.gh-provider-info strong { display: block; font-size: 15px; color: var(--gh-text); }
.gh-provider-info span { font-size: 13px; color: var(--gh-text-soft); }
.gh-provider-row .btn { flex: 0 0 auto; }
@media (max-width: 575.98px) {
    .gh-provider-row { flex-wrap: wrap; }
    .gh-provider-row .btn { width: 100%; }
}
/* página nativa /user/security: botões sociais com respiro */
body.gehost-theme .social-signin-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
body.gehost-theme #tableLinkedAccounts td, body.gehost-theme #tableLinkedAccounts th { text-align: center; }

/* ---------- 10) card headers de seção: título forte + respiro ---------- */
body.gehost-theme .primary-content .card { margin-bottom: 20px; }
body.gehost-theme .primary-content .card .card-body > .card-title:first-child,
body.gehost-theme .primary-content .card .card-body > h3.card-title {
    font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px;
}

/* v3a fixes */
body.gehost-theme .dataTables_length select { width: auto; min-width: 64px; }
body.gehost-theme div.dataTables_wrapper div.dataTables_length select { width: auto; }

/* footer fica fora do #ghMain no DOM renderizado — respeitar a sidebar fixa */
body.gh-logged #footer.footer { margin-left: var(--gh-sidebar-w); }
html.gh-sb-collapsed body.gh-logged #footer.footer { margin-left: var(--gh-sidebar-w-min); }
@media (max-width: 991.98px) {
    body.gh-logged #footer.footer { margin-left: 0; }
}

/* ============================================================
   V3B — correções (22/07): flutuantes definitivo, /user/* dedup
   ============================================================ */
/* seletor idioma/moeda = chip FIXO embaixo à ESQUERDA (canto oposto ao FAB, nunca encavala) */
@media (min-width: 992px) {
    body.gh-logged #footer.footer .list-inline.float-lg-right {
        float: none; position: fixed; z-index: 1049;
        left: calc(var(--gh-sidebar-w) + 18px); bottom: 16px;
        margin: 0 !important;
    }
    html.gh-sb-collapsed body.gh-logged #footer.footer .list-inline.float-lg-right {
        left: calc(var(--gh-sidebar-w-min) + 18px);
    }
    body.gh-logged #footer.footer .list-inline.float-lg-right { margin-right: 0; }
}
/* páginas /user/* (perfil, senha, segurança): o painel "Your Profile" interno DUPLICA o
   sidenav do tema → esconde o painel e o conteúdo ocupa a largura toda */
body[class*="page-user-"] #main-body .row > .col-lg-4.col-xl-3 { display: none; }
body[class*="page-user-"] #main-body .row > .primary-content { flex: 0 0 100%; max-width: 100%; }
/* sidenav mais compacto (dono: largura enorme sem necessidade) */
.gh-sidebar .gh-nav-item, #gehostSidebar .gh-nav-item { padding-top: 9px; padding-bottom: 9px; }
