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

:root {
    --azul-escuro: #061b54;
    --azul: #075dff;
    --ciano: #05d9e8;
    --fundo: #f4f7fb;
    --branco: #ffffff;
    --texto: #172033;
    --texto-suave: #6d7890;
    --borda: #e2e8f0;
    --sombra: 0 18px 40px rgba(10, 31, 68, 0.10);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--fundo);
    color: var(--texto);
    min-height: 100vh;
}

a {
    text-decoration: none;
}


.pagina-login {
    background: linear-gradient(135deg, var(--azul-escuro), var(--azul), var(--ciano));
}

.login-container {
    width: min(1100px, 92%);
    min-height: 100vh;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 35px;
    align-items: center;
}

.login-apresentacao {
    color: white;
}

.login-apresentacao img {
    width: 230px;
    max-width: 100%;
    margin-bottom: 20px;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.28));
}

.login-apresentacao h1 {
    font-size: 44px;
    margin-bottom: 12px;
}

.login-apresentacao p {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.card-login {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 26px;
    padding: 36px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.card-login h2 {
    color: var(--azul-escuro);
    font-size: 30px;
    margin-bottom: 8px;
}

.subtitulo {
    color: var(--texto-suave);
    margin-bottom: 24px;
}

.link-acesso {
    margin-top: 18px;
    text-align: center;
    color: var(--texto-suave);
}

.link-acesso a {
    color: var(--azul);
    font-weight: bold;
}

/* MENU LATERAL */

.layout-sistema {
    display: grid;
    grid-template-columns: 125px 1fr;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 125px;
    height: 100vh;
    background: linear-gradient(180deg, var(--ciano), var(--azul) 55%, #061bff);
    border-radius: 0 32px 32px 0;
    padding: 24px 12px;
    box-shadow: 12px 0 35px rgba(7, 43, 120, 0.22);
}

.logo-area {
    text-align: center;
    margin-bottom: 42px;
}

.logo-area img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.25));
}

