/* ===================== RESET ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===================== CORPS DE PAGE ===================== */
body {
  background-color: #fff;
  color: #000;
  font-family: 'Montserrat', sans-serif;
}

/* ===================== HEADER ===================== */
.header {
  background-color: #bb0b0b;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  position: relative; /* Pour pouvoir positionner la barre de recherche par rapport à l'en-tête */
}

.header-logo img {
  height: 30px;
}

/* Conteneur de droite : liens + icône user */
.header-user {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Liens "NEWS", "METTRE MON EVENEMENT..." et "MES FAVORIS" */
.news-link,
.add-event-link,
.favorites-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.7rem;
}

.news-link:hover,
.add-event-link:hover,
.favorites-link:hover {
  color: #dedede;
}

/* Icône utilisateur */
.user-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ===================== MAIN ===================== */
main {
  padding: 2rem;
  margin-top: 10px; /* Espace pour permettre à la barre de recherche de déborder */
}

/* ===================== BARRE DE RECHERCHE ===================== */
.search-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-top: 0;
  margin-left: auto; /* Positionné à droite */
  position: absolute;
  bottom: -25px; /* Pour déborder sur le main */
  left: 15rem; /* Distance depuis la gauche */
  z-index: 15; /* Plus élevé que l'en-tête */
}
/* Contenu spécifique à event.html */
.event-navigation {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
}

.back-to-map {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 30px;
  background-color: #f5f5f5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  max-width: fit-content;
}

.back-to-map:hover {
  color: #fff;
  background-color: #BB0B0B;
  box-shadow: 0 3px 8px rgba(187, 11, 11, 0.2);
  transform: translateY(-2px);
}

