/* Style pour le slider des membres */
.members-slider-container {
    width: 100%;
    margin: 40px auto 0;
    padding: 0 15px;
    margin-bottom: 0;
}

.members-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    color: white;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    display: block;
    background-color: #7C89FF;
    padding: 6px 18px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    width: fit-content;
    margin: 0 auto 20px;
}

.members-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px 0;
}

.members-slider::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.members-slider::-webkit-scrollbar-thumb {
    background: transparent;
}

.members-slider::-webkit-scrollbar-track {
    background: transparent;
}

.member-card {
    flex: 0 0 auto;
    width: 150px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(124, 137, 255, 0.08);
    padding: 15px 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124, 137, 255, 0.12);
}

.member-photo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(124, 137, 255, 0.2);
    margin-bottom: 10px;
    aspect-ratio: 1/1; /* Force le ratio 1:1 (carré) */
    min-width: 55px; /* Empêche le rétrécissement */
    min-height: 55px; /* Empêche le rétrécissement */
}

.member-info {
    padding: 5px;
    width: 100%;
}

.member-name {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--text-color);
}

.member-instagram {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(124, 137, 255, 0.8);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 5px;
}

.member-instagram:hover {
    color: rgba(124, 137, 255, 1);
}

.member-signup-date {
    font-size: 0.75rem;
    color: rgba(120, 120, 120, 0.7);
    margin-top: 2px;
    font-style: italic;
    display: none; /* Masquer complètement la date d'inscription */
}

.member-instagram i {
    display: none; /* Masquer l'icône Instagram */
    margin-right: 5px;
    font-size: 1rem;
}

/* Navigation pagination - masquée selon la demande utilisateur */
.slider-pagination {
    display: none; /* Masquage de la pagination comme demandé */
}

.pagination-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(124, 137, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-dot.active {
    background-color: rgba(124, 137, 255, 1);
}

/* Contrôles du slider */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 0;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid rgba(124, 137, 255, 0.3);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .members-slider-container {
        padding: 0 10px;
    }
    
    .member-card {
        width: 180px;
    }
    
    .member-photo {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
        aspect-ratio: 1/1;
    }
}

@media (max-width: 576px) {
    .member-card {
        width: 150px;
    }
    
    .member-photo {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
        aspect-ratio: 1/1;
    }
    
    .member-info {
        padding: 10px;
    }
    
    .member-name {
        font-size: 0.9rem;
    }
    
    .member-instagram {
        font-size: 0.8rem;
    }
}
