body {
    font-family: sans-serif;
    background: #f5f5f5;
    margin: 20px;
  }
  .formulario {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin: auto;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  input {
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 10px;
  }
  button {
    padding: 10px 20px;
    background-color: #407520;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
  }
  .factura {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  .cabecera {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .logo img {
    max-height: 80px;
  }
  .datos {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
  .datos div {
    width: 48%;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  th, td {
    border: 1px solid #ccc;
    padding: 8px;
  }
  .totales {
    text-align: right;
    margin-top: 20px;
  }
  .linea-concepto {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
  }
  .linea-concepto input {
    flex: 1;
  }
  
  
  
  