/* ============================================================
   LOGICAHOST - FOLHA DE ESTILO COMPLETA
   Local: templates/SEU_TEMA/css/custom.css

   Substitui integralmente as versoes anteriores
   (custom.css + custom-ajustes.css + custom-tickets.css).
   O head.tpl carrega este arquivo automaticamente pelo bloco
   {assetExists file="custom.css"}.

   Sumario
     1. Variaveis e base
     2. Menu lateral
     3. Barra superior
     4. Area de conteudo
     5. Rodape e notificacoes
     6. Acabamento geral
     7. Telas de chamado (tickets)

   Paleta: altere apenas o bloco :root para mudar a marca inteira.
   ============================================================ */

:root {
    --lgh-green:       #8BC53F;
    --lgh-green-dark:  #7AB033;
    --lgh-green-soft:  #E8F4D4;
    --lgh-navy:        #0b1e33;
    --lgh-navy-2:      #102a45;
    --lgh-bg:          #f4f6f8;
    --lgh-border:      #e3e6ea;
    --lgh-text:        #1f2b3a;
    --lgh-muted:       #6b7280;
    --lgh-nav-w:       250px;
}

/* ============ Base ============ */
body.lgh-shell {
    background: var(--lgh-bg);
    color: var(--lgh-text);
}

.lgh-layout {
    display: flex;
    min-height: 100vh;
}

/* ============ Menu lateral ============ */
.lgh-sidenav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--lgh-nav-w);
    background: var(--lgh-navy);
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 1045;
    transition: transform .2s ease;
}

.lgh-sidenav-brand {
    padding: 1.35rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.lgh-sidenav-brand img {
    max-height: 38px;
    max-width: 100%;
    width: auto;
}

.lgh-sidenav-brand a {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
}

.lgh-sidenav-brand a:hover {
    text-decoration: none;
}

.lgh-nav {
    padding: 1rem .75rem;
    flex: 1 1 auto;
}

.lgh-nav-heading {
    padding: 1.25rem .75rem .5rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .38);
}

.lgh-nav-link {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .7rem .9rem;
    margin-bottom: .15rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: .93rem;
    font-weight: 500;
    line-height: 1.3;
    transition: background .15s, color .15s;
}

.lgh-nav-link:hover,
.lgh-nav-link:focus {
    background: rgba(255, 255, 255, .07);
    color: #fff;
    text-decoration: none;
}

.lgh-nav-link.active {
    background: rgba(139, 197, 63, .16);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--lgh-green);
}

.lgh-nav-link i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
    flex: 0 0 18px;
}

.lgh-nav-link .lgh-caret {
    margin-left: auto;
    font-size: .7rem;
    transition: transform .15s;
}

.lgh-nav-link[aria-expanded="true"] .lgh-caret {
    transform: rotate(90deg);
}

.lgh-nav-sub {
    padding: .15rem 0 .35rem 1.9rem;
}

.lgh-nav-sub a {
    display: block;
    padding: .45rem .9rem;
    border-radius: 6px;
    color: rgba(255, 255, 255, .62);
    font-size: .875rem;
}

.lgh-nav-sub a:hover,
.lgh-nav-sub a.active {
    background: rgba(255, 255, 255, .07);
    color: #fff;
    text-decoration: none;
}

.lgh-nav .badge {
    background: var(--lgh-green);
    color: #fff;
    font-size: .68rem;
    margin-left: auto;
}

/* Cartao de ajuda no rodape do menu */
.lgh-help {
    margin: 1rem;
    padding: 1.1rem;
    border-radius: 10px;
    background: var(--lgh-navy-2);
    border: 1px solid rgba(255, 255, 255, .08);
}

.lgh-help strong {
    display: block;
    font-size: .92rem;
    margin-bottom: .3rem;
    color: #fff;
}

.lgh-help p {
    font-size: .82rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.45;
    margin: 0 0 .75rem 0;
}

.lgh-help a {
    font-size: .87rem;
    font-weight: 600;
    color: var(--lgh-green);
}

.lgh-help a:hover {
    color: #fff;
    text-decoration: none;
}

/* ============ Area principal ============ */
.lgh-main {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: var(--lgh-nav-w);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ============ Barra superior ============ */
.lgh-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 64px;
    padding: 0 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--lgh-border);
}

