@charset 'UTF-8';

/*Paleta de Cores utilizada:
#141E42 - Azul Marinho
#666666 - Cinza Escuro
#DDDEC6 - Cinza Claro
#453831 - Cinza com tons avermelhados
#000000 - Preto
#ffffff - Branco 
*/



:root {
  --main-bg:#ffffff;
  --text-color: #141E42;
  --font-main: 'Arial', sans-serif;
}

body {
  margin: 0;
 
}

header, footer {
  background-color:  #141E42;
  color: #ffffff;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  flex-flow: wrap;
}


header img,
footer img {
  height: 80px;
 
}

header h1,
footer h2 {
  flex: 1;
  text-align: center;
  margin: 0;
}

.logout {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 30px;
}

.logout:hover {
  text-decoration: underline;
}

main {
  padding: 40px;
  text-align: center;
}


.container {
  display: flex;
  flex-flow: row wrap;
  gap: 30px;
  padding: 40px;
  /* Não centraliza mais */
  justify-content: flex-start;
  max-width: 900px;
  margin-left: 200px;
}

.item {
  width: 200px;
  height: 200px;
  background-color: #ffffff ; 
  color: #141E42;
  border-color: #141E42;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.item:hover {
  transform: scale(1.05);
}

/* Responsivo: 2 por linha em telas médias */
@media (max-width: 900px) {
  .item {
    width: calc(50% - 20px);
  }
}

/* Responsivo: 1 por linha em telas pequenas */
@media (max-width: 500px) {
  .item {
    width: 100%;
  }
}


main>cadastro {
  font-family: Arial, sans-serif;
  background: #ffffff;
  margin: 0;
  padding: 20px;
}

.formulario {
  max-width: 1000px;
  margin: auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px #141E42(0,0,0,0.1);
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  color: #141E42;
  font-weight: bold;
}

.formulario h2 {
  flex: 1 1 100%;
  margin-bottom: 10px;
  text-align: center;
  color: #DDDEC6;
}

.campo {
  flex: 1 1 calc(50% - 20px);
  display: flex;
  flex-direction: column;
}

.campo.full {
  flex: 1 1 100%;
  text-align: center;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
}

input, select, button {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #DDDEC6;
  font-size: 16px;
}

input:read-only {
  background-color: #DDDEC6;
}

button {
  background-color: #3498db;
  color: #ffffff;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #141E42;
}

@media (max-width: 700px) {
  .campo {
    flex: 1 1 100%;
  }
}
.erro {
  color: red;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.idade {
  margin-top: 8px;
  font-weight: bold;
  color: #2c3e50;
}

body>clinico {
  font-family: Arial, sans-serif;
  padding: 20px;
}
.clinicaform {
  display: flex;
  flex-flow: row wrap;
  gap: 15px;
}
.clinicol {
  flex: 1 1 50px;
  display: flex;
  flex-direction: column;
}
input, select {
  padding: 6px;
  margin-top: 4px;
}


.proclin {
  font-family: Arial, sans-serif;
  color: #141E42;
  font-weight: bold;
  padding: 20px;
}
form>protocolo {
  display: flex;
  flex-flow: row wrap;
  gap: 15px;
}
.protc {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
}




main>anamnese {
  font-family: Arial, sans-serif;
  padding: 20px;
}


.FormDoenca
 {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
}
.grupo-doenca {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}

.grupo-doenca label {
  font-weight: bold;
  margin-bottom: 5px;
  text-align: justify;
  margin-left: 200px;
  color: #141E42;
  font-weight: bold;
}

.botoes {
  display: flex;
  gap: 10px;
  margin-left: 200px;
 
}

.botoes button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #DDDEC6;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  align-items: center;
}

.botoes button:hover {
  background-color:#ffffff;
}

.botoes button.selecionado {
  background-color: #141E42;
  color: #ffffff;
  border-color: #1976D2;
}

.info-adicional {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
}

.info-adicional textarea {
  height: 80px;
  padding: 10px;
  font-size: 16px;
  resize: vertical;
  margin-top: 5px;
  color: #141E42;
  font-weight: bold;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
}

.botao-enviar {
  flex: 1 1 100%;
  text-align: center;
  margin-top: 20px;
}

.botao-enviar button {
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  background-color: #141E42;
  color:#ffffff;
  border: none;
  border-radius: 5px;
}

.botao-enviar button:hover {
  background-color: #3498db;
}

.historicofamiliar{
  color:#141E42;
  font-weight: bold;
}

.container-imagens {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  justify-content: center;
  padding-top: 20px;
}

@media (max-width: 200px) {
  .container-imagens img {
    flex: 1 1 100%; /* Em telas menores, ocupa a largura total */
  }
}

.antropo {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  padding: 20px;
  justify-content: space-between;
  color: #141E42;
  font-weight: bold;
}

.imagem-canto {
  flex: 1 1 100px;
  max-width: 150px;
  align-self: flex-start;
}

.imagem-canto img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.campoantrop {
  display: flex;
  flex-direction: column;
  flex: 1 1 250px;
}

.campo label {
  margin-bottom: 5px;
  font-weight: bold;
}

.campo input,
.campo select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #DDDEC6;
  border-radius: 5px;
}


.campo input[readonly] {
  background-color:#ffffff;
}


.containerantroevol {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  align-items: flex-start;
}

.formularioantroevol {
  flex: 1 1 300px;
}

.formularioantroevol input {
  display: block;
  margin-bottom: 15px;
  padding: 10px;
  width: 100%;
  font-size: 16px;
}

canvas {
  width: 100% !important;
  max-width: 400px;
  height: auto !important;
  background-color: #ffffff;
  border: 1px solid #DDDEC6;
  border-radius: 10px;
  padding: 10px;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

#resultado {
  margin-top: 10px;
  font-weight: bold;
}

main>exames {
  font-family: Arial, sans-serif;
  padding: 30px;
  background-color: #ffffff;
}

formExames {
  display: flex;
  flex-flow: row wrap;
  gap: 15px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px  #141E42(0, 0, 0, 0.1);
}

label>exames {
  flex: 1 1 100%;
  font-weight: bold;
  color: #141E42;
  font-weight: bold;
  font-size: 20px;
}

textarea{

  width: 600px;
  height: 200px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #DDDEC6;
  border-radius: 6px;
  resize: vertical;
  text-align: center;
  padding-left: 200px;
  margin-left: 300px;
  
}


.file-section {
  flex: 1 1 100%;
  margin-top: 20px;
}

.pdfExames[type="file"] {
  padding: 10px;
  border-radius: 6px;
  background-color: #ffffff;
}

button>examess {
  padding: 12px 20px;
  font-size: 16px;
  background-color: #141E42;
  color:#ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
}

button:hover {
  background-color: #141E42;
}

.pdf-preview {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.pdf-preview iframe {
  width: 300px;
  height: 400px;
  border: 1px solid #ffffff;
}

.recordatorio {

  width: 900px;
  height: 200px;
  text-align: justify;
  display: flex;
}

.recordatorio24{
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  flex: 1 1 100%;
  
}

.recordatorio24>h2{
  color: #141E42;
  font-weight: bold;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
}