@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* ANAMNESE ADULTO PAG 1*/
.anamneseText {
  float: left;
  font-size: 18px;
  color: white;
  text-align: center;
  padding-left: 47%;
  padding-top: 1%;
  padding-bottom: 1%;
  text-decoration: none;
}

.ProblemasLabel {
  /* margin-left: 30px;
     margin-bottom: 20px;
     margin: 100 0px;
     margin-top: 1000px;*/
  margin-right: 100px;
  color: #000;
  font-size: 10pt;
  margin-left: 10px;
  font-family: "Open Sans", sans-serif !important;
}

.espaçamentoAnamnese1 {
  margin: 0px;
}
.inputTextAnamneseAdulto {
  border: none;
  border-bottom: 2px solid black;
  padding-bottom: 5px;
  outline: none;
  background-color: white;
}
.inputTextAnamneseAdulto:disabled {
  border: none;
  border-bottom: 2px solid grey;
  padding-bottom: 5px;
  outline: none;
  background-color: white;
}
.inputTextAnamneseAdulto:focus {
  border-bottom-color: red;
}
.checkboxAdulto {
  transform: scale(2);
  margin-left: 30px;
  background-color: grey;
  margin: 7 30px;
  cursor: pointer;
}
.ProblemasLabel2 {
  margin-right: 100px;
  font-family: "Open Sans", sans-serif;
}
.ProblemasLabel3 {
  margin-right: 100px;
  font-family: "Open Sans", sans-serif;
}
.textodoslabelsPag1 {
  color: grey;
  /*margin: 10 20px;   
    padding: 10px;*/
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}
.CentrarPagAdulto1 {
  margin-left: 20%;
  margin-top: 4%;
  position: relative;
}
@media (max-width: 800px) {
  /* ANAMNESE ADULTO PAG 1*/
  .anamneseText {
    float: left;
    font-size: 18px;
    color: white;
    text-align: center;
    padding-left: 47%;
    padding-top: 1%;
    padding-bottom: 1%;
    text-decoration: none;
  }
  .ProblemasLabel {
    margin-right: 5%;
    font-family: "Open Sans", sans-serif;
  }
  .ProblemasLabel2 {
    margin-right: 5%;
    padding-left: 5%;
    font-family: "Open Sans", sans-serif;
  }
  .ProblemasLabel3 {
    margin-right: 5%;
    padding-left: 5%;
    font-family: "Open Sans", sans-serif;
  }
  .inputTextAnamneseAdulto {
    border: none;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    outline: none;
    background-color: white;
  }
  .inputTextAnamneseAdulto:disabled {
    border: none;
    border-bottom: 2px solid grey;
    padding-bottom: 5px;
    outline: none;
    background-color: white;
  }
  .inputTextAnamneseAdulto:focus {
    border-bottom-color: red;
  }
  .checkboxAdulto {
    transform: scale(2);
    background-color: grey;
    margin: 10 30px;
    cursor: pointer;
  }
  .textodoslabelsPag1 {
    color: grey;
    /*margin: 10 20px;   
    padding: 10px;*/
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
  }
  .CentrarPagAdulto1 {
    margin-left: -2%;
    margin-top: 4%;
    position: relative;
  }
}

@media screen and (min-width: 801px) and (max-width: 1000px) {
  .anamneseText {
    float: left;
    font-size: 18px;
    color: white;
    text-align: center;
    padding-left: 47%;
    padding-top: 1%;
    padding-bottom: 1%;
    text-decoration: none;
  }
  .ProblemasLabel {
    margin-right: 5%;
    font-family: "Open Sans", sans-serif;
  }
  .ProblemasLabel2 {
    margin-right: 5%;
    padding-left: 5%;
    font-family: "Open Sans", sans-serif;
  }
  .ProblemasLabel3 {
    margin-right: 5%;
    padding-left: 5%;
    font-family: "Open Sans", sans-serif;
  }
  .inputTextAnamneseAdulto {
    border: none;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    outline: none;
    background-color: white;
  }
  .inputTextAnamneseAdulto:disabled {
    border: none;
    border-bottom: 2px solid grey;
    padding-bottom: 5px;
    outline: none;
    background-color: white;
  }
  .inputTextAnamneseAdulto:focus {
    border-bottom-color: red;
  }
  .checkboxAdulto {
    transform: scale(2);
    background-color: grey;
    margin: 10 30px;
    cursor: pointer;
  }
  .textodoslabelsPag1 {
    color: grey;
    /*margin: 10 20px;   
        padding: 10px;*/
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
  }
  .CentrarPagAdulto1 {
    margin-left: 10%;
    margin-top: 4%;
    position: relative;
  }
}

