/* El panel conserva los menús y acciones nativos de WHMCS. */
body.gi-client-panel{background:#f5f7fa;color:#101d2d}
body.gi-client-panel #main-body{min-height:65vh}
body.gi-client-panel :is(.panel,.card){border-radius:8px;background:#fff}
body.gi-client-panel :is(.btn-primary,.btn-success){background:#1267f4;border-color:#1267f4}
body.gi-client-panel :is(.panel-heading,.card-header){background:#f4f8fd;color:#15263c;border-bottom:1px solid #dce5ee}
@media(min-width:1200px){
 body.gi-client-panel{--gi-sidebar-width:272px;padding-left:var(--gi-sidebar-width)}
 body.gi-client-panel header.tt-header{position:static;padding:0;background:#fff;border-bottom:1px solid #e1e7ee}
 body.gi-client-panel header.tt-header>.navbar>.container{max-width:none;min-height:70px;justify-content:flex-end;padding:0 30px}
 body.gi-client-panel header.tt-header .navbar-brand{position:fixed;top:0;left:0;z-index:1051;display:flex;width:var(--gi-sidebar-width);height:80px;padding:18px 22px;background:#101c2d}
 body.gi-client-panel header.tt-header .navbar-brand img{width:190px}
 body.gi-client-panel .main-navbar-wrapper{position:fixed;z-index:1050;top:80px;bottom:0;left:0;width:var(--gi-sidebar-width);display:block!important;overflow-y:auto;background:#101c2d}
 body.gi-client-panel #mainNavbar{padding:18px 12px}
 body.gi-client-panel #nav.navbar-nav{display:flex;flex-direction:column!important;align-items:stretch;width:100%}
 body.gi-client-panel #nav>li{width:100%;position:relative}
 body.gi-client-panel #nav>li>a{display:block;padding:15px 14px!important;border-left:3px solid transparent;border-radius:6px;color:#ecf4ff;font-size:14px;font-weight:600}
 body.gi-client-panel #nav>li>a:hover,body.gi-client-panel #nav>li.show>a{background:#1d314a;border-left-color:#45b9ff;color:#fff}
 body.gi-client-panel #nav .dropdown-menu{position:static;float:none;width:100%;min-width:0;margin:0;padding:4px 0;background:#172940;border:0;box-shadow:none}
 body.gi-client-panel #nav .dropdown-item,body.gi-client-panel #nav .dropdown-item a{white-space:normal;color:#e1ebf7;background:transparent}
 body.gi-client-panel #nav .dropdown-item a:hover{color:#64d7ff}
 body.gi-client-panel header.tt-header .tt-toolbar-wrap a,body.gi-client-panel header.tt-header .tt-notification button{color:#182a40}
 body.gi-client-panel header.tt-header .tt-toolbar-wrap .dropdown-menu a{color:#182a40}
 body.gi-client-panel #main-body>.container{max-width:1440px}
 body.gi-client-panel footer.tt-footer .container{max-width:1440px}
}
@media(max-width:1199px){body.gi-client-panel header.tt-header .navbar-brand{min-width:150px}body.gi-client-panel header.tt-header .navbar-brand img{width:150px}}

/* Área de trabajo: título integrado, indicadores y tarjetas. */
body.gi-client-panel .tt-page-header{padding:30px 0 24px!important;background:#f5f7fa!important;border-bottom:1px solid #e1e8f0}
body.gi-client-panel .tt-page-header h1{color:#0b1b30!important;font-size:28px;font-weight:700;letter-spacing:-.04em}
body.gi-client-panel .tt-page-header .tt-page-header-info{position:relative}
body.gi-client-panel .tt-page-header .tt-breadcrumb{position:static;display:block;margin-top:8px;padding:0;background:transparent;color:#64768a}
body.gi-client-panel .tt-page-header .tt-triangle-right{display:none}
body.gi-client-panel .tt-page-header .breadcrumb{margin:0;padding:0;background:transparent;font-size:12px}
body.gi-client-panel #main-body{padding:34px 0 64px}
body.gi-client-panel .tiles .tile{display:block;min-height:108px;padding:20px!important;border:1px solid #dce6f0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 5px 18px rgba(11,29,50,.04);transition:border-color .2s,transform .2s}
body.gi-client-panel .tiles .tile:hover{border-color:#8dbbff!important;transform:translateY(-2px);text-decoration:none}
body.gi-client-panel .tiles .tile .stat{color:#0b1b30;font-size:28px;font-weight:700;line-height:1.1}
body.gi-client-panel .tiles .tile .title{margin-top:7px;color:#60748a;font-size:13px}
body.gi-client-panel .tiles .tile>i{color:#1267f4!important;opacity:.8}
body.gi-client-panel :is(.card,.panel){border:1px solid #dce6f0;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(11,29,50,.045)}
body.gi-client-panel :is(.card-header,.panel-heading){padding:16px 20px;background:#fff;color:#14263e;border-bottom:1px solid #e6edf4}
body.gi-client-panel :is(.card-body,.panel-body){padding:20px;color:#344d65}
body.gi-client-panel :is(.card-title,.panel-title){font-size:15px;font-weight:700;color:#14263e}
body.gi-client-panel .sidebar .list-group-item{border-color:#e6edf4;color:#344d65}
body.gi-client-panel .sidebar .list-group-item:hover{background:#f4f8ff;color:#1267f4}
body.gi-client-panel :is(.btn-primary,.btn-success,.btn-info){background:#1267f4;border-color:#1267f4;color:#fff}
body.gi-client-panel :is(.btn-primary,.btn-success,.btn-info):hover{background:#0752ca;border-color:#0752ca;color:#fff}
body.gi-client-panel input.form-control,body.gi-client-panel select.form-control{background:#fff;border-color:#c8d7e5}
@media(min-width:1200px){body.gi-client-panel header.tt-header .tt-toolbar-wrap :is(a,button,i,span){color:#263a50!important}body.gi-client-panel header.tt-header .tt-toolbar-wrap .tt-cart-badge{color:#fff!important}body.gi-client-panel .tt-page-header .container{max-width:1440px}}
@media(max-width:767px){body.gi-client-panel .tt-page-header h1{font-size:23px}body.gi-client-panel .tiles .tile{min-height:95px;padding:15px!important}body.gi-client-panel #main-body{padding-top:24px}}
@media(prefers-reduced-motion:reduce){body.gi-client-panel .tiles .tile{transition:none}body.gi-client-panel .tiles .tile:hover{transform:none}}

/* Búsqueda nativa de ayuda y jerarquía del menú lateral. */
body.gi-client-panel .gi-header-search{display:flex;align-items:center;gap:4px;width:min(400px,40vw);margin-right:auto;border:1px solid #dce6f0;border-radius:10px;background:#f7f9fc}
body.gi-client-panel .gi-header-search button{display:grid;place-items:center;flex:0 0 42px;height:42px;padding:0;border:0;background:transparent;color:#526b84;cursor:pointer}
body.gi-client-panel .gi-header-search input{width:100%;min-width:0;height:42px;padding:0 12px 0 0;border:0;outline:0;background:transparent;color:#14263e;font-size:14px}
body.gi-client-panel .gi-header-search:focus-within{border-color:#1267f4;box-shadow:0 0 0 3px rgba(18,103,244,.14)}
body.gi-client-panel #nav > li > a,
body.gi-client-panel #nav .dropdown-menu a {
    font-family: "Open Sans", system-ui, sans-serif;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.gi-client-panel #nav > li > a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .045em;
    text-transform: uppercase;
}
body.gi-client-panel #nav .dropdown-menu a {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}
@media (min-width:1200px) {
    body.gi-client-panel #nav .dropdown-menu a {
        display: block;
        padding-block: 7px !important;
    }
    body.gi-client-panel #nav a:focus-visible {
        outline: 2px solid #65ceff;
        outline-offset: -2px;
    }
}
@media(min-width:1200px){body.gi-client-panel .tt-toolbar-wrap li:has(>#dropdownMenuButton){display:none!important}}
@media(max-width:1199px){body.gi-client-panel .gi-header-search{order:4;width:100%;margin:8px 0 0}body.gi-client-panel .tt-header>.navbar>.container{flex-wrap:wrap}}
body.gi-client-panel .gi-header-search { position: relative; }
.gi-section-results {
    position: absolute;
    z-index: 1050;
    inset: calc(100% + 4px) 0 auto;
    max-height: min(360px, 46vh);
    overflow-y: auto;
    padding: 6px;
    background: #fff;
    border: 1px solid #c8d7e5;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15,35,60,.14);
}
.gi-section-results[hidden] { display: none; }
.gi-section-results :is(a,span) { display: block; padding: 10px 12px; color: #193048; line-height: 1.4; }
.gi-section-results a:is(:focus,:hover) { color: #064ab5; background: #edf4ff; border-radius: 6px; }
.gi-section-icon { padding-inline: 16px 8px; color: #536c85; }
@media (min-width:1200px) {
    body.gi-client-panel header.tt-header > .navbar > .container {
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(0,min(680px,48%)) minmax(0,1fr);
        align-items: center;
    }
    body.gi-client-panel .gi-header-search { grid-column: 2; width: 100%; margin: 0; }
    body.gi-client-panel header.tt-header > .navbar > .container > .tt-toolbar-wrap { grid-column: 3; justify-self: end; }
}
body.gi-client-panel footer.gi-account-footer {
    background: #fff !important;
    color: #111;
}
#footer.gi-account-footer .tt-footer-bottom {
    border-top: 1px solid #d9dfe6;
    background: #fff;
}
#footer.gi-account-footer .copyright,
#footer.gi-account-footer .btn { color: #111; }
#footer.gi-account-footer .btn { min-height: 44px; background: #fff; border: 1px solid #d9dfe6; }
#footer.gi-account-footer .btn:hover { background: #f2f5f8; }
#footer.gi-account-footer .row { row-gap: 8px; }
