﻿@font-face {
    font-family: Gothic Regular;
    src: url(../fonts/gothicRegular.otf);
}

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

:root {
    --brand: #ff6f00;
    --light-gray: #373737;
    --dark-color: #454d55;
    --brand-text-color: hsl(221deg, 14%, 26%);
}

body {
    font-size: 16px;
    font-family: "Montserrat", Arial, sans-serif !important;
}

body,
.card,
.narrativa {
    transition: background-color 250ms ease-in-out;
}

.flex {
    display: flex;
}

.bold {
    font-weight: bold;
}

.card-btn {
    background: transparent !important;
    border: none !important;
    padding-left: 0 !important;
}

.card-btn p {
    font-size: 0.6em;
    color: var(--light-gray);
}

#notificacao-nps-modal .buttons-categorias .btn {
    border: none;
    background-color: transparent;
    border-bottom: 4px solid var(--light-gray);
    color: var(--light-gray);
    border-radius: 0;
    flex-basis: 144px;
    flex-grow: 1;
}

#notificacao-nps-modal .buttons-categorias .btn.active {
    border-bottom-color: var(--brand);
    color: var(--dark-color);
}

body.dark-mode #notificacao-nps-modal .buttons-categorias .btn.active {
    color: #fff;
}

#fade-out-dos-infernos {
    background: rgba(0, 0, 0, 0.414);
    width: 100%;
    position: fixed;
    height: 100%;
    z-index: 3;
    top: 0;
    left: 0;
}

.spinner-container {
    display: flex;
    width: 80px;
    height: 80px;
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    z-index: 2;
    align-items: center;
}

.spinner-border {
    border: 0.25em solid var(--brand);
    border-right-color: transparent;
    height: 100%;
    width: 100%;
}

.produtos-5 .spinner-container {
    top: 65%;
    transform: translate(50%, -65%);
}

.mapa-calor .spinner-container {
    position: static;
    width: 100%;
    transform: translate(0, 0);
    height: 235px;
}

.mapa-calor .spinner-border {
    width: 80px;
    height: 80px;
}

.italic {
    font-style: italic;
    font-weight: normal;
}

.small-text {
    font-size: 0.65em !important;
}

.container {
    max-width: 1366px;
    margin: 0 auto;
}

p,
h2 {
    margin: 0;
}

.card {
    width: 100%;
    border-radius: 1em;
}

/* .card .card__footer:has(.card-btn) {
    align-items: center !important;
} */

.col-md-2,
.col-md-3,
.col-md-4 {
    padding-left: 0;
}

/* DEFAULT */

#dashboard-franqueado {
    padding: 30.5px 0 0 7.5px;
}

#dashboard-franqueado>div.flex {
    /* Cabeçalho enxuto: centraliza verticalmente as duas colunas (info x score). */
    align-items: center;
}

#content-dashboard-franqueado .row {
    margin-left: 0;
    flex-wrap: nowrap;
    row-gap: 1.25em;
    justify-content: space-between;
}

/* INÍCIO INICIO */
.inicio .main-title {
    font-size: 1.4em;
    font-weight: 900;
    margin: 0;
}

.inicio>div {
    gap: 2.25em;
}

:is(.inicio, .produtos-5) :is(.store-filter-container, .month-filter-container, .card__header) label {
    margin: 0;
    color: var(--light-gray);
    margin-bottom: 0.6em;
    font-size: 0.6875em;
    display: block;
}

body.dark-mode .inicio :is(.store-filter-container, .month-filter-container) label {
    color: #fff;
}

body.dark-mode .produtos-5 .card__header label {
    color: var(--light-gray);
}

:is(.inicio, .produtos-5) :is(.store-filter-container,
    .month-filter-container,
    .produtos-5 .card__header) select {
    width: 100%;
    border: none;
    border-color: var(--light-gray) !important;
    border-bottom: 1px solid;
    outline: 0;
    color: var(--light-gray) !important;
    font-size: 0.75em;
    height: auto;
    padding: 0;
}

/* body.dark-mode .inicio :is(.store-filter-container, .month-filter-container) {
    background-color: #454d55 !important;
} */

body.dark-mode #filtro-mes {
    background-color: #454d55;
}

body.dark-mode .produtos-5 .card__header select {
    background-color: #343a40 !important;
}

body.dark-mode .inicio :is(.store-filter-container, .month-filter-container) select:not(option) {
    border-color: #fff !important;
    color: #fff !important;
}

:is(.inicio, .produtos-5) :is(.store-filter-container,
    .month-filter-container,
    .produtos-5 .card__header) select {
    color: var(--light-gray) !important;
}

.inicio :is(.store-filter-container, .month-filter-container) {
    flex-grow: 1;
}

/* Tom Select - filtro de loja (substitui o Select2) */
.inicio .store-filter-container .ts-wrapper {
    width: 100% !important;
    height: auto;
    min-height: auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

/* Controle igual aos selects vizinhos (mês/ano): transparente com borda inferior */
.inicio .store-filter-container .ts-wrapper.single .ts-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--light-gray);
    border-radius: 0;
    box-shadow: none;
    min-height: auto;
    padding: 0 1.25em 0.25em 0;
}

