/* FORMULAIRE DE RECHERCHE */
.annuaire-search-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filters-row {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.search-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-search,
.btn-reset {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-search {
    background: #0f664a;
    color: white;
}

.btn-search:hover {
    background: #0f664a;
}

.btn-reset {
    background: #f0f0f0;
    color: #333;
}

.btn-reset:hover {
    background: #e0e0e0;
}

/* RÉSULTATS */
.acteurs-results {
    margin-top: 2rem;
}

.results-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 1.5rem;
}

/* GRILLE DES CARTES */
.acteurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* CARTE ACTEUR */
.ged-acteur-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ged-acteur-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.ged-acteur-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
}

.ged-acteur-card h3 a {
    color: #2271b1;
    text-decoration: none;
}

.ged-acteur-card h3 a:hover {
    color: #135e96;
    text-decoration: underline;
}

.ged-card-type {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.ged-card-ville {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.ged-card-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.ged-btn-card {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.ged-btn-card:hover {
    color: #135e96;
}

/* AUCUN RÉSULTAT */
.no-results {
    background: #f9f9f9;
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    margin-top: 2rem;
}

.no-results h2 {
    color: #666;
    margin-bottom: 1rem;
}


/* PAGINATION */
.acteurs-pagination {
    margin-top: 3rem;
    text-align: center;
}

.acteurs-pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #2271b1;
}

.acteurs-pagination .page-numbers:hover,
.acteurs-pagination .page-numbers.current {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .filters-row {
        grid-template-columns: 1fr;
    }

    .acteurs-grid {
        grid-template-columns: 1fr;
    }

    .search-actions {
        flex-direction: column;
    }

    .btn-search,
    .btn-reset {
        width: 100%;
        text-align: center;
    }
}




.ged-popup-content {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
}

#ged-popup-link {
    background-color: green;
    border-radius: 15px;
    padding: 0.25rem 0.5rem;
    color: white;
}


.ged-popup-body .ged-btn-secondary {
    display: none;
}

#ged-popup-title {
    display: flex;
    flex-direction: row-reverse;
    padding: 2rem;
}