/* Fonte */
@font-face {
    font-family: "Montserrat";
    src: url(../fonts/Montserrat/Montserrat-VariableFont_wght.ttf);
}

/* Variáveis */
:root {
    --azul1: #1C3269;
    --azul2: #17417D;
    --azul3: #05519F;
    --verde: #84B33F;
    --cinza: #CCCCCC;
    --cinza-claro: #EEEEEE;
    --cinza-escuro: #808080;
    --branco: #FFFFFF;
    --preto: #363636;
    --vermelho: #FA5252;
    --bg: #F5F5F5;
    --border-campo: 1px solid #CCCCCC;
    --border-radius: 4px;
    --font: "Montserrat", sans-serif;
    --font-size-titulo: 24px;
    --font-size-subtitulo: 18px;
    --font-size-texto: 14px;
    --font-size-label: 12px;
    --font-weight: 700;
    --font-normal: normal;
    --alert-danger-color: #f8d7da;
    --alert-success-color: #D1E7DD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
    font-size: var(--font-size-texto);
    color: var(--preto);
}

/* Areas principais */
.principal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    position: relative;
}

.menu-topo {
    display: flex;
    justify-content: space-between;
    background-color: var(--branco);
    width: 100%;
    height: 80px;
    padding: 20px;
}
.menu-topo .logotipo-nome-empresa {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}
.menu-topo .logotipo-topo-menu {
    max-width: 200px;
    max-height: 50px;
}

#btnMenuMobile {
    display: none;
    cursor: pointer;
    width: 24px;
}

/* Menu supenso */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown img {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: var(--branco);
    width: 200px;    
    right: 0px;
    box-shadow: 0px 8px 16px 0px var(--cinza-claro);
    padding: 12px 16px;
    z-index: 1;
    gap: 10px;
}
.dropdown:hover .dropdown-content {
    display: flex;
}

.conteudo {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Menu lateral */
#menu-lateral {
    display: flex;
    flex-direction: column;
    width: 20%;
    min-height: 100vh;
    background-color: var(--azul3);
    padding: 20px 0px;
}

nav {
    display: flex;
    flex-direction: column;
}

/* Menu Dropdown Cadastros */
.menu-dropdown-container {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.menu-dropdown-container.active {
    max-height: 500px;
}
.menu-dropdown-container a {
    padding: 10px 10px 10px 30px;
    background-color: var(--azul2);
}
.menu-dropdown-container a:hover {
    background-color: var(--azul1);
}
.menu-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    background-color: transparent;
    border: none;
    color: var(--branco);
    font-size: medium;
    cursor: pointer;
}
.menu-dropdown-btn:hover {
    background-color: var(--azul1);
}

/* Menu Dropdown Relatórios */
.menu-dropdown-container-relatorio {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.menu-dropdown-container-relatorio.active {
    max-height: 500px;
}
.menu-dropdown-container-relatorio a {
    padding: 10px 10px 10px 30px;
    background-color: var(--azul2);
}
.menu-dropdown-container-relatorio a:hover {
    background-color: var(--azul1);
}
.menu-dropdown-btn-relatorio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    color: var(--branco);
    font-size: medium;
    cursor: pointer;
}
.menu-dropdown-btn-relatorio:hover {
    background-color: var(--azul2);
}

#btnSair {
    display: none;
    width: 100%;
}
#btnSair a {
    width: 100%;
}

.fa {
    font-size: medium;
    color: var(--branco);
}

nav a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--branco);
    font-size: medium;
}

nav a:hover {
    background-color: #1C3269;
}

.dados {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    gap: 20px;
    padding: 20px;
}

.dados-topo {
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: var(--branco);
    padding: 20px;
    gap: 40px;
}

.dados-topo-titulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.dados-topo-titulo2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.dados-topo-botoes {
    display: flex;
    justify-content: flex-end;
}

.dados-conteudo {
    display: flex;
    flex-direction: column;
    background-color: var(--branco);
    padding: 20px;
}

.imagens-plano {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
} 

.imagens-plano img {
    max-width: 200px;
}

/* Login */
.main-container-login {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: var(--azul3);
}

.form-login {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    width: 500px;
    background-color: var(--branco);
    padding: 40px 60px;
    border-radius: var(--border-radius);
    /* box-shadow: 0px 0px 4px 4px var(--cinza-claro); */
}