.logo-area strong {
    color: white;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.menu-lateral {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-lateral a {
    min-height: 78px;
    color: white;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: 0.2s;
}

.menu-lateral a:hover,
.menu-lateral a.ativo {
    background: white;
    color: var(--azul);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.menu-lateral a.sair:hover {
    color: #d93025;
}

.icone {
    font-size: 28px;
    line-height: 1;
}

.conteudo {
    grid-column: 2;
    padding: 34px;
}


.cabecalho-pagina {
    background: white;
    border: 1px solid var(--borda);
    border-radius: 26px;
    padding: 26px;
    margin-bottom: 24px;
    box-shadow: var(--sombra);
}

.tag {
    display: inline-block;
    color: var(--azul);
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cabecalho-pagina h1 {
    color: var(--azul-escuro);
    font-size: 34px;
    margin-bottom: 6px;
}

.cabecalho-pagina p {
    color: var(--texto-suave);
}

.card-principal {
    min-height: 280px;
    background: linear-gradient(135deg, var(--azul-escuro), var(--azul) 60%, var(--ciano));
    color: white;
    border-radius: 30px;
    padding: 36px;
    margin-bottom: 24px;
    box-shadow: var(--sombra);
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: center;
    overflow: hidden;
}

.card-principal h2 {
    font-size: 34px;
    margin-bottom: 12px;
}

.card-principal p {
    max-width: 650px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.card-principal img {
    width: 260px;
    max-width: 100%;
    justify-self: center;
    filter: drop-shadow(0 28px 35px rgba(0, 0, 0, 0.32));
}

.botoes-atalho {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.botoes-atalho a,
.botao-link,
button {
    background: linear-gradient(135deg, var(--azul), var(--ciano));
    color: white;
    border: none;
    border-radius: 14px;
    padding: 13px 18px;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    display: inline-block;
    transition: 0.2s;
}

.botoes-atalho a:hover,
.botao-link:hover,
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(7, 93, 255, 0.25);
}

.botoes-atalho a.secundario {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.resumo-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.resumo-cards article {
    background: white;
    border: 1px solid var(--borda);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--sombra);
}

.resumo-cards span {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #eef6ff;
    color: var(--azul);
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 14px;
}

.resumo-cards h3 {
    color: var(--azul-escuro);
    margin-bottom: 8px;
}

.resumo-cards p {
    color: var(--texto-suave);
    line-height: 1.5;
}

.card {
    background: white;
    border: 1px solid var(--borda);
    border-radius: 26px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--sombra);
}

.card h2 {
    color: var(--azul-escuro);
    margin-bottom: 16px;
}

.cabecalho-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.cabecalho-card p {
    color: var(--texto-suave);
}


.grade-formulario {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.campo {
    margin-bottom: 18px;
}

.campo label {
    display: block;
    font-weight: bold;
    color: var(--azul-escuro);
    margin-bottom: 7px;
}

.campo input,
.campo select,
.barra-acoes input {
    width: 100%;
    background: #f9fbff;
    border: 1px solid var(--borda);
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 15px;
}

.campo input:focus,
.campo select:focus,
.barra-acoes input:focus {
    outline: none;
    border-color: var(--azul);
    box-shadow: 0 0 0 4px rgba(7, 93, 255, 0.12);
}

#mensagem {
    margin-top: 15px;
    font-weight: bold;
    color: var(--azul);
}

.barra-acoes {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 18px;
}


#tabelaProdutos {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

table th {
    color: var(--texto-suave);
    text-align: left;
    padding: 10px 12px;
    font-size: 13px;
    text-transform: uppercase;
}

table td {
    background: #f9fbff;
    padding: 14px 12px;
    border-top: 1px solid var(--borda);
    border-bottom: 1px solid var(--borda);
}

table td:first-child {
    border-left: 1px solid var(--borda);
    border-radius: 14px 0 0 14px;
}

table td:last-child {
    border-right: 1px solid var(--borda);
    border-radius: 0 14px 14px 0;
}

.btn-editar,
.btn-excluir {
    width: auto;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.btn-editar {
    background: #f0ad4e;
}

.btn-excluir {
    background: #d9534f;
}

.botao-secundario {
    background: #6d7890;
    margin-left: 8px;
}

#areaEdicao {
    display: none;
}


@media (max-width: 1000px) {
    .login-container {
        grid-template-columns: 1fr;
        padding: 30px 0;
    }

    .login-apresentacao {
        text-align: center;
    }

    .card-principal {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .card-principal p {
        margin: auto;
    }

    .botoes-atalho {
        justify-content: center;
    }

    .resumo-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .layout-sistema {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-radius: 0 0 28px 28px;
    }

    .logo-area {
        margin-bottom: 18px;
    }

    .menu-lateral {
        flex-direction: row;
        overflow-x: auto;
    }

    .menu-lateral a {
        min-width: 88px;
    }

    .conteudo {
        grid-column: 1;
        padding: 20px;
    }

    .cabecalho-pagina h1,
    .card-principal h2 {
        font-size: 27px;
    }

    .grade-formulario,
    .barra-acoes,
    .resumo-cards {
        grid-template-columns: 1fr;
    }

    .cabecalho-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

.sidebar { overflow-y: auto; }
.foto-produto { width: 58px; height: 58px; object-fit: cover; border-radius: 14px; border: 1px solid var(--borda); background: white; }
.acoes-tabela { display: flex; flex-wrap: wrap; gap: 6px; }
.btn-entrada, .btn-saida, .btn-editar, .btn-excluir { width: auto; padding: 9px 11px; border-radius: 10px; font-size: 12px; }
.btn-entrada { background: #17a673; }
.btn-saida { background: #dc3545; }
.campo-fornecedor { margin-top: 10px; }
.linha-fornecedor { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 10px; }
.btn-remover-fornecedor { background: #d9534f; padding: 10px 12px; border-radius: 12px; }
#areaMovimento { display: none; }
.filtros-periodo { grid-template-columns: 1fr 1fr auto; }
.grafico-container { margin-top: 22px; width: 100%; overflow-x: auto; background: #f9fbff; border: 1px solid var(--borda); border-radius: 22px; padding: 18px; }
#graficoSaidas { max-width: 100%; }
.resumo-graficos { margin-top: 18px; margin-bottom: 18px; }
@media (max-width: 720px) { .linha-fornecedor, .filtros-periodo { grid-template-columns: 1fr; } .acoes-tabela { min-width: 240px; } }



.foto-produto {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--borda);
    background: #ffffff;
    display: block;
}



table {
    table-layout: fixed;
}

table th,
table td {
    vertical-align: middle;
}

table th:nth-child(1),
table td:nth-child(1) {
    width: 110px;
}

table th:nth-child(2),
table td:nth-child(2) {
    width: 150px;
}

table th:nth-child(3),
table td:nth-child(3) {
    width: 140px;
}

table th:nth-child(4),
table td:nth-child(4) {
    width: 140px;
}

table th:nth-child(5),
table td:nth-child(5) {
    width: 190px;
}

table th:nth-child(6),
table td:nth-child(6) {
    width: 80px;
    text-align: center;
}

table th:nth-child(7),
table td:nth-child(7) {
    width: 120px;
}

table th:nth-child(8),
table td:nth-child(8) {
    width: 260px;
}

.acoes-tabela {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    flex-wrap: nowrap;
    min-width: 240px;
    height: 100%;
}

.acoes-tabela button {
    margin: 0;
    white-space: nowrap;
    min-width: 58px;
    height: 34px;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.foto-produto {
    margin: 0;
}

@media (max-width: 1100px) {
    table {
        table-layout: auto;
        min-width: 1180px;
    }

    .acoes-tabela {
        flex-wrap: nowrap;
    }
}



#tabelaProdutos table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 0 10px;
    table-layout: fixed;
}

#tabelaProdutos table th,
#tabelaProdutos table td {
    vertical-align: middle !important;
}

#tabelaProdutos table th:nth-child(1),
#tabelaProdutos table td:nth-child(1) {
    width: 110px;
}

#tabelaProdutos table th:nth-child(2),
#tabelaProdutos table td:nth-child(2) {
    width: 130px;
}

#tabelaProdutos table th:nth-child(3),
#tabelaProdutos table td:nth-child(3) {
    width: 130px;
}

#tabelaProdutos table th:nth-child(4),
#tabelaProdutos table td:nth-child(4) {
    width: 130px;
}

#tabelaProdutos table th:nth-child(5),
#tabelaProdutos table td:nth-child(5) {
    width: 190px;
}

#tabelaProdutos table th:nth-child(6),
#tabelaProdutos table td:nth-child(6) {
    width: 80px;
    text-align: center;
}

#tabelaProdutos table th:nth-child(7),
#tabelaProdutos table td:nth-child(7) {
    width: 120px;
}

#tabelaProdutos table th:nth-child(8),
#tabelaProdutos table td:nth-child(8) {
    width: 300px;
}

