:root {
  scroll-behavior: smooth;
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  background: #f6f9ff;
  color: #444444;

  width: 100%;
  overflow-x: hidden;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

/* Beneficios 



/******************************************/
/* Mantém todas as imagens com a MESMA proporção (16:9) */
.ratio-16x9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}
.ratio-16x9 .carousel-item,
.ratio-16x9 .carousel-item img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.ratio-16x9 .carousel-item img {
  object-fit: cover;      /* preenche e corta o excesso de forma consistente */
  image-rendering: auto;
  transform: translateZ(0);
}



h1, h2, h3, h4, h5, h6 {
  font-family: "Nunito", sans-serif;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}
.modal {
  display: none !important;
}
.container-fluid {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  border: 1px solid #000000;
  border-radius: 10px;
  background-color: #204FB3;
  margin-bottom: 20px;
}
.header-container2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  border: 1px solid #000000;
  border-radius: 10px;
  background-color: #0e0f11;
  margin-bottom: 20px;
}
.header-icon {
  margin-right: 10px;
}

.header-text {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  color: #fffff0;
  flex-grow: 1;
  text-align: center; /* Centraliza o texto horizontalmente */

}
.header-text2 {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  color: #ffffff;
  flex-grow: 1;
  text-align: center; /* Centraliza o texto horizontalmente */

}

.card {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
}

.card-body {
  padding: 0 20px 20px 20px;
}