.password-container {
    position: relative;
    width: 100%;
}

#togglePassword {
    width: 24px;
    position: absolute;
    right: 10px;
    top: calc(50% - 12px);
    cursor: pointer;
    color: #666;
}
#toggleNewPassword {
    width: 24px;
    position: absolute;
    right: 10px;
    top: calc(50% - 12px);
    cursor: pointer;
    color: #666;
}
#toggleNewPasswordRepeat {
    width: 24px;
    position: absolute;
    right: 10px;
    top: calc(50% - 12px);
    cursor: pointer;
    color: #666;
}

.logotipo {
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.row-login {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.col {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.col-1 {
    display: flex;
    flex-direction: column;
    width: 10%;
}
.col-2 {
    display: flex;
    flex-direction: column;
    width: 20%;
}
.col-3 {
    display: flex;
    flex-direction: column;
    width: 30%;
}
.col-4 {
    display: flex;
    flex-direction: column;
    width: 40%;
}
.col-5 {
    display: flex;
    flex-direction: column;
    width: 50%;
}
.col-6 {
    display: flex;
    flex-direction: column;
    width: 60%;
}
.col-7 {
    display: flex;
    flex-direction: column;
    width: 70%;
}
.col-8 {
    display: flex;
    flex-direction: column;
    width: 80%;
}
.col-9 {
    display: flex;
    flex-direction: column;
    width: 90%;
}
.col-10 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.col-botoes {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* Tipografia */
.titulo {
    font-size: var(--font-size-titulo);
    font-weight: var(--font-weight);
}

.subtitulo {
    font-size: var(--font-size-subtitulo);
    font-weight: var(--font-weight);
}

.texto {
    font-weight: var(--font-normal);
}

.campo {
    background-color: var(--branco);
    border: var(--border-campo);
    width: 100%;
    height: 40px;
    padding: 10px;
    border-radius: var(--border-radius);
    outline-color: var(--azul3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.campo:focus {
    border-color: var(--azul3);
    box-shadow: 0 0 0 3px rgba(5, 81, 159, 0.1);
}

.campo::placeholder {
    color: #999;
    font-style: italic;
}

textarea {
    resize: none;
    background-color: var(--branco);
    border: var(--border-campo);
    padding: 10px;
    border-radius: var(--border-radius);
    outline-color: var(--azul3);
    min-height: 100px;
}

textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;  /* mesma borda do input */
  border-radius: 4px;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
}

/* Corrigir alinhamento da lista para não passar do limite */
textarea {
  list-style-position: inside;
}

/* Quando o campo receber foco */
textarea:focus {
  border-color: var(--azul3);   /* azul */
  /* box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); */
}

#descricao {
    background-color: var(--branco);
    border: var(--border-campo);
    padding: 50px;
    border-radius: var(--border-radius);
    outline-color: var(--azul3);
    min-height: 150px;      
    width: 100%;            
    resize: vertical;       
    box-sizing: border-box; 
}

.toolbar {
    margin-bottom: 5px;
}

.toolbar button {
    margin-right: 5px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    cursor: pointer;
    border-radius: 4px;
}

.toolbar button:hover {
    background: #e0e0e0;
}

.editor {
    border: var(--border-campo);
    padding: 10px;
    min-height: 150px;
    border-radius: var(--border-radius);
    background-color: var(--branco);
    outline: none;
    list-style-position: inside; /* bullets dentro da borda */
    box-sizing: border-box;
}

/* quando focar no editor */
.editor:focus {
    border-color: var(--azul3);
    box-shadow: 0 0 0 2px rgba(5, 81, 159, 0.25); /* mesmo efeito do input */
}

.ativo {
    display: flex;
    flex-direction: column;
    align-items: start;
}

:disabled {
    background-color: var(--cinza-claro);
}
#id_usuario, #data_cadastro:read-only {
    background-color: var(--cinza-claro);
    outline: none;
}

.label {
    font-size: var(--font-size-label);
    font-weight: 600;
    margin-bottom: 8px;
}

a {
    text-decoration: none;
}

.link {
    color: var(--azul3);
}
.link:hover {
    text-decoration: underline;
}

.icon {
    width: 35px;
    cursor: pointer;
    background-color: var(--cinza-claro);
    padding: 10px;
    border-radius: var(--border-radius);
}

button {
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
}

/* Botões */
.botoes {
    display: flex;
    justify-content: end;
}

.btn-salvar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--verde);
    font-weight: var(--font-weight);
    width: fit-content;
    min-width: 100px;
    padding: 10px;
    height: 40px;
    border: none;
    border-radius: var(--border-radius);
    color: var(--branco);
    cursor: pointer;
}

.btn-padrao {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--azul3);
    font-weight: var(--font-weight);
    width: fit-content;
    min-width: 100px;
    padding: 10px;
    height: 40px;
    border: none;
    border-radius: var(--border-radius);
    color: var(--branco);
    cursor: pointer;
}

