 .container {
        padding: 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    label {
        margin-top: 10px;
    }

/* Styles généraux pour la table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

thead {
  background-color: #007bff;
  color: white;
}

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

/* Responsive styles */
@media (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  thead tr {
    display: none; /* masque l’en-tête classique */
  }

  tr {
    margin-bottom: 1.2em;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
  }

  td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
  }

  td:last-child {
    border-bottom: 0;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    padding-left: 15px;
    font-weight: 600;
    text-align: left;
    color: #ff0000;
  }
}
table {
        border-collapse: collapse;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    th, td {
        padding: 10px 15px;
        text-align: center;
        border-bottom: 1px solid #ddd;
        font-size: 0.95rem;
    }
    th {
        background: #2c3e50;
        color: white;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    tbody tr:hover {
        background: #f1f1f1;
    }
    .rank {
        font-weight: bold;
        color: #2c3e50;
    }
    .team-name {
        text-align: left;
        font-weight: 600;
        color: #34495e;
    }
    .points-cell {
        font-weight: 700;
        color: #27ae60;
    }