.inicio .store-filter-container .ts-control,
.inicio .store-filter-container .ts-control .item,
.inicio .store-filter-container .ts-control input {
    color: var(--light-gray) !important;
    font-size: 0.75em;
    line-height: normal;
}

.inicio .store-filter-container .ts-control input::placeholder {
    color: var(--light-gray);
}

/* seta na mesma cor do texto */
.inicio .store-filter-container .ts-wrapper.single .ts-control:after {
    border-color: var(--light-gray) transparent transparent transparent;
}

/* foco sem realce extra */
.inicio .store-filter-container .ts-wrapper.focus .ts-control,
.inicio .store-filter-container .ts-wrapper.input-active .ts-control {
    border-color: var(--light-gray);
    box-shadow: none;
}

/* dropdown anexado ao <body> (dropdownParent: 'body'): precisa ficar acima dos
   overlays (fade-out z-index 3 e overlay do tour z-index 10000 / popover) e
   continuar clicável durante o tour do driver.js. */
.ts-dropdown {
    z-index: 1000000001;
    background-color: #fff;
    color: #495057;
}

.ts-dropdown,
.ts-dropdown * {
    pointer-events: auto !important;
}

.ts-dropdown .option.active,
.ts-dropdown .active {
    background-color: var(--brand);
    color: #fff;
}

/* dark mode: igual aos vizinhos (texto e borda em branco) */
body.dark-mode .inicio .store-filter-container .ts-wrapper.single .ts-control {
    border-bottom-color: #fff;
}

body.dark-mode .inicio .store-filter-container .ts-control,
body.dark-mode .inicio .store-filter-container .ts-control .item,
body.dark-mode .inicio .store-filter-container .ts-control input,
body.dark-mode .inicio .store-filter-container .ts-control input::placeholder {
    color: #fff !important;
}

body.dark-mode .inicio .store-filter-container .ts-wrapper.single .ts-control:after {
    border-color: #fff transparent transparent transparent;
}

/* tour: esconde apenas o "x"; o único botão visível é o "Concluir" */
.driver-popover-close-btn {
    display: none !important;
}

/* FIM INICIO */

/* INÍCIO COMUNICADOS CAROUSEL (topo do dashboard) */
.comunicados {
    margin: 60px 0.5px 0.1em;
}

.comunicados__panel {
    position: relative;
    background-color: #fff;
    border-radius: 1em;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 158px;
}

.comunicados__viewport {
    overflow: hidden;
    height: 100%;
}

.comunicados__track {
    display: flex;
    height: 100%;
    transition: transform 450ms ease;
}

.comunicado-slide {
    position: relative;
    isolation: isolate;
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

/* slide com link_url: toda a área é clicável */
.comunicado-slide--link {
    cursor: pointer;
}

/* mídia = banner inteiro (fundo cobrindo todo o slide) */
.comunicado-slide__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.comunicado-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* sem imagem: gradiente da marca preenche o banner inteiro */
.comunicado-slide__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1.5em;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8em;
    background: linear-gradient(120deg, #F47C20 0%, #e06a12 45%, #6CAE3E 130%);
}

/* navegação prev/next */
.comunicados__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffffff03;
    border: 1px solid #e3e3e300;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #ffffff;
    font-size: 1.10em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color 200ms ease, color 200ms ease;
}

.comunicados__nav:hover {
    background-color: #F47C20;
    border-color: #F47C20;
    color: #fff;
}

.comunicados__nav--prev {
    left: 0.7em;
}

.comunicados__nav--next {
    right: 0.7em;
}

/* dots */
.comunicados__dots {
    position: absolute;
    bottom: 0.9em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.comunicados__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #d4d4d4;
    cursor: pointer;
    transition: width 200ms ease, background-color 200ms ease;
}

.comunicados__dot.is-active {
    width: 18px;
    border-radius: 4px;
    background-color: #F47C20;
}

/* barra de progresso (base) */
.comunicados__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.comunicados__progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background-color: #F47C20;
}

/* fechar (x) — círculo claro para continuar visível sobre a imagem */
.comunicados__close {
    position: absolute;
    top: 0.55em;
    right: 0.6em;
    z-index: 3;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: #555;
    font-size: 1.1em;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.comunicados__close:hover {
    color: #000;
    background: #fff;
}

/* estado recolhido: pílula */
.comunicados__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background-color: #fff;
    border: 1px solid #f0d3bb;
    color: #F47C20;
    font-size: 0.8em;
    font-weight: 700;
    padding: 0.55em 1.1em;
    border-radius: 2em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 200ms ease, color 200ms ease;
}

.comunicados__pill:hover {
    background-color: #F47C20;
    color: #fff;
    border-color: #F47C20;
}

.comunicados__pill i {
    font-size: 0.95em;
}

/* garante o esconde via atributo hidden (regra de autor sobrepõe a do UA) */
.comunicados__panel[hidden],
.comunicados__pill[hidden] {
    display: none !important;
}

/* dark mode */
body.dark-mode .comunicados__panel {
    background-color: #2b3035;
}

body.dark-mode .comunicados__nav {
    background-color: #3a4046;
    border-color: #4a5158;
    color: #fff;
}