.back-to-map:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.back-arrow {
  color: #BB0B0B;
  margin-right: 0.7rem;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.back-to-map:hover .back-arrow {
  color: #fff;
}

.event-container {
  max-width: 1000px;
  margin: 1rem auto 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.event-image-container {
  flex: 1 1 45%;
  min-width: 300px;
}

.event-image {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.event-content {
  flex: 1 1 45%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.event-title {
  font-size: 1.8rem;
  margin: 0;
  color: #333;
  line-height: 1.3;
  flex: 1;
}

.event-actions {
  display: flex;
  gap: 10px;
}

.event-favorite-btn,
.event-share-btn {
  width: 40px;
  height: 40px;
  background-color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #999; /* Gris par défaut */
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  font-size: 1.2rem;
  margin-left: 10px;
  position: relative;
  z-index: 5;
}

.event-favorite-btn:hover,
.event-share-btn:hover {
  color: #BB0B0B;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.event-favorite-btn:active,
.event-share-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.event-favorite-btn.active {
  color: #BB0B0B;
}

.event-share-btn {
  /* Style spécifique pour le bouton de partage */
  background-color: #f8f8f8;
}

/* Menu de partage */
.share-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  width: 190px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 100;
}

/* Affichage au survol (fonctionne sur les bureaux) */
@media (hover: hover) {
  .event-share-btn:hover .share-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Affichage par classe (fonctionne sur tous les appareils) */
.share-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-menu:before {
  content: '';
  position: absolute;
  top: -5px;
  right: 13px;
  width: 10px;
  height: 10px;
  background: white;
  transform: rotate(45deg);
  box-shadow: -2px -2px 5px rgba(0,0,0,0.04);
}

.share-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 5px;
  border-radius: 5px;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #555;
  font-size: 13px;
  text-align: center;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  flex-direction: column;
}

.share-item i {
  margin-bottom: 5px;
  font-size: 18px;
  height: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

.share-item span {
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.share-item:hover, 
.share-item:focus, 
.share-item:active {
  background: #f5f5f5;
  color: #BB0B0B;
  outline: none;
}

.share-item:active i {
  transform: scale(1.2);
}

/* Icons spécifiques avec couleurs de marque */
.share-item .fa-whatsapp {
  color: #25D366;
}

.share-item .fa-facebook-messenger {
  color: #0084FF;
}

.share-item .fa-linkedin-in {
  color: #0077B5;
}

.share-item .fa-twitter {
  color: #1DA1F2;
}

.share-item .fa-envelope {
  color: #DB4437;
}

.share-item .fa-link {
  color: #0078d7;
}

/* Effet hover avec couleur de la plateforme */
.share-item:hover .fa-whatsapp,
.share-item:focus .fa-whatsapp {
  color: #25D366;
}

.share-item:hover .fa-facebook-messenger,
.share-item:focus .fa-facebook-messenger {
  color: #0084FF;
}

.share-item:hover .fa-linkedin-in,
.share-item:focus .fa-linkedin-in {
  color: #0077B5;
}

.share-item:hover .fa-twitter,
.share-item:focus .fa-twitter {
  color: #1DA1F2;
}

.share-item:hover .fa-envelope,
.share-item:focus .fa-envelope {
  color: #DB4437;
}

.share-item:hover .fa-link,
.share-item:focus .fa-link {
  color: #0078d7;
}

.event-venue {
  font-size: 1.2rem;
  color: #555;
  margin: 0;
}

.event-description {
  margin: 0;
  line-height: 1.6;
  color: #444;
}

/* Style pour les paragraphes dans la description */
.event-description p {
  margin-bottom: 0.8rem;
}

/* Style pour le dernier paragraphe de la description */
.event-description p:last-child {
  margin-bottom: 0;
}

.event-date {
  font-size: 1rem;
  color: #777;
  margin: 1rem 0;
}

.event-cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-event-website {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #BB0B0B;
  border: 2px solid white; 
  outline: none;
  box-shadow: 0 0 0 2px #BB0B0B;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-event-website:hover {
  background-color: #a80b0b;
  box-shadow: 0 0 0 2px #a80b0b;
  transform: translateY(-2px);
}

/* Design discret pour le bouton calendrier */
.btn-add-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid #e0e0e0;
  color: #666;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.btn-add-calendar:hover {
  background-color: #f9f9f9;
  border-color: #ccc;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-add-calendar:active {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

.btn-add-calendar i {
  margin-right: 0.5rem;
  font-size: 0.95rem;
  color: #BB0B0B;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .event-container {
    flex-direction: column;
  }
  
  .event-image-container, 
  .event-content {
    width: 100%;
  }
}

/* SECTION : CETTE SEMAINE */
.this-week-section {
  background-color: #fff; /* même fond que votre page */
  color: #000;
  max-width: 1060px; /* pour aligner avec la section précédente */
  margin: 2rem auto;    /* centrage horizontal */
  padding: 2rem 2rem;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .this-week-section {
    padding: 2rem 1rem; /* padding réduit sur mobile */
    margin: 1rem auto;
  }
  
  .this-week-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem; /* légère indentation du titre */
  }
  
  .this-week-cards {
    padding-left: 0.5rem; /* commence un peu décalé du bord */
    padding-right: 0.5rem;
    gap: 0.8rem; /* espace légèrement réduit entre les cartes */
  }
  
  .this-week-card {
    width: 160px;     /* harmonisation avec main.css */
    min-width: 160px;
  }
  
  /* Hauteur d'image légèrement réduite sur mobile */
  .this-week-card img {
    height: 120px;
  }
}

/* Titre de la section */
.this-week-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Conteneur horizontal scrollable */
.this-week-cards {
  display: flex;
  overflow-x: auto;       /* barre de défilement horizontal */
  white-space: nowrap;    /* évite le retour à la ligne */
  gap: 1rem;              /* espace entre chaque "carte" */
  scrollbar-width: none;  /* cache la barre sur Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding-bottom: 1rem;   /* espace pour l'ombre des cartes */
}
.this-week-cards::-webkit-scrollbar {
  display: none;          /* cache la barre sur Chrome/Safari/Opera */
}

/* Chaque bloc évènement */
.this-week-card {
  display: inline-flex;
  color: #000;
  flex-direction: column;
  width: 200px;           /* largeur augmentée pour un meilleur affichage des titres */
  min-width: 200px;       /* largeur minimale fixe */
  flex-shrink: 0;         /* empêche la réduction de la carte */
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.this-week-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* L'image avec contrôle strict des dimensions */
.this-week-card img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.this-week-card:hover img {
  transform: scale(1.05);
}

/* Détails sous l'image */
.card-details {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex: 1;
}

/* En-tête : titre + note */
.card-header {
  display: flex;
  justify-content: space-between; /* titre à gauche, note à droite */
  align-items: center;
  margin-bottom: 0.3rem;
}

/* Titre (ex: "Marseille, France") */
.card-header h3 {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 700;
  max-width: 85%;         /* augmentation de 70% à 85% pour plus d'espace */
  line-height: 1.2;
  max-height: 2.4em;      /* permet 2 lignes de texte (2 * 1.2em) */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;  /* limite à 2 lignes */
  -webkit-box-orient: vertical;
  color: #1a1a1a;
}

/* Note (ex: "★ 4.97") alignée à droite */
.card-rating {
  font-size: 0.75rem;
  color: #FF6B35;
  font-weight: 700;
  background-color: rgba(255, 107, 53, 0.1);
  padding: 2px 6px;
  border-radius: 12px;
  white-space: nowrap;
}

/* Sous-titre et date */
.card-subtitle {
  font-size: 0.8rem;
  color: #666;
  margin: 0.3rem 0 0.5rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.card-date {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SECTION : DES IDÉES POUR BOUGER, CRÉER, PARTAGER ! ===== */
.ideas-section {
  max-width: 1060px;
  margin: 2rem auto;
  padding: 2rem 2rem;
  background-color: #fff;
  color: #000;
}

/* Titre et sous-titre alignés à droite */
.ideas-section h2,
.ideas-section .ideas-intro {
  text-align: left;
}

/* Titre principal */
.ideas-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Sous-titre / intro */
.ideas-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* Conteneur des 3 images (cartes) en ligne */
.ideas-cards {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* Retrait de tout style de "carte" (pas de bordure, pas d'ombre) */
.idea-card {
  background: none;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Les 2 premières images, plus petites, avec titre + texte */
.smaller-card img {
  width: 210px;
  height: 190px;
  border-radius: 8px;
}

/* Titre dans la carte (petite) */
.smaller-card h3 {
  font-size: 0.7rem;
  margin: 0.5rem 0 0.3rem;
  font-weight: 600;
  color: #000;
  text-align: left;
}

/* Texte dans la carte (petite) */
.smaller-card p {
  font-size: 0.8rem;
  color: #555;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  text-align: left;
}

/* La 3ème image (wine.png), plus grande, sans texte */
.bigger-card img {
  width: 550px;
  height: auto;
  border-radius: 8px;
}

/* Bouton en bas à droite */
.ideas-cta {
  margin-top: -2.5rem;
  margin-right: 5rem;
  text-align: right;
}

/* Style du bouton */
.btn-discover {
  display: inline-block;
  background-color: #BB0B0B;
  border: 2px solid white; 
  outline: none;
  box-shadow: 0 0 0 2px #BB0B0B;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

/* Effet au survol */
.btn-discover:hover {
  background-color: #a80b0b;
  box-shadow: 0 0 0 2px #a80b0b;
}

/* Responsif : si vous voulez que les images passent à la ligne sur mobile */
@media (max-width: 768px) {
  .ideas-cards {
    flex-direction: column;
    align-items: flex-end;
  }
  
  .smaller-card img,
  .bigger-card img {
    width: 100%;
    max-width: 400px;
  }
}

/* ======= FOOTER ======= */
.footer {
  margin-top: 3rem;
  background-color: #BB0B0B;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* PARTIE HAUTE : Logo, sous-titre, newsletter */

/* Logo blanc */
.footer-top .footer-logo {
  display: block;
  margin: 2rem auto 3rem;
  max-width: 240px;
  height: auto;
}

/* Sous-titre (H2) */
.footer-top h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Petit paragraphe supplémentaire */
.footer-top p {
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Formulaire newsletter */
.footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Champ e-mail */
.footer-newsletter input[type="email"] {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 25px;
  width: 400px;
  max-width: 100%;
}

.footer-newsletter input[type="email"]:focus {
  outline: none;
  border: none;
  color:#333;
}

/* Bouton d'inscription */
.footer-newsletter button {
  background-color: #BB0B0B;
  color: #fff;
  border: 2px solid #fff;
  outline: none;
  box-shadow: 0 0 0 2px #BB0B0B;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  margin-left: -3.5rem;
  margin-top: 2px;
  margin-bottom: 2px;
}

.footer-newsletter button:hover {
  background-color: #a80b0b;
  box-shadow: 0 0 0 2px #a80b0b;
}

/* PARTIE BASSE : Liens de bas de page */
.footer-links {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  gap: 15rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
  text-align: left;
}

/* Liens */
.footer-column a {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* Notifications de favoris et partage */
.event-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 1000;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 80%;
  text-align: center;
}

.event-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.event-notification.success {
  background-color: #4CAF50;
  color: white;
}

.event-notification.error {
  background-color: #f44336;
  color: white;
}

/* Version sur mobile */
@media (max-width: 576px) {
  .event-notification {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: calc(100% - 40px);
    text-align: center;
    font-size: 13px;
    padding: 10px 15px;
  }
}

/* ===================== STYLES SPÉCIFIQUES POUR MES FAVORIS ===================== */

/* Conteneur principal */
.favorites-container {
  max-width: 1200px;
  margin: 6rem auto 5rem;
  padding: 0 2rem;
  position: relative;
}

/* En-tête avec effet */
.favorites-container h1 {
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  color: #333;
  text-align: center;
  position: relative;
  padding-bottom: 1.2rem;
}

.favorites-container h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #BB0B0B;
  border-radius: 2px;
}

/* Section de catégorie */
.favorites-category-section {
  margin-top: 3.5rem;
  margin-bottom: 3rem;
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  position: relative;
}

.favorites-category-section:hover {
  transform: translateY(-5px);
}

/* Titre des catégories avec badge */
.favorites-category-title {
  color: #333;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #f3f3f3;
  display: flex;
  align-items: center;
}

.favorites-category-title::before {
  content: '';
  display: inline-block;
  min-width: 18px;
  width: 18px;
  height: 18px;
  background-color: #BB0B0B;
  border-radius: 50%;
  margin-right: 0.8rem;
  flex-shrink: 0;
}

/* Grille pour les événements */
.favorites-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 1.5rem;
}

/* Style des éléments individuels basés sur la sidebar */
.sidebar-event-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  cursor: pointer;
  transform-origin: center;
  border: 1px solid #f5f5f5;
}

.sidebar-event-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: rgba(187, 11, 11, 0.15);
}

.sidebar-event-content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Container pour l'image */
.sidebar-img-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.sidebar-img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

/* Image */
.sidebar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sidebar-event-item:hover .sidebar-img {
  transform: scale(1.08);
}

/* Texte et détails */
.sidebar-text {
  padding: 1.2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.sidebar-title {
  margin: 0 0 0.7rem 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.8rem;
}

.sidebar-venue {
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 0.7rem;
}

.sidebar-date {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #777;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid #f5f5f5;
}

.sidebar-date::before {
  content: '\f073';
  font-family: 'Font Awesome 5 Free';
  margin-right: 0.5rem;
  color: #BB0B0B;
  font-size: 0.8rem;
}

/* Bouton pour supprimer des favoris */
.sidebar-actions {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 5;
}

.btn-remove {
  width: 32px;
  height: 32px;
  background-color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #BB0B0B;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
}

.btn-remove:hover {
  background-color: #BB0B0B;
  color: white;
  transform: rotate(90deg);
}

/* Animation de chargement */
.favorites-loading {
  text-align: center;
  color: #777;
  padding: 4rem 0;
  font-size: 1.1rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Message quand il n'y a pas de favoris */
.no-favorites {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f9f9f9 0%, #f3f3f3 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.no-favorites::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #BB0B0B, #ff5252);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.no-favorites p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.no-favorites .sub-message {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.no-favorites .btn {
  display: inline-block;
  background-color: #BB0B0B;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #BB0B0B;
  font-size: 0.95rem;
  box-shadow: 0 5px 15px rgba(187, 11, 11, 0.2);
}

.no-favorites .btn:hover {
  background-color: white;
  color: #BB0B0B;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(187, 11, 11, 0.3);
}

/* Message d'erreur */
.error-message {
  background-color: #fff5f5;
  color: #e53e3e;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #e53e3e;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
  .favorites-container h1 {
    font-size: 2rem;
  }
  
  .favorites-list {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .favorites-container {
    padding: 0 1.5rem;
  }
  
  .favorites-list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
  }
  
  .sidebar-text {
    padding: 1rem;
  }
  
  .sidebar-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .favorites-container h1 {
    font-size: 1.8rem;
  }
  
  .favorites-list {
    grid-template-columns: 1fr;
  }
  
  .sidebar-img-container {
    height: 160px;
  }
  
  .favorites-category-title {
    font-size: 1.2rem;
  }
  
  .no-favorites {
    padding: 3rem 1.5rem;
  }
  
  .no-favorites .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}