 /* Styles pour le fil d'Ariane (V10) */
.breadcrumb-poem {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans) !important;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.breadcrumb-poem a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
.breadcrumb-poem a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}
.breadcrumb-poem span {
    font-weight: normal;
    color: var(--text-main);
}
.breadcrumb-poem span.separator {
    color: var(--text-muted);
    opacity: 0.7;
    margin: 0 2px;
}

/* Search Forum styling (V10) */
.search-forum-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

@media (max-width: 1024px) {
    .search-forum-container {
        margin-left: 0;
        width: 100%;
    }
    .search-input {
        flex-grow: 1;
    }
}

.search-input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-page);
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
    font-family: var(--font-sans) !important;
}

.search-input:focus {
    border-color: var(--accent);
}

.search-button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.2s;
}

.search-button:hover {
    background-color: var(--accent-hover);
}

/* Styles pour la pagination (V10) */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 35px;
    height: 35px;
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-muted);
    background-color: var(--bg-card);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    font-size: 0.95em;
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination .current {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    font-weight: bold;
    cursor: default;
}
 
 

/* Déclaration des variables CSS pour tes couleurs, pour plus de facilité */
:root {
    --color-white: #FFFFFF;
    --color-off-white: #F4F3EC; /* Ton blanc cassé / beige très clair */
    --color-orange: #B75C26; /* Ton orange / marron clair */
    --color-dark-brown: #553A29; /* Ton marron foncé */
    --color-light-purple: #E3D2E3; /* Ton violet clair */
    --color-medium-purple: #D0BCD0; /* Ton violet moyen */
    --color-dark-purple: #9B7C9B; /* Ton violet foncé */
}

/* Appliquer Poppins partout sur les cartes, ou spécifiquement */
.carte-artiste {
    font-family: 'Poppins', sans-serif;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 0;
    width: 180px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0.3rem;
}

.carte-artiste:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.photo-artiste {
    width: 100%;
    height: 170px;
    overflow: hidden;
    position: relative;
}

.photo-artiste img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

/* Styles pour le bouton d'abonnement (l'étoile) */
.bouton-abonnement {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 26px; /* Bouton plus petit */
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.bouton-abonnement:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.etoile-abonnement {
    font-size: 0.9rem; /* Étoile plus petite */
    transition: color 0.2s ease;
}

/* Couleur pour l'étoile vide (non abonné) */
.etoile-vide {
    color: #CCC;
}

/* Couleur pour l'étoile pleine (abonné) */
.etoile-pleine {
    color: var(--color-orange);
}

/* Indicateur de compte non validé (enveloppe rouge) */
.unconfirmed-indicator {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: #ff3b30;
    color: white;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 6px rgba(255, 59, 48, 0.85);
    z-index: 10;
    font-size: 0.8rem;
    cursor: help;
    transition: transform 0.2s ease;
}

.unconfirmed-indicator:hover {
    transform: scale(1.1);
}


.carte-artiste:hover .photo-artiste img {
    transform: scale(1.03);
}

.carte-contenu-texte {
    padding: 0.3rem 0.4rem 0.5rem 0.4rem; /* Padding très compact */
}

.nom-artiste {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 0.78rem;
    margin-bottom: 0;
    padding-bottom: 0.1rem;
    line-height: 1.2;
    color: var(--color-dark-brown);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding-top: 0.3rem;
}

/* Styles pour le nom secondaire (nom réel entre parenthèses) */
.nom-secondaire {
    font-size: 0.7em;
    color: #666;
    margin-top: -3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 3px;
    text-align: center;
}


.generalstat {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.2rem;
    padding-top: 0;
    overflow: hidden;
    min-width: 0;
}

.stat {
    display: inline-flex;
    align-items: center;
    background-color: #F4F3EC;
    color: black;
    padding: 0.1rem 0.25rem;
    border-radius: 2rem;
    font-size: 0.65rem;
    white-space: nowrap;
    gap: 0.1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.stat i {
    font-size: 0.75rem;
}

.stat:hover {
    transform: translateY(-1px);
}

.stat4  {
   display: inline-flex;
    align-items: center;
    background-color: var(--color-light-purple);
    color: black;
    padding: 0.1rem 0.3rem;
    border-radius: 2rem;
    font-size: 0.68rem;
    white-space: nowrap;
    gap: 0.15rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: background-color 0.2s ease, transform 0.2s ease;
	flex-shrink: 1;
    min-width: 0;
}
.stat4 i {
    font-size: 0.75rem;
}

.aucune-creation {
    color: var(--color-dark-brown);
    font-style: italic;
    font-size: 0.7rem;
    padding: 0.2rem;
}

/* Le conteneur principal des cartes */
.conteneur-cartes {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    justify-content: center;
    gap: 0.8rem;
    padding: 0.5rem;
}


/* Styles pour les conteneurs de filtres (V10) */
.filtres-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.filtre-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.filtre-form label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
}

.filtre-form select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-page);
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
    font-family: var(--font-sans) !important;
}