body.dark-mode .comunicados__pill {
    background-color: #3a4046;
    border-color: #4a5158;
    color: #F47C20;
}

/* responsivo */
@media (max-width: 768px) {
    .comunicados__panel {
        height: auto;
        min-height: 158px;
    }
}

/* FIM COMUNICADOS CAROUSEL */

/* INÍCIO RESUMO */
.resumo.row {
    align-items: center;
    gap: 1em;
    margin: 0.55em 0;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.resumo div {
    align-items: center;
}

.resumo div:first-child {
    gap: 1.3em;
}

.resumo .resumo__inicio {
    width: 82%;
}

.resumo .resumo__perfil {
    height: 70px;
    min-width: 72px;
    width: 72px;
    position: relative;
}

.resumo .resumo__perfil img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.resumo .resumo__perfil .notificacao {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    padding: 0.25em;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    font-size: 10px;
}

/* .resumo .resumo__perfil .notificacao::before {
    content: '';
    height: 100%;
    width: 100%;
    border-radius: 50%;
    align-items: center;
    display: flex;
    justify-content: center;
} */

.resumo .resumo__perfil .notificacao .notificacao__qtde {
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    height: 100%;
    width: 100%;
    background-color: #92d50a;
    color: #fff;
}

.resumo .resumo__info {
    width: 80%;
}

.resumo .resumo__info h2 {
    font-size: 18px;
}

.resumo .resumo__info p {
    font-size: 13px;
}

.resumo .resumo__tempo-atividade {
    text-align: center;
    text-wrap: nowrap;
}

/* FIM RESUMO */

/* INÍCIO SCORE */
.score {
    padding-left: 2em;
    padding-right: 0;
}

.score img {
    width: 50%;
}

.score__posicao {
    align-items: center;
    margin-bottom: 0.5em;
    justify-content: space-between;
}

.score__posicao span {
    font-size: 1.625em;
    font-weight: 900;
}

.score .scores {
    justify-content: space-between;
}

.score .scores>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.score .scores .circle {
    /* text-align: center; */
    border: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 0.3em;
}

.score .circle span {
    font-size: 0.75em;
    color: var(--light-gray);
}

.score p {
    font-size: 11px;
}

.score__footer>button {
    color: var(--light-gray);
}

.score #rankingGeral thead th,
#ranking-nps-modal thead th {
    background-color: var(--brand);
    color: #fff;
    border: none;
}

.score #rankingGeral :is(td, th),
#ranking-nps-modal :is(td, th) {
    text-align: center;
    padding: 0.5em 0.75em;
    font-size: 0.75em;
}

.score #rankingGeral .top,
#ranking-nps-modal .top {
    display: flex;
    justify-content: space-between;
}

/* FIM SCORE */

/* INÍCIO CARDs GLOBAL */
.card__header {
    padding: 11px 11px 0;
}

.header__content {
    display: flex;
    justify-content: space-between;
}

.header__content i {
    color: var(--secondary);
}

/* FIM CARDs GLOBAL */

/* INÍCIO DRE */
.dre {
    background-color: var(--brand);
    color: #fff;
    justify-content: space-around;
}

.card__header .dre__title {
    font-weight: 600;
}

body.dark-mode .card__header .dre__title {
    color: var(--brand);
}

.card__body,
.card__footer {
    padding: 0 11px 11px;
}

:is(.card__body, .card__footer) h4 {
    font-size: 11px;
}

.card__footer:not(.penetracao .card__footer) {
    align-items: center;
    padding: 0 0.6875em 0.6875em;
    justify-content: space-between;
}

.dre__custo-valor,
.dre__margem-lucro-valor,
.dre__receita-bruta-valor {
    font-size: 1.25em;
    font-weight: bold;
}

.dre__custos,
.dre__margem-lucro {
    margin-top: 1em;
}

.dre span:not(.bold, .italic, .small-text),
small {
    display: block;
}

.dre small {
    font-size: 0.625em;
}

.dre .card__footer {
    border-top: 1px solid #fff;
}

.dre .card__footer svg+p {
    color: #fff;
}

body.dark-mode .dre .card__footer svg g path {
    fill: var(--light-gray);
}

body.dark-mode .dre .card__footer svg+p {
    color: var(--light-gray);
}

/* FIM DRE */

/* INÍCIO FATURAMENTO */

.faturamento {
    font-family: 'Roboto', sans-serif;
    justify-content: center;
    flex-direction: row;
}

.card.faturamento {
    min-width: min-content;
}

.line {
    width: 27%;
    height: 10px;
    background-color: var(--brand);
    margin-bottom: 0.6em;
}

.faturamento .card__body {
    padding: 0 11px;
}

.card__title:not(.dre .card__title),
.modal-title {
    color: var(--brand);
}

.card__title {
    font-size: 0.9em;
}

.card__paragraph,
.card__footer p:not(.card-btn p),
.modal-paragraph {
    color: var(--light-gray);
    margin: 0.6em 0;
    font-size: 0.6875em;
}

.card__main-value {
    font-size: 2em;
    font-weight: bold;
}

.stars {
    align-items: center;
}

.card.nps .stars i {
    font-size: 0.5rem;
    color: #d9d9d9;
}