.btn-default {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    font-weight: var(--font-weight);
    width: fit-content;
    min-width: 100px;
    padding: 10px;
    height: 40px;
    border: 1px solid var(--cinza-escuro);
    border-radius: var(--border-radius);
    color: var(--cinza-escuro);
    cursor: pointer;
}
.btn-default:hover {
    border: 1px solid var(--preto);
    color: var(--preto);
}

#form-novo-plano {
    display: flex;
    justify-content: center;
    margin: 0px 20px 20px 20px;
}

.btn-novo-plano {
    padding: 20px;
    background-color: transparent;
    border: none;
}
.btn-novo-plano {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--branco);
    font-weight: var(--font-weight);
    width: 100%;
    height: 40px;
    border: none;
    border-radius: var(--border-radius);
    color: var(--azul3);
    cursor: pointer;
}
.btn-novo-plano:hover {
    background-color: var(--cinza-claro);
}

.btn-cancelar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--cinza);
    font-weight: var(--font-weight);
    width: 100px;
    height: 40px;
    border: none;
    border-radius: var(--border-radius);
    color: var(--preto);
    cursor: pointer;
}

span a {
    text-decoration: none;
    color: var(--azul3);
}

span a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.alert .close {
    border: none;
    background-color: transparent;
    cursor: pointer;
}
.alert .close:hover {
    font-weight: 600;
}

.alert-danger {
    background-color: var(--alert-danger-color);
}
.alert-success {
    background-color: var(--alert-success-color);
}

/* Accordion */
.card {
    margin-bottom: 4px;
    border: 1px solid var(--cinza);
    border-radius: var(--border-radius);

}
.card-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background-color: var(--cinza-claro);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: 0.4s;
}

.active, .card-header:hover {
    background-color: var(--cinza);
}

.card-content {
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 20px;
    background-color: var(--branco);
    overflow: hidden;
}

.card span {
    font-size: var(--font-size-label);
    font-weight: 600;
    font-size: medium;
}

/* Cartão simples */
.simple-card-content-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 8px;
    gap: 10px;
    width: 50%;
}

.simple-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 4px;
    border: 1px solid var(--cinza);
    border-radius: var(--border-radius);
}

.simple-card-header {
    display: flex;
    padding: 20px;
    width: 100%;
    background-color: var(--cinza-claro);
}

.simple-card-header-relatorio {
    display: flex;
    justify-content: flex-start;
    padding: 20px;
    width: 100%;
    background-color: var(--cinza-claro);
}

.simple-card-content {
    display: flex;
    padding: 20px;
    gap: 8px;
}
.simple-card-content-relatorio {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
}

#listaParticipantes {
    border: 1px solid var(--cinza-claro);
}

#listaAcoes {
    width: 100%;
}

/* Cards Painel */
.card-resumo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--cinza);
    border-radius: var(--border-radius);
    width: fit-content;
}
.card-header-resumo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--cinza-claro);
    cursor: pointer;
    height: 20%;
    padding: 30px;
    border: none;
    transition: 0.4s;
}

.card-content-resumo {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
    background-color: var(--branco);
    height: fit-content;
    padding: 30px;
}
.resumo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.card-content-resumo-planos {
    display: flex;
    justify-content: flex-start;
    align-content: stretch;
    flex-wrap: wrap;
    gap: 8px;
    background-color: var(--branco);
    padding: 20px;
}
.resumo-planos {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 8px;
    padding: 20px;
    height: 150px;
    width: 200px;
    border: 1px solid var(--cinza);
    border-radius: var(--border-radius);
}

.resumo-planos span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    
}
.resumo-planos .number {
    font-size: 30px;
    font-weight: 600;
}

