body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  color: #000021; /* Azul escuro para melhor legibilidade */
  overflow-x: hidden; /* Evita a barra de rolagem horizontal */
}

body.dark-mode {
  background-color: #000;
  color: #e0e0e0;
}

.top-menu {
  width: 100%;
  background-color: #000021; /* Azul escuro */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0; /* Ajustado o espaçamento no topo e na parte inferior */
  position: fixed; /* Fixa o menu no topo */
  top: 0; /* Posiciona o menu no topo da página */
  left: 0; /* Garante que o menu fique alinhado à esquerda */
  z-index: 1000; /* Garante que o menu fique acima de outros elementos */
}

body.dark-mode .top-menu {
  background-color: #1f1f1f;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-left: 20px; /* Adiciona um espaçamento à esquerda */
  color: #fff; /* Branco */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 20px; /* Adiciona um espaçamento à direita para evitar a sobreposição */
  margin-left: 20px; /* Adiciona um espaçamento à esquerda para evitar a sobreposição */
}

/* Esconde o menu de navegação e exibe o ícone de hambúrguer em telas menores */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

body.dark-mode .nav-links a {
  color: #e0e0e0;
}

.nav-links.active {
  display: flex;
}

.nav-links img {
  width: 24px;
  height: 24px;
  margin-left: 20px;
}

.nav-links i {
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
}

body.dark-mode .nav-links i {
  color: #ff8534; /* Laranja claro */
}

img.tkc {
  width: 80px;
}

img.ppt {
  width: 80px;
}

.Mindset {
  margin: 80px auto;
  background-color: white;
  color: #000;
  border-radius: 5px;
  display: flex; /* Define o contêiner como flexível */
  flex-direction: column; /* Alinha os itens em coluna */
  justify-content: center; /* Centraliza os itens verticalmente */
}

body.dark-mode .Mindset {
  background-color: rgb(0, 0, 0);
  color: #ffffff;
}

.cabecario {
  display: flex;
  justify-content: space-between; /* Distribui o espaço entre os itens */
  align-items: center; /* Alinha os itens verticalmente ao centro */
  padding: 10px; /* Espaçamento interno */
}

.cabecario,
.resultados > div {
  width: 100%;
  box-sizing: border-box; /* Inclui padding e border na largura e altura */
}

.imagens-logo,
.titulo,
.info-user {
  flex: 1; /* Faz com que cada div ocupe a mesma quantidade de espaço */
  margin: 10px; /* Espaçamento horizontal entre as colunas */
  text-align: center;
  width: 300px;
}

.imagens-logo img {
  max-width: 100px; /* Ajuste o tamanho das imagens conforme necessário */
  margin-right: 10px; /* Espaçamento entre as imagens */
}

.titulo h1 {
  font-size: 20px; /* Tamanho da fonte do título */
  margin: 0; /* Remove a margem padrão */
}

.titulo p {
  font-size: 16px; /* Tamanho da fonte do parágrafo */
  margin: 5px 0 0 0; /* Margem superior */
}

.info-user {
  display: flex; /* Define o contêiner como flexível */
  justify-content: space-between; /* Distribui o espaço entre os itens */
  align-items: center; /* Alinha os itens verticalmente ao centro */
}

.info-user .escrito {
  flex: 1; /* Faz com que a div 'escrito' ocupe a mesma quantidade de espaço */
  margin-right: 10px; /* Espaçamento à direita */
}

.info-user > div {
  display: flex; /* Define o contêiner como flexível */
  flex-direction: column; /* Alinha os itens em coluna */
  justify-content: center; /* Centraliza os itens verticalmente */
}

.info-user .escrito h2 {
  font-size: 10px; /* Tamanho da fonte dos subtítulos */
  margin: 5px 0; /* Margem superior e inferior */
}

.info-user img {
  max-width: 80px; /* Ajuste o tamanho da imagem conforme necessário */
}

#grafico-bigfive {
  max-width: 600px;
  height: 400px;
}

.bigfive {
  margin-bottom: 20px;
}

#grafico-autorresponsabilidade {
  max-width: 600px;
  height: 200px;
}

.autorresponsabilidade {
  margin-bottom: 20px;
}

#grafico-impulsores {
  max-width: 600px;
  height: 400px;
}

.impulsores-porcentagem {
  max-width: 400px;
  height: 300px;
  font-size: 14px;
}

.impulsores-porcentagem h2 {
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
}

.impulsores-porcentagem table {
  width: 100%;
  border-collapse: collapse; /* Remove espaços entre as células */
  margin-bottom: 20px;
}