#tabelaProdutos td.acoes-tabela {
    display: table-cell !important;
    white-space: nowrap;
    text-align: left;
    vertical-align: middle !important;
    padding: 14px 12px;
}

#tabelaProdutos td.acoes-tabela button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 58px;
    height: 34px;
    margin: 0 5px 0 0 !important;
    padding: 8px 10px;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
}

#tabelaProdutos .foto-produto {
    width: 70px;
    height: 70px;
    display: block;
}


/* AJUSTES NOVOS: USUÁRIOS, FINANCEIRO E GRÁFICOS */

.sidebar {
    overflow-y: auto;
}

.legenda-grafico {
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 16px 0;
    color: var(--texto-suave);
    font-weight: bold;
}

.legenda-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.legenda-item::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 5px;
    display: inline-block;
}

.legenda-item.entrada::before {
    background: #17a673;
}

.legenda-item.saida::before {
    background: #dc3545;
}

.resumo-graficos {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .resumo-graficos {
        grid-template-columns: 1fr;
    }
}


/* MENU SUPERIOR REAL */

.layout-sistema {
    display: block !important;
    min-height: 100vh;
}

.sidebar {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 12px 26px !important;
    background: linear-gradient(90deg, var(--ciano), var(--azul) 55%, #061bff) !important;
    border-radius: 0 0 24px 24px !important;
    box-shadow: 0 10px 28px rgba(7, 43, 120, 0.22) !important;

    overflow: visible !important;
    z-index: 9999 !important;
}

.logo-area {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;

    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    flex: 0 0 auto !important;
}

.logo-area img {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
}

.logo-area strong {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
}

.menu-lateral {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    flex-wrap: wrap !important;
}

.menu-lateral a {
    min-height: 0 !important;
    min-width: 0 !important;
    height: auto !important;
    width: auto !important;

    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    padding: 10px 13px !important;
    border-radius: 14px !important;

    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.menu-lateral a:hover,
.menu-lateral a.ativo {
    background: #ffffff !important;
    color: var(--azul) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16) !important;
}

.menu-lateral a.sair:hover {
    color: #d93025 !important;
}

.icone {
    font-size: 18px !important;
    line-height: 1 !important;
}

.conteudo {
    grid-column: auto !important;
    padding: 26px !important;
    margin-left: 0 !important;
    width: 100% !important;
}

/* Mantém gráficos e tabelas organizados */
.grafico-container {
    width: 100%;
    overflow-x: auto;
}

#graficoSaidas,
#graficoFinanceiro {
    width: 100%;
    max-width: 100%;
}