.lgh-page-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--lgh-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lgh-topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.lgh-topbar .lgh-icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--lgh-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.lgh-topbar .lgh-icon-btn:hover {
    background: var(--lgh-bg);
    color: var(--lgh-text);
    text-decoration: none;
}

.lgh-topbar .lgh-icon-btn .badge {
    position: absolute;
    top: 2px;
    right: 0;
    background: var(--lgh-green);
    color: #fff;
    font-size: .62rem;
    padding: .18rem .35rem;
}

.lgh-search {
    max-width: 280px;
    width: 100%;
}

.lgh-search input {
    width: 100%;
    background: var(--lgh-bg);
    border: 1px solid var(--lgh-border);
    border-radius: 8px;
    padding: .5rem .85rem .5rem 2.2rem;
    font-size: .9rem;
    color: var(--lgh-text);
}

.lgh-search input:focus {
    outline: none;
    background: #fff;
    border-color: var(--lgh-green);
    box-shadow: 0 0 0 3px rgba(139, 197, 63, .15);
}

.lgh-search-wrap {
    position: relative;
}

.lgh-search-wrap i {
    position: absolute;
    left: .8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lgh-muted);
    font-size: .85rem;
}

/* Usuario */
.lgh-user-btn {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .3rem .55rem .3rem .3rem;
    border-radius: 999px;
    color: var(--lgh-text);
    font-size: .9rem;
    font-weight: 600;
}

.lgh-user-btn:hover {
    background: var(--lgh-bg);
    text-decoration: none;
    color: var(--lgh-text);
}

.lgh-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--lgh-green-soft);
    color: var(--lgh-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
}

.lgh-topbar .dropdown-menu {
    border: 1px solid var(--lgh-border);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(31, 43, 58, .12);
    padding: .4rem;
    min-width: 220px;
}

.lgh-topbar .dropdown-item {
    border-radius: 6px;
    padding: .55rem .7rem;
    font-size: .9rem;
    color: var(--lgh-text);
}

.lgh-topbar .dropdown-item:hover {
    background: var(--lgh-bg);
}

/* Botao do menu no mobile */
.lgh-burger {
    display: none;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--lgh-text);
    font-size: 1.05rem;
}

.lgh-backdrop {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(11, 30, 51, .5);
    z-index: 1040;
}

.lgh-backdrop.show {
    display: block;
}

/* ============ Conteudo ============ */
.lgh-content {
    flex: 1 1 auto;
    max-width: 1600px;
    padding: 1.75rem 1.5rem 2.5rem;
}

.lgh-content #main-body {
    padding: 0;
}

.lgh-breadcrumb {
    font-size: .84rem;
    color: var(--lgh-muted);
    margin-bottom: 1.1rem;
}

.lgh-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: .84rem;
}

.lgh-breadcrumb a {
    color: var(--lgh-muted);
}

.lgh-breadcrumb a:hover {
    color: var(--lgh-green-dark);
}

/* Cartoes do conteudo */
.lgh-main .card {
    border: 1px solid var(--lgh-border);
    border-radius: 10px;
    box-shadow: none;
}

.lgh-main .card-header {
    background: #fff;
    border-bottom: 1px solid var(--lgh-border);
    padding: 1rem 1.25rem;
    border-radius: 10px 10px 0 0;
}

.lgh-main .card-title {
    font-size: 1rem;
    font-weight: 600;
}

.lgh-main .card-footer {
    background: #fafbfc;
    border-top: 1px solid var(--lgh-border);
}

.lgh-main .card-footer:empty {
    display: none;
}

/* Cartoes da barra lateral de pagina */
.lgh-main .card-sidebar {
    border-radius: 10px;
}

.lgh-main .card-sidebar .card-header {
    padding: .85rem 1.1rem;
}

.lgh-main .card-sidebar .card-title {
    font-size: .93rem;
}

.lgh-main .list-group-item {
    border-left: 0;
    border-right: 0;
    padding: .8rem 1.1rem;
    font-size: .9rem;
}

.lgh-main .list-group-item.active {
    background: var(--lgh-green-soft);
    border-color: var(--lgh-border);
    color: var(--lgh-green-dark);
    font-weight: 600;
}

/* Botoes */
.lgh-main .btn-primary {
    background: var(--lgh-green);
    border-color: var(--lgh-green);
}

