/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
  }
  
  header {
    background-color: #88d8fd; /* Azul principal */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre a logo e o texto */
  }
  
  .logo img {
    height: 80px; /* Tamanho maior da logo */
  }
  
  .logo a {
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove o sublinhado */
    color:#000; /* Cor do texto "childpug.com" */
    font-size: 1.2rem; /* Ajuste do tamanho do texto */
    font-weight: bold; /* Deixa o texto em negrito */
    transition: color 0.3s ease;
  }
  
  .logo a:hover {
    color: #FFFFFF; /* Preto nos detalhes ao passar o mouse */
  }
  
  .nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-menu a {
    text-decoration: none;
    color:#000;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .nav-menu a:hover {
    color: #FFFFFF; /* Preto nos detalhes ao passar o mouse */
  }
  
  @media (max-width: 768px) {
    .nav-menu ul {
      flex-direction: column;
      gap: 10px;
    }
    .logo img {
        height: 60px; /* Tamanho menor da logo em telas pequenas */
      }
    
      .logo a span {
        font-size: 1rem; /* Texto menor em telas pequenas */}
    }



/*estilo pickrecipe */


.container {
  display: flex;
  width: 99%;
  margin-top: 20px;
}

.medication-list, .prescription {
  width: 50%;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  margin-bottom: 0;
}

h3 {
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 1.1em;
}

.medication-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.medication-items button {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ddd;
  background: #f9f9f9;
  cursor: pointer;
  text-align: left;
  border-radius: 4px;
}

.medication-items button:hover {
  background: #e0e0e0;
}

.medication-list {
  overflow-y: auto;
  max-height: calc(100vh - 100px);
}

.flip-card {
  background-color: transparent;
  width: 150px;
  height: 50px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  word-wrap: break-word;
}

.flip-card-front {
  background-color: #f9f9f9;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-card-back {
  background-color: #e0e0e0;
  color: black;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card-back div {
  margin: 5px 0;
  cursor: pointer;
  padding: 0px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 1px;
  width: 100%;
}

.flip-card-back div:hover {
  background-color: #ccc;
}

.usage-option-IM, .usage-option-IV, .usage-option-VO, .usage-option-SC, .usage-option-IL {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin: 5px 0;
  border: none;
}

.usage-option-IM {
  background-color: rgb(250, 20, 20);
}

.usage-option-IV {
  background-color: rgb(13, 13, 204);
}

.usage-option-VO {
  background-color: yellow;
}

.usage-option-SC {
  background-color: rgb(255, 255, 10);
}

.usage-option-IL {
  background-color: rgb(203, 235, 243);
}
.prescription {
  margin-left: 20px;
  overflow-y: auto;
  max-height: calc(100vh - 100px);
}

.submenu {
  display: none;
  margin-left: 20px;
}

.submenu-option {
  cursor: pointer;
  padding: 5px;
  background-color: #f0f0f0;
  margin: 2px 0;
}

.submenu-option:hover {
  background: #e0e0e0;
}

.patient-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.prescription-textarea {
  border: 1px solid #ccc;
  padding: 10px;
  min-height: 350px;
  font-size: 16px;
  border-color: rgb(170, 166, 166);
  min-inline-size: 200px;
}




 