.total_planos {
    display: flex;
    width: 100%;
    padding: 0px 20px 20px 20px;
}
.total_planos span {
    font-weight: 500;
}

.resumo .situacao-ativo {
    color: var(--verde);
    font-size: 30px;
    font-weight: var(--font-weight);
}
.resumo .situacao-inativo {
    color: var(--vermelho);
    font-size: 30px;
    font-weight: var(--font-weight);
}
.grafico {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}
.grafico circle {
    fill: none;
    stroke-width: 20;
    transform: rotate(-90deg);
    transform-origin: 50%;
    stroke-dasharray: 100 100;
    stroke: var(--vermelho);
}
circle:nth-child(2) {
    stroke-dasharray: var(--porcentagem) 100;
    stroke: var(--verde);
}

.porcentagens {
    position: relative;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}
.porcentagens span {
    position: absolute;
    font-size: medium;
}

/* Card campos checkbox */
.card-checkbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--cinza);
    border-radius: var(--border-radius);
    width: 100% ;
}
.card-header-checkbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--cinza-claro);
    /* cursor: pointer; */
    height: 20%;
    padding: 20px;
    border: none;
    transition: 0.4s;
}

.card-content-checkbox {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background-color: var(--branco);
    height: fit-content;
    padding: 30px;
}

.card-content-checkbox div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
}

/* Tabs */
.tab {
    overflow: hidden;
    margin-bottom: -20px;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: medium;
}

.tab button:hover {
    background-color: var(--cinza);
}

.tab button.active {
    border-top: 2px solid var(--azul3);
    background-color: var(--branco);
}

#abas {
    display: none;
}

.etapa {
    display: flex;
    justify-content: center ;
    align-items: center;
    width: 100%;
}

.etapa span {
    padding: 10px;
    border-radius: 4px 4px 0px 0px;
}

.etapa-edit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20%;
    background-color: var(--branco);
    border: 1px solid var(--azul3);
    
}

.etapa-disabled {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20%;
    background-color: var(--cinza-claro);
    border: 1px solid var(--cinza);
    color: var(--cinza);
} 

.linha {
    width: 20%;
    height: 1px;
    background-color: var(--azul3)  ;
}
.linha-disabled {
    background-color: var(--cinza);
}

.legenda {
    display: flex;
    justify-content: flex-end;
}

.legenda img {
    max-width: 400px;
}

.card-causa {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: var(--border-radius);
}

.card_lista_causas {
    display: flex;
    flex-direction: column;
    
}

.item_causa {
    margin-bottom: 8px;
    border: 1px solid var(--cinza);
    border-radius: var(--border-radius);
}

.header_causa {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    background-color: var(--cinza-claro);
    /* cursor: pointer; */
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: 0.4s;
}

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

.content_causa {
    padding: 18px;
    display: flex;
    flex-direction: column;
    background-color: var(--branco);
    overflow: hidden;
}

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

#classificacao_causa {
    font-weight: 500;
}

.form_porque {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dados_porques {
    display: flex;
    flex-direction: column;
}

.lista_porques {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.item_porque {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding: 20px;
    border: 1px solid var(--cinza);
    border-radius: var(--border-radius);
}

/* Ações */
.card-acoes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-dados-acoes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.item-acao {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cinza);
    width: 100%;
    border-radius: var(--border-radius);
    /* position: relative; */
}

.header-acao {
    display: flex;
    justify-content: space-between;
    background-color: var(--cinza-claro);
    padding: 20px;
    width: 100%;
}
.content-acao {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: var(--branco);
    padding: 20px;
    background-color: #F9F9F9;

}
.content-acao span {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cinza);
    padding: 15px;
    margin-bottom: 8px;
}

#opcoes_acao_implementada {
   display: flex;
   gap: 15px;
}

.header-acao, .content-acao, .content-acao span {
    border-radius: var(--border-radius);
}

.card-verificacoes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--azul2);
    padding-top: 40px;
}

.card-grafico {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    gap: 10px;
}

#columnchart_values {
    width: 50%;
    min-height: 400px;
    border: 1px solid var(--cinza);
    padding: 10px;
}

#piechart {
    width: 50%;
    min-height: 400px;
    border: 1px solid var(--cinza);
    padding: 10px;
}

