    body {
      font-family: Arial;
      text-align: center;
      background-color: #f5f5f5;
    }

    h1 {
      margin-top: 40px;
    }

    .container {
      margin-top: 40px;
    }

    .logo {
    display: block;
    margin: 30px auto 10px auto;
    max-width: 200px;
    height: auto;
    }


    button {
    display: block;
    width: 90%;
    max-width: 400px;
    margin: 15px auto;
    padding: 18px;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    background-color: black;
    color: white;
    cursor: pointer;
    }

    button:hover {
    background-color: #333;
    transform: scale(1.02);
    }

    select {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    }
    
    /* Overlay (modal fundo) */
    .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      justify-content: center;
      align-items: center;
      z-index: 9999; 
    }

    /* Caixa modal */
    .modal {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 95%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    z-index: 10000;
    }

    iframe {
      width: 100%;
      height: 600px;
      border: none;
    }

    /* Botão fechar */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 20px;
      cursor: pointer;
    }

    .table-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow-x: auto;
    }

    table {
    width: 100%;
    border-collapse: collapse;
    }

    th {
    background-color: black;
    color: white;
    padding: 14px;
    text-align: left;
    }

    td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    }

    tr:hover {
    background-color: #f7f7f7;
    }

    tr:nth-child(even) {
    background-color: #fafafa;
    }

    @media (max-width: 600px) {
    h1 {
        font-size: 22px;
    }

    button {
        font-size: 20px;
        padding: 20px;
    }

    .modal {
        padding: 15px;
    }
    }

    input, textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    box-sizing: border-box; /* 🔥 importante */
    }



    textarea {
    min-height: 80px;
    }

    .aluno-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    cursor: pointer;
    }

    .aluno-item input {
    transform: scale(1.4);
    }

    .aluno-item:hover {
    background-color: #f5f5f5;
    }

    .aluno-item span {
    flex: 1;              /* 👈 isto é o mais importante */
    min-width: 0;         /* 👈 evita bug de overflow */
    text-align: left;
    white-space: nowrap;
    }

    #listaAlunosPresenca {
    
    text-align: left;
    }


    .btn-whatsapp {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
}

.btn-whatsapp img {
  width: 28px;
  height: 28px;
}

@media (max-width: 600px) {

  .aluno-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .linha-direita {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .saldo {
    font-size: 15px;
  }

}


.bola {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 6px;
}

.vermelha {
  background-color: red;
}

.verde {
  background-color: green;
}