.card.nps i.active {
    color: #ffbd00;
}

.card__estatistic .estatistic__value {
    color: var(--light-gray);
    font-size: 0.6875em;
}

.card__estatistic #icone-nps svg.down {
    transform: rotate(180deg);
}

.nps .categorias {
    margin-top: 1rem;
}

.nps .categorias .categorias__categoria {
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.nps .categorias .categorias__categoria label {
    font-size: 10px;
    color: var(--light-gray);
    font-weight: normal;
    width: 45%;
    margin: 0;
    text-align: right;
}

.nps .categorias .progress {
    width: 100%;
    border-radius: 3px;
}

.faturamento__right-side {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0.6875em;
}

.faturamento__right-side>.card__body {
    height: 100%;
}

.faturamento__right-side section {
    text-align: center;
}

.faturamento__right-side section span {
    font-size: 1.65rem;
    line-height: 0;
}

.faturamento__right-side section p {
    color: var(--light-gray);
    font-size: 9px;
}

.faturamento .faturamento__line {
    background-color: rgba(0, 0, 0, 0.125);
    height: 100%;
    width: 1px;
}

body.dark-mode .faturamento .faturamento__line {
    background-color: rgba(255, 255, 255, 0.125);
}

.faturamento__left-side {
    position: relative;
    flex-grow: 1;
}

.faturamento__left-side>div {
    padding: 0 0.6875em;
    width: 100%;
    height: min-content;
}

#grafico-faturamento {
    width: 100% !important;
}

/* FIM FATURAMENTO */

/* INÍCIO PARETO */
:is(.pareto, .giro-preco-medio, .produtos-5) .card__header .italic {
    font-size: 0.75em;
}

.analise-pareto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5625em;
    padding: 0 0.6875em 1.875em;
}

.left-side,
.right-side {
    text-align: center;
}

:is(.left-side, .right-side)>span:not(span.estatistic__value) {
    font-size: 2em;
}

:is(.left-side, .right-side) p {
    color: var(--light-gray);
    margin-bottom: 0.5em;
    font-size: 0.75em;
}

.analise-pareto .bubbles {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.analise-pareto .bubbles .bubble {
    width: 15px;
    height: 15px;
    background-color: #c9c9c9c9;
    border-radius: 50%;
}

.analise-pareto .bubble.active {
    background-color: var(--brand);
}

.pareto .modal .modal-content {
    border-radius: 1rem;
    padding: 1.5rem;
}

.pareto .modal .modal-header {
    display: block;
}

.modal-lg:not(#modal-pesquisa-satisfacao .modal-lg) {
    max-width: 1050px;
}

#modal-pesquisa-satisfacao .modal-content {
    padding: 0;
}

#modal-pesquisa-satisfacao .modal-body {
    padding: 0;
}

.modal-nt {
    max-width: 800px;
}

.pareto .modal .modal-header .line {
    width: 11%;
}

.pareto .modal .modal-title {
    font-size: 22px;
}

.pareto .modal .modal-footer button {
    background: transparent;
    border: none;
    color: #919191;
}

.pareto .modal :is(.modal-header, .modal-footer) {
    border: none;
}

.pareto .modal .table {
    color: #919191;
}

.pareto .modal .table :is(th, td) {
    padding: 0.75em 0;
    vertical-align: middle;
    border-top: none;
}

.pareto .modal .table thead tr {
    border-bottom: 1px solid #e9e9e9;
}

.pareto .modal .table thead th {
    color: var(--brand);
    border: none;
}

.pareto .modal .table :is(thead, tfoot) :is(td:first-child, th) {
    font-size: 15px;
}

.pareto .modal .table :is(tbody, tfoot) td:not(tfoot td:first-child) {
    font-size: 14px;
}

.pareto .modal .table tr :is(td, th):not(tr td:first-child, tr th:first-child) {
    text-align: center;
}

.pareto .modal .table tfoot td[colspan='3'] {
    color: var(--brand);
    font-weight: bold;
}

.pareto .modal .table tfoot tr {
    border-top: 1px solid #e9e9e9;
}

.pareto .modal .table tfoot td:not(td:first-child) {
    font-weight: bold;
}

:is(.card__body, .card__footer) .narrativa {
    background-color: #f2f2f2;
    color: #c9c9c9c9;
    width: 100%;
    text-align: center;
    border-radius: 0.75em;
    padding: 0.1em 0.6em;
}

body.dark-mode :is(.card__body, .card__footer) .narrativa {
    background-color: var(--dark-color);
}

.pareto .narrativa {
    padding: 0.6em;
}

.pareto .narrativa p {
    font-size: 0.6875em;
    color: #c9c9c9;
}

.card__footer .btn.ver {
    font-size: 0.6875em;
    color: #c9c9c9;
    padding-right: 0;
    text-wrap: nowrap;
    padding-bottom: 0;
}

/* FIM PARETO */

/* INÍCIO NPS */
.nps .card__zone {
    position: absolute;
    right: 21px;
    top: -21px;
    width: 142px;
    height: 35px;
    padding: 9px 8px 0;
    z-index: -1;
    border-radius: 12px;
}

.nps .card__zone.zona_excelencia {
    background-color: rgb(0, 174, 76);
}