.impulsores-porcentagem table,
.impulsores-porcentagem th,
.impulsores-porcentagem td {
  border: 1px solid #ddd; /* Borda da tabela e das células */
}

.impulsores-porcentagem th,
.impulsores-porcentagem td {
  padding: 8px; /* Espaçamento interno das células */
  text-align: left; /* Alinhamento do texto */
}

.impulsores-porcentagem th {
  background-color: #f2f2f2; /* Cor de fundo do cabeçalho */
  font-weight: bold; /* Negrito no cabeçalho */
}

.impulsores-porcentagem tr:nth-child(even) {
  background-color: #f9f9f9; /* Cor de fundo das linhas pares */
}

.impulsores-porcentagem tr:hover {
  background-color: #ddd; /* Cor de fundo ao passar o mouse */
}

.info-impulsores {
  font-size: 14px;
  margin-top: 10px;
  color: #666;
}

.impulsores {
  display: flex;
  flex-direction: row; /* Altera para linha */
  justify-content: space-between; /* Espaça os gráficos */
  align-items: center;
  margin-bottom: 20px;
}

body.dark-mode .impulsores-porcentagem th {
  background-color: #333; /* Cor de fundo do cabeçalho no modo escuro */
  color: #fff; /* Cor do texto do cabeçalho no modo escuro */
}

body.dark-mode .impulsores-porcentagem td {
  background-color: #444; /* Cor de fundo das células no modo escuro */
  color: #fff; /* Cor do texto das células no modo escuro */
}

body.dark-mode .impulsores-porcentagem tr:nth-child(even) {
  background-color: #555; /* Cor de fundo das linhas pares no modo escuro */
}

body.dark-mode .impulsores-porcentagem tr:hover {
  background-color: #666; /* Cor de fundo ao passar o mouse no modo escuro */
}

body.dark-mode .info-impulsores {
  color: #ccc; /* Cor do texto das informações no modo escuro */
}

#grafico-motivadores {
  max-width: 600px;
  height: 400px;
}

.img-motivadores {
  margin-top: 40px;
  max-width: 400px;
  width: 400px;
  height: 300px;
}

.img-m {
  display: flex;
  flex-direction: row; /* Altera para linha */
  justify-content: space-between; /* Espaça os gráficos */
  align-items: center;
}

.img-m p {
  font-size: 12px;
}

.img-m h2 {
  font-size: 14px;
}

.img-m span {
  text-align: end;
}

.motivadores {
  display: flex;
  flex-direction: row; /* Altera para linha */
  justify-content: space-between; /* Espaça os gráficos */
  align-items: center;
  margin-bottom: 20px;
}

#grafico-predominancia {
  max-width: 500px;
  height: 500px;
}

.img-predominancia {
  margin-top: 50px;
  max-width: 400px;
  width: 400px;
  height: 400px;
}

.predominancia {
  display: flex;
  flex-direction: row; /* Altera para linha */
  justify-content: space-between; /* Espaça os gráficos */
  align-items: center;
  margin-bottom: 20px;
}

.assertividade {
  display: flex;
  flex-direction: row; /* Altera para linha */
  justify-content: space-between; /* Espaça os gráficos */
  align-items: center;
  margin-bottom: 20px;
}

#grafico-assertividade {
  flex: 1;
  max-width: 600px;
  max-height: 600px;
}

#grafico-assertividade-progresso {
  flex: 1;
  max-width: 400px;
  width: 200px;
  max-height: 200px;
}

.avaliacao-gerencial {
  display: flex;
  flex-direction: row; /* Altera para linha */
  justify-content: space-between; /* Espaça os gráficos */
  align-items: center;
  margin-bottom: 20px;
}

#grafico-avaliacao-gerencial {
  flex: 1;
  max-width: 600px;
  width: 600px;
  max-height: 400px;
  height: 400px; /* Ajuste a altura conforme necessário */
}

.tabela {
  flex: 1;
  max-width: 400px;
  width: 400px;
  margin-top: 20px;
  margin-left: 10px;
}

.tabela table {
  width: 100%;
  border-collapse: collapse;
}

.tabela th,
.tabela td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.tabela th {
  background-color: #f2f2f2;
  color: black;
  font-weight: bold;
}

.escala-de-proposito {
  width: 900px;
  max-width: 900px;
  margin-bottom: 20px;
}

#grafico-escala-de-proposito {
  max-width: 400px;
  width: 400px;
  max-height: 200px;
}

.legenda {
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 10px;
}

.legenda p {
  margin: 5px;
  font-size: 16px;
}

.legenda-quadrado {
  display: inline-block;
  width: 15px; /* Largura do quadrado */
  height: 15px; /* Altura do quadrado */
  margin-right: 10px; /* Espaçamento entre o quadrado e o texto */
  border: 1px solid #000; /* Borda opcional para melhor visibilidade */
}

