* {
    font-family: Rawline;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========****IMAGEM DO BOTÕES DE ANCORAS****======== */
.img-icone-ajustavel {
    width: 200px;
    max-width: 100%;
    height: auto;
}

/* ========****CARD FOOTER****======== */

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
    border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

/* ========****ESTILIZAÇÃO DAS ABAS/GRÁFICOS****======== */

.tabulando-container {
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 4px 8px;
    background-color: #fff;
    flex-wrap: wrap;
    gap: 4px;
}

.tabulando-button {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    background-color: transparent;
    color: #6c757d;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.tabulando-button i {
    color: #6c757d;
}

.tabulando-button.active {
    background-color: #e1ecf9;
    color: #1351b4;
    font-weight: bold;
    box-shadow: 0 0 0 2px rgba(19, 81, 180, 0.2);
}

.tabulando-button.active i {
    color: #1351b4;
}

.separator {
    color: #ccc;
    padding: 0 4px;
    font-weight: bold;
}

.tabulando-panel {
    display: none;
}

.tabulando-panel.active {
    display: block;
}

/* ========****CARDS/CARREGAMENTO****======== */

.card-content {
    position: relative;
}

.card-content>.btn,
.card-content>.btn-expandir {
    position: absolute;
    top: var(--card-padding, var(--spacing-scale-2x, 16px));
    right: var(--card-padding, var(--spacing-scale-2x, 16px));
    z-index: 10;
    cursor: pointer;
    float: none;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.card-content .qv-object .qv-object-header {
    text-align: left !important;
    margin: 0 !important;
    padding: 0 48px 0 0 !important;
    min-height: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box;
}

.card-content .qv-object .qv-object-title {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: center !important;
    height: 100% !important;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.card-content .qv-object .qv-object-title-text {
    text-align: left !important;
    line-height: 1.25 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.card-content .br-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.position-relative {
    position: relative;
}

.position-relative .br-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.qvobject {
    width: 100%;
    height: 100%;
}

.br-loading {
    display: block;
    /* ou flex se for centralizado */
}

.qvobject {
    min-height: 50px;
    /* para manter altura enquanto carrega */
}

/* ========****ESTILIZAÇÕES DO MODAL****======== */

.modal-dialog {
    margin-top: 250px;
}

.btn-fechar-modal {
    margin: calc(-0.5 * var(--bs-modal-header-padding-y)) calc(-0.5 * var(--bs-modal-header-padding-x)) calc(-0.5 * var(--bs-modal-header-padding-y)) auto;
}

/* Links de download em "Para maiores informações acesse" (core.css não dá indicativo visual de link aqui) */
#informacoes-modal .modal-body a {
    color: var(--interactive);
    text-decoration: underline;
    cursor: pointer;
}

/* core.css encolhe a fonte de listas dentro do modal; forçando herdar do parágrafo ao redor */
#informacoes-modal .modal-body ul,
#informacoes-modal .modal-body li {
    font-size: inherit;
}

/* ========**** ESTILIZAÇÕES GERAIS DOS KPIs ****======== */

/* .sn-kpi .sn-kpi-data {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
} */

.sn-kpi-data {
    cursor: unset;
}

/* calcula metade de 15,07px */
:root {
    --gutter-half: 7.535px;
    --gutter-full: 15.07px;
}

/* override nos rows que usam nosso espaçamento */
.row.kpi-spacing {
    /* “puxa” o padding das colunas para fora, de modo que o primeiro e último
     card não encostem na borda do row */
    margin: calc(var(--gutter-half) * -1);
}

/* aplica o padding em cada coluna */
.row.kpi-spacing>[class*="col-"] {
    padding: var(--gutter-half);
}

/* para garantir 15,07px entre cada row */
.row.kpi-spacing+.row.kpi-spacing {
    margin-top: var(--gutter-full);
}

.kpi-fixed-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    color: #1351b4;
    padding: 2px;
}

.kpi-fixed-icons i:hover {
    color: #0d47a1;
}

.kpi-fixed-icons i {
    font-size: 0.9rem;
    cursor: pointer;
}

/* ========**** KPI GRANDE (NÚMEROS DESTACADOS) ****======== */
.card-kpi {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 10px;
    border: 0.1px solid #e0e0e0;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
}

.ds-kpi {
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.ds-kpi:hover {
    /* sombra deslocada para a direita (X) e para baixo (Y) */
    box-shadow: 4px 4px 8px rgba(0, 51, 102, 0.5);
    /* #003366 com 50% de opacidade */
}

.kpi-grande .sn-kpi-ellips-text {
    font-size: 64px;
    font-weight: bold;
    color: #18569e;
}

.kpi-grande .sn-kpi-measure-title {
    color: #000000;
    font-size: 20px;
    font-weight: unset;
    margin-bottom: 16px;
}

/* ========**** KPI PEQUENO (NÚMEROS MENORES) ****======== */
.kpi-pequeno .sn-kpi-ellips-text {
    font-size: 32px;
    font-weight: bold;
    color: #7f8391;
}

.kpi-pequeno .sn-kpi-measure-title {
    color: #000000;
    font-size: 16px;
    font-weight: unset;
    margin-bottom: 16px;
}

/* ========**** KPI GRANDE E PEQUENO COM QUEBRA DE LINHA FORÇADA ****======== */
.kpi-break .sn-kpi-ellips-text {
    white-space: unset !important;
    word-wrap: break-word;
    text-align: center;
}

.kpitexto .qv-object-text-image {
    color: #000000;
}

/* ========****ESTILIZAÇÕES PARA Sticky****======== */

.menu-container {
    position: sticky !important;
    top: 110px !important;
    padding-inline: 5px;
}

/* Fix para as tags não terem margin left (o d-flex + gap cuidam disso) */
.br-tag+.br-tag {
    margin-left: 0;
}

/* Estilizações para menu de filtros */
#main-navigation {
    padding-right: 10px !important;
    box-shadow: 10px 0 10px rgba(0, 0, 0, 0.2);
}

.filtros-column .col-12 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* Ajustes na estilização das tags de filtros deixa-las menores */
/* #tagselections .br-tag.interaction,
#floating-tagselections .br-tag.interaction {
    padding-left: 10px;
    padding-right: 0.1rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 0.75rem;
    line-height: 1;
} */

/* Ajuste da distância entre texto da tag e o botão de fechar */
/* .br-tag.interaction .br-button {
    margin-left: 5px;
} */

/* Ajustes na estilização das tags de filtros deixa-las menores */
#tagselections .br-tag.interaction,
#floating-tagselections .br-tag.interaction {
    padding: 0.1rem 0.4rem !important;
    font-size: 0.75rem;
    line-height: 1;
}