@media screen and (min-width: 1001px) and (max-width: 1200px) {
  /* ANAMNESE ADULTO PAG 1*/
  .anamneseText {
    float: left;
    font-size: 18px;
    color: white;
    text-align: center;
    padding-left: 47%;
    padding-top: 1%;
    padding-bottom: 1%;
    text-decoration: none;
  }
  .ProblemasLabel {
    /*margin-left: 30px;
    margin-bottom: 20px;
    margin: 100 0px;
    margin-top: 1000px;*/
    margin-right: 5%;
    padding-left: 5%;
    font-family: "Open Sans", sans-serif;
  }
  .ProblemasLabel2 {
    margin-right: 5%;
    padding-left: 5%;
    font-family: "Open Sans", sans-serif;
  }
  .ProblemasLabel3 {
    margin-right: 5%;
    padding-left: 5%;
    font-family: "Open Sans", sans-serif;
  }
  .inputTextAnamneseAdulto {
    border: none;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    outline: none;
    background-color: white;
  }
  .inputTextAnamneseAdulto:disabled {
    border: none;
    border-bottom: 2px solid grey;
    padding-bottom: 5px;
    outline: none;
    background-color: white;
  }
  .inputTextAnamneseAdulto:focus {
    border-bottom-color: red;
  }
  .checkboxAdulto {
    transform: scale(2);
    background-color: grey;
    margin: 7 30px;
    cursor: pointer;
  }
  .textodoslabelsPag1 {
    color: grey;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
  }
  .CentrarPagAdulto1 {
    margin-left: 10%;
    margin-top: 4%;
    position: relative;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1400px) {
  .checkboxAdulto {
    transform: scale(2);
    background-color: grey;
    margin: 10 30px;
    cursor: pointer;
  }
  .CentrarPagAdulto1 {
    margin-top: 2%;
    position: relative;
  }
}

/* ANAMNESE ADULTO PÁG 2 */
button:hover {
  cursor: pointer;
}
.SimNaoBotao {
  width: 30px;
  height: 20px;
  cursor: pointer;
  margin-left: 5%;
}
.SimNaoBotaoEspaco {
  width: 30px;
  height: 20px;
  cursor: pointer;
}
.botoespag2 {
  display: flex;
  align-items: center;
  transform: scale(1.1);
  padding: 10px;
  padding-left: 8%;
  font-family: "Open Sans", sans-serif;
}
.pag2Adultotexto {
  text-align: left;
  font-size: 18px;
  margin-left: auto;
  margin-left: 20px;
  font-family: "Open Sans", sans-serif;
}
.textodoslabelsPag2 {
  color: black;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: normal;
}
.textodoslabelsPag2.disabled {
  color: grey;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: normal;
}
.pag2Adulto {
  padding-left: 2.5%;
}
.PaginaSelecionada {
  color: white;
  text-decoration: none;
}
.PaginaSelecionadaUnderline {
  text-decoration: underline;
  text-decoration-color: red;
  text-underline-position: under;
}
.checkboxAdultoPag2 {
  transform: scale(2);
  margin-left: 30px;
  background-color: grey;
  margin: 7 30px;
  cursor: pointer;
}
.checkboxAnamnese2 {
  top: 0;
  transform: scale(2);
  background-color: grey;
  margin-top: 0;
  position: relative;
}
.checkboxAnamnese2:hover {
  cursor: pointer;
}
.inputTextAnamnese2 {
  /* border: none;
  border-bottom: 2px solid black;
  padding-bottom: 5px;
  outline: none;
  background-color: white; */

  padding: 5px 10px;
  background: #e8e8e8;
  border: none;
  border-radius: 5px;
}
.inputTextAnamnese2:disabled {
  border: none;
  border-bottom: 2px solid grey;
  padding-bottom: 5px;
  outline: none;
  background-color: white;
}
.inputTextAnamnese2:focus {
  border-bottom-color: red;
}
.PosicaoDiv {
  margin-left: 16%;
  margin-top: 1%;
  position: relative;
}
/* BOTAO APAGAR/ X VERMELHO */
.botaovermelhoborda {
  background-color: white;
  text-decoration: none;
  border: none;
}
.imgVermelhoX {
  width: 70;
  height: 70;
}
/* BOTAO AZUL APAGRA*/
.botaoazulborda {
  background-color: darkblue;
  color: white;
  border-radius: 50%;
  border: none;
  width: 60px;
  height: 60px;
}
.tamanhoimgbotao {
  width: 25;
  height: 25;
}

@media (max-width: 800px) {
  /* ANAMNESE ADULTO PÁG 2 */
  button:hover {
    cursor: pointer;
  }
  .SimNaoBotao {
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-left: 5%;
  }
  .SimNaoBotaoEspaco {
    width: 30px;
    height: 20px;
    cursor: pointer;
  }
  .botoespag2 {
    display: flex;
    align-items: center;
    transform: scale(1.1);
    padding: 10px;
    padding-left: 8%;
    font-family: "Open Sans", sans-serif;
  }
  .pag2Adultotexto {
    text-align: left;
    font-size: 18px;
    margin-left: auto;
    margin-left: 20px;
    font-family: "Open Sans", sans-serif;
  }
  .textodoslabelsPag2 {
    color: black;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: normal;
  }
  .textodoslabelsPag2.disabled {
    color: grey;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: normal;
  }
  .pag2Adulto {
    padding-left: 2.5%;
  }
  .PaginaSelecionada {
    color: white;
    text-decoration: none;
  }
  .PaginaSelecionadaUnderline {
    text-decoration: underline;
    text-decoration-color: red;
    text-underline-position: under;
  }
  .checkboxAdultoPag2 {
    transform: scale(2);
    margin-left: 30px;
    background-color: grey;
    margin: 7 30px;
    cursor: pointer;
  }
  .checkboxAnamnese2 {
    top: 0;
    transform: scale(2);
    background-color: grey;
    /* margin-top: 4%; */
    position: relative;
  }
  .checkboxAnamnese2:hover {
    cursor: pointer;
  }
  .inputTextAnamnese2 {
    border: none;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    outline: none;
    background-color: white;
  }
  .inputTextAnamnese2:disabled {
    border: none;
    border-bottom: 2px solid grey;
    padding-bottom: 5px;
    outline: none;
    background-color: white;
  }
  .inputTextAnamnese2:focus {
    border-bottom-color: red;
  }
  .PosicaoDiv {
    margin-left: 2%;
    margin-top: 1%;
    position: relative;
  }
  /* BOTAO APAGAR/ X VERMELHO */
  .botaovermelhoborda {
    background-color: white;
    text-decoration: none;
    border: none;
  }
  .imgVermelhoX {
    width: 70;
    height: 70;
  }
  /* BOTAO AZUL APAGRA*/
  .botaoazulborda {
    background-color: darkblue;
    color: white;
    border-radius: 50%;
    border: none;
    width: 60px;
    height: 60px;
  }
  .tamanhoimgbotao {
    width: 25;
    height: 25;
  }
}

@media screen and (min-width: 801px) and (max-width: 1000px) {
  .PosicaoDiv {
    margin-left: 2%;
    margin-top: 1%;
    position: relative;
  }
}

@media screen and (min-width: 1001px) and (max-width: 1200px) {
  .PosicaoDiv {
    margin-left: 2%;
    margin-top: 1%;
    position: relative;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1400px) {
  /* Não sei o que mudar nesta página ver no tablet na terça */
}

/* PAG 3 ADULTO */
.Pag3Adulto {
  width: 40px;
  height: 30px;
  font-size: 40px;
  font-family: "Open Sans", sans-serif;
  cursor: pointer;
}
.Pag3AdultoTamanhoDasPerguntas {
  font-size: 20px;
  font-family: "Open Sans", sans-serif;
}
.espacamentoPag3 {
  padding-left: 15%;
}
.inputTextAnamnese3 {
  border: none;
  border-bottom: 2px solid black;
  padding-bottom: 5px;
  outline: none;
  background-color: white;
}
.inputTextAnamnese3:disabled {
  border: none;
  border-bottom: 2px solid grey;
  padding-bottom: 5px;
  outline: none;
  background-color: white;
}
.inputTextAnamnese3:focus {
  border-bottom-color: red;
}
.PosicaoAnamnese3 {
  margin-left: 25%;
  margin-top: 4%;
}

@media (max-width: 800px) {
  /* PAG 3 ADULTO */
  .Pag3Adulto {
    width: 40px;
    height: 30px;
    font-size: 40px;
    font-family: "Open Sans", sans-serif;
    cursor: pointer;
  }
  .Pag3AdultoTamanhoDasPerguntas {
    font-size: 20px;
    font-family: "Open Sans", sans-serif;
  }
  .espacamentoPag3 {
    padding-left: 15%;
  }
  .inputTextAnamnese3 {
    border: none;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    outline: none;
    background-color: white;
  }
  .inputTextAnamnese3:disabled {
    border: none;
    border-bottom: 2px solid grey;
    padding-bottom: 5px;
    outline: none;
    background-color: white;
  }
  .inputTextAnamnese3:focus {
    border-bottom-color: red;
  }
  .PosicaoAnamnese3 {
    margin-left: 10%;
    margin-top: 4%;
  }
}

@media screen and (min-width: 801px) and (max-width: 1000px) {
  .PosicaoAnamnese3 {
    margin-left: 16%;
    margin-top: 4%;
  }
}

@media screen and (min-width: 1001px) and (max-width: 1200px) {
  .PosicaoAnamnese3 {
    margin-left: 20%;
    margin-top: 4%;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1400px) {
  /* Não sei o que mudar nesta página ver no tablet na terça */
}

/* PAG 4 ADULTO */
.canvasmaisparaolado {
  margin-left: 70px;
}
.corcanvas {
  background-color: #cdcdcb;
}
.corLimites {
  color: #47aee2;
  font-size: 20px;
  text-align: center;
  position: absolute;
  top: -120px;
  left: 5%;
  transform: translateY(-50%);
  font-family: "Open Sans", sans-serif;
  position: relative;
}
.botaoCanvasSalvar {
  width: 190px;
  height: 50px;
  position: absolute;
  display: block;
  top: 88%;
  left: 23%;
  font-weight: normal;
}
.botaoCanvasLimpar {
  width: 190px;
  height: 50px;
  position: absolute;
  display: block;
  top: 88%;
  left: 7%;
  font-weight: normal;
}
/* CANVAS 1 - ASSINATURA - ANAMNESE ADULTO*/
#canvas-container {
  border: 1px solid #000;
  width: 100%;
  height: 400px;
  position: relative;
}
#canvas {
  position: relative;
  top: 0;
  left: 0;
  width: 450px;
  height: 331px;
}
#declaration {
  position: relative;
  bottom: 0;
  left: 0;
  top: 0.5%;
  width: 90%;
  text-align: center;
  padding: 5%;
  border-top: 1px solid #000;
  background-color: #999696;
  font-size: 18px;
}

