/* Wrapper */
.evenca-fav-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Bouton cœur */
.evenca-favorite-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

/* Supprime le carré rouge */
.evenca-favorite-btn:focus,
.evenca-favorite-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Cœur normal */
.evenca-heart path {
    stroke: #6C5CE7;
    transition: 0.25s ease;
}

/* Cœur actif (rempli) */
.evenca-favorite-btn.active .evenca-heart path {
    fill: #6C5CE7;
    stroke: #6C5CE7;
}

/* Compteur */
.evenca-fav-count {
    font-size: 14px;
    color: #6C5CE7;
    font-weight: 600;
}

.evenca-favorite-btn,
.evenca-favorite-btn:hover,
.evenca-favorite-btn:focus,
.evenca-favorite-btn:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Pour être encore plus radical */
.evenca-favorite-btn::-moz-focus-inner {
    border: 0;
}

.evenca-favorite-btn.active .evenca-heart path {
    fill: #6C5CE7;
    stroke: #6C5CE7;
}


.evenca-favorites-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.evenca-fav-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #EEE;
    transition: 0.25s ease;
}

.evenca-fav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.evenca-fav-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.evenca-fav-info {
    padding: 16px;
}

.evenca-fav-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.evenca-fav-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.evenca-fav-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.evenca-remove-fav {
    background: #F4F0FF;
    color: #6C5CE7;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.evenca-remove-fav:hover {
    background: #E8E0FF;
}

.evenca-fav-thumb {
    position: relative;
    display: block;
    overflow: hidden;
}

.evenca-fav-thumb img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.evenca-fav-thumb:hover img {
    transform: scale(1.06);
    filter: brightness(0.85);
}

.evenca-fav-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(108, 92, 231, 0.25);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.evenca-fav-thumb:hover::after {
    opacity: 1;
}

.evenca-badge-cat {
    position: absolute;
    top: 12px;
    right: 12px;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.18);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}
.evenca-fav-card {
    position: relative;
}

.evenca-fav-card {
    opacity: 0;
    transform: translateY(10px);
    animation: evenca-fade-in 0.5s ease forwards;
}

@keyframes evenca-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.evenca-fav-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Animation du cœur */
.evenca-favorite-btn .evenca-heart {
    transition: transform 0.25s ease, fill 0.25s ease;
}

.evenca-favorite-btn.active .evenca-heart {
    animation: evenca-heart-pop 0.35s ease forwards;
    fill: #6C5CE7;
}

@keyframes evenca-heart-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Glow violet autour du bouton */
.evenca-favorite-btn.active {
    box-shadow: 0 0 12px rgba(108, 92, 231, 0.4);
    border-radius: 50%;
}

/* Style premium pour le titre cliquable */
.evenca-fav-title a {
    color: #1A1A1A; /* noir premium Evenca */
    text-decoration: none; /* enlève le soulignement */
    transition: color 0.25s ease;
}

.evenca-fav-title a:hover {
    color: #6C5CE7; /* violet Evenca */
}

.evenca-fav-thumb {
		margin-top: -40px; /* remonte image cover */
}
.page-id-5998 .evenca-favorites-list {
    margin-top: 50px; /* espace grille */
}