.lgh-main .btn-primary:hover,
.lgh-main .btn-primary:focus,
.lgh-main .btn-primary:active {
    background: var(--lgh-green-dark);
    border-color: var(--lgh-green-dark);
    box-shadow: none;
}

.lgh-main .btn {
    border-radius: 6px;
}

/* Tabelas */
.lgh-main .table thead th {
    border-top: 0;
    border-bottom: 1px solid var(--lgh-border);
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--lgh-muted);
    font-weight: 600;
}

.lgh-main .table td {
    vertical-align: middle;
    font-size: .92rem;
}

/* ============ Rodape ============ */
.lgh-footer {
    border-top: 1px solid var(--lgh-border);
    background: #fff;
    padding: 1.1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.25rem;
    font-size: .85rem;
    color: var(--lgh-muted);
}

.lgh-footer a {
    color: var(--lgh-muted);
}

.lgh-footer a:hover {
    color: var(--lgh-green-dark);
}

.lgh-footer .lgh-footer-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lgh-footer .btn {
    padding: .25rem .6rem;
    font-size: .85rem;
    color: var(--lgh-muted);
}

/* ============ Notificacoes ============ */
.client-alerts {
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 260px;
}

.client-alerts li a {
    display: flex;
    gap: .6rem;
    padding: .6rem .25rem;
    font-size: .88rem;
    color: var(--lgh-text);
}

.client-alerts li.none {
    padding: .6rem .25rem;
    font-size: .88rem;
    color: var(--lgh-muted);
}

/* ============ Mobile ============ */
@media (max-width: 991.98px) {
    .lgh-sidenav {
        transform: translateX(-100%);
    }
    .lgh-sidenav.open {
        transform: translateX(0);
    }
    .lgh-main {
        margin-left: 0;
    }
    .lgh-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .lgh-search {
        display: none;
    }
    .lgh-content {
        padding: 1.25rem 1rem 2rem;
    }
    .lgh-topbar {
        padding: 0 1rem;
        gap: .5rem;
    }
}


/* ============================================================
   6. ACABAMENTO GERAL
   ============================================================ */

/* Marcador discreto para itens de menu sem icone proprio */
.lgh-nav-link .lgh-dot {
    font-size: 5px;
    opacity: .4;
}

.lgh-nav-link.active .lgh-dot,
.lgh-nav-link:hover .lgh-dot {
    opacity: .85;
    color: var(--lgh-green);
}

/* Limite de largura em monitores muito largos */
/* Espacamento do topo quando nao ha breadcrumb */
.lgh-content > #main-body {
    margin-top: 0;
}

/* Barra de busca menos dominante */
/* Alertas e avisos do WHMCS no padrao dos cartoes */
.lgh-main .alert {
    border: 1px solid var(--lgh-border);
    border-radius: 8px;
    font-size: .92rem;
}

.lgh-main .alert-success {
    background: var(--lgh-green-soft);
    border-color: #cfe6a8;
    color: #4e7a12;
}

/* Titulos de pagina internos */
.lgh-main h1,
.lgh-main h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--lgh-text);
}

/* Paginacao e abas */
.lgh-main .nav-tabs .nav-link.active {
    border-bottom-color: var(--lgh-green);
    color: var(--lgh-green-dark);
    font-weight: 600;
}

.lgh-main .page-item.active .page-link {
    background: var(--lgh-green);
    border-color: var(--lgh-green);
}


/* ============================================================
   7. TELAS DE CHAMADO (TICKETS)
   ============================================================ */

/* ---------- Cabecalho de pagina ---------- */
.lgh-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lgh-page-h {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--lgh-text);
    margin: 0 0 .25rem 0;
}

.lgh-page-sub {
    color: var(--lgh-muted);
    font-size: .93rem;
    margin: 0;
}

.lgh-page-head > a {
    margin-left: auto;
}