.nps .card__zone.zona_qualidade {
    background-color: rgb(0, 199, 108);
}

.nps .card__zone.zona_aperfeicoamento {
    background-color: rgb(255, 180, 0);
}

.nps .card__zone.zona_critica {
    background-color: rgb(255, 98, 94);
}

.card__zone h4 {
    font-size: 0.875em;
    text-align: center;
    color: #fff;
    font-weight: bold;
}

.nps .card__body {
    padding-bottom: 1.75em;
}

.dados-nps {
    justify-content: space-between;
    align-items: flex-start;
}

.dados-nps .right-side div {
    align-items: center;
    gap: 0.1em;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    max-width: 107px;
}

.dados-nps .right-side div p {
    margin: 0;
    font-size: 0.875em;
}

.nps .dados-nps .right-side i.fas.fa-star {
    font-size: 0.5rem;
}

.nps .card__footer {
    text-align: right;
}

/* FIM NPS */

/* INÍCIO ANÁLISE-PENETRAÇÃO */
.penetracao .card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 1em;
}

.penetracao .card__body .left-side {
    width: 100%;
    position: relative;
}

.penetracao .card__body .left-side #grafico-penetracao+div {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.penetracao .card__body .penetracao__valor-porcentagem {
    font-size: 2.2em;
}

.penetracao .card__body .left-side #grafico-penetracao+div p {
    font-size: 0.5625em;
}

.penetracao .card__body .right-side {
    justify-content: space-evenly;
    gap: 1.1em;
    flex-wrap: wrap;
}

.penetracao .card__body .right-side>div {
    line-height: 1.25em;
}

.penetracao .card__body .right-side .valor {
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.penetracao .card__body .right-side .valor span.bold {
    font-size: 1.1em;
}

.penetracao .card__body .right-side p {
    font-size: 0.67em;
}

.penetracao .card__body .right-side .valor img {
    width: 1.25em;
}

.penetracao .card__footer .narrativa {
    width: 100%;
}

/* FIM ANÁLISE-PENETRAÇÃO */

/* INÍCIO GIRO-PREÇO MÉDIO */
/* INÍCIO COMUNICAÇÃO LICENCIADO (xSmart - Plano da Semana) */
.comunicacao-licenciado .card__body {
    padding: 0 0.6875em;
    display: flex;
    flex-direction: column;
    gap: 1.55em;
}

.comunicacao-licenciado .cl-cluster {
    align-self: flex-start;
    background-color: var(--brand);
    color: #fff;
    font-size: 0.5625em;
    font-weight: bold;
    padding: 0.3em 0.8em;
    border-radius: 1em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.comunicacao-licenciado .cl-meta__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
    font-size: 0.75em;
    color: var(--light-gray);
}

.comunicacao-licenciado .cl-meta__row .bold {
    color: var(--brand);
    white-space: nowrap;
}

.comunicacao-licenciado .cl-meta__sub {
    font-size: 0.625em;
    margin-top: 0.25em;
}

.comunicacao-licenciado .cl-progress {
    width: 100%;
    height: 7px;
    background-color: #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.35em;
}

.comunicacao-licenciado .cl-progress__bar {
    height: 100%;
    background-color: var(--brand);
    border-radius: 4px;
    transition: width 600ms ease;
}

.comunicacao-licenciado .cl-situacao {
    font-size: 0.6875em;
    color: var(--light-gray);
    margin: 0;
}

.comunicacao-licenciado .cl-situacao::first-letter {
    text-transform: uppercase;
}

.comunicacao-licenciado .cl-potencial {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #fff7e6, #ffe8c2);
    border: 1px solid #e8c87a;
    border-radius: 0.6em;
    padding: 0.5em 0.7em;
    margin-top: auto;
}

.comunicacao-licenciado .cl-potencial__label {
    font-size: 0.5625em;
    color: #8a6d1f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.comunicacao-licenciado .cl-potencial__valor {
    font-size: 1.3em;
    font-weight: bold;
    color: #b8860b;
    line-height: 1.2;
}

.comunicacao-licenciado .cl-footer {
    justify-content: center !important;
}

.comunicacao-licenciado .cl-ver-mais {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
    width: 100%;
    background-color: #25d366;
    color: #fff;
    font-size: 0.75em;
    font-weight: bold;
    padding: 0.55em 0.8em;
    border-radius: 0.5em;
    text-decoration: none;
    transition: background-color 200ms ease;
}

.comunicacao-licenciado .cl-ver-mais:hover,
.comunicacao-licenciado .cl-ver-mais:focus {
    background-color: #1ebe5b;
    color: #fff;
}

/* dark mode */
body.dark-mode .comunicacao-licenciado .cl-meta__row,
body.dark-mode .comunicacao-licenciado .cl-situacao {
    color: #fff;
}

body.dark-mode .comunicacao-licenciado .cl-progress {
    background-color: var(--dark-color);
}

/* FIM COMUNICAÇÃO LICENCIADO */

/* INÍCIO PRODUTOS 5+ */
:is(.produtos-5, #produtos-cinco-mais-modal) .card__body {
    display: flex;
    align-items: center;
    height: 55%;
    justify-content: center;
}

.estoque {
    align-items: flex-end;
}

.produtos-5__line {
    height: 100%;
    width: 1px;
    background-color: rgb(191, 191, 191);
}

.produtos-5 .card__paragraph {
    margin-bottom: 0;
}

.produtos-5 .card__header label {
    margin-bottom: 0;
    margin-top: 0.6em;
    font-weight: normal;
}

.produtos-5 i.tip {
    font-size: 0.625em;
    color: #bfbfbf;
}

.estoque,
.vendidos {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

:is(.estoque, .vendidos) div {
    height: 20px;
}

.estoque div:not(.estoque > div) {
    background-color: #ff6f00;
}

.estoque div:not(.estoque > div):hover {
    background-color: #bb5101;
}

.vendidos div:not(.vendidos > div) {
    background-color: #b1de54;
}

.vendidos div:not(.vendidos > div):hover {
    background-color: #84a83c;
}

.produtos-5 :is(.card__footer, .label__green, .label__orange) {
    align-items: center;
}

.produtos-5 .card__footer.flex {
    justify-content: space-between;
}

.produtos-5 .card__footer :is(.label__green, .label__orange) {
    gap: 0.3em;
}

/* FIM PRODUTOS 5+ */

/* INÍCIO MAPA-CALOR */
.apexcharts-toolbar {
    z-index: 0 !important;
}

.mapa-calor .mapa-calor__legendas {
    width: 100%;
    height: 20px;
    display: flex;
}

.mapa-calor .mapa-calor__legendas .mapa-calor__legenda {
    width: 20%;
    height: 100%;
    flex-grow: 1;
}

.mapa-calor .mapa-calor__legendas .mapa-calor__legenda:nth-child(1) {
    background-color: #f2f2f2;
}

.mapa-calor .mapa-calor__legendas .mapa-calor__legenda:nth-child(2) {
    background-color: #fbe5d6;
}

.mapa-calor .mapa-calor__legendas .mapa-calor__legenda:nth-child(3) {
    background-color: #f4b183;
}

.mapa-calor .mapa-calor__legendas .mapa-calor__legenda:nth-child(4) {
    background-color: #ff6f00;
}

.mapa-calor .mapa-calor__legendas .mapa-calor__legenda:nth-child(5) {
    background-color: #ff4000;
}

.mapa-calor .mapa-calor__legendas+div {
    display: flex;
    justify-content: space-between;
    font-size: 0.75em;
    color: #c9c9c9;
    margin-top: 5px;
}

body.dark-mode .mapa-calor .apexcharts-menu {
    background-color: var(--dark-color);
}

body.dark-mode .mapa-calor #mapa-calor {
    color: #000;
}

body.dark-mode .mapa-calor #mapa-calor svg text {
    fill: #fff;
}

/* FIM MAPA-CALOR */

/* INÍCIO MODAL */
.modal .modal-content {
    border-radius: 1.25em;
    padding: 1.25em;
}

.modal .modal-content .modal-header {
    display: block;
    padding: 0;
    padding-bottom: 1rem;
}

.modal .modal-content .modal-header .modal-title {
    font-size: 1.5em;
}

.modal .modal-content .modal-body {
    padding: 1rem 0;
}

.modal .modal-content .modal-footer {
    border-top: none;
    padding: 0;
}

.modal#modal-glossario p {
    color: gray;
    margin-top: 0.5em;
}

.modal#modal-glossario p.italic {
    margin-top: 0.8em;
    font-size: 0.875em;
}

.modal#modal-glossario ul {
    list-style-type: disc;
    padding-left: 2em;
    display: block !important;
    color: gray;
}

body.dark-mode .modal#modal-glossario p {
    color: #e7e7e7;
}

/* list-style-type: disc;
padding-left: 2em;
display: block !important; */

/* FIM MODAL */

.pagination {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.page-link {
    color: var(--dark-color) !important;
}

.page-link:focus {
    box-shadow: none;
}

.page-item {
    cursor: pointer;
}

.atual-page {
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: var(--brand) !important;
}

.conteudo-balao {
    padding: 1.7rem;
}

.balao {
    background: #9f9f9f;
    border-radius: 15px;
    color: #fff;
    width: 100%;
    position: relative;
}

.balao h4 {
    font-weight: bold;
}

.balao:after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #9f9f9f;
    bottom: -20px;
    left: 20%;
}

.div-mascote {
    display: flex;
    margin-top: 1rem;
    height: 16rem;
}

.conteudo-rodape {
    display: flex;
    align-items: end;
    height: 100%;
}

.conteudo-rodape div {
    padding: 1rem;
    border-left: 3px solid #9f9f9f;
}

.conteudo-rodape div p {
    font-style: italic;
}


.buttons-categorias {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-categoria {
    background-color: var(--light-gray);
    color: #fff;
    font-weight: bold;
}

.btn-categoria:hover {
    background-color: var(--brand);
    color: #fff;
}

.btn-categoria .active {
    background-color: var(--brand);
}

#corpo-notificacao {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#btn-modal-cashback {
    margin-top: -6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#btn-modal-cashback:hover #novo-cashback {
    background-color: #bb5101;
    border-color: #bb5101;
    transition: 1s;
}

#novo-cashback {
    margin: -10px 0 0 0;
    background: var(--brand);
    padding: 0 4px;
    border: 1px solid var(--brand);
    border-radius: 8px;
    font-size: 12px;
    color: white;
    font-weight: bold;
    box-shadow: 0px 1px 1px 1px #8e8e8ee5;
}

#btn-imagem-consumo {
    background-color: #e6e6e6;
    padding: 6px;
    border: 1px solid #bfbfbf;
    border-radius: 2px;
    font-size: 0.8rem;
}

#btn-imagem-consumo:hover {
    background-color: #b9b9b9;

}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: start !important;
}

.notifica-renovacao .alert-warning {
    color: #664d03;
    background-color: #fff3cd !important;
    border-color: #ffecb5;
    margin-bottom: unset;
}

.link-renovacao {
    color: #ff7d21 !important;
}

/* INÍCIO RESPONSIVIDADE */
@media screen and (max-width: 1157px) {
    .pareto .analise-pareto {
        padding-bottom: 0.5em;
    }
}

@media screen and (max-width: 1080px) {
    #dashboard-franqueado .row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .score .circle span {
        font-size: 1.2em;
    }

    .pareto .analise-pareto {
        padding-bottom: 1.875em;
    }

    .dados-nps .right-side div {
        gap: 0.25em;
        max-width: max-content;
        width: auto;
    }

    .dados-nps .card__estatistic {
        justify-content: center;
    }

    .penetracao .card__body {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0;
    }

    .penetracao .card__body .left-side {
        width: 66%;
    }

    .penetracao .card__body .right-side {
        width: 22%;
    }

    .penetracao .card__body .right-side .valor {
        justify-content: flex-end;
    }

    .penetracao .card__body .right-side :is(.valor span, p) {
        text-wrap: nowrap;
    }

    .penetracao .card__body .right-side p br {
        display: none;
    }

    .giro-preco-medio .table :is(td, th) {
        font-size: 0.75em;
    }

    .mapa-calor .mapa-calor__legendas {
        margin-top: 0;
    }
}

@media screen and (min-width: 1080px) and (max-width: 1200px) {
    .penetracao .card__body .penetracao__valor-porcentagem {
        font-size: 1.5em;
    }
}

@media screen and (min-width: 768px) and (max-width: 1080px) {

    .col-md-3,
    .col-md-4 {
        max-width: none;
        min-width: 50%;
        flex-grow: 1;
    }

    .col-md-2 {
        min-width: 41.2%;
        max-width: 41.2%;
    }

    #content-dashboard-franqueado>div.row:first-child .col-md-2+.col-md-4 {
        max-width: none;
    }

    #dashboard-franqueado>div.flex {
        flex-direction: column;
    }

    #dashboard-franqueado>div.flex>.col-md-8 {
        max-width: 100%;
        padding: 0;
    }

    .score {
        max-width: 100%;
        padding: 0;
    }

    .score .scores .circle {
        width: 5.3125em;
        height: 5.3125em;
    }

    .score p {
        font-size: 1em;
    }

    .score img {
        width: 30%;
    }

    .faturamento .faturamento__left-side>div {
        width: 100%;
    }

    .faturamento .faturamento__left-side>div.mt-5 {
        margin-top: 1em !important;
    }

    .card__header :is(.card__title, .dre__title) {
        font-size: 1.5em;
    }

    .faturamento .faturamento__left-side {
        flex-grow: 1;
    }

    .penetracao .penetracao__valor-porcentagem {
        font-size: 2em;
    }

    .nps .card__body {
        padding-bottom: 0;
    }

    .nps #grafico-pesquisa {
        margin-top: 1em;
    }

    .analise-pareto .bubbles {
        max-width: 115px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1011px) {
    .analise-pareto .bubbles {
        gap: 3px;
    }

    .analise-pareto .bubbles .bubble {
        width: 17px;
        height: 17px;
    }
}

@media screen and (max-width: 835px) {
    .inicio__pesquisa {
        flex-direction: column;
    }

    .inicio__pesquisa :is(.month-filter-container, .store-filter-container) {
        width: 100%;
    }

    .inicio .main-title {
        text-align: center;
        font-size: 2em;
    }

    .inicio .main-title br {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 800px) {

    .col-md-2,
    .col-md-3,
    .col-md-4 {
        flex-grow: 1;
    }

    .col-md-3:has(.faturamento) {
        min-width: 61%;
    }

    .col-md-2 {
        min-width: 38.7%;
        max-width: 38.7%;
    }

    .col-md-3 {
        max-width: 50%;
        min-width: 50%;
    }

    .analise-pareto .bubbles {
        width: 90%;
        max-width: 115px;
        margin: 0 auto;
    }

    .analise-pareto .bubbles .bubble {
        width: 14px;
        height: 14px;
    }
}

@media screen and (max-width: 767px) {
    .container {
        padding-left: 0;
    }

    #dashboard-franqueado {
        margin-left: 0;
        margin-top: 75px;
    }

    #content-dashboard-franqueado>div.row:first-child .col-md-2+.col-md-4 {
        max-width: 100%;
    }

    #content-dashboard-franqueado>div.row:first-child .col-md-2+.col-md-4 .faturamento {
        justify-content: space-between;
    }

    #content-dashboard-franqueado>div.row:first-child .col-md-2+.col-md-4 .faturamento .faturamento__left-side {
        flex-grow: 1;
    }

    #content-dashboard-franqueado>div.row:first-child .col-md-2+.col-md-4 .faturamento .faturamento__right-side {
        flex-grow: 0.5;
    }

    .score .scores .circle {
        width: 80px;
        height: 80px;
    }

    .score p {
        font-size: 1em;
    }

    .dre__custo-valor,
    .dre__margem-lucro-valor,
    .dre__receita-bruta-valor {
        font-size: 2em;
    }

    .faturamento__left-side>div {
        width: auto;
        margin-top: 1em !important;
    }

    .faturamento__right-side section span {
        line-height: 1;
    }

    .nps .dados-nps {
        width: 100%;
        gap: 4em;
        justify-content: center;
    }

    .giro-preco-medio .card__header {
        justify-content: space-between;
    }

    .giro-preco-medio .card__body {
        height: auto;
    }

    .giro-preco-medio .table :is(td, th) {
        font-size: 0.8125em;
        padding: 0.8125em 6px;
    }

    .pareto .analise-pareto {
        justify-content: space-around;
    }

    .pareto .analise-pareto .bubbles {
        width: 105px;
    }

    .pareto .analise-pareto .bubbles .bubble {
        width: 15px;
        height: 15px;
    }

    .pareto .narrativa {
        width: 66%;
        margin: 0 auto;
    }

    .narrativa p {
        font-size: 0.8125em;
    }

    .penetracao .card__header {
        justify-content: space-between;
    }

    .penetracao .card__body {
        justify-content: center;
    }

    .penetracao .card__body .left-side {
        width: 42%;
        flex-grow: 0;
    }

    .penetracao .card__body .left-side div span.penetracao__valor-porcentagem {
        font-size: 2.25em;
        line-height: 1;
    }

    .penetracao #grafico-penetracao {
        height: 100%;
    }

    .penetracao .card__body .right-side {
        width: max-content;
        justify-content: space-between;
    }

    .penetracao .card__body .right-side p {
        text-align: right;
    }

    .penetracao .card__body .right-side .valor span.bold {
        font-size: 1.625em;
    }

    .produtos-5 .card__body {
        height: 210px;
    }

    .produtos-5 .card__footer {
        justify-content: space-evenly !important;
    }

    .col-md-3:has(.nps) {
        margin-top: 31px;
    }

    .nps .card__zone {
        top: -2em;
    }

    .dados-nps .right-side div {
        flex-direction: row;
        gap: 0.25em;
        max-width: max-content;
        width: auto;
    }

    .dados-nps .right-side div p {
        font-size: 1.2em;
    }

    .nps .categorias .categorias__categoria label {
        width: 22%;
        min-width: 124px;
    }

    :is(.left-side, .right-side)>span:not(span.estatistic__value),
    .card__main-value {
        font-size: 2.75em;
    }
}

@media screen and (max-width: 625px) {
    .resumo {
        justify-content: center;
    }

    .resumo .resumo__inicio {
        width: 100%;
    }

    .penetracao .card__body .left-side div span.penetracao__valor-porcentagem {
        font-size: 1.5rem;
    }

    .score {
        padding: 0;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 600px) {
    #produtos-relevantes table {
        border: 0;
    }

    #produtos-relevantes table caption {
        font-size: 1.3em;
    }

    #produtos-relevantes table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    #produtos-relevantes table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: 0.625em;
    }

    #produtos-relevantes table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: 0.8em;
        text-align: right !important;
    }

    #produtos-relevantes table td::before {
        /*

    * aria-label has no advantage, it won't be read inside a table

    content: attr(aria-label);

    */
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        color: var(--brand);
    }

    #produtos-relevantes table td:last-child {
        border-bottom: 0;
    }
}

@media screen and (max-width: 561px) {
    .score .scores {
        flex-wrap: wrap;
        justify-content: center;
    }

    .score img {
        width: 60%;
    }

    :is(.left-side, .right-side)>span:not(span.estatistic__value),
    .card__main-value {
        font-size: 2em;
    }

    .dre__custo-valor,
    .dre__margem-lucro-valor,
    .dre__receita-bruta-valor,
    .faturamento__right-side section span {
        font-size: 1.5em;
    }

    .penetracao .card__body .right-side .valor span.bold {
        font-size: 1.3em;
    }

    .score__posicao {
        flex-direction: column;
    }
}

@media screen and (max-width: 510px) {
    .resumo div:first-child {
        flex-direction: column;
    }

    .resumo div:first-child .resumo__info :is(h2, p) {
        text-align: center;
    }

    .faturamento__left-side .card__main-value {
        font-size: 1.3em;
    }

    .faturamento__right-side section span {
        font-size: 1.1em;
    }

    .penetracao .card__body .left-side #grafico-penetracao+div {
        position: absolute;
        width: max-content;
    }

    .nps .dados-nps {
        gap: 1em;
    }

    .nps .dados-nps .right-side div p {
        font-size: 0.8em;
    }
}

/* FIM RESPONSIVIDADE */