body {
    font-family: Arial, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
select {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button, input[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

button:hover, input[type="submit"]:hover {
    background-color: #218838;
}

/* Style spécifique pour la page de répartition */
.fraternite-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fraternite-table th, .fraternite-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.fraternite-table th {
    background-color: #007bff;
    color: white;
}

.fraternite-card {
    border: 1px solid #007bff;
    border-radius: 8px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #e9f5ff; /* Léger fond pour la carte de fraternité */
}

.fraternite-card h3 {
    margin-top: 0;
    color: #0056b3;
}

/* Style pour les champs de participants dans participants.php */
.participant-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    align-items: flex-end;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
}

.participant-row div {
    flex: 1;
}

.participant-row label {
    font-weight: normal; /* Labels plus discrets dans la liste */
}