/* Styles spécifiques pour la page Notre Réseau */

/* Lent effet de rotation pour l'étoile */
@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spin-slow 15s linear infinite;
}

/* Animations de transition sur les cartes */
.agent-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

.agent-card:hover {
    border-color: #ebebeb;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
}

/* Cartes actives (sélectionnées) */
.agent-card.active-agent {
    border-color: var(--couleur-principale, #3b82f6);
    background-color: #f8fafc; /* slate-50 */
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

.agent-card.active-agent .absolute.top-0 {
    background: linear-gradient(to right, var(--couleur-principale), var(--couleur-secondaire)) !important;
    height: 4px;
}

.agent-card.active-agent .btn-select-agent {
    background-color: var(--couleur-principale);
    color: white;
    border-color: var(--couleur-principale);
}

.agent-card.active-agent .btn-select-agent .select-icon {
    font-weight: 900; /* fa-solid instead of fa-regular */
    color: #facc15; /* Jaune étoile */
}



/* Amélioration visuelle du bouton de zoom / focus sur la liste */
.agent-card-clickable {
    cursor: pointer;
}

/* Effet focus au clic sur la carte */
.agent-card-focused {
    animation: pulse-glow 1.5s ease-in-out;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}