.form-control {
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 08px 16px;
  font-size: 16px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
  appearance: none;
  /* Remove o estilo padrão do navegador */
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

.form-control.textarea {
  height: 100px;
  /* Ajuste a altura conforme necessário */
}

/* Estilo para a aparência de input desativado */
.form-control[disabled],
.form-control[readonly] {
  background-color: #f8f9fa;
  border-color: #ddd;
  color: #6c757d;
  box-shadow: none;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}

.form-group {
  flex: 1;
  padding-right: 5px;
  padding-left: 5px;
}

.hidden-column {
  display: none;
}

.pagination-container {
  margin-top: 20px;
}

.pagination-select-container {
  margin-top: 20px;
}

.bottom-navbar {
  display: flex;
  justify-content: space-around;
  width: 100%;
  position: fixed;
  bottom: 0;
  background-color: #f8f9fa;
  border-top: 1px solid #e7e7e7;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

.bottom-navbar .nav-item {
  flex: 1;
  text-align: center;
  padding: 10px;
}

.bottom-navbar .nav-item img {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
}

.bottom-navbar .nav-item .nav-text {
  display: block;
  font-size: 14px;
}

.nav-tabs .nav-link {
  border: 2px solid #82a6c9; /* Adiciona uma borda ao redor das abas */
  color: #555;
  background-color: #82a6c9;
  border-radius: 5px; /* Adiciona bordas arredondadas */
  margin-right: 5px; /* Espaço entre as abas */
}

.nav-tabs .nav-link.active {
  color: #fff;
  background-color: #1c15ee;
  border-color: #000000; /* A borda ativa terá a mesma cor de fundo da aba ativa */
  border-width: 2px;
}

.nav-tabs {
  border-bottom: none; /* Remove a linha inferior das abas */
}

.tab-pane {
  padding-top: 20px;

}

.menu-container {
  margin-top: 20px;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

.menu-icon {
  width: 64px;
  height: 64px;
  margin-right: 10px;
}

.menu-text {
  font-size: 18px;
  font-weight: bold;
}

.logo img {
  max-height: 50px;
  margin-right: 10px;
}

.logo span {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
}

header, .bottom-navbar {
  display: flex;
  justify-content: space-around;
  width: 100%;
  position: fixed;
  background-color: #f8f9fa;
  border-top: 1px solid #e7e7e7;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

header {
  top: 0;
  border-top: none;
  border-bottom: 1px solid #e7e7e7;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.nav-item {
  flex: 1;
  text-align: center;
}

.nav-item .nav-icon {
  width: 52px;
  height: 52px;
  display: block;
  margin: 0 auto;
}

.nav-item .nav-text {
  display: block;
  font-size: 14px;
  font-weight: bold; /* Exibe o texto em negrito */
  

}

html, body {
  overflow: auto;
}



.pagination-container-small {
  font-size: 0.875rem; /* Reduce font size */
}

.pagination-container-small .pagination {
  margin-bottom: 0;
}

.pagination-container-small .small-label {
  font-size: 0.875rem; /* Reduce font size of the label */
}

.pagination-container-small .form-control {
  font-size: 0.875rem; /* Reduce font size of the select input */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.header-icon {
  width: 80px;
  height: 80px;
}

.header-text {
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
}

.anamnese-report .card-header {
  background-color: #f8f9fa;
}

.anamnese-report .card-title {
  font-size: 18px;
  font-weight: bold;
}

.anamnese-report .card-text {
  font-size: 16px;
}


.no-response {
  color: red;
}

.question-text {
  font-size: 0.9em; /* Ajuste o tamanho da fonte conforme necessário */
}


@media print {
  body * {
    visibility: hidden;
  }
  .container, .container * {
    visibility: visible;
  }
  .container {
    position: absolute;
    left: 0;
    top: 0;
  }
}

  /* Estilos personalizados para o cabeçalho da tabela */
  .table-custom-header {
      background: #204FB3; /* Azul mais tranquilo */
      color: rgb(255, 255, 255);
      text-align: center;
      font-weight: bold;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      border-bottom: 2px solid #5a9;
      font-family: 'Nunito', sans-serif; /* Aplicar a fonte Nunito */
  }

    /* Estilos personalizados para o cabeçalho da tabela */
    .table-custom-header2 {
      background: #204FB3; /* Azul mais tranquilo */
      color: rgb(0, 0, 0);
      text-align: center;
      font-weight: bold;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      border-bottom: 2px solid #5a9;
      font-family: 'Nunito', sans-serif; /* Aplicar a fonte Nunito */
  }

  .table-custom-header th {
      padding: 15px;
      border-left: 1px solid rgb(0, 0, 0);
  }

  .table-custom-header th:first-child {
      border-left: none;
  }

  .table-custom-header th:last-child {
      border-right: none;
  }

  /* Estilos personalizados para a tabela */
  .table {
      border-radius: 10px;
      overflow: hidden; /* Para garantir que os cantos arredondados fiquem corretos */
      border: 1px solid #a8c0ff; /* Cor da borda da tabela */
      font-family: 'Nunito', sans-serif; /* Aplicar a fonte Nunito */
  }

  .table tbody tr {
      border-bottom: 1px solid #e0e0e0;
  }

  .table tbody tr:last-child {
      border-bottom: none;
  }

  /* Aplicar a fonte Nunito ao corpo inteiro */
  body {
      font-family: 'Nunito', sans-serif;
  }

  .container-fluid {
    padding: 0 20px; /* Padding para o container */
}

.custom-card {
    border-radius: 15px;
    background-color: #e3f2fd; /* Azul bebê */
    border: 1px solid #90caf9; /* Azul mais forte */
    margin-bottom: 20px; /* Espaçamento maior entre os cards */
    width: 100%; /* Ocupa toda a largura disponível */
    box-sizing: border-box; /* Inclui padding e border na largura total */
}

.custom-card .card-header {
    background-color: #bbdefb;
    border-bottom: 1px solid #90caf9; /* Azul mais forte */
    border-top-left-radius: 15px; /* Bordas arredondadas no topo */
    border-top-right-radius: 15px;
}

.custom-card .card-body {
    border-bottom-left-radius: 15px; /* Bordas arredondadas na base */
    border-bottom-right-radius: 15px;
}

.custom-label {
    display: block;
    margin-bottom: 15px; /* Espaçamento entre linhas */
    margin-top: 15px; /* Espaçamento entre registros */
}

.analise-intervencao {
    margin-top: 20px;
    height: 100px;
}

.selected {
  background-color: #9bc9f4 !important;
}

#userData tr:nth-child(odd) {
  background-color: #f9f9f9;
}

#userData tr:nth-child(even) {
  background-color: #ffffff;
}

.btn-custom {
  width: 30%;
}

.card-header input.form-control {
  margin-top: 10px;
}

textarea.form-control,
input.form-control {
  margin-top: 10px;
}



.btn.btn-accessible {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 10px;
  background-color: #cfcfcf57;
  transition: background-color 0.3s;
  width: 150px; /* Define a largura fixa */

}

.btn.btn-accessible:hover {
  background-color: #e9e9e9;
}

.btn.btn-accessible .icon {
  display: block;
  margin: 0 auto;
}

.btn.btn-accessible .button-text {
  font-size: 12px;
  margin-top: 4px;
 font-weight: bold; /* Exibe o texto em negrito */

  
}

.btn.btn-accessible .button-register{
  font-size: 13px;
  font-weight: 600;
  background-color: rgba(99, 125, 203, 0.798);
  color: white;
  border-radius: 5px;
  border: 0;
  padding: 10px 60px;
  cursor: pointer;
  width: auto;
  height: auto;

}


.btn-primary-one {
  background-color: #d2496b; /* Nova cor de fundo */
  border-color: #000000; /* Nova cor da borda */
  color: rgb(255, 255, 255); /* Nova cor do texto */
}


.tooltip-message {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.875rem;
  display: none;
  z-index: 1000;
}

.tooltip-container:hover .tooltip-message {
  display: block;
}

.float-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.float-button:focus {
  outline: none;
}

.table-custom {
    font-size: 0.9em; /* Ajuste geral de fonte */
    width: 100%;
    border-radius: 10px;
    overflow: hidden; /* Para garantir que os cantos arredondados fiquem corretos */
    border: 1px solid #a8c0ff; /* Cor da borda da tabela */
    font-family: 'Nunito', sans-serif; /* Aplicar a fonte Nunito */
}

.table-custom th, .table-custom td {
    white-space: nowrap;
    padding: 8px;
}

.table-custom th {
    background-color: #f8f9fa;
    font-weight: bold;
    text-align: center;
}

.table-custom td {
    text-align: right; /* Alinhamento à direita */
}

.table-custom tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.table-custom tbody tr:last-child {
    border-bottom: none;
}

.small-text {
    font-size: 0.8em;
}

@media (max-width: 768px) {
    .table-custom th, .table-custom td {
        font-size: 0.8em;
    }
}

.container {
  margin-top: 20px;
}
.content-section {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}
.content-column {
  width: 45%;
}
.content-column h4 {
  border-bottom: 1px solid #dddddd;
  padding-bottom: 5px;
}

.content-tab {
  margin-top: 20px;
}

.btn-accessible[disabled] {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}


.list-group-item {
  display: flex;
  align-items: center;
}
/* Ajuste para o modal */
.modal-dialog {
  max-width: 80%;
}
.table-dark th {
  background-color: #000 !important;
  color: #fff;
  text-align: center;
}
.table-responsive {
  overflow-x: auto;
}

.fixed-width {
  width: auto;
  white-space: nowrap;
}

.table-custom {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #a8c0ff;
  font-family: 'Nunito', sans-serif;
}

.table-custom th, .table-custom td {
  padding: 8px;
  word-wrap: break-word;
  text-align: left; /* Alinhamento à esquerda */
}

.table-custom .checkbox-column {
  width: 1%;
  white-space: nowrap;
  text-align: center;
}

.table-custom .number-column {
  width: auto;
  white-space: nowrap;
  text-align: left;
}

.table-custom .question-column {
  width: 100%;
  text-align: left;
}

@media (max-width: 768px) {
  .table-custom th, .table-custom td {
      font-size: 0.8em;
      white-space: normal; /* Permitir quebras de linha */
  }
}

.background-section {
  background-image: url('/img/background.png'); /* Substitua pelo caminho da sua imagem */
  background-size: cover;
  background-position: center;
  height: 100%; /* Ajuste a altura conforme necessário */
  width: 100%;
}

.btn-white-border {
  background-color: white;
  border: 1px solid black;
  color: black;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 1px 2px;
  cursor: pointer;
  transition-duration: 0.4s;
}

.btn-white-border:hover {
  background-color: black;
  color: white;
}

.subcategoria-section table tr:hover {
  background-color: #ffffe0; /* Cor amarelo claro */
}
.error-border {
  border: 1px solid red;
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

.nav-link.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.form-group label {
  margin-bottom: 0.2rem; /* Ajuste conforme necessário */
}

.form-group .form-control {
  margin-top: -0.2rem; /* Ajuste conforme necessário */
}


/* Estilos responsivos para iframes */
.content-tab iframe {
  width: 100%;
  height: 400px; /* Altura padrão para dispositivos menores */
  border: none;
}

@media (min-width: 576px) {
  .content-tab iframe {
      height: 500px; /* Altura maior para tablets */
  }
}

@media (min-width: 768px) {
  .content-tab iframe {
      height: 600px; /* Altura original para desktops */
  }
}

.btn-group {
  display: flex;
  flex-wrap: wrap; /* Permite que os botões quebrem em várias linhas se necessário */
  justify-content: flex-start; /* Alinha os botões à esquerda */
  gap: 1px; /* Espaçamento entre os botões */
}

.btn-group .btn-accessible {
  flex: 1 1 auto; /* Permite que os botões ocupem espaço disponível */
  max-width: 48%; /* Define um tamanho máximo para cada botão (ajustável) */
  text-align: center; /* Centraliza o texto dentro do botão */
}

@media (max-width: 576px) {
  .btn-group .btn-accessible {
      max-width: 100%; /* Em telas muito pequenas, os botões ocupam toda a linha */
  }
}

canvas {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}



    
.layer-graficos {
  display: none; /* Escondido por padrão */
}

.layer-graficos.active {
  display: block; /* Mostrar quando ativado */
}

.tabs-content {
  display: block; /* Mostrar o conteúdo das tabs normalmente */
}

.tabs-content.hidden {
  display: none; /* Esconder quando os gráficos estão ativos */
}

/* Estilo para iluminar a linha da questão quando o mouse passar sobre ela */
tr.question-row:hover {
  background-color: #fff78a; /* Alterar a cor de fundo quando o mouse está sobre a linha */
}



canvas {
  display: block;
  margin: 20px auto; /* Centraliza o canvas na página */
  max-width: 100%;
  height: 400px; /* Defina uma altura para garantir que o gráfico seja visível */
}


.whatsapp_float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  left: 10px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  cursor: move; /* Adds a move cursor to indicate the button is draggable */
}

.whatsapp_float img {
  width: 100%;
  height: 100%;
  border-radius: 50px;
}

.whatsapp_float:hover {
  background-color: #128c7e;
}

.circular-button {
  background-color: #fff; /* Fundo transparente */
  border: 1px; /* Remove a borda */
  border-radius: 50%; /* Faz o botão redondo */
  width: 40px; /* Define uma largura fixa */
  height: 40px; /* Define uma altura fixa */
  display: flex; /* Usa Flexbox para centralizar o conteúdo */
  justify-content: center; /* Centraliza o conteúdo horizontalmente */
  align-items: center; /* Centraliza o conteúdo verticalmente */
  cursor: pointer; /* Ponteiro de clique */
}


/* Efeito de blur aplicado apenas ao conteúdo do calendário */
#calendarArea.blur {
  filter: blur(1.3px);
  pointer-events: none;
  user-select: none;
  position: relative;
}



/* Estilo da mensagem de upgrade */
.upgrade-overlay {

  position: absolute;
  top: 50%; /* Centraliza verticalmente */
  left: 50%; /* Centraliza horizontalmente */
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border: 2px solid #000000;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  z-index: 9999; /* Garante que a mensagem de upgrade fique acima do conteúdo desfocado */
  pointer-events: all; /* Garante que a mensagem possa ser clicada */
  user-select: all; /* Permite selecionar o texto na mensagem */
}

/* Estilo que faz a mensagem de upgrade sumir no scroll */
.upgrade-hidden {
  display: none;
}



/* Flexbox para alinhar o input radio e o label na mesma linha */
.radio-wrapper {
  display: flex;
  align-items: center; /* Centraliza verticalmente o radio button e o label */
  margin-bottom: 10px;
}

/* Aumentar o tamanho dos radio buttons */
input[type="radio"] {
  transform: scale(1.5); /* Aumenta o tamanho do radio button */
  margin-right: 10px; /* Adiciona espaço entre o botão e o texto */
}

/* Estilos para os labels dos radio buttons */
label {
  font-size: 1.2rem; /* Aumenta o tamanho da fonte do label */
  font-weight: 500; /* Deixa o texto mais destacado */
  margin-bottom: 0; /* Remove margem inferior para alinhar com o input */
}

/* Estilo opcional para deixar o container dos radio buttons mais visível */
.radio-container {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd; /* Borda para separar visualmente os grupos */
  border-radius: 8px; /* Arredonda os cantos */
  background-color: #f9f9f9; /* Cor de fundo para destacar o grupo */
}