.filtre-form select:focus {
    border-color: var(--accent);
}

.alphabet-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 12px;
    border-top: 1px dashed var(--border-color);
    padding-top: 12px;
}

.alphabet-list a {
    padding: 0.4rem 0.6rem;
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background-color: var(--bg-card);
}

.alphabet-list a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.alphabet-list a.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    font-weight: bold;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .filtres-container {
        padding: 0.8rem;
    }

    .filtre-form {
        width: 100%;
    }

    .filtre-form label,
    .filtre-form select {
        width: 100%;
        display: block;
        margin-bottom: 0.5rem;
    }

    .alphabet-list {
        justify-content: center;
        gap: 0.3rem;
    }

    .alphabet-list a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
	
    .search-forum {
        width: 100%; /* Prend toute la largeur disponible */
        margin-left: 0; /* Supprime le margin-left: auto */
        margin-top: 10px; /* Ajoute un espace au-dessus */
        justify-content: flex-start; /* ALIGNE LE CHAMP + BOUTON À GAUCHE */
        flex-shrink: 0; /* Empêche le conteneur de se réduire si l'espace est très contraint */
    }

    /* Ajustez la largeur de l'input de recherche en mode mobile */
    .search-input {
        width: calc(100% - 40px); /* Laissez de l'espace pour le bouton. Ajustez '40px' si votre bouton est plus large/petit */
        max-width: 250px; /* Limite la largeur pour ne pas être trop grande */
        transition: none;
        box-sizing: border-box; /* Inclut padding et border dans la largeur totale */
    }

    /* Le bouton reste à côté car .search-forum est display:flex */
    .search-button {
        /* Pas besoin de beaucoup de changements ici, il restera en ligne */
        flex-shrink: 0; /* Empêche le bouton de se réduire */
    }
	.search-input:focus {
        width: calc(100% - 40px); /* Reste à 100% ou max-width défini */
    }
	
	
}

/* Filtres Actifs (V10) */
.active-filters {
    padding: 10px 12px;
    margin-top: 12px;
    background-color: var(--bg-page);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
}

.active-filters span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.filter-pill {
    background-color: #fff;
    color: var(--text-main);
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.filter-pill.default {
    background-color: #eee;
    color: var(--text-muted);
    border-color: #e0e0e0;
    cursor: default;
}

.filter-pill i {
    font-size: 0.85em;
    color: var(--text-muted);
}

.filter-pill:not(.default):hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-pill:not(.default):hover i {
    color: var(--accent);
}

.clear-all-filters {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    margin-left: auto;
    padding: 4px 10px;
}

.clear-all-filters:hover {
    text-decoration: underline;
}

/* Drapeau Artiste */
.drapeau-artiste {
    width: 22px;
    height: 15px;
    margin-right: 8px;
    vertical-align: middle;
    border: 1px solid var(--border-color);
    object-fit: cover;
}