.mensagem-grafico {
    margin: 10px 0;
    font-weight: bold;
    color: #075dff;
}

.legenda-grafico {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 14px 0 10px;
    font-weight: bold;
}

.legenda-item::before {
    content: "";
    width: 14px;
    height: 14px;
    display: inline-block;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
}

.legenda-item.entrada::before {
    background: #17a673;
}

.legenda-item.saida::before {
    background: #dc3545;
}

/* TABLET */
@media (max-width: 1100px) {
    .sidebar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 12px 18px !important;
    }

    .logo-area {
        justify-content: center !important;
    }

    .menu-lateral {
        justify-content: center !important;
        gap: 8px !important;
    }

    .menu-lateral a {
        padding: 9px 11px !important;
        font-size: 12px !important;
    }
}

/* CELULAR */
@media (max-width: 720px) {
    body {
        overflow-x: hidden;
    }

    .sidebar {
        position: relative !important;
        border-radius: 0 0 18px 18px !important;
        padding: 12px !important;
    }

    .logo-area img {
        width: 42px !important;
        height: 42px !important;
    }

    .logo-area strong {
        font-size: 18px !important;
    }

    .menu-lateral {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding-bottom: 6px !important;
    }

    .menu-lateral::-webkit-scrollbar {
        height: 4px;
    }

    .menu-lateral a {
        flex: 0 0 auto !important;
        padding: 9px 10px !important;
        font-size: 11px !important;
    }

    .conteudo {
        padding: 14px !important;
    }

    .cabecalho-pagina {
        padding: 18px !important;
        border-radius: 18px !important;
    }

    .cabecalho-pagina h1 {
        font-size: 25px !important;
    }

    .card {
        padding: 16px !important;
        border-radius: 18px !important;
    }

    .barra-acoes,
    .filtros-periodo,
    .grade-formulario {
        grid-template-columns: 1fr !important;
    }

    .resumo-cards,
    .resumo-graficos {
        grid-template-columns: 1fr !important;
    }

    #graficoSaidas,
    #graficoFinanceiro {
        min-width: 780px;
    }

    table {
        min-width: 900px;
    }
}


/* =========================================================
   MENU SUPERIOR PC - FORÇADO
   ========================================================= */