.br-tag.interaction,
.br-tag.interaction-select {
    --tag-medium: unset !important;
    --tag-large: unset !important;
}

/* ========******Estilos para ícone flutuante de filtros*****============= */

.filtro-container {
    position: fixed !important;
    top: var(--filtro-top, 180px);
    left: 5px;
    width: 48px;
    height: 48px;
}

.filtro-container .filter-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #1351b4;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.filtro-container .br-button.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    /* sempre centrar o grupo */
    gap: 0;
    /* sem espaço antes do texto, pois ele está escondido */
    width: 48px;
    height: 48px;
    padding: 0;
    background: #ffffff;
    color: #1351b4;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* esconde o texto quando “fechado” */
    transition:
        width 0.3s,
        background 0.3s;
}

.filtro-container .filtro-tooltip {
    display: inline-block;
    opacity: 0;
    max-width: 0;
    /* esconde o texto */
    white-space: nowrap;
    margin-left: 0;
    overflow: hidden;
    transition:
        opacity 0.2s ease,
        max-width 0.3s ease,
        margin-left 0.3s ease;
}

.filtro-container:hover .br-button.circle,
.filtro-container:focus-within .br-button.circle {
    width: 120px;
    background: #f5f5f5;
    /* repare que não mudamos o justify-content: continua center */
    gap: 8px;
    /* agora abre espaço entre ícone e texto */
}

.filtro-container:hover .filtro-tooltip,
.filtro-container:focus-within .filtro-tooltip {
    opacity: 1;
    max-width: 64px;
    /* ou o tamanho que seu “Filtros” ocupe */
    margin-left: 8px;
}

/*========================== Ajustes no header para espaçamento maior do texto=============================== */

/* Ajustes para o header */
.br-header .header-bottom {
    margin-top: 32px;
    width: 100%;
}

.br-header.compact .header-bottom {
    padding-top: 16px;
}

/* AJUSTE: removi isso aqui para ao invés disso, arrumar tudo no header-bottom */
/* Espaço vertical entre header-top e header-bottom */
/*.br-header .header-top {
    margin-bottom: 12px !important;
}*/

/* Se quiser só mover o container de publicações um pouco pra baixo) */
/* .br-header .header-bottom > .d-none.d-md-flex {
    margin-top: 8px !important;
} */

/* Footer */
/* Estilo geral do rodapé */
.footer {
    background-color: #072146;
    /* Cor azul escuro de fundo */
    color: #ffffff;
    /* Texto branco */
    padding: 20px 20px;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-top: 20px;
    z-index: 100;
}

.footer-logo {
    margin-bottom: 25px;
}

/* Estilo das colunas */
.footer-columns {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin-left: 10px;
    margin-right: 10px;
}

.footer-column p {
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    font-size: 14px;
    color: #c5d4eb;
    text-decoration: none !important;
}