@media (max-width: 800px) {
  /* PAG 4 ADULTO */
  .canvasmaisparaolado {
    margin-left: 70px;
  }
  .corcanvas {
    background-color: #cdcdcb;
  }
  .corLimites {
    color: #47aee2;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: -120px;
    left: 5%;
    transform: translateY(-50%);
    font-family: "Open Sans", sans-serif;
    position: relative;
  }
  .botaoCanvasSalvar {
    width: 190px;
    height: 50px;
    position: absolute;
    display: block;
    top: 64%;
    left: 40%;
    font-weight: normal;
  }
  .botaoCanvasLimpar {
    width: 190px;
    height: 50px;
    position: absolute;
    display: block;
    top: 64%;
    left: 13%;
    font-weight: normal;
  }
  /* CANVAS 1 - ASSINATURA - ANAMNESE ADULTO*/
  #canvas-container {
    border: 1px solid #000;
    width: 100%;
    height: 400px;
    position: relative;
  }
  #canvas {
    position: relative;
    top: 0;
    left: 0;
    width: 450px;
    height: 331px;
  }
  #declaration {
    position: relative;
    bottom: 0;
    left: 0;
    top: 0.5%;
    width: 90%;
    text-align: center;
    padding: 5%;
    border-top: 1px solid #000;
    background-color: #999696;
    font-size: 18px;
  }
}