/* Badge catégorie (à droite) */
.evenca-badge-ca {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(108, 92, 231, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 20;
}

/* Badges dynamiques (à gauche) */
/* Conteneur des badges à gauche */
.evenca-badges-left {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 0px; /* espace entre badges */
    z-index: 20;
}

/* Style commun à tous les badges */
.evenca-badge {
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    width: fit-content;
		text-transform: capitalize;
		letter-spacing: 0.3px;
		font-weight: 500;
}

/* Couleurs */
.evenca-badge-new { background: #00C853; }        /* Vert */
.evenca-badge-soldout { background: #D50000; }    /* Rouge */
.evenca-badge-today { background: #FF6D00; }      /* Orange */
.evenca-badge-tomorrow { background: #AA00FF; }   /* Violet vif */
.evenca-badge-weekend { background: #2962FF; }    /* Bleu */
.evenca-badge-ended { background: #616161; }      /* Gris foncé */
.evenca-badge-live { background: #E91E63; }       /* Rose LIVE */
.evenca-badge-free { background: #2E7D32; }       /* Vert foncé */
.evenca-badge-popular { background: #F9A825; }    /* Jaune or */
.evenca-badge-trending {
    background: #ffffff;
    color: #ff1744;
    border: 2px solid #ff1744;
    font-weight: 600;    
    border-radius: 20px; /* effet pilule */
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Bouton J'y vais bas de carte */
.evenca-going {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.evenca-going-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #ffffff;
    color: #111;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.18s ease-out;
		margin-left: 10px;
}

.evenca-going-btn .evenca-going-icon {
    font-size: 14px;
}

.evenca-going-btn.is-going {
    background: #5b3df5;
    color: #ffffff;
    border-color: #5b3df5;
    box-shadow: 0 6px 14px rgba(91,61,245,0.25);
}

.evenca-going-count {
    font-size: 11px;
    color: #555;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f5f5ff;
}

/* Page Mes Sorties Page Mes Sorties Page Mes Sorties */
corrige le moi : .evenca-going-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.evenca-avatar-more {
    background: #6C5CE7;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 6px;
    font-weight: 600;
}

.evenca-going-avatars:hover {
    cursor: pointer;
    opacity: 0.85;
}


.evenca-my-going-list {
    display: grid;
    gap: 24px;
}

.evenca-going-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.evenca-going-thumb img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

.evenca-going-info {
    flex: 1;
}

.evenca-going-title {
    margin: 6px 0;
    font-size: 18px;
    font-weight: 600;
}

.evenca-going-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}


/* ============================
   AVATARS VISIBLES
============================ */

.evenca-going-avatars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.evenca-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.evenca-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

/* ============================
   POPOVER
============================ */

.evenca-avatar-popover {
    display: none !important;
    position: absolute;
    top: 40px;
    left: 0;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    z-index: 999;
    width: 180px;
}

.evenca-avatar-wrapper:hover .evenca-avatar-popover {
    display: block !important;
}

/* ============================
   CONTENU DU POPOVER
============================ */

.evenca-avatar-popover-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.evenca-avatar-popover-item:last-child {
    margin-bottom: 0;
}

.evenca-popover-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
}

.evenca-popover-name {
    font-size: 14px;
    font-weight: 500;
}

.evenca-going-avatars img,
.evenca-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}


.evenca-fav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}



.evenca-social-block {
    margin-bottom: px;
}

.evenca-going-count-label {
    font-size: 14px;
    font-weight: 600;
    margin-top: 6px;
}

.evenca-friends-common,
.evenca-known-going {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}


/* ============================
   PAGE FOLLOWERS FOLLOWING
============================ */
/* ============================
   ULTRA-COMPACT FOLLOW LIST
   ============================ */

/* Conteneur principal */
.evenca-follow-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

/* Avatar compact */
.evenca-follow-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Bloc texte */
.evenca-follow-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Nom */
.evenca-follow-info strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0C0D0E;
}

/* Bio ultra-compacte */
.evenca-follow-bio {
    font-size: 12px;
    color: #666;
    line-height: 1.2;

    /* 1 ligne max */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bouton suivre → vrai bouton */
.evenca-follow-action {
    flex-shrink: 0;
}

.evenca-follow-btn {
    background: #111;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    transition: 0.25s ease;
}

.evenca-follow-btn:hover {
    background: #333;
}

/* État "Déjà abonné" */
.evenca-follow-btn.following {
    background: #eaeaea;
    color: #111;
}

.evenca-follow-btn.following:hover {
    background: #d5d5d5;
}


.evenca-follow-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.evenca-follow-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.evenca-follow-info {
    flex: 1;
}

.evenca-follow-info strong {
    font-size: 15px;
    font-weight: 700;
}

.evenca-follow-bio {
    font-size: 13px;
    color: #666;
    margin: 2px 0 4px;
}

.evenca-follow-count {
    font-size: 12px;
    color: #999;
}

.evenca-follow-action {
    margin-left: auto;
}

.evenca-mutual {
    background: #6c5ce7;
    color: #fff;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 6px;
}




/* ============================
   MOBILE ULTRA-COMPACT
   ============================ */
@media (max-width: 600px) {

    .evenca-follow-item {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .evenca-follow-avatar img {
        width: 40px;
        height: 40px;
    }

    .evenca-follow-info strong {
        font-size: 13px;
    }

    .evenca-follow-bio {
        font-size: 11px;
        -webkit-line-clamp: 1;
    }

    .evenca-follow-btn {
        padding: 4px 9px;
        font-size: 11px;
    }
}




/* ====== BOUTON SUIVRE PREMIUM ====== */
.evenca-follow-btn {
    background: #111;
    color: #fff;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Hover */
.evenca-follow-btn:hover {
    background: #333;
}

/* État "Déjà abonné" */
.evenca-follow-btn.following {
    background: #eaeaea;
    color: #111;
}

.evenca-follow-btn.following:hover {
    background: #d5d5d5;
}

/* ====== ANIMATION CLICK (ripple) ====== */
.evenca-follow-btn::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.evenca-follow-btn:active::after {
    transform: scale(12);
    opacity: 0;
    left: var(--x);
    top: var(--y);
}



/* ============================
   PAGE PROFIL PAGE PROFIL
============================ */
/* --- HEADER PROFIL --- */

.evenca-profile-header {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Avatar */
.evenca-profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
}

/* Ligne nom + boutons */
.evenca-profile-topline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.evenca-profile-topline h2 {
    margin: 0;
    font-size: 24px;
    color: #0C0D0E;
    font-weight: 600;
}

/* Boutons */
/* Ligne 1 : Suivre + Message OU Modifier mon profil */
.evenca-profile-actions-line1 {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 6px;
}

/* Ligne 2 : Inviter + Partager */
.evenca-profile-actions-line2 {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

/* Mobile : on passe en 2 lignes propres */
@media (max-width: 480px) {

    .evenca-profile-actions-line1,
    .evenca-profile-actions-line2 {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .evenca-profile-actions-line2 button,
    .evenca-profile-actions-line2 a {
        width: auto;
    }
}


.evenca-message-btn {
    padding: 8px 14px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: #0C0D0E;
    font-weight: 500;
}

/* Partager */
.evenca-share-profile-btn {
    padding: 7px 14px;
    background: #eee;
    border-radius: 8px;
    text-decoration: none;
    color: #0C0D0E;
    font-weight: 500;
    display: inline-block;
    border: none;
}

/* Inviter à un événement */
.evenca-invite-btn {
    padding: 7px 14px;
    background: #ffbf7b;
    border-radius: 8px;
    text-decoration: none;
    color: #0C0D0E;
    font-weight: 500;
    display: inline-block;
    border: none;
}

/* Stats */
.evenca-profile-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.evenca-profile-stats a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.evenca-profile-stats strong {
    font-size: 17px;
}

/* Bio */
.evenca-profile-bio {
    text-align: center;
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.4;
}


/* --- BIO COMPACTE --- */
.evenca-profile-bio {
    font-size: 14px;
    color: #555;
}

.evenca-profile-bio .bio-text {
    font-size: 14px;
    line-height: 1.4;
    max-height: 60px; /* 2 lignes */
    overflow: hidden;
    transition: max-height 0.35s ease;
}

/* Bouton Voir plus / Voir moins */
.evenca-bio-toggle {
    margin-top: 6px;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    display: none;
}


/* --- RESPONSIVE --- */
@media (min-width: 900px) {
    .evenca-profile-header {
        flex-direction: row;
        align-items: flex-start;
    }

    .evenca-profile-avatar {
        margin-right: 40px;
    }

    .evenca-profile-main {
        flex: 1;
    }

    .evenca-profile-bio {
        text-align: left;
        margin-top: 10px;
    }
}

.evenca-edit-profile-btn {
    padding: 8px 14px;
    background: #eee;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: inline-block;
}


.evenca-profile-events-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

@media (max-width: 900px) {
    .evenca-profile-events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .evenca-profile-events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Conteneur de la carte */
.evenca-profile-event-item {
    position: relative;
    width: 100%;
}

/* Image carrée */
.evenca-profile-event-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.evenca-profile-event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Overlay sur l'image */
.evenca-event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ALIGNE TOUT À GAUCHE */
}

/* Titre sur l'image */
.evenca-event-title {
    font-size: 12px; /* même taille que la date */
    font-weight: 600;
    margin: 0;
    line-height: 0.9;
    color: rgba(255,255,255,0.9); /* même couleur que la date */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* max 2 lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Date sur l'image */
.evenca-event-date {
    font-size: 12px;
    color: rgba(255,255,255,0.9); /* même couleur que le titre */
    margin: 3px 0 0;
}

/* Fix mobile alignment for overlay title */
.evenca-event-overlay h3.evenca-event-title {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    width: 100% !important;
    display: block !important;
    left: 0 !important;
}

.evenca-event-overlay {
    padding-left: 8px !important;
    padding-right: 8px !important;
}


/* NAVIGATION DES ONGLETES */
.evenca-tabs-nav {
    display: flex;
    gap: 14px;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.evenca-tabs-nav button {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 0;
    cursor: pointer;
    color: #666;
}

.evenca-tabs-nav button.active {
    color: #000;
    border-bottom: 2px solid #000;
}

.evenca-tabs-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    padding: 10px 0;
}


/* CONTENU DES ONGLETES */
.evenca-tabs-content {
    margin-top: 20px;
}

.evenca-tab {
    display: none;
}

.evenca-tab.active {
    display: block;
}

.evenca-tabs-content {
    overflow-x: hidden;
    scroll-behavior: smooth;
}


/* TITRE ÉVÉNEMENTS A VENIR ET PASSÉS */
.evenca-small-title {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 6px;
    opacity: .7;
}


/* ============================
   BOUTON ET PAGE MESSAGERIE INTERNE
============================ */
.evenca-message-btn {
    padding: 8px 16px;
    background: #eee;
    border-radius: 8px;
    margin-left: 10px;
    text-decoration: none;
    color: #0C0D0E;
    font-weight: 500;
}


/* Neutralise les styles Elementor / thème sur le titre dans l'overlay */
.evenca-event-overlay h3.evenca-event-title {
    all: unset; /* supprime TOUT style global */
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    line-height: 1.1;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.evenca-event-overlay .evenca-event-date {
    all: unset;
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    margin-top: 3px;
    text-align: left;
}

/* ============================
   PAGE PROFIL ICONE SUR ONGLET
============================ */
/* Style général des onglets */
.evenca-tabs-nav button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

/* Icône Posts */
.evenca-tabs-nav button[data-tab="posts"]::before {
    content: "📦️";
    font-size: 12px;
}

/* Icône À venir */
.evenca-tabs-nav button[data-tab="upcoming"]::before {
    content: "📅️";
    font-size: 11px;
}

/* Icône Passés */
.evenca-tabs-nav button[data-tab="past"]::before {
    content: "⏳️";
    font-size: 11px;
}

/* Style commun des icônes */
.evenca-tabs-nav button::before {
    display: inline-flex;
    align-items: center;
}

/* Badges */
.evenca-tab-badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}



/* ============================
   BADGE VERIFIÉ
============================ */
.evenca-verified {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 14px;
    height: 14px;
    background: #6C5CE7;
    border-radius: 50%;
    margin-left: 2px;
    position: relative;
}

/* Check en CSS pur (pas Unicode) */
.evenca-verified::after {
    content: "";
    width: 6px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    position: absolute;
    top: 1px;
}


/* Bouton suivre NORMAL */
.evenca-follow-btn {
    background: #111;
    color: #fff;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.evenca-follow-btn:hover {
    background: #333;
}

/* Bouton "Déjà abonné" */
.evenca-follow-btn.following {
    background: #eaeaea;
    color: #111;
}

.evenca-follow-btn.following:hover {
    background: #d5d5d5;
}



/* ============================
   RESPONSIVE MOBILE EVENCA
   ============================ */
@media (max-width: 600px) {

    /* Conteneur général */
    .evenca-follow-item {
        padding: 10px 8px;
        gap: 10px;
    }

    /* Avatar plus petit */
    .evenca-follow-avatar img {
        width: 48px !important;
        height: 48px !important;
    }

    /* Zone info */
    .evenca-follow-info strong {
        font-size: 15px;
    }

    .evenca-follow-bio {
        font-size: 13px;
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Bouton suivre */
    .evenca-follow-action .evenca-follow-btn {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 6px;
        white-space: nowrap;
    }

    /* Alignement vertical propre */
    .evenca-follow-item {
        align-items: center;
    }

    /* Si jamais le bouton passe en dessous → on force l’alignement */
    .evenca-follow-action {
        margin-left: auto;
    }
}


/* ============================
   BADGE INVITÉ
============================ */
.evenca-invited-badge {
    display: inline-block;
    background: #ff4d6d;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: 6px;
}



.evenca-invitations-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.evenca-invite-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.evenca-invite-info h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.evenca-view-event-btn {
    background: #007bff;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.evenca-view-event-btn:hover {
    opacity: 0.85;
}



/* ============================
   PAGE EVENCALIST 
============================ */
/* Evencalist */
.evenca-evencalist-btn {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.evenca-evencalist-btn.evenca-in-list {
    background: #4caf50;
    color: white;
}

.evenca-evencalist-popup {
    display: none;
    position: absolute;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    margin-top: 6px;
    z-index: 999;
    width: 180px;
}

.evenca-evencalist-option,
.evenca-evencalist-remove {
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.evenca-evencalist-option:hover {
    background: #f5f5f5;
}

.evenca-evencalist-remove {
    margin-top: 6px;
    color: #d9534f;
    font-weight: 600;
}

.evenca-evencalist-remove:hover {
    background: #ffe5e5;
}



.evenca-evencalist-page {
    max-width: 600px;
    margin: 0 auto;
}

.evencalist-search-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 16px;
    font-size: 15px;
}

.evencalist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.evencalist-item {
    transition: transform .25s ease, box-shadow .25s ease;
}

.evencalist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    background: #fff;
    border-radius: 14px;
}


.evencalist-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.evencalist-left {
    min-width: 0;
    flex: 1;
}

.evencalist-left img.avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
}

.evencalist-name {
    font-size: 16px;
    font-weight: 600;
}

.evencalist-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.evencalist-category {
    font-size: 13px;
    color: #777;
}

.evencalist-edit-cat {
    font-size: 12px;
    opacity: .6;
    cursor: pointer;
    margin-top: 4px;
}

.evencalist-edit-cat:hover {
    opacity: 1;
}

.evencalist-cat-menu {
    display: none;
    background: #fff;
    border: 1px solid #eee;
    padding: 8px;
    border-radius: 8px;
    margin-left: 70px;
    margin-top: 6px;
}

.evencalist-cat-menu div {
    padding: 6px 8px;
    cursor: pointer;
}

.evencalist-cat-menu div:hover {
    background: #f5f5f5;
}

.evencalist-actions button,
.evencalist-actions a {
    margin-left: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.evencalist-actions {
    display: flex;
    flex-shrink: 0;
    gap: 3px;
    white-space: nowrap;
    align-items: center;
}

.evencalist-view {
    background: #eee;
    text-decoration: none;
    color: #333;
}

.evencalist-invite-btn {
    background: #007bff;
    color: white;
    border: none;
}

.evencalist-remove-btn {
    background: #ff4d4d;
    color: white;
    border: none;
}


.evencalist-invite-page {
    max-width: 600px;
    margin: 0 auto;
}

.evencalist-invite-all {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    border: none;
    cursor: pointer;
}

.evencalist-invite-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.evencalist-send-invite {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.evencalist-send-invite.sent {
    background: #ccc;
    cursor: default;
}



.evenca-invite-tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.evenca-tab-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #eee;
    font-weight: 600;
    cursor: pointer;
}

.evenca-tab-btn.active {
    background: #007bff;
    color: white;
}

.evenca-tab-content {
    display: none;
    animation: fadeIn 0.25s ease;
}

.evenca-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}


/* FILTRES PREMIUM */
.evenca-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.evenca-filter {
  padding: 8px 14px;
  border-radius: 12px;
  background: #f4f4f4;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  user-select: none;
}

.evenca-filter.active {
  background: #7A4FFF;
  color: white;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(122, 79, 255, 0.35);
}

/* Couleurs */
.evenca-filter.vip { background:#7A4FFF !important; color:white !important; }
.evenca-filter.pro { background:#3A8DFF !important; color:white !important; }
.evenca-filter.team { background:#3CCB7F !important; color:white !important; }
.evenca-filter.friend { background:#FFCF4A !important; color:#333 !important; }
.evenca-filter.family { background:#FF6B6B !important; color:white !important; }



/* Reset */
.evenca-reset-filters {
  margin-top: 6px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #7A4FFF;
  cursor: pointer;
  text-decoration: underline;
}

/* Compteur */
.evenca-filter-count {
  margin: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

/* Badges */
.badge-vip { background:#7A4FFF; color:white; padding:3px 8px; border-radius:8px; font-size:12px; }
.badge-pro { background:#3A8DFF; color:white; padding:3px 8px; border-radius:8px; font-size:12px; }
.badge-team { background:#3CCB7F; color:white; padding:3px 8px; border-radius:8px; font-size:12px; }
.badge-friend { background:#FFCF4A; color:#333; padding:3px 8px; border-radius:8px; font-size:12px; }
.badge-family { background:#FF6B6B; color:white; padding:3px 8px; border-radius:8px; font-size:12px; }


/* --- Desktop --- */
.evencalist-actions {
    display: flex;
    flex-shrink: 0;
    gap: 6px;
    white-space: nowrap;
    align-items: center;
}

/* --- Mobile premium --- */
@media (max-width: 480px) {

    /* On cache les 3 boutons */
    .evencalist-actions a,
    .evencalist-actions button {
        display: none;
    }

    /* On ajoute le bouton menu */
    .evencalist-actions::after {
        content: "⋮";
        font-size: 22px;
        padding: 6px 10px;
        border-radius: 8px;
        background: #eee;
        cursor: pointer;
        display: inline-block;
    }

    /* Le menu déroulant */
    .evencalist-actions.open a,
    .evencalist-actions.open button {
        display: block;
        background: #fff;
        padding: 10px;
        margin-top: 6px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
        width: 120px;
    }

    .evencalist-actions.open {
        position: relative;
    }

    .evencalist-actions.open a,
    .evencalist-actions.open button {
        position: absolute;
        right: 0;
    }

    .evencalist-actions.open a:nth-child(1) { top: 40px; }
    .evencalist-actions.open button:nth-child(2) { top: 90px; }
    .evencalist-actions.open button:nth-child(3) { top: 140px; }
}



/* ============================
   PAGE INVITÉ
============================ */
/* Conteneur global */
.inv-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
}

/* Onglets */
.inv-tabs {
    display: flex;
    background: #e9e9e9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.inv-tab {
    flex: 1;
    padding: 14px;
    background: #dcdcdc;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.25s;
}

.inv-tab.active {
    background: #007bff;
    color: white;
}

/* Contenu */
.inv-content {
    display: none;
}

.inv-content.active {
    display: block;
}

/* Evencalist propre */
#inv-evencalist-wrapper {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}


/* FILTRES PREMIUM */
.evenca-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 16px;
  border-radius: 6px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.evenca-filter {
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.6;
  cursor: pointer;
  transition: 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.evenca-filter.active {
  opacity: 1;
  transform: scale(1.08);
}

.evenca-filter.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  animation: underline 0.25s ease forwards;
}

@keyframes underline {
  from { width: 0; }
  to { width: 100%; }
}

/* Couleurs */
.evenca-filter.vip { color: #7A4FFF; }
.evenca-filter.pro { color: #3A8DFF; }
.evenca-filter.team { color: #3CCB7F; }
.evenca-filter.friend { color: #FFCF4A; }
.evenca-filter.family { color: #FF6B6B; }


/* Animation premium sur les filtres */
.evenca-filter {
  padding: 8px 14px;
  border-radius: 12px;
  background: #f4f4f4;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  display: inline-block;
  margin-right: 6px;
}

.evenca-filter.active {
  background: #7A4FFF;
  color: white;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(122, 79, 255, 0.35);
}

/* Bouton Réinitialiser les filtres et Compteur */
.evenca-reset-filters {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 600;
  color: #7A4FFF;
  cursor: pointer;
  text-decoration: underline;
  display: inline-block;
}

.evenca-filter-count {
  margin: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}


/* --- SÉLECTION MULTIPLE --- */
.evencalist-invite-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.evenca-select {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.evenca-select.active {
  border-color: #7A4FFF;
  background: #7A4FFF;
  transform: scale(1.15);
}

.evenca-select.active::after {
  content: "✓";
  color: white;
  font-size: 13px;
  font-weight: bold;
}


/* --- BOUTON STICKY --- */
.evenca-sticky-invite {
  position: sticky;
  bottom: 0;
  width: 100%;
  padding: 14px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.05);
  display: none;
  z-index: 100;
}

#evenca-invite-btn {
  width: 100%;
  background: #7A4FFF;
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

#evenca-invite-btn:active {
  transform: scale(0.96);
}

/* --- BADGE CATEGORIE --- */
.evencalist-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  margin-top: 4px;
}

/* Couleurs */
.badge-vip { background: #7A4FFF; }
.badge-pro { background: #3A8DFF; }
.badge-team { background: #3CCB7F; }
.badge-friend { background: #FFCF4A; color: #333; }
.badge-family { background: #FF6B6B; }


/* --- BOUTON INVITATION CATEGORIE --- */
.evenca-invite-cat {
  width: 100%;
  background: #7A4FFF;
  color: white;
  padding: 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  margin: 10px 0;
  cursor: pointer;
  transition: 0.25s ease;
}

.evenca-invite-cat:active {
  transform: scale(0.97);
}

.evencalist-left {
    gap: 10px;
}


/* ====== MENU DÉROULANT ÉVÉNEMENTS (EVENCA PREMIUM) ====== */

#evenca-event-selector {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    outline: none;
    transition: all 0.25s ease;
    margin-bottom: 10px
    appearance: none;
    cursor: pointer;
    position: relative;
}

/* Icône flèche */
#evenca-event-selector {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

#evenca-event-selector:hover {
    border-color: #d0d0d0;
    background: #f5f5f5;
}

#evenca-event-selector:focus {
    border-color: #111;
    background: #fff;
}

/* ====== TITRE OPTIONNEL AU-DESSUS ====== */

.evenca-event-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111;
}

/* ====== ESPACEMENT GLOBAL ====== */

.evenca-event-selector-wrapper {
    margin-bottom: 25px;
}




