/* Parte inferior do rodapé */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.footer-bottom .footer-column p {
    margin-left: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons i {
    font-size: 25px;
    color: #ffffff;
    margin-right: 5px;
}

.social-icons img {
    height: 40px;
}

.social-icons a {
    color: #ffffff;
}

.marca-ms img {
    height: 50px;
}

.minha-row {
    padding-inline: 45px;
}

.last-row {
    margin-block: 55px;
}

.noscript {
    background-color: #ffdddd;
    padding: 15px;
    border: 2px solid #ff0000;
    border-radius: 5px;
    text-align: center;
}

/* ========****ESTILIZAÇÕES PARA MODAL****======== */
.pclaro {
    font-size: 14px;
    color: #808080;
    font-style: italic;
}

/* tamanho fixo/proporcional pro QR */
.covid-qr {
    width: 150px;
    /* ajuste conforme precisar */
    height: auto;
    flex-shrink: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* .br-accordion .content {
    padding: unset !important;
    margin-top: 13px !important;
} */

.fullScren_desktop,
.fullScren_mobile {
    float: none !important;
}

.width-183 {
    width: 183px !important;
}

.width-360 {
    width: 360px !important;
}

.width-317 {
    width: 317px !important;
}

/* Base para .card-principal a - sempre começa grande */
.card-principal a {
    width: 360px;
    max-width: 100%;
    /* segurança para telas menores */
}

/* Telas muito grandes */

/* Telas grandes */

/* Telas médias (991–1200px) - ajuste para card-principal a */

/* Menu lateral aberto - até 1600px - ajuste para card-principal a */

/* Para dispositivos médios (telas entre 768px e 991px, Bootstrap md) */

/* Para dispositivos pequenos (telas menores que 768px, Bootstrap sm) */

/* Para dispositivos extra-pequenos (telas menores que 576px, Bootstrap xs) */

/* Quando estiver em fullscreen */
.tabulando-panel:fullscreen,
.tabulando-panel:-webkit-full-screen {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.tabulando-panel:fullscreen .card-content,
.tabulando-panel:-webkit-full-screen .card-content {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.tabulando-panel:fullscreen .qvobject,
.tabulando-panel:-webkit-full-screen .qvobject {
    flex: 1;
    height: 100% !important;
}

/* Fundo do fullscreen — evita fundo preto padrão do navegador em elementos transparentes */
:fullscreen {
    background-color: var(--background-light, #fff);
}

:-webkit-full-screen {
    background-color: var(--background-light, #fff);
}

::backdrop {
    background-color: var(--background-light, #fff);
}

.card-content:fullscreen,
.card-content:-webkit-full-screen {
    background-color: #fff !important;
    display: flex !important;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: clamp(16px, 3vw, 40px) !important;
    box-sizing: border-box;
    overflow: auto;
}

.card-content:fullscreen coverage-gauge,
.card-content:-webkit-full-screen coverage-gauge {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dark-theme .card-content:fullscreen,
.dark-theme .card-content:-webkit-full-screen {
    background-color: #fff !important;
    color: inherit !important;
}

.w-80 {
    width: 80% !important;
}

.kpi-label-info {
    position: absolute;
    top: 80px;
    /* ajuste conforme o layout do KPI */
    left: 30px;
    font-size: 14px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    z-index: 10;
    pointer-events: none;
}

.kpi-label-info .label-right {
    color: #aaa;
    margin-left: 5px;
}

.btn-secundario {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#notificacao-link-copiado {
    position: fixed;
    bottom: 96px;
    right: 1.5rem;
    z-index: 1050;
    display: none;
    background-color: #1351b4;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.ListBox-styledScrollbars {
    position: absolute !important;
    z-index: 9999 !important;
}

.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.scroll-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.br-button.primary.circle {
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-size: 1.5rem;
    background: #1351b4;
    color: #fff;
    border: 3px solid #fff;
    /* <-- Aqui adiciona a borda branca */
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.br-button.primary.circle:hover,
.br-button.primary.circle:focus {
    background: #0c326f;
}

/* Aba ativa */
.br-tab .tab-item.active button {
    border-bottom: 4px solid #27539f;
    color: #27539f;
}

/* Aba não ativa */
.br-tab .tab-item button {
    border-bottom: 4px solid #cccccc;
}

/* Itens do card footer */
.card-footer .br-button i {
    margin-top: 2px;
}

/* Adequação ao modelo */
.modal-header .h2.modal-title {
    margin-bottom: unset;
    padding-bottom: unset;
}

.kpi-container.qvobject {
    min-height: unset !important;
}

#ze-gotinha-container img {
    width: 80px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.sn-kpi .sn-kpi-data {
    display: unset !important;
}

.textoDiv {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin: 24px 0 12px 0;
    letter-spacing: 0.5px;
}

#aoNascer {
    scroll-margin-top: 180px;
}

#menoresDe1ano {
    scroll-margin-top: 180px;
}

#ano1DeIdade {
    scroll-margin-top: 180px;
}

#adulto {
    scroll-margin-top: 180px;
}

/* .qv-object-header {
    display: none !important;
} */

.qv-object .qv-object-title .qv-object-title-text {
    color: black !important;
    font-weight: 600;
}

.kpi-content {
    display: unset !important;
    justify-content: unset !important;
}

.kpi-card {
    cursor: pointer !important;
}

.kpi-meta {
    font-weight: bold;
}

.qv-object-footer {
    display: none !important;
}

.kpi-badge {
    float: right;
}

/* Para legenda */
.dot {
    height: 15px;
    width: 35px;
    border-radius: 5px;
    display: inline-block;
    margin-right: 5px;
}

#legenda-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-content: center;
    gap: 1.5rem;
    position: fixed;
    z-index: 999;
    left: 24px;
    right: 24px;
    bottom: 90px;
    width: auto;
    margin: 0;
    box-sizing: border-box;
}

.tab-panel:not(.active) #legenda-container {
    display: none !important;
}

#legenda,
#legenda2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.1rem;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    max-width: 100%;
    box-sizing: border-box;
}

.legend-toggle-button {
    width: 50px !important;
    height: 50px !important;
    background-color: #ffffff !important;
    border: 3px solid #1351b4 !important;
    color: #1351b4 !important;
    flex-shrink: 0;
}

.legend-toggle-button i {
    font-size: 20px;
}

#legenda-container.legenda-recolhida #legenda {
    display: none;
}

.bg-red-0 {
    background-color: #8b0000;
}

.bg-red-1 {
    background-color: #dc143c;
}

.bg-orange {
    background-color: #ff8c00;
}

.bg-yellow {
    background-color: #ffcd07;
}

.bg-green {
    background-color: #36a191;
}

.bg-blue {
    background-color: #155bcb;
}

#legenda div {
    display: flex;
    align-items: center;
    font-size: 16px;
}