@media (min-width: 721px) {
    html,
    body {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .layout-sistema {
        display: block !important;
        grid-template-columns: none !important;
        min-height: 100vh !important;
        width: 100% !important;
    }

    .sidebar {
        position: sticky !important;
        top: 0 !important;
        left: auto !important;
        right: auto !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;

        padding: 12px 28px !important;
        margin: 0 !important;

        background: linear-gradient(90deg, #05d9e8, #075dff 55%, #061bff) !important;
        border-radius: 0 0 24px 24px !important;
        box-shadow: 0 12px 30px rgba(7, 43, 120, 0.22) !important;

        overflow: visible !important;
        z-index: 9999 !important;
    }

    .logo-area {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;

        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        flex: 0 0 auto !important;
    }

    .logo-area img {
        width: 54px !important;
        height: 54px !important;
        margin: 0 !important;
        object-fit: contain !important;
        display: block !important;
    }

    .logo-area strong {
        color: #ffffff !important;
        font-size: 21px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .menu-lateral {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px !important;

        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
        flex-wrap: wrap !important;
    }

    .menu-lateral a {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;

        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;

        padding: 10px 13px !important;
        margin: 0 !important;
        border-radius: 14px !important;

        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }

    .menu-lateral a:hover,
    .menu-lateral a.ativo {
        background: #ffffff !important;
        color: #075dff !important;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16) !important;
    }

    .menu-lateral a.sair:hover {
        color: #d93025 !important;
    }

    .icone {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .conteudo {
        grid-column: auto !important;
        margin-left: 0 !important;
        width: 100% !important;
        padding: 26px !important;
    }
}

@media (min-width: 721px) and (max-width: 1150px) {
    .sidebar {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 12px 18px !important;
    }

    .logo-area {
        justify-content: center !important;
    }

    .menu-lateral {
        justify-content: center !important;
    }

    .menu-lateral a {
        font-size: 12px !important;
        padding: 9px 11px !important;
    }
}

@media (max-width: 720px) {
    .layout-sistema {
        display: block !important;
    }

    .sidebar {
        position: relative !important;
        width: 100% !important;
        height: auto !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        padding: 12px !important;
        border-radius: 0 0 18px 18px !important;
        background: linear-gradient(90deg, #05d9e8, #075dff 55%, #061bff) !important;
    }

    .logo-area {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 0 0 10px 0 !important;
    }

    .logo-area img {
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
    }

    .logo-area strong {
        color: #ffffff !important;
        font-size: 18px !important;
    }

    .menu-lateral {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding-bottom: 6px !important;
    }

    .menu-lateral a {
        flex: 0 0 auto !important;
        min-width: 92px !important;
        min-height: 0 !important;
        padding: 9px 10px !important;
        font-size: 11px !important;
        flex-direction: row !important;
        border-radius: 12px !important;
    }

    .icone {
        font-size: 17px !important;
    }

    .conteudo {
        grid-column: auto !important;
        margin-left: 0 !important;
        width: 100% !important;
        padding: 14px !important;
    }
}


/* AJUSTE DO GRÁFICO FINANCEIRO */

#graficoFinanceiro {
    display: block;
    max-width: 100%;
}

.grafico-container {
    padding: 16px !important;
}

.grafico-container canvas#graficoFinanceiro {
    min-height: 280px;
}

@media (min-width: 721px) {
    #graficoFinanceiro {
        max-height: 360px;
    }
}

@media (max-width: 720px) {
    #graficoFinanceiro {
        min-width: 760px;
        max-height: 360px;
    }
}


/* AJUSTE DO GRÁFICO DE ENTRADA E SAÍDA */

#graficoSaidas {
    display: block;
    max-width: 100%;
}

.grafico-container canvas#graficoSaidas {
    min-height: 280px;
}

@media (min-width: 721px) {
    #graficoSaidas {
        max-height: 360px;
    }
}

@media (max-width: 720px) {
    #graficoSaidas {
        min-width: 760px;
        max-height: 360px;
    }
}
