@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  row-gap: 5em;
}

.actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.button {
  flex: 1; /* Ensure buttons take equal space */
  padding: 10px;
  text-decoration: none;
  color: white;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.blue {
  background-color: #3498db;
}

.green {
  background-color: #2ecc71;
}

.orange.small {
  background-color: #e67e22;
}

.orange.large {
  background-color: #f39c12;
}

.patient-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2em 0 3em;
}

.info-field {
  flex: 1;
  min-width: 120px; /* Set a min-width for smaller fields */
}

.info-field label {
  font-weight: bold;
}

.clinic-info {
  text-align: center;
  margin-top: 20px;
}

.logo {
  max-width: 70px;
}

.info {
  margin-top: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    margin-bottom: 10px;
  }

  .patient-info {
    flex-direction: column;
  }

  .info-field {
    min-width: 0; /* Allow fields to shrink on small screens */
  }
}

.disabled,
a[disabled] {
  pointer-events: none;
  opacity: 0.5;
  cursor: default;
}

nav {
  display: none !important;
}

/* BOTÕES */

.btn-primario {
  background-color: #29638f !important; /* Cor primária já definida */
  color: #fff;
}

.btn-secundario {
  background-color: #3a7ca5; /* Azul mais claro para a Anamnese Pediátrica */
  color: #fff;
}

.btn-info {
  background-color: #5dade2; /* Azul mais vivo para Guia */
  color: #fff;
}

.btn-warning {
  background-color: #f4d03f; /* Amarelo vibrante para RGPD */
  color: #212529; /* Cor escura para o texto em fundo claro */
}

.btn-danger {
  background-color: #e74c3c; /* Vermelho para Declarações */
  color: #fff;
}

.btn {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  text-decoration: none; /* Remove underline from links */
  display: inline-block; /* Allows setting padding and width */
  margin: 5px; /* Spacing between buttons */
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.btn:hover {
  opacity: 0.8;
}

/* Optional: If you want to have icons in the buttons, you can add some padding and styles */
.btn i {
  margin-right: 5px; /* Space between icon and text */
}