#legenda2 div {
    display: flex;
    align-items: center;
    font-size: 16px;
    flex-direction: column;
}

#legenda2 .dot {
    margin-right: 0px;
}

.card-content {
    margin-bottom: 30px;
}

/* Tooltips Qlik — igual PROGRAMA_ATE (texto branco em fundo escuro) */
.pic-tooltip,
.pic-tooltip *,
.pic-tooltip-content,
.pic-tooltip-content * {
    color: #fff !important;
}

.pic-tooltip-content td,
.pic-tooltip-content th {
    color: #fff !important;
}

.qv-chart-tooltip,
.qv-chart-tooltip-inner,
.qv-chart-tooltip *,
.qv-chart-tooltip-inner * {
    color: #fff !important;
}

.mapboxgl-popup,
.mapboxgl-popup-content,
.mapboxgl-popup-content * {
    color: #fff !important;
}

.leaflet-popup-content,
.leaflet-tooltip,
.leaflet-popup-content-wrapper,
.leaflet-popup-content *,
.leaflet-tooltip * {
    color: #fff !important;
}

.idevio-information,
.idevio-information *,
.idevio-tooltip,
.idevio-tooltip * {
    color: #fff !important;
}

.qv-object-qlik-map .qv-tooltip,
.qv-object-qlik-map .qv-tooltip *,
.qv-object-qlik-map .lui-tooltip,
.qv-object-qlik-map .lui-tooltip * {
    color: #fff !important;
}

.qv-tooltip,
.qv-tooltip * {
    color: #fff !important;
}

.qv-object-qlik-map .tooltip-content,
.qv-object-qlik-map .tooltip-content * {
    color: #fff !important;
}

.qv-object-qlik-map .qv-tooltip {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.lui-tooltip,
.lui-tooltip * {
    color: #fff !important;
}

body:has(.card-fullscreen) .pic-tooltip,
body:has(.card-fullscreen) .pic-tooltip-content,
body:has(.card-fullscreen) .qv-chart-tooltip,
body:has(.card-fullscreen) .qv-chart-tooltip-inner,
body:has(.card-fullscreen) .mapboxgl-popup,
body:has(.card-fullscreen) .mapboxgl-popup-content,
body:has(.card-fullscreen) .leaflet-popup-content,
body:has(.card-fullscreen) .leaflet-tooltip,
body:has(.card-fullscreen) .leaflet-popup-content-wrapper,
body:has(.card-fullscreen) .idevio-information,
body:has(.card-fullscreen) .idevio-tooltip {
    z-index: 10000 !important;
}

/* Ajustes finos para tabela de medidas */
.MuiBox-root h6 {
    padding-bottom: 0px !important;
}

#QV3-01 .qv-object .qv-object-title .qv-object-title-text {
    white-space: unset !important;
}

.sn-kpi-data {
    margin-top: 20px !important;
}

#como-navegar-modal .como-navegar-body {
    scroll-behavior: smooth;
}

#como-navegar-modal .como-navegar-intro {
    background: #f0f0f0;
    border-left: 4px solid #1351b4;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
}

#como-navegar-modal .como-navegar-intro-text {
    margin-bottom: 0;
    color: #333;
    line-height: 1.5;
}

#como-navegar-modal .como-navegar-secao {
    padding: 1.25rem 0 1.5rem;
    border-bottom: 1px solid #e6e6e6;
    scroll-margin-top: 1rem;
}

#como-navegar-modal .como-navegar-secao:last-child {
    border-bottom: 0;
    padding-bottom: 0.5rem;
}

#como-navegar-modal .como-navegar-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

#como-navegar-modal .como-navegar-numero {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1351b4;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

#como-navegar-modal .como-navegar-titulo {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0c326f;
    line-height: 1.3;
}

#como-navegar-modal .como-navegar-texto {
    margin: 0;
    color: #333;
    line-height: 1.55;
    font-size: 0.95rem;
}

#como-navegar-modal .como-navegar-figura {
    margin: 0;
}

#como-navegar-modal .como-navegar-figura img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background: #fff;
}

#como-navegar-modal .como-navegar-figura figcaption {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #555;
    line-height: 1.4;
}

