
body {
  background-color:#f3f4f6; 
  color:#111827 ;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 20px;
  font-family: Arial, sans-serif;

}

.container {
  background: #fff;
  padding: 25px;
  margin-top: 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h1{
  font-size: 29px;
  margin-bottom: 20px;
  color: #2563eb;

}

label {
  display: block;
  margin-top: 10px;
}

input,
select {
  width: 90%;
  padding: 10px;
  margin: 8px 0;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.2s;

}

select:focus,
input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.5);
  padding: 8px;
  margin-top: 5px;
}

.buttons {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center ;
  gap: 10px;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.2s;
  color: white;
  flex: 1;
}

button:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

button:nth-child(1) { background: #2563EB; } /* Pesquisar */
button:nth-child(2) { background: #D1D5DB; color:#4B5563; } /* Limpar */
button:nth-child(3) { background: #059669; } /* Histórico */
button:nth-child(4) { background: #DC2626; } /* Limpar Histórico */


#mensagem {
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
  color: #dc2626;

}

#resultados,
#historico {
  margin-top: 20px;
  padding: 15px;
  background: #f9fafb ;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  max-width: 500px;
  width: 100%;
  animation: fadeIn 0.3s ease-in-out;
}