.coeficiente-de-garra {
  display: flex;
  flex-direction: row; /* Altera para linha */
  justify-content: space-evenly; /* Espaça os gráficos */
  align-items: start;
  margin-bottom: 20px;
}

#grafico-coeficiente-de-garra {
  flex: 1;
  max-width: 400px;
  width: 400px;
  max-height: 400px;
}

#grafico-coeficiente-de-garra-porcentagem {
  flex: 1;
  max-width: 200px;
  width: 200px;
  max-height: 400px;
  height: 400px;
}

#grafico-status-burnout {
  max-width: 600px;
  width: 600px;
  max-height: 400px;
  height: 400px;
}

/* Estilos para a div status-burnout */
.status-burnout {
  align-items: start;
  margin-bottom: 20px;
}

/* Estilos para a tabela dentro da div status-burnout */
.status-burnout table {
  max-width: 600px;
  width: 600px;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

/* Estilos para as células da tabela (th e td) dentro da div status-burnout */
.status-burnout th,
.status-burnout td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
}

/* Estilos para as células de cabeçalho (th) dentro da div status-burnout */
.status-burnout th {
  background-color: #fff;
  font-weight: bold;
  color: #333;
}

/* Estilos para as células de dados (td) dentro da div status-burnout */
.status-burnout td {
  font-size: 14px;
  color: #555;
}

/* Estilos para a linha atual (tr#linhaAtual) dentro da div status-burnout */
.status-burnout tr#linhaAtual td {
  background-color: #e6f7ff;
  font-weight: bold;
  color: #007bff;
}

/* Estilos para a linha de fases (tr) dentro da div status-burnout */
.status-burnout tr:nth-child(3) td {
  background-color: #f9f9f9;
  font-weight: bold;
  color: #333;
}

/* Modo Escuro */
body.dark-mode .status-burnout table {
  background-color: #000000;
  border: 1px solid #000000;
}

body.dark-mode .status-burnout th {
  background-color: #444;
  color: #fff;
}

body.dark-mode .status-burnout td {
  background-color: #333;
  color: #ddd;
}

body.dark-mode .status-burnout tr#linhaAtual td {
  background-color: #555;
}

body.dark-mode .status-burnout tr:nth-child(3) td {
  background-color: #444;
  color: #fff;
}

.triade-do-tempo {
  display: flex;
  flex-direction: row; /* Altera para linha */
  justify-content: space-evenly; /* Espaça os gráficos */
  align-items: start;
  margin: 20px;
}

#grafico-triade-do-tempo {
  max-width: 400px;
  width: 400px;
  max-height: 600px;
  height: 600px;
}

#grafico-triade-do-tempo-progresso {
  max-width: 600px;
  width: 600px;
  max-height: 200px;
  height: 200px;
}

#grafico-triade-do-tempo-impacto {
  max-width: 600px;
  width: 600px;
  max-height: 400px;
  height: 400px;
}

#grafico-3-pilares {
  max-width: 600px;
  width: 600px;
  max-height: 400px;
  height: 400px;
}

span.blue {
  color: rgb(78, 152, 208);
}

.botao-download {
  display: inline-block; /* Ajusta o botão para não ocupar toda a largura disponível */
  padding: 10px 20px;
  background-color: #000021;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px auto; /* Centraliza o botão horizontalmente */
  text-align: center; /* Alinha o texto no centro */
  line-height: 1.5; /* Ajusta a altura da linha para centralizar verticalmente o texto */
  font-size: 16px; /* Ajuste o tamanho da fonte conforme necessário */
}


button:hover {
  background-color: #000041;
}

@media print {
  .top-menu {
    display: none;
  }

  body {
    background-color: white;
    color: black;
  }

  .Mindset {
    margin: 0;
    padding: 0;
  }

  .resultados {
    page-break-after: always;
  }

  canvas {
    page-break-inside: avoid;
  }
}


