/* =============================================
   BOUTON FAVORI SUR CARTE ÉVÉNEMENT - V2 REFINED
   ============================================= */

.event-favorite-btn {
    position: absolute;
    /* Positionné au-dessus des badges de genre (qui sont à ~16px du bas) */
    bottom: 52px;
    right: 12px;
    z-index: 20;
    /* Z-index supérieur aux badges (5) */

    /* Force pointer events car le parent .event-card désactive les clics enfants */
    pointer-events: auto !important;

    /* Apparence plus fine et élégante */
    background: rgba(20, 20, 30, 0.4);
    /* Plus sombre et subtil */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Bordure fine */
    border-radius: 50%;
    width: 36px;
    /* Plus petit */
    height: 36px;

    /* Centrage icône */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Curseur */
    cursor: pointer;

    /* Effets */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-favorite-btn svg {
    color: rgba(255, 255, 255, 0.8);
    width: 18px;
    height: 18px;
    stroke-width: 2px;
    transition: all 0.3s ease;
}

/* Hover State */
.event-favorite-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.event-favorite-btn:hover svg {
    color: #fff;
}

/* État Actif (Favori ajouté) */
.event-favorite-btn.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.event-favorite-btn.active svg {
    color: #FFD700;
    fill: #FFD700;
    stroke: #FFD700;
}

.event-favorite-btn.active:hover {
    background: rgba(255, 215, 0, 0.25);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .event-favorite-btn {
        width: 40px;
        /* Un peu plus grand sur mobile pour le doigt */
        height: 40px;
        bottom: 48px;
        /* Ajustement mobile */
        right: 10px;
        background: rgba(20, 20, 30, 0.6);
        /* Plus de contraste sur mobile */
    }

    .event-favorite-btn svg {
        width: 20px;
        height: 20px;
    }
}