@media screen and (min-width: 801px) and (max-width: 1000px) {
  .botaoCanvasSalvar {
    width: 190px;
    height: 50px;
    position: absolute;
    display: block;
    top: 40%;
    left: 32%;
    font-weight: normal;
  }
  .botaoCanvasLimpar {
    width: 190px;
    height: 50px;
    position: absolute;
    display: block;
    top: 40%;
    left: 10%;
    font-weight: normal;
  }
  .corLimites {
    color: #47aee2;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: -120px;
    left: 2%;
    transform: translateY(-50%);
    font-family: "Open Sans", sans-serif;
    position: relative;
  }
}

@media screen and (min-width: 1001px) and (max-width: 1200px) {
  .botaoCanvasSalvar {
    width: 190px;
    height: 50px;
    position: absolute;
    display: block;
    top: 85%;
    left: 31%;
    font-weight: normal;
  }
  .botaoCanvasLimpar {
    width: 190px;
    height: 50px;
    position: absolute;
    display: block;
    top: 85%;
    left: 9%;
    font-weight: normal;
  }
  .corLimites {
    color: #47aee2;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: -120px;
    left: 2%;
    transform: translateY(-50%);
    font-family: "Open Sans", sans-serif;
    position: relative;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
  .botaoCanvasSalvar {
    width: 190px;
    height: 50px;
    position: absolute;
    display: block;
    top: 90%;
    left: 23%;
    font-weight: normal;
  }
  .botaoCanvasLimpar {
    width: 190px;
    height: 50px;
    position: absolute;
    display: block;
    top: 90%;
    left: 7%;
    font-weight: normal;
  }
}

.fa-chevron-left,
.fa-chevron-right {
  font-size: 24px; /* Tamanho das setas */
}

/* --------- GRID --------- */
.grid-container {
  display: grid;
  gap: 10px;
  padding: 0.8em;
}

.grid-item {
  padding: 0.7em;
  display: flex;
  flex-direction: row; /* Keep items in a column */
  justify-content: start; /* Align children to the start on the main axis */
  align-items: center; /* Align children to the start on the cross axis */
  border: 1px solid #cbcbcb;
  border-radius: 5px;
  background: #f7f7f7;
  /* Added to ensure consistent width across all grid items */
  min-width: 0; /* Override minimum width constraints */
  word-wrap: break-word; /* Allow the text to wrap */
}

/* Ensure checkboxes have a minimum width */
.checkboxAdulto {
  min-width: 20px;
  margin-right: 0.5em;
}

/* Adjustments for different screen sizes */
@media (max-width: 767px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for small screens */
  }
}

@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for medium screens */
  }
}

@media (min-width: 992px) {
  .grid-container {
    grid-template-columns: repeat(4, 1fr); /* 4 columns for large screens */
  }
}

/* --- INDIQUE OUTRO PROBLEMA ---*/

.outro-problema-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alinha ao início do contêiner flex */
  padding: 15px; /* Ajuste o espaçamento conforme necessário */
}

.texto-outro-problema {
  margin-bottom: 5px; /* Espaço entre o título e o campo de input */
}

.input-outro-problema {
  width: 100%; /* Ocupa toda a largura do contêiner */
  padding: 10px; /* Ajuste o preenchimento conforme necessário */
  border: 1px solid #cbcbcb; /* Bordas sutis */
  border-radius: 5px; /* Bordas arredondadas */
}

body {
  margin-bottom: 13% !important;
  font-family: "Open Sans", sans-serif;
}

/* outros */

#medicacaotexto {
  margin-bottom: 0.7em;
}

.buttons-wrapper {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 2em;
  margin-top: 3em;
}

.nav-btn {
  margin-right: 2em;
  background-color: #296390;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  outline: none;
}

.content-part-2 {
  padding: 0 6em;
}

/* ULTIMOS INPUTS 2º PASSO ANAMNESE */

.botoespag2 {
  display: flex !important;
  align-items: center !important;
  transform: scale(1.1) !important;
  padding: 10px !important;
  padding-left: 1em !important;
}

.ultimos-inputs {
  font-size: 18px !important;
  display: grid;
  flex-direction: row;
  grid-template-columns: 2fr 1fr;
  gap: 3em;
}

.checkbox-bottom-section {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

/* SOU FUMADOR */

.fumador-div {
  display: flex;
  justify-content: start;
  border-bottom: 1px solid #ccc;
  padding: 2em 0;
  gap: 4em;
}

.sou-fumador {
  /* flex: 0 1 20%; */
  border: 0px solid black;
  text-align: left;
  display: flex;
  gap: 1em;
}

.quantos-cigarros-dia {
  /* flex: 0 1 50%; */
  border: 0px solid black;
  text-align: left;
}

.checkboxAnamnese2 {
  margin: 0 !important;
}

.checkbox-wrapper {
  display: flex;
  gap: 1em;
  padding: 2em 0;
}
