body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  height: 100vh;
  background: #f4f4f4;
}

.sidebar {
  width: 4rem;
}

.sidebar:hover {
  width: 16rem;
}

.sidebar span {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar:hover span {
  opacity: 1;
  transform: translateX(0);
}

/* .sidebar {
  width: 300px;
  background: #2c3e50;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: width 0.3s;
  overflow: hidden;
  position: fixed;
  height: 100vh;
  z-index: 1000;
}

.sidebar.collapsed {
  width: 60px;
}

.sidebar h2 {
  display: block;
  transition: opacity 0.3s;
}

.sidebar.collapsed h2 {
  opacity: 0;
}

.sidebar a {
  color: white;
  text-decoration: none;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  transition: background 0.3s;
  white-space: nowrap;
}

.sidebar a i {
  min-width: 20px;
  text-align: center;
}

.sidebar a:hover {
  background: #34495e;
} */

.toggle-btn {
  background: #34495e;
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.logout {
  margin-top: auto;
  background: #e74c3c;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logout:hover {
  background: #c0392b;
}

.content {
  flex: 1;
  padding: 20px;


}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .loading-icon {
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.loading-icon.spin {
  transform: rotate(360deg);
}

.card-container {
  display: flex;
  gap: 25px;
  margin-top: 20px;

}

.card {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1000px) {
  /* .sidebar {
    width: 85px;
  }

  .sidebar h2,
  .sidebar a span {
    display: none;
  } */
}

@media (max-width: 600px) {
  .header h1 {
    font-size: 18px;
  }

  /* .sidebar {
    padding: 10px;
    width: 205px;
  } */

  .card-container {
    flex-direction: column;
  }

  .card {
    padding: 15px;
    font-size: 14px;
  }

  .toggle-btn {
    padding: 5px;
    font-size: 14px;
  }
}


.cards-container {
  margin: 1.2em;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  max-height: 0;
}

.card-boletim {
  width: 200px;
  background-color: #f4f4f4;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.card-boletim:hover {
  transform: translateY(-5px);
}

.card-boletim h3 {
  margin-top: 0;
}

.btn-detalhes {
  margin-top: 10px;
  background-color: #007bff;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-detalhes:hover {
  background-color: #0056b3;
}



@media print {
  body * {
    visibility: hidden;
  }

  #form-print,
  #form-print * {
    visibility: visible;

  }

  #form-print {
    position: relative;
    top: -100px;
    left: -40px;

    margin-top: 0;
  }

  /* .p-6 {
    padding: 1.5rem;
  }

  .justify-center {
    justify-content: center;
  }

  .items-center {
    align-items: center;
  }

  .flex-col {
    flex-direction: column;
  }

  .min-h-screen {
    min-height: 100vh;
  }

  .flex {
    display: flex
  }

  .p-8 {
    padding: 2rem;
  }

  .bg-white {
    background-color: rgb(255, 255, 255);
  }

  .rounded-2xl {
    border-radius: 1rem;
  }

  .max-w-3xl {
    max-width: 48rem;
  }

  .w-full {
    width: 100%;
  }

  .text-end {
    text-align: end;
  }

  .text-blue-800 {
    color: rgb(30, 60, 175);
  }

  .font-bold {
    font-weight: 700;
  }


  .text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .mb-6 {
    margin-bottom: 1.5rem;
  } */

}


/*Estilização do alerta*/

#principal {
  position: fixed;
  top: 1em;
  position-area: bottom;
  z-index: 99999;
}

.alert-container {
  width: 100%;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  animation: fadeIn 0.4s forwards;
}

.success {
  background-color: #74ea98;
  color: #044910;
  border: 1px solid #cceac3;
}

.alert {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.message {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(-10px);
}

.fade-in {
  animation: fadeIn 0.4s forwards;
}

.fade-out {
  animation: fadeOut 0.4s forwards;
}

.alert-icon {
  font-size: 1.25rem;
}

.obrigatorio {
  color: red;
}


.line-box {
  border: 1px solid rgba(209, 213, 219, 1);
  border-radius: 15px;
  padding: 3em;
}

@media (max-width: 480px) {
  .alert-message {
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem;
  }

  .alert-icon {
    font-size: 1rem;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/*Fim estilização de Alerta*/



/* Estilização Carregamento Botão IA*/
/* Animação de carregamento */
@keyframes loading {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Animação de notificação */
@keyframes slideIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Animação de notificação desaparecendo */
@keyframes slideOut {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/*Fim estilização botão IA*/