@media (max-width: 768px) {
  .nav-links {
    display: none; /* Inicialmente escondido */
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: auto; /* Ajusta a largura para o conteúdo */
    max-width: 250px; /* Largura máxima do menu */
    background-color: #000021;
    position: fixed;
    top: 0;
    right: 0; /* Alinhado à direita da tela */
    height: auto; /* Ajusta a altura para o conteúdo */
    padding: 60px 20px; /* Espaçamento interno */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5); /* Sombra para efeito de destaque */
    transition: transform 0.3s ease; /* Transição suave */
    transform: translateX(100%); /* Inicialmente escondido fora da tela */
    z-index: 1001; /* Garante que o menu fique acima de outros elementos */
    margin: 0; /* Remove qualquer margem extra */
  }

  .nav-links.active {
    transform: translateX(0); /* Mostra o menu quando ativo */
  }

  .nav-links a,
  .nav-links i {
    font-size: 18px;
  }

  .hamburger {
    display: block;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    margin-right: 20px; /* Ajuste conforme necessário */
    z-index: 1002; /* Garante que o ícone do hambúrguer fique acima do menu */
  }

  /* Estilos para o modo escuro */
  body.dark-mode .nav-links {
    background-color: #1f1f1f;
  }

  body.dark-mode .nav-links a {
    color: #e0e0e0;
  }

  .Mindset {
    width:100%
  }

  img.tkc,
  img.ppt {
    width: 8vw;
  }

  .cabecario,
  .resultados > div {
    width: 100vw;
    box-sizing: border-box;
  }

  .imagens-logo img {
    max-width: 10vw;
  }

  .titulo h1 {
    font-size: 5vw;
  }

  .titulo p {
    font-size: 4vw;
  }

  .info-user img {
    max-width: 8vw;
  }

  #grafico-bigfive {
    width: 90vw;
    height: 50vh;
  }

  #grafico-autorresponsabilidade {
    width: 90vw;
    height: 25vh;
  }

  #grafico-impulsores {
    width: 90vw;
    max-height: 50vh;
    height: 50vh
  }

  .impulsores-porcentagem {
    width: 60vw;
    height: 30vh;
    font-size: 2.5vw;
  }

  .impulsores-porcentagem h2 {
    font-size: 3vw;
    margin-bottom: 2vw;
  }

  .impulsores-porcentagem table,
  .impulsores-porcentagem th,
  .impulsores-porcentagem td {
    border: 1px solid #ddd;
  }

  .impulsores-porcentagem th,
  .impulsores-porcentagem td {
    padding: 1.5vw;
  }

  .info-impulsores {
    font-size: 2.5vw;
  }

  #grafico-motivadores {
    width: 90vw;
    max-height: 50vh;
    height: 50vh;
  }

  .img-motivadores {
    margin-top: 8vw;
    width: 60vw;
    height: 30vh;
  }

  .img-m p {
    font-size: 3vw;
  }

  .img-m h2 {
    font-size: 3.5vw;
  }

  #grafico-predominancia {
    width: 90vw;
    height: 50vh;
    max-height: 50vh;
  }

  .img-predominancia {
    margin-top: 10vw;
  }

  #grafico-assertividade {
    width: 90vw;
    height: 50vh;
    max-height: 50vh;
  }

  #grafico-assertividade-progresso {
    width: 45vw;
    height: 25vh;
  }

  #grafico-avaliacao-gerencial {
    width: 90vw;
    height: 50vh;
    max-height: 50vh;
  }

  .tabela {
    width: 80vw;
    margin-top: 5vw;
  }

  .tabela th,
  .tabela td {
    font-size: 3vw;
  }

  #grafico-escala-de-proposito {
    width: 60vw;
    height: 25vh;
  }

  .legenda p {
    font-size: 3vw;
  }

  #grafico-coeficiente-de-garra {
    width: 60vw;
    height: 40vh;
  }

  #grafico-coeficiente-de-garra-porcentagem {
    width: 30vw;
    height: 40vh;
  }

  #grafico-status-burnout {
    width: 90vw;
    height: 50vh;
  }

  .status-burnout table {
    width: 90vw;
    border-collapse: collapse;
    margin-top: 5vw;
  }

  .status-burnout th,
  .status-burnout td {
    padding: 2vw;
    font-size: 2.5vw;
  }

  #grafico-triade-do-tempo {
    width: 60vw;
    height: 75vh;
  }

  #grafico-triade-do-tempo-progresso {
    width: 90vw;
    height: 25vh;
  }

  #grafico-triade-do-tempo-impacto {
    width: 90vw;
    height: 50vh;
  }

  #grafico-3-pilares {
    width: 90vw;
    height: 50vh;
  }
  .impulsores,
  .motivadores,
  .predominancia,
  .assertividade,
  .avaliacao-gerencial,
  .coeficiente-de-garra,
  .triade-do-tempo {
    flex-direction: column; /* Alinha os itens em coluna */
  }

  .impulsores > div,
  .motivadores > div,
  .predominancia > div,
  .assertividade > div,
  .avaliacao-gerencial > div,
  .coeficiente-de-garra > div,
  .triade-do-tempo > div {
    width: 100%;
    margin-bottom: 10px; /* Espaço entre os gráficos */
  }
}