body {
  font-family: Arial, sans-serif;
  margin: 40px;
  background-color: #f9f9f9;
  color: #333;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;

}

.contenedor-cuadros {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}


.formulario {
  flex: 1 1 400px;
  background-color: #fff;
  padding: 30px;
  border: 2px solid #ccc;
  border-radius: 10px;
}

.formulario h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.formulario label {
  font-weight: bold;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}


.formulario input {
  padding: 12px;
  margin-top: 8px;
  font-size: 20px;
  border: 1px solid #aaa;
  border-radius: 6px;
  width: 100%;
}

.botones {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.botones button {
  padding: 12px 20px;
  font-size: 20px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 48%;
}

.botones button:hover {
  background-color: #555;
}


.resultados-cuadro {
  flex: 1 1 100px;
  background-color: #fff;
  padding: px;
  border: 2px solid #ccc;
  border-radius: 10px;
}


.resultados-cuadro h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}

th, td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: center;
}

th {
  background-color: #eee;
}


.total-fila {
  background-color: #f0f0f0;
  font-weight: bold;
}