/* ---------- Botoes ---------- */
.lgh-btn-solid {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem 1.15rem;
    border: 1px solid var(--lgh-green);
    border-radius: 6px;
    background: var(--lgh-green);
    color: #fff;
    font-size: .93rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.lgh-btn-solid:hover,
.lgh-btn-solid:focus {
    background: var(--lgh-green-dark);
    border-color: var(--lgh-green-dark);
    color: #fff;
    text-decoration: none;
}

.lgh-btn-solid:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.lgh-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem 1.15rem;
    border: 1px solid var(--lgh-border);
    border-radius: 6px;
    background: #fff;
    color: var(--lgh-muted);
    font-size: .93rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.lgh-btn-ghost:hover {
    background: var(--lgh-bg);
    color: var(--lgh-text);
    text-decoration: none;
}

.lgh-btn-ghost.sm {
    padding: .5rem .85rem;
    font-size: .88rem;
}

/* ---------- Paineis ---------- */
.lgh-panel {
    background: #fff;
    border: 1px solid var(--lgh-border);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.lgh-panel-head {
    padding: .95rem 1.25rem;
    border-bottom: 1px solid var(--lgh-border);
}

.lgh-panel-head h3 {
    font-size: .95rem;
    font-weight: 600;
    color: var(--lgh-text);
    margin: 0;
}

.lgh-panel-body {
    padding: 1.25rem;
}

/* ---------- Campos ---------- */
.lgh-tickets .lgh-label {
    display: block;
    font-weight: 600;
    font-size: .88rem;
    color: var(--lgh-text);
    margin-bottom: .4rem;
}

.lgh-tickets .lgh-input.form-control,
.lgh-tickets select.lgh-input,
.lgh-tickets textarea.lgh-input {
    height: auto;
    background: #f8f9fa;
    border: 1px solid var(--lgh-border);
    border-radius: 6px;
    padding: .7rem .9rem;
    font-size: .95rem;
    color: var(--lgh-text);
    box-shadow: none;
}

.lgh-tickets .lgh-input.form-control:focus {
    background: #fff;
    border-color: var(--lgh-green);
    box-shadow: 0 0 0 3px rgba(139, 197, 63, .15);
}

.lgh-tickets .lgh-input.disabled,
.lgh-tickets .lgh-input:disabled {
    background: #eef0f2;
    color: var(--lgh-muted);
}

.lgh-hint {
    font-size: .82rem;
    color: var(--lgh-muted);
    margin: .45rem 0 0 0;
}

/* Editor markdown */
.lgh-tickets .editor-toolbar {
    border-color: var(--lgh-border);
    border-radius: 6px 6px 0 0;
}

.lgh-tickets .CodeMirror {
    border-color: var(--lgh-border);
    border-radius: 0 0 6px 6px;
}

/* Anexos */
.lgh-tickets .custom-file-label {
    border-radius: 6px;
    border-color: var(--lgh-border);
    padding: .7rem .9rem;
    height: auto;
    font-size: .92rem;
    color: var(--lgh-muted);
}

.lgh-tickets .custom-file-label::after {
    display: none;
}

.lgh-tickets .custom-file {
    height: auto;
}

/* ---------- Barra de envio ---------- */
.lgh-submit-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--lgh-border);
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 2rem;
}

.lgh-submit-actions {
    margin-left: auto;
    display: flex;
    gap: .6rem;
}

/* ---------- Cartoes de departamento ---------- */
.lgh-dept-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--lgh-border);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--lgh-text);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.lgh-dept-card:hover {
    border-color: var(--lgh-green);
    box-shadow: 0 10px 28px rgba(31, 43, 58, .08);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--lgh-text);
}

.lgh-dept-ico {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--lgh-green-soft);
    color: var(--lgh-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.lgh-dept-body {
    display: block;
    min-width: 0;
}

.lgh-dept-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.lgh-dept-desc {
    display: block;
    font-size: .88rem;
    color: var(--lgh-muted);
    line-height: 1.45;
    margin-top: .2rem;
}

.lgh-dept-arrow {
    margin-left: auto;
    color: var(--lgh-muted);
    font-size: .85rem;
}

/* ---------- Tabela de chamados ---------- */
.lgh-table {
    margin-bottom: 0;
}

.lgh-table thead th {
    background: #fafbfc;
    border-top: 0;
    border-bottom: 1px solid var(--lgh-border);
    font-size: .76rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--lgh-muted);
    font-weight: 600;
    padding: .85rem 1.25rem;
}

.lgh-table td {
    padding: .95rem 1.25rem;
    vertical-align: middle;
    border-top: 1px solid var(--lgh-border);
}

.lgh-table tbody tr.lgh-row {
    cursor: pointer;
    transition: background .12s;
}

.lgh-table tbody tr.lgh-row:hover {
    background: #fafbfc;
}