/* Gráficos de Atas de Reuniões */
.card-content-resumo-atas {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.filtros-atas {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.filtros-atas form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.filtros-atas-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filtros-atas input[type="date"] {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: white;
}

.filtros-atas input[type="date"]:focus {
    outline: none;
    border-color: var(--azul2);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.filtros-atas .btn-padrao {
    gap: 8px;
}

/* Container dos gráficos lado a lado */
.graficos-atas-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.grafico-atas-item {
    flex: 1;
    min-width: 400px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.grafico-atas-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#chart_atas_barras,
#chart_acoes_pizza {
    width: 100%;
    min-height: 400px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .graficos-atas-container {
        flex-direction: column;
    }
    
    .grafico-atas-item {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .filtros-atas-inputs {
        width: 100%;
        flex-direction: column;
    }
    
    .filtros-atas input[type="date"],
    .filtros-atas .btn-padrao {
        width: 100%;
    }
}

/* Modal Constatação e Verificação das Ações */
.modal-constatar {
    display: none;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: none;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-content-constatar {
    display: flex;
    flex-direction: column;
    position: fixed;
    margin-top: 5%;
    width: 80%;
    height: fit-content;
    background-color: #fefefe;
    padding: 40px;
    border: 1px solid #888;
    border-radius: var(--border-radius);
    gap: 15px;
}
.modal-verificar {
    display: none;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: none;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-content-verificar {
    display: flex;
    flex-direction: column;
    position: fixed;
    margin-top: 5%;
    width: 80%;
    height: fit-content;
    background-color: #fefefe;
    padding: 40px;
    border: 1px solid #888;
    border-radius: var(--border-radius);
    gap: 15px;
}

#sim, #nao {
    cursor: pointer;
}
#campo-justificativa {
    display: none;
    flex-direction: column;
}
#campo_justificativa_plano {
    display: none;
    flex-direction: column;
}

/* Modal Constatação e Verificação do Plano */
.modal-constatar-plano {
    display: none;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: none;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-content-constatar-plano {
    display: flex;
    flex-direction: column;
    position: fixed;
    margin-top: 5%;
    width: 80%;
    height: fit-content;
    background-color: #fefefe;
    padding: 40px;
    border: 1px solid #888;
    border-radius: var(--border-radius);
    gap: 15px;
}
.modal-verificar-plano {
    display: none;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: none;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-content-verificar-plano {
    display: flex;
    flex-direction: column;
    position: fixed;
    margin-top: 5%;
    width: 80%;
    height: fit-content;
    background-color: #fefefe;
    padding: 40px;
    border: 1px solid #888;
    border-radius: var(--border-radius);
    gap: 15px;
}

span.status-acao     {
    color: green;
    font-weight: 500;
    border: none;
    padding: 10px;
}

/* Popup plano de ação da reunião */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 600px;
    max-width: 90%;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.popup-close {
    cursor: pointer;
    font-size: 24px;
}

.acao-item {
    word-wrap: break-word;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    background: #f9f9f9;
}

.acao-item strong {
    color: #333;
}

@media only screen and (max-width:1200px) {
    .form-login {
        width: 90%;
        padding: 20px 30px;
    }
    .etapa-edit {
        width: 30%;
    }
    .etapa-disabled {
        width: 30%;
    }
    .linha {
        width: 5%;
    }
    .row {
        flex-direction: column;
    }
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10 {
        width: 100%;
    }
    .dropdown {
        display: none;
    }
    #btnMenuMobile {
        display: flex;
    }
    
    #menu-lateral {
        display: none;
        position: absolute;
        width: 100%;
    }
    .col-botoes {
        flex-direction: column;
    }
    #btnSair {
        display: flex;
        width: 100%;
    }
    .card-resumo {
        width: 100%;
    }
    .resumo-planos {
        width: 100%;
    }
    .simple-card-content {
        flex-direction: column;
    }
    .simple-card-content-col {
        width: 100%;
    }
    .titulo {
        font-size: 19px;
    }
    .subtitulo {
        font-size: 16px;
    }
    .card-header span {
        font-size: 14px;
    }

    .card-header .situacao {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        text-align: end;
        width: 40%;

    }
    .imagens-plano {
        width: 100%;
        flex-wrap: wrap;
    }
    .imagens-plano img {
        width: auto;
        max-width: 200px;
    }

    .card-grafico {
        flex-direction: column;
    }

    #columnchart_values {
        width: 100%;
    }
    #piechart {
        width: 100%;
    }
}