@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
body {
  /* font-family: Arial, Helvetica, sans-serif; */
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin-top: 15px;
}
  .container {
  background-color: #d8c3c3;
  margin: 12px 12px 12px 12px;
  padding: 25px;
  border-radius: 10px;
  max-width: 700px;
  box-shadow: 0 0 10px rgba(196, 29, 29, 0.966);
  }
  form h1{
    background-color: #0077ff;
    color: #ffffff;
    text-align: center;
    margin: 0px;
    padding: 5px;
  }
  table{
    border: double #234ab4 2px;
    max-width: 900px;
  }
  table thead th:nth-last-child(1) {
    background-color: #3498db;
    width: 90%;
    padding: 0.6em;
    margin: 0.5em 0;
    border-radius: 6px;
    border: 1px ;
    max-width: max-content;
    display: inline-block;
  }
  table thead th:nth-last-child(3) {
    background-color: #0077ff;
    width: 90%;
    padding: 0.6em;
    margin: 0.5em 0;
    border-radius: 6px;
    border: 1px ;
    max-width: max-content;
    display: inline-block;
  }
  table input {
    margin-left: auto;
    padding: 0.6em;
    margin: 0.5em 0;
    border-radius: 6px;
    border: 1px solid #234ab4;
  }
   tbody input{
    width: 90%;
    padding: 0.6em;
    margin: 0.5em 0;
    border-radius: 6px;
    border: 1px solid #234ab4;
    max-width: max-content;
    max-block-size: none;
    display: inline-block;
  }
  tfoot{
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.7em;
    width: 100%;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
  }
  button:hover {
    background-color: #2980b9;
  }
  #resultado {
    margin-top: 1em;
    font-weight: bold;
  }
table.customTable {
    width: 85%;
    background-color: #FFFFFF;
    border-collapse: collapse;
    border-width: 2px;
    border-color: #7EA8F8;
    border-style: solid;
    color: #000000;
    margin: 15px;
  }
  
  table.customTable td, table.customTable th {
    border-width: 2px;
    border-color: #7EA8F8;
    border-style: solid;
    padding: 5px;
    text-align: right;
  }
  
  table.customTable thead {
    background-color: #7EA8F8;
  }
  
  input[type="text"]{
    width: 90%;
    margin: 5px;
    padding: 5px;
  }

  input[type="number"], input[type="date"]{
    width: 35%;
    margin: 5px;
    padding: 5px;
  }

  input[type="submit"]{
    background-color: #7EA8F8;
    color: #000000;
    border: 0px;
    font-size: 1.3em;
    padding: 5px;
  }
