:root {
    --purple: #764796;
    --lightBlue: #6dc6d4;
    --blue : #212C56;
}

/* Section principale de filtrage */
.filters-section {
    padding: 20px 10px;
}

/* Carte contenant les filtres */
.filter-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: auto;
    max-width: 1100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Titre */
.filter-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lightBlue);
    color: #333;
}

/* Formulaire */
.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    justify-content: space-between;
}

/* Groupe individuel */
.filter-group {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Label */
.filter-group label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 1.4rem;
    color: var(--purple);
}

/* Champs input/select */
.filter-group select,
.filter-group input {
    padding: 12px;
    font-size: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    width: 100%;
}

/* Bouton filtrer */
.filter-btn {
    max-width: 300px;
    width: 100%;
    padding: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, var(--lightBlue), var(--purple));
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.filter-btn:hover {
    background: linear-gradient(90deg, #5db8c6, #6f3f8e);
}

.no-events {
    text-align: center;
    font-size: 1.4em;
    color: var(--blue);
    line-height: 1.6;
}

/* Champ de recherche */
.search-input {
    margin: 20px auto 30px auto;
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1.4rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px auto;
    padding: 10px;
}

.pagination a {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
    color: #000;
}

.pagination a.active {
    background: linear-gradient(90deg, #6dc6d4, #764796);
    color: #fff;
    font-weight: bold;
    border-color: transparent;
}


/* Responsive - petits écrans */
@media (max-width: 600px) {
    .filter-group {
        flex: 1 1 100%;
    }

    .filter-group select,
    .filter-group input {
        font-size: 1.4rem;
    }

    .filter-title {
        font-size: 1.4rem;
    }

    .filter-btn {
        font-size: 1.4rem;
    }
}

/* Moyens écrans */
@media (min-width: 600px) {
    .filter-group {
        flex: 1 1 calc(50% - 15px);
    }
}

/* Grands écrans */
@media (min-width: 900px) {
    .filter-group {
        flex: 1 1 calc(33.33% - 15px);
    }

    .search-input {
        margin-top: 10px;
    }
}