.lgh-ticket-link {
    display: block;
    color: var(--lgh-text);
}

.lgh-ticket-link:hover {
    text-decoration: none;
}

.lgh-ticket-link .ticket-subject {
    display: block;
    font-size: .95rem;
    font-weight: 500;
}

.lgh-ticket-link .ticket-subject.unread {
    font-weight: 700;
}

.lgh-ticket-link .ticket-number {
    display: block;
    font-size: .8rem;
    color: var(--lgh-muted);
    margin-top: .15rem;
}

.lgh-table .lgh-dept,
.lgh-table .lgh-date {
    font-size: .88rem;
    color: var(--lgh-muted);
    white-space: nowrap;
}

/* Etiquetas de status em formato de pilula */
.lgh-tickets .label.status {
    display: inline-block;
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.lgh-loading {
    padding: 2rem 0;
    color: var(--lgh-muted);
}

/* ---------- Sugestoes da base de conhecimento ---------- */
.lgh-kb {
    background: #fff;
    border: 1px solid var(--lgh-border);
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1.25rem;
}

.lgh-kb-head {
    display: flex;
    gap: .85rem;
    margin-bottom: 1rem;
}

.lgh-kb-head > i {
    color: var(--lgh-green-dark);
    font-size: 1.1rem;
    margin-top: .15rem;
}

.lgh-kb-head strong {
    display: block;
    font-size: .98rem;
}

.lgh-kb-head p {
    font-size: .88rem;
    color: var(--lgh-muted);
    margin: .2rem 0 0 0;
}

.lgh-kb-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid var(--lgh-border);
    border-radius: 8px;
    margin-bottom: .6rem;
    color: var(--lgh-text);
    transition: border-color .15s, background .15s;
}

.lgh-kb-item:hover {
    border-color: var(--lgh-green);
    background: #fafbfc;
    text-decoration: none;
    color: var(--lgh-text);
}

.lgh-kb-item > i:first-child {
    color: var(--lgh-muted);
    margin-top: .2rem;
}

.lgh-kb-title {
    display: block;
    font-size: .93rem;
    font-weight: 600;
}

.lgh-kb-excerpt {
    display: block;
    font-size: .84rem;
    color: var(--lgh-muted);
    line-height: 1.45;
    margin-top: .2rem;
}

.lgh-kb-out {
    margin-left: auto;
    font-size: .75rem;
    color: var(--lgh-muted);
}

/* ---------- Confirmacao ---------- */
.lgh-confirm {
    background: #fff;
    border: 1px solid var(--lgh-border);
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.lgh-confirm-ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lgh-green-soft);
    color: var(--lgh-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.lgh-confirm h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: .35rem;
}

.lgh-confirm-id a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lgh-green-dark);
}

.lgh-confirm-text {
    color: var(--lgh-muted);
    font-size: .93rem;
    line-height: 1.6;
    margin: 1rem auto 1.75rem;
    max-width: 460px;
}

.lgh-confirm-actions {
    display: flex;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
    .lgh-panel-body {
        padding: 1rem;
    }
    .lgh-submit-actions {
        margin-left: 0;
        width: 100%;
    }
    .lgh-submit-actions .lgh-btn-solid,
    .lgh-submit-actions .lgh-btn-ghost {
        flex: 1 1 auto;
        justify-content: center;
    }
    .lgh-table .lgh-dept {
        display: none;
    }
}


/* ============================================================
   8. CORRECOES DE ESPECIFICIDADE
   ============================================================ */

/* O seletor generico .lgh-main h2 estava vencendo o titulo de pagina */
.lgh-main .lgh-page-h,
.lgh-tickets .lgh-page-h {
    font-size: 1.45rem;
    font-weight: 600;
    margin: 0 0 .25rem 0;
}

/* Cabecalho de painel com dica a direita */
.lgh-panel-head {
    display: flex;
    align-items: baseline;
    gap: .75rem;
}

.lgh-panel-hint {
    margin-left: auto;
    font-size: .8rem;
    color: var(--lgh-muted);
    font-weight: 400;
}

/* Garante o cartao de departamento mesmo se o tema competir pelo seletor */
.lgh-tickets a.lgh-dept-card {
    display: flex;
    text-decoration: none;
}

.lgh-tickets a.lgh-dept-card:hover {
    text-decoration: none;
}
