/* Réinitialisation de certaines propriétés de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #2c2c2c url('thiercelieux.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

/* Conteneur principal pour la recherche */
.container {
    width: 80%;  /* Assure que le conteneur fait 80% de la largeur totale */
    background: rgba(51, 51, 51, 0.85); /* Fond semi-transparent */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin: 40px auto 0 auto;  /* Centrage horizontal avec marge en haut */
}

h1 {
    font-size: 2rem;
    color: #f05454;
    margin-bottom: 20px;
}

.description {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    background-color: #f05454;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    margin-right: 10px;
}

.btn:hover {
    background-color: #f58758;
}

.btn.disabled {
    background-color: #555;
    cursor: not-allowed;
}

/* Patchnote section */
.patchnote {
    background: rgba(44, 44, 44, 0.9); /* Fond légèrement plus sombre */
    padding: 20px;
    margin-top: 40px;
    border-radius: 10px;
    text-align: justify; /* Texte justifié */
}

.patchnote h2 {
    color: #f05454;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.patchnote p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.patchnote strong {
    color: #f58758;
}

.faq {
    margin-top: 20px;
}

.faq h3 {
    color: #f58758;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Styles pour la table des résultats */
.results-table {
    width: 100%; /* Assure que le tableau prend toute la largeur du conteneur */
    margin: 20px auto;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.1);
}

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

.results-table th {
    background-color: #333; /* Changer la couleur de l'en-tête du tableau */
    color: #fff;
}

.results-table tr:hover {
    background-color: #444;
    cursor: pointer;
}

.results-table img {
    height: 24px; /* Hauteur des cartes de jeu */
}

/* Styles pour les formulaires */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 5px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.total-parties {
    font-size: 1.2rem;
    color: #f05454;
}

/* Nouvelle div pour afficher les informations sur les parties */
.parties-info {
    background: rgba(51, 51, 51, 0.85); /* Fond semi-transparent */
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
}

/* Styles supplémentaires pour la recherche avancée */
.hidden {
    display: none;
}

.filter-options {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.filter-options label {
    margin-right: 10px;
    font-weight: bold;
    color: #f05454;
}

.badge {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: inline-block;
}

.badge-yellow {
    background-color: yellow;
}

.badge-blue {
    background-color: blue;
}

.badge-purple {
    background-color: purple;
}

.badge-green {
    background-color: green;
}

.badge-red {
    background-color: red;
}

#advancedSearch {
    margin-top: 20px;
    text-align: left;
}