/* ========****FILTRO DE FAIXA ETÁRIA (SLIDER DE IDADE)****======== */
.age-range-container {
    width: 100%;
    margin: 10px 0 20px;
    padding: 10px 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #cccccc;
}

.age-range-container h3 {
    color: #1351b4;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    text-align: left;
    letter-spacing: -0.5px;
    cursor: default;
}

.age-range-container .range-wrapper {
    position: relative;
    margin: 10px 0;
    padding: 8px 0;
}

.age-range-container .range-slider {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 4px;
    outline: none;
    position: relative;
}

.age-range-container input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: transparent;
    position: absolute;
    pointer-events: none;
    margin: 0;
}

.age-range-container input[type="range"]#minAge {
    z-index: 3;
}

.age-range-container input[type="range"]#maxAge {
    z-index: 4;
}

.age-range-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: all;
    position: relative;
    z-index: 3;
    border: 3px solid #1351b4;
    box-shadow: 0 2px 8px rgba(19, 81, 180, 0.3);
    transition: all 0.2s ease;
}

.age-range-container input[type="range"]::-webkit-slider-thumb:hover {
    border-width: 4px;
    box-shadow: 0 3px 12px rgba(19, 81, 180, 0.4);
}

.age-range-container input[type="range"]::-webkit-slider-thumb:active {
    background: #1351b4;
    border-color: #0c326f;
}

.age-range-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: all;
    border: 3px solid #1351b4;
    box-shadow: 0 2px 8px rgba(19, 81, 180, 0.3);
    transition: all 0.2s ease;
}

.age-range-container input[type="range"]::-moz-range-thumb:hover {
    border-width: 4px;
}

.age-range-container input[type="range"]::-moz-range-thumb:active {
    background: #1351b4;
}

.age-range-container .range-track {
    position: absolute;
    height: 6px;
    background: #1351b4;
    border-radius: 4px;
    top: 0;
    z-index: 1;
    transition: all 0.2s ease;
}

.age-range-container .range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
    color: #555555;
    font-weight: 500;
}

.age-range-container .range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333333;
    gap: 12px;
}

.age-range-container .value-display {
    padding: 4px 8px;
    background: #f8f8f8;
    border-radius: 8px;
    font-size: 13px;
    color: #1351b4;
    font-weight: 600;
    border: 2px solid #1351b4;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.age-range-container .value-display:hover {
    background: #e8f1fc;
    border-color: #0c326f;
}

.qv-object {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.row.ds-kpi-row>[class*="col-"] {
    position: relative;
}

.row.ds-kpi-row>[class*="col-"] .br-loading,
.imunobiologicos-card .br-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#kpi01,
#kpi02,
#kpi03,
#kpi04,
#kpi05,
#kpi06 {
    cursor: pointer;
}

#kpi01:hover,
#kpi02:hover,
#kpi03:hover,
#kpi04:hover,
#kpi05:hover,
#kpi06:hover {
    opacity: 0.85;
}

/* Estado ativo: fundo assume a cor da borda de cada KPI */
#kpi01.kpi-meta-ativo {
    background-color: #155bcb !important;
    box-shadow:
        0 0 0 3px #155bcb,
        0 6px 16px rgba(21, 91, 203, 0.45) !important;
    transform: translateY(-2px);
}

#kpi02.kpi-meta-ativo {
    background-color: #36a191 !important;
    box-shadow:
        0 0 0 3px #36a191,
        0 6px 16px rgba(54, 161, 145, 0.45) !important;
    transform: translateY(-2px);
}

#kpi03.kpi-meta-ativo {
    background-color: #ffcd07 !important;
    box-shadow:
        0 0 0 3px #ffcd07,
        0 6px 16px rgba(255, 205, 7, 0.45) !important;
    transform: translateY(-2px);
}

#kpi04.kpi-meta-ativo {
    background-color: #ff8c00 !important;
    box-shadow:
        0 0 0 3px #ff8c00,
        0 6px 16px rgba(255, 140, 0, 0.45) !important;
    transform: translateY(-2px);
}

#kpi05.kpi-meta-ativo {
    background-color: #e6143c !important;
    box-shadow:
        0 0 0 3px #e6143c,
        0 6px 16px rgba(230, 20, 60, 0.45) !important;
    transform: translateY(-2px);
}

#kpi06.kpi-meta-ativo {
    background-color: #8b0000 !important;
    box-shadow:
        0 0 0 3px #8b0000,
        0 6px 16px rgba(139, 0, 0, 0.45) !important;
    transform: translateY(-2px);
}

/* Texto branco para fundos escuros */
#kpi01.kpi-meta-ativo .qv-object-kpi *,
#kpi02.kpi-meta-ativo .qv-object-kpi *,
#kpi04.kpi-meta-ativo .qv-object-kpi *,
#kpi05.kpi-meta-ativo .qv-object-kpi *,
#kpi06.kpi-meta-ativo .qv-object-kpi * {
    color: #ffffff !important;
}

/* Texto escuro para fundo amarelo (legibilidade) */
#kpi03.kpi-meta-ativo .qv-object-kpi * {
    color: #1a1a1a !important;
}

#kpi01 .qv-object-kpi * {
    color: black !important;
    font-weight: bold !important;
}

#kpi02 .qv-object-kpi * {
    color: black !important;
    font-weight: bold !important;
}

#kpi03 .qv-object-kpi * {
    color: black !important;
    font-weight: bold !important;
}

#kpi04 .qv-object-kpi * {
    color: black !important;
    font-weight: bold !important;
}

#kpi05 .qv-object-kpi * {
    color: black !important;
    font-weight: bold !important;
}

#kpi06 .qv-object-kpi * {
    color: black !important;
    font-weight: bold !important;
}

.kpi-border1.imunobiologicos-card {
    border-color: #2670e8;
    border-top-color: #2670e8;
}

.kpi-border2.imunobiologicos-card {
    border-color: #36a191;
    border-top-color: #36a191;
}

.kpi-border3.imunobiologicos-card {
    border-color: #ffcd07;
    border-top-color: #ffcd07;
}

.kpi-border4.imunobiologicos-card {
    border-color: #ff8c00;
    border-top-color: #ff8c00;
}

.kpi-border5.imunobiologicos-card {
    border-color: #dc143c;
    border-top-color: #dc143c;
}

.kpi-border6.imunobiologicos-card {
    border-color: #8b0000;
    border-top-color: #8b0000;
}

.imunobiologicos-card {
    height: 150px !important;
    min-height: 80px;
    background-clip: padding-box;
    border: 2px solid #2670e8;
    border-top-width: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    margin-top: 15px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.imunobiologicos-card:hover {
    box-shadow: 4px 4px 8px rgba(0, 51, 102, 0.5);
}

.imunobiologicos-card>.ds-kpi {
    flex: 1 1 auto;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.imunobiologicos-card>.ds-kpi .qv-object,
.imunobiologicos-card>.ds-kpi .qv-object-content-container,
.imunobiologicos-card>.ds-kpi .qv-object-content {
    background-color: transparent !important;
    border: none !important;
}

.ds-kpi {
    width: unset !important;
    min-height: 0 !important;
}

.ds-kpi .qv-object-content-container,
.ds-kpi .qv-object-content,
.ds-kpi .sn-kpi {
    height: 100% !important;
}

.ds-kpi .sn-kpi-data {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    grid-template-rows: 1fr auto !important;
    align-items: end !important;
    gap: 0 0.5rem !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0.75rem 1rem 0.5rem !important;
    box-sizing: border-box !important;
}

.ds-kpi .sn-kpi-measure-wrapper {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    align-self: start !important;
    width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.25 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.ds-kpi .sn-kpi-measure-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #111 !important;
    white-space: normal !important;
    max-width: 100% !important;
}

.ds-kpi .sn-kpi-value-wrapper {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    text-align: right !important;
    gap: 0 !important;
}

.ds-kpi .sn-kpi-value-wrapper .sn-kpi-value {
    font-size: 3.25rem !important;
    font-weight: 700 !important;
    color: #000 !important;
    line-height: 1 !important;
}

.ds-kpi .sn-kpi-secondary-wrapper {
    grid-column: 3 !important;
    grid-row: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    gap: 0.1rem !important;
    padding-bottom: 0.15rem !important;
    font-size: 0.95rem !important;
    color: #444 !important;
}

.ds-kpi .sn-kpi-secondary-wrapper .sn-kpi-value,
.ds-kpi .sn-kpi-secondary-wrapper .sn-kpi-secondary-value {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    line-height: 1.1 !important;
}

.ds-kpi .sn-kpi-secondary-wrapper .sn-kpi-title {
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    margin-top: 0 !important;
    color: #000 !important;
    text-transform: none !important;
    line-height: 1 !important;
}

.ds-kpi .sn-kpi-ellips-text {
    line-height: 1.25 !important;
}

/* KPI grande (Total de doses): título + número centralizados */
.kpi-grande.card-kpi .qv-object-title,
.kpi-grande.card-kpi .qv-object-header {
    display: none !important;
}

.kpi-grande.card-kpi .sn-kpi-data {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    text-align: center !important;
    gap: 0 !important;
    padding: 1.35rem 1.5rem 1rem !important;
}

.kpi-grande.card-kpi .sn-kpi-measure-wrapper {
    grid-column: unset !important;
    grid-row: unset !important;
    align-self: center !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: auto !important;
}

.kpi-grande.card-kpi .sn-kpi-measure-title,
.kpi-grande.card-kpi .sn-kpi-measure-wrapper .sn-kpi-ellips-text {
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #000 !important;
    margin: 0 0 16px !important;
}

.kpi-grande.card-kpi .sn-kpi-value-wrapper {
    grid-column: unset !important;
    grid-row: unset !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.kpi-grande.card-kpi .sn-kpi-value-wrapper .sn-kpi-value,
.kpi-grande.card-kpi .sn-kpi-value-wrapper .sn-kpi-ellips-text {
    font-size: 64px !important;
    font-weight: 700 !important;
    color: #18569e !important;
    text-align: center !important;
    line-height: 1 !important;
}

.kpi-grande.card-kpi .sn-kpi-secondary-wrapper {
    display: none !important;
}

.br-scrim-util.foco {
    z-index: 1000 !important;
}

.kpi-container {
    text-align: justify;
}

.br-card[data-card] {
    scroll-margin-top: 200px;
}

.menu-close {
    padding-top: 30px;
}

.br-header.sticky+main .menu-close {
    padding-top: 0;
}

/* Responsividade */

/* ==================== RESPONSIVIDADE ==================== */

@media (max-width: 1600px) {
    body:has(.br-menu.push.active) .card-principal a {
        width: 100%;
        max-width: 360px;
        display: block;
        white-space: normal;
        text-align: center;
        word-wrap: break-word;
        height: fit-content;
    }
}

@media (max-width: 1200px) {
    .kpi-grande .sn-kpi-ellips-text {
        font-size: 40px !important;
    }

    .kpi-grande .sn-kpi-measure-title {
        font-size: 20px !important;
    }

    .kpi-pequeno .sn-kpi-ellips-text {
        font-size: 25px !important;
    }

    .kpi-pequeno .sn-kpi-measure-title {
        font-size: 12px !important;
    }
}

@media (min-width: 991px) and (max-width: 1200px) {
    .card-principal a {
        width: 100%;
        max-width: 360px;
        display: block;
        white-space: normal;
        text-align: center;
        word-wrap: break-word;
        height: fit-content;
    }
}

@media (max-width: 991.98px) {
    #como-navegar-modal .como-navegar-meta {
        margin-bottom: 0.5rem;
    }

    #como-navegar-modal .como-navegar-texto {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 991px) {

    /* Ajustes para o header */
    .br-header .header-bottom {
        margin-top: unset;
    }

    .br-header.compact .header-bottom {
        padding-top: unset;
    }

    .tab-mobile .nav-tabs-custom {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .tab-mobile .tab-item {
        border-bottom: 1px solid #ccc;
    }

    .tab-mobile .tab-item.active {
        border-bottom: 2px solid #1351b4;
    }

    .tab-mobile .tab-item button {
        width: 100%;
        padding: 12px 0;
        background: transparent;
        border: none;
        color: #666;
        font-weight: 500;
        font-size: 16px;
    }

    .tab-mobile .tab-item.active button {
        color: #1351b4;
        font-weight: bold;
    }

    .tab-mobile .tab-item i {
        color: inherit;
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .tab-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-item {
        width: 100%;
    }

    .tab-item button {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tab-item .d-flex {
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    .tab-item .icon {
        margin: 0;
    }

    .border-end {
        border-right: none !important;
    }

    .fullScren_desktop {
        display: none !important;
    }

    .fullScren_mobile {
        display: inline-block !important;
    }

    .img-icone-ajustavel {
        width: 150px;
    }

    .width-360 {
        width: 354px !important;
    }

    .table-responsive {
        padding: 0 !important;
        overflow-x: unset !important;
    }

    .kpi-grande {
        height: 150px !important;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .card-footer .card-buttons {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center !important;
        gap: 0.25rem 0.5rem;
    }

    .card-footer .card-buttons .br-button span {
        font-size: 0.7rem;
    }

    .card-footer .card-buttons .br-button i {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .br-breadcrumb .crumb-list {
        flex-wrap: wrap;
    }

    .card-footer .card-buttons {
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .card-footer .card-buttons .br-button span {
        font-size: 0.7rem;
    }

    .card-footer .card-buttons .br-button i {
        font-size: 1rem;
    }

    .width-360 {
        width: 354px !important;
    }
}

@media (max-width: 576px) {
    .filtro-dica {
        max-width: min(220px, calc(100vw - 80px));
        font-size: 0.8125rem;
    }

    .br-notification {
        min-height: 50px;
    }
}

@media (max-width: 575px) {
    .img-icone-ajustavel {
        width: 120px;
    }

    .br-list {
        margin-left: -80px;
    }

    .width-360 {
        width: 354px !important;
    }

    .tabulando-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .tabulando-button {
        font-size: 14px;
        padding: 0.25rem 0.4rem;
        flex-shrink: 0;
        border-radius: 6px;
        box-shadow: none;
    }

    .tabulando-container::-webkit-scrollbar {
        display: none;
    }

    .tabulando-button i {
        display: none;
    }

    .card-footer .br-button i {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    .card-footer .br-button .bt-text,
    .card-footer .br-button span {
        display: block;
        line-height: 1;
    }

    /* .card-footer .br-button span {
        display: none;
    } */

    #QV06 .kpi-label-info {
        top: 100px !important;
        /* ajuste conforme o layout do KPI */
        left: 30px !important;
    }

    .kpi-label-info .label-left,
    .kpi-label-info .label-right {
        display: inline-block;
    }

    .br-accordion .content {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Ajustes para menu de filtros mobile */
    .menu-container .menu-panel {
        padding-left: 10px;
    }

    /* z index 1001 para ficar logo acima da tag bar flutante  */
    .menu-container {
        z-index: 1001 !important;
        position: fixed !important;
        top: 80px !important;
        max-height: calc(100vh - 80px);
        overflow-y: scroll;
    }

    .menu-footer {
        margin-bottom: 65px;
    }

    .menu-close {
        padding-top: 0;
    }

    .br-menu .menu-header {
        display: none;
    }

    .br-scrim-util.foco .br-modal {
        --modal-size: var(--modal-small);
        width: calc(100vw - 2rem);
        max-height: calc(100vh - 2rem);
    }
}

/* ======== Card cobertura vacinal (Web Component) ======== */

.cobertura-gauge-col > .br-card[data-card="semafaro01"] {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0 !important;
    overflow: hidden;
}

.cobertura-gauge-col > .br-card[data-card="semafaro01"][style*="height:"] {
    flex: 0 0 auto;
    min-height: 0;
}

.br-card[data-card="semafaro01"] .card-content {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: clamp(0.2rem, 1.2vw, 0.4rem);
}

.br-card[data-card="semafaro01"] .card-content.is-loading coverage-gauge {
    visibility: hidden;
}

.br-card[data-card="semafaro01"] coverage-gauge {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
}

.br-card[data-card="semafaro01"] .card-footer {
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

@media (min-width: 992px) {
    .cobertura-gauge-col > .br-card[data-card="semafaro01"][style*="height:"] {
        align-self: flex-start;
    }
}

@media (max-width: 991px) {
    .cobertura-gauge-col > .br-card[data-card="semafaro01"] {
        max-width: 100%;
        align-self: stretch;
        overflow: hidden;
    }

    .br-card[data-card="semafaro01"] .card-content {
        overflow: hidden;
    }

    .br-card[data-card="semafaro01"] .card-footer {
        background-color: #f3f3f3;
        border-top: 1px solid rgba(0, 0, 0, 0.125);
    }

    .br-card[data-card="semafaro01"] .card-footer .card-buttons {
        margin-top: 0.5rem;
        margin-bottom: 0.25rem;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.25rem;
    }
}

@media (max-width: 575px) {
    .br-card[data-card="semafaro01"] .card-content {
        padding: 0.35rem 0.5rem 0.35rem;
    }
}

.br-card[data-card="semafaro01"] .card-content .br-loading {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    transform: none;
    z-index: 15;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.cobertura-gauge-col {
    display: flex;
    flex-direction: column;
}

#febre-amarela-meta-kpis .qv-object-header,
#febre-amarela-meta-kpis .qv-object-title,
#febre-amarela-meta-kpis .qv-object-nav {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#febre-amarela-meta-kpis .qv-object,
#febre-amarela-meta-kpis .qv-inner-object,
#febre-amarela-meta-kpis .qv-object-content-container,
#febre-amarela-meta-kpis .qv-object-content {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

#febre-amarela-meta-kpis .ds-kpi .sn-kpi-data {
    padding: 2px 1rem 0.45rem !important;
    align-content: space-between !important;
}

#febre-amarela-meta-kpis .ds-kpi .sn-kpi-measure-wrapper,
#febre-amarela-meta-kpis .ds-kpi .sn-kpi-measure-title,
#febre-amarela-meta-kpis .ds-kpi .sn-kpi-measure-wrapper .sn-kpi-ellips-text {
    align-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

coverage-gauge {
    display: block;
    width: 100%;
}


.ds-gauge-card {
    padding: 1rem 1.25rem 0.75rem;
    background: #fff;
}

.ds-gauge {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 440px;
    position: relative;
}

.ds-gauge .br-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.ds-gauge__titulo {
    margin: 0 2.5rem 0.25rem 0;
    color: #1351b4;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.ds-gauge__subtitulo {
    margin: 0 0 0.75rem;
    color: #555;
    font-size: 0.85rem;
}

.ds-gauge__panel {
    flex: 1 1 auto;
    background: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.75rem 0.75rem 0;
    display: flex;
    flex-direction: column;
}

.ds-gauge__viz {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 auto;
}

.ds-gauge__chart {
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 150px;
    background: transparent;
    margin-bottom: 0;
}

.ds-gauge__svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

.ds-gauge__valor {
    margin: 0.25rem 0 0.35rem;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    margin-left: 40px;
    color: #333;
}

.ds-gauge__legenda {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.75rem;
    margin: 0;
    padding: 0.65rem 0 0.75rem;
    border-top: 1px solid #ccc;
}

.ds-gauge__legenda li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #333;
    font-size: 0.82rem;
}

.ds-gauge__swatch {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.ds-gauge__swatch--meta1 {
    background: #2670e8;
}

.ds-gauge__swatch--meta2 {
    background: #36a191;
}

.ds-gauge__swatch--meta3 {
    background: #ffcd07;
}

.ds-gauge__swatch--meta4 {
    background: #ff8c00;
}

.ds-gauge__swatch--meta5 {
    background: #dc143c;
}

.ds-gauge__swatch--meta6 {
    background: #8b0000;
}

.ds-gauge__status {
    margin: 0.65rem 0 0;
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #333;
}

.ds-gauge__status--success {
    color: #168821;
}

.ds-gauge__status--warning {
    color: #c2850a;
}

.ds-gauge__status--danger {
    color: #e52207;
}

@media (max-width: 575.98px) {
    .ds-gauge-card {
        padding: 0.75rem;
    }

    .ds-gauge__legenda {
        gap: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}