/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    background-color: #1d1f27;
    color: #ececec;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

h1, h2, h3 {
    color: #f4b400;
    text-align: center;
}

/* Formulaires */
form {
    background-color: #2a2d3a;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
    width: 100%;
    max-width: 400px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

form label, form select, form input[type="text"], form input[type="number"], form input[type="submit"] {
    color: #ececec;
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
}

input[type="submit"], select {
    background-color: #ff5722;
    color: #ececec;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover, select:hover {
    background-color: #ff784e;
}

input[type="text"], input[type="number"], select {
    padding: 8px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333845;
    color: #ececec;
}

/* Résultats et messages */
hr {
    border: 0;
    height: 1px;
    background-color: #444;
    margin: 20px 0;
}

form h3 {
    color: #ececec;
    font-weight: bold;
    margin-top: 20px;
}

form .message {
    color: #e1c699;
    font-size: 16px;
    padding: 10px;
    background-color: #454850;
    border-radius: 4px;
}

/* Boutons de navigation */
button, input[type="submit"] {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover, input[type="submit"]:hover {
    background-color: #2563eb;
}

/* Table de sélection des participants */
select {
    margin: 0;
    padding: 8px;
    background-color: #2d3142;
    color: #ececec;
    border: 1px solid #444;
    border-radius: 4px;
}

select option {
    color: #ececec;
    background-color: #2d3142;
}

/* Mise en page des joueurs */
.player-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 20px;
     padding-left: 20px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333845;
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
}

.player-info h3 {
    color: #f4b400;
}

.player-info p {
    color: #ececec;
    margin: 5px 0;
}
