body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
  }
  
  .container {
    background: white;
    width: 90%;
    max-width: 800px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  
  h1 {
    margin: 0 0 15px 0;
    text-align: center;
    color: #333;
  }
  
  label {
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
    color: #555;
  }
  
  input[type="number"], input[type="text"], select {
    width: 100%;
    padding: 8px 10px;
    font-size: 16px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    margin-bottom: 15px;
    box-sizing: border-box;
  }
  
  button {
    background-color: #287bff;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 7px;
    padding: 12px 18px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.25s ease;
    margin-top: 5px;
    align-self: flex-start;
  }
  
  button:hover {
    background-color: #1a55d1;
  }
  
  #camposNomes, #adicionarDespesa, #resumo {
    background-color: #fafafa;
    padding: 20px;
    border-radius: 8px;
    max-height: 350px;
    overflow-y: auto;
    box-sizing: border-box;
  }
  
  #resumo {
    min-height: 300px;
  }
  
  /* Tabela simples para resumo */
  #resumo table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  
  #resumo th, #resumo td {
    border: 1px solid #ddd;
    padding: 8px 6px;
    text-align: center;
  }
  
  #resumo th {
    background-color: #287bff;
    color: white;
    font-weight: 600;
  }
  
  /* Checkbox participantes */
  #participantes {
    max-height: 120px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
    background: white;
    margin-bottom: 15px;
  }
  
  #participantes label {
    display: block;
    margin-bottom: 6px;
    cursor: pointer;
    font-weight: 500;
  }
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
  }
  
  .container {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  h1, h2 {
    color: #333;
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  input[type="text"],
  input[type="number"],
  select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
  }
  
  button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0077cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #005fa3;
  }
  
  #participantes label {
    display: inline-block;
    margin-right: 10px;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
  }
  
  table, th, td {
    border: 1px solid #ccc;
  }
  
  th, td {
    padding: 10px;
    text-align: center;
  }
  
  th {
    background-color: #f2f2f2;
  }
  
  #listaDespesas {
    margin-top: 30px;
  }
  
  #listaDespesas ul {
    list-style: none;
    padding: 0;
  }
  
  #listaDespesas li {
    background: #fafafa;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    border-radius: 5px;
  }
  
  #listaDespesas button {
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 0.9em;
    background-color: #666;
  }
  
  #listaDespesas button:hover {
    background-color: #444;
  }
  