/* Style general */
body .wp-block-getwid-section__content {
    padding: 0 !important;
    margin-top: 0 !important;
    font-family: 'Poppins', sans-serif;
}
body {
   font-family: 'Poppins', sans-serif; 
}

a {
    text-decoration: none;
}
.compteur {
    font-family: 'Poppins', sans-serif;
    padding:0;
    font-size:24px;
    color:white;
}
/* --- Style des boutons "Acheter" dans les tableaux de prix (Desktop) --- */

/* Ciblage des boutons dans les colonnes de prix */
.wp-block-button__link {
    background: linear-gradient(135deg, #ff9a00 0%, #ff5a00 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important; /* Look arrondi plus moderne */
    padding: 12px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block;
}

.wp-block-button__link:hover {
    transform: scale(1.05); /* Effet de léger grossissement au survol */
    box-shadow: 0 10px 20px rgba(255, 90, 0, 0.3);
    color: #ffffff !important;
}
.acf-google-map.map-loading {
    background: #f0f0f0 url('../../../core/images/loader.gif') center no-repeat;
    min-height: 300px;
}

.wp-block-getwid-section h3,.wp-block-getwid-section h2, .wp-block-getwid-section h4 {
    font-family: 'Roboto', sans-serif;

}
.wp-block-getwid-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 3em; /* Ajustez la taille selon vos besoins */
    background: linear-gradient(0deg, #C70000, #FF8C00, #DCE400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Style du header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff; /* Fond blanc pour le header */
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Ombre légère */
    position: relative;
    z-index: 10; /* Positionnement pour garantir que le header est au-dessus des autres éléments */
}

.header-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-menu {
    flex: 1;
}

.language-selector {
    display: flex;
    gap: 10px; /* Espace entre les icônes de langue */
    list-style: none; /* Enlever les puces */
    padding: 0; /* Enlever le padding par défaut */
}

.language-selector li {
    display: flex;
    align-items: center;
}

.language-selector img {
    height: 30px; /* Taille de l'image */
    width: auto; /* Garde la proportion */
}

/* Logo du site */
.site-logo {
    margin-left: 20px;
}

.site-logo img {
    height: 50px; /* Taille du logo */
    width: auto;
}

/* Menu principal - style horizontal */
.nav-menu, .footer-menu  {
    font-family: 'Poppins', sans-serif;
    display: flex;
    gap: 20px;
    margin-right: 50px;
}

/* Éléments du menu principal */

.nav-menu li a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    padding: 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
}

/* Icône à gauche du texte */
.nav-menu li a .icon {
    margin-right: 8px;
    font-size: 18px;
    color: #c70000;
}

/* Effet de survol pour les liens principaux */
.nav-menu li:hover > a {
    color: #c70000;
    background-color: rgba(233, 30, 99, 0.1);
    border-radius: 5px;
}

/* Sous-menus - style vertical avec transparence */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(247, 247, 247); /* Transparence à 0.9 */
    width: 200px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Ombre plus foncée et plus large */
    border-radius: 5px;
    z-index: 20; /* Assure que le sous-menu passe au-dessus du slider */
}

/* Affiche les sous-menus au survol */
.nav-menu li:hover .sub-menu {
    display: block;
}

/* Style des liens des sous-menus */
.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu .sub-menu li a {
    padding: 10px 15px;
    color: #333333;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.nav-menu .sub-menu li a:hover,.nav-menu .sub-menu li:hover a {
    background-color: #c70000 !important;
    color: #ffffff !important;
    width: 100%;
}

/* Désactive le clic sur le lien à l'intérieur d'un LI ayant la classe no-link */
li.no-link > a {
    pointer-events: none !important;
    cursor: default !important;
}

/* Optionnel : Si tu veux quand même que l'élément parent ouvre le sous-menu au survol en JS/CSS */
.no-link {
    pointer-events: auto; /* On s'assure que le <li> parent capte toujours le survol */
}

/* Style du bandeau de notification */
.notification-bar {
    background-color: #161616; /* Fond noir */
    color: #ffffff;            /* Texte en blanc */
    padding: 10px;             /* Padding de 10px */
    text-align: center;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif; /* Application de la police Poppins */
}

/* Icône de notification */
.notification-icon {
    font-size: 20px;
    margin-right: 8px;
}

/* Message de notification */
.notification-message {
    font-weight: bold;
}
/* Wrapper du compteur avec un décalage à gauche de 80px */
.counter-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: 80px; /* Décale le compteur de 80px à gauche */
}

.wp-block-separator.has-background:not(.is-style-dots)  {
    margin:0 !important;
    height:3px;
}

/* Style de chaque compteur */
.counter {
    display: flex;
    align-items: center;
    background-color: #c70000; /* Couleur de fond pour mettre en valeur */
    color: #ffffff;
    padding: 10px 20px; /* Augmente légèrement la taille des boutons */
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

/* Icône du compteur */
.counter-icon {
    font-size: 20px;
    margin-right: 8px;
}

/* Label et valeur du compteur */
.counter-label {
    margin-right: 5px;
    font-size: 14px;
}

.counter-value {
    font-size: 16px;
}

/* Style du compteur des membres */
.counter.counter-members,.membres {
    background-color: #000000; /* Couleur de fond rouge pour les membres */
}

/* Style du compteur des partenaires */
.counter.counter-partners,.partenaires {
    background-color: #6b5c5c; /* Couleur de fond gris pour les partenaires */
}

.wp-block-getwid-section__wrapper  {
    padding: 0;
}

/* Style bloc comment ca marche */

.block_noisette {
    padding:50px;
}
.block_noisette img {
    padding-left:40px;
}
.block_noisette .stk-button {
    margin-left:25px;
    margin-top:25px;
}

/* Footer global */
.site-footer {
    background-color: #000; /* Fond noir */
    color: white; /* Texte blanc */
    padding: 20px; /* Padding général */
    font-family: 'Roboto', sans-serif; /* Police pour le footer */
    width: 100%; /* Assure que la largeur est à 100% */
    box-sizing: border-box; /* Inclut le padding dans la largeur totale */
}

/* Conteneur du footer */
.footer-container {
    width: 95%; /* Largeur à 100% */
    padding: 20px; /* Padding autour du contenu */
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de s'adapter sur plusieurs lignes */
    justify-content: space-between;
    align-items: center;
}

/* Style des éléments de menu du footer */
.footer-menu-wrapper {
    display: flex;
    justify-content: flex-start; /* Aligne les libellés à gauche */
    align-items: center; /* Centre verticalement les libellés */
    flex-wrap: wrap; /* Permet aux libellés de s'adapter sur plusieurs lignes si nécessaire */
}

.footer-menu li {
    display: flex;
    align-items: center; /* Centré verticalement */
    margin: 0 10px; /* Espacement horizontal entre les éléments */
}

.footer-menu li a {
    color: white; /* Texte blanc */
    font-size: 16px; /* Taille de police */
    text-decoration: none;
    padding: 10px 15px; /* Padding autour des liens */
    transition: color 0.3s ease, background-color 0.3s ease;
    display: inline-block; /* Affiche sur une seule ligne */
}

/* Effet au survol des liens */
.footer-menu li a:hover {
    color: #dce400; /* Jaune clair au survol */
    background-color: rgba(233, 30, 99, 0.1); /* Fond léger au survol */
    border-radius: 5px;
}

/* Pour le copyright */
.footer-copyright {
    font-family: 'Roboto', sans-serif;
    text-align: right;
    font-size: 0.8em;
    color:white;
}

/* Pour les icônes Dashicons dans le footer */
.footer-menu li a .dashicons {
    color: white; /* Icônes blanches */
    font-size: 20px; /* Taille des icônes */
    margin-right: 10px;
    transition: color 0.3s ease;
}

/* Effet au survol des icônes */
.footer-menu li a:hover .dashicons {
    color: #dce400; /* Jaune clair au survol */
}
/* Style pour chaque bloc contenant une image */
.website-block {
    margin-top:30px;
    background-color: #ffffff; /* Fond blanc */
    border-radius: 20px; /* Coins arrondis */
    padding: 20px; /* Padding autour de l'image */
    display: inline-block; /* Affiche les blocs en ligne */
    margin-left:20px;
}

/* Ajustement des images */
.website-block img {
    height: 100px; /* Hauteur de l'image */
    width: auto; /* Largeur proportionnelle */
    display: block; /* Pour éviter l'espace sous l'image */
    margin: 0 auto; /* Centre l'image */
}

/* Block */
.n2_clear {
    border-bottom:3px solid #CCCCCC;
}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    width: 100%;
    margin: 0;
}
.wp-block-separator {
    border: none;
    width: 100%;
    border-bottom: 10px solid #CCCCCC;

}


.acf-formulaire {
    padding: 20px;
    background-color: #fbf1f1;
    color: black;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: relative;
    font-family: Arial, sans-serif;
}
.acf-formulaire p {
 margin-block-start: 0.5em;
 margin-block-end: 0.5em;
}

.acf-formulaire select {
    padding:5px;
}

.acf-formulaire-container {
    padding:10px;
}

#event-list .swiper {
    background-color: #fbf1f1;
}

/* Appliquer un style uniquement aux labels pour les champs input */
.acf-formulaire-container label {
    display: inline-block;
    min-width: 200px; /* Largeur minimale pour aligner les labels */
    text-align: left; /* Aligner le texte des labels à gauche */
    margin-right: 10px; /* Ajouter un peu d'espace entre le label et l'input */
}

/* Assurez-vous que les champs input sont alignés à droite du label */
.acf-formulaire-container input[type="text"],
.acf-formulaire-container input[type="email"],
.acf-formulaire-container input[type="password"],
.acf-formulaire-container input[type="number"],
.acf-formulaire-container input[type="date"],
.acf-formulaire-container input[type="url"] {
    display: inline-block;
    width: calc(100% - 100px); /* Ajustez en fonction de l'espacement total */
    max-width: 265px; /* Limite la largeur si nécessaire */
}

.acf-formulaire-bloc {
    display: flex;
    flex-direction: column;
}

.acf-formulaire-icone img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.acf-formulaire-dashicons {
    font-size: 24px;
    margin-bottom: 10px;
}

.acf-formulaire-champ {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top:5px;
    margin-bottom:10px;
}

.acf-formulaire-champ label {
    font-weight: bold;
}

.acf-formulaire-champ input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.acf-formulaire-actions button {
    background-color: #0073aa;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    margin-top:20px;
    cursor: pointer;
    font-size: 14px;
}

.acf-formulaire-actions button:hover {
    background-color: #005177;
}

.acf-formulaire-container .acf-formulaire-titre-wrapper {
    width:50%;
    background-color:grey;
    border-top-left-radius: 10px;
    padding:10px;
    margin-left:10px;
    border-top-right-radius: 10px;
}

.acf-formulaire-container .acf-formulaire-titre-wrapper h3 {
    margin:0;
    font-size:20px;
    color:white !important;
}

.acf-formulaire-container .acf-formulaire-titre-wrapper .dashicons {
    font-size: 24px;
    float:left;
    padding-right: 20px;
}

.acf-formulaire-container .compte {
    background-color:rgb(0, 0, 0);
    color:white;
    width:50%;
}

/* Options Checkbox */
.acf-checkbox-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.acf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Champ Date Picker */
input[type="date"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Boutons radio et checkbox */
.acf-radio-options,
.acf-checkbox-options {
    display: flex;
    flex-wrap: wrap; /* Permet un retour à la ligne si nécessaire */
    gap: 10px; /* Espacement horizontal et vertical entre les options */
    font-size:13px;
}

.acf-radio-label,
.acf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
}

/* Bouton de soumission */
.acf-submit-button {
    background-color: #c70000;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    width: 100%; /* Largeur pleine */
}

.acf-submit-button:hover {
    background-color: #a00000;
}


/* Galerie */
input[type="file"] {
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Conteneur principal */
.acf-repeater {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

/* Champs des répétiteurs alignés sur une seule ligne */
.acf-repeater-item {
    display: flex;
    align-items: center;
    gap: 20px; /* Espacement entre chaque champ */
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.acf-repeater-item:last-child {
    border-bottom: none;
}

/* Libellés espacés correctement */
.acf-repeater-item label {
    font-weight: bold;
    margin-right: 10px; /* Espacement entre le label et le champ */
    white-space: nowrap; /* Évite le retour à la ligne */
    font-size: 13px;
}

.acf-repeater-item label.timepicker, .acf-repeater-item label.jours,.acf-repeater-item label.activite {
    min-width: 10px;
}
.activites .acf-repeater-item .acf-repeater-champ {
    display: contents;
}
.activites .acf-repeater-item .acf-repeater-champ div {
    margin-top: 20px;
}

.activites .acf-checkbox-options label {
    min-width:220px;
}

.lieux .acf-repeater-item .acf-repeater-champ {
    width: 100%;
}


/* Espacement des champs */
.acf-repeater-item input,
.acf-repeater-item select {
    flex: 1; /* Prend toute la place disponible */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Bouton pour ajouter une entrée */
.acf-repeater-add {
    margin-top: 10px;
    padding: 10px 15px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
}

.acf-repeater-add:hover {
    background: #005177;
}


.acf-repeater-delete {
    font-size: 16px;
    color: #d9534f; /* Rouge pour la croix */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    float: left;
    margin-right: 10px; /* Espacement à droite si nécessaire */
}

.acf-repeater-delete:hover {
    color: #c12e2a; /* Couleur plus sombre au survol */
}

.acf-repeater-delete:focus {
    outline: none; /* Supprime le contour du focus */
}


/* Actions des boutons */
.acf-repeater-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Espacement vertical */
.acf-repeater {
    margin-top: 20px;
}

/* Instructions sous les champs */
.acf-instructions {
    font-size: 12px !important;
    color: #777; /* Gris pour les instructions */
    margin-left: 10px;
}

.top {
    vertical-align: top;
}

/* Répétiteur */
.acf-repeater-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

/* Champs du répétiteur alignés sur une ligne */
.acf-repeater-item {
    display: flex;
    flex-wrap: wrap; /* Permet un retour à la ligne si nécessaire */
    gap: 10px; /* Réduit l'espacement entre les champs */
}

/* Champ 'jours' avec un select (réduit en largeur) */
.acf-repeater-item select[name*="jours"] {
    width: 120px; /* Réduit la largeur du champ 'jours' à 120px */
    padding: 4px 6px; /* Réduit la taille du padding */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 12px; /* Taille de police réduite */
    margin-bottom: 5px; /* Espacement inférieur */
}

/* Champs date et time_picker ajustés */
.acf-repeater-item input[type="date"],
.acf-repeater-item select {
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 12px; /* Taille de police réduite */
    margin-bottom: 5px; /* Espacement inférieur */
}

/* Champs heure et minute alignés sur la même ligne, plus petits */
.acf-repeater-item select[name*="hour"], 
.acf-repeater-item select[name*="minute"] {
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 12px; /* Taille de police réduite */
    margin-bottom: 0; /* Supprime l'espacement vertical */
}

/* Espacement pour les champs heure et minute */
.acf-repeater-item .acf-repeater-champ {
    display: inline-block;
    width: 30%; /* Ajuste la largeur des champs heure et minute */
}


/* Customisation des boutons */
.acf-submit-button {
    background-color: #c70000;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    width: 100%; /* Largeur pleine */
}

.acf-submit-button:hover {
    background-color: #a00000;
}
/* Champ range (slider) */
.acf-repeater-item input[type="range"] {
    width: 100%; /* Utilise toute la largeur disponible */
    padding: 0;
    margin: 10px 0; /* Ajoute un peu d'espace autour */
    background: #ddd; /* Fond gris clair */
    border-radius: 5px;
    height: 10px; /* Hauteur du curseur */
}

/* Pour les navigateurs Webkit (Chrome, Safari, etc.) */
.acf-repeater-item input[type="range"]::-webkit-slider-runnable-track {
    background: #ddd;
    border-radius: 5px;
    height: 10px;
}

.acf-repeater-item input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: #0073aa;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* Style de la sortie (valeur affichée sous le slider) */
.acf-repeater-item output {
    font-size: 14px;
    color: #333;
    margin-top: 5px;
}

/* La classe cacher masque l'élément */
.cacher {
    display: none;
    height:0;
    padding:0;
    margin:0;
}
.acf-avancement {
    display: flex;
    padding-top:10px;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
    position: relative;
}

.acf-etapes-titre {
    font-size: 28px;
    font-weight: bold;
    color: black; /* Noir pour "Étapes" */
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.acf-etapes-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    position: relative;
}

.acf-etape {
    background-color: black; /* Noir pour les étapes inactives */
    border-radius: 50%;
    color: white;
    padding: 15px;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.acf-etape a:hover {
    opacity:0.8;
}

.acf-etape.active {
    background-color: #28a745; /* Vert pour l'étape active */
}




.acf-descriptif {
    margin-bottom: 20px;
    font-size: 14px;
    color: #757575; /* Couleur standard des commentaires ACF */
    font-style: italic;
}
.acf-instructions {
    font-size: 13px;
    color: #999;
}

.acf-instructions.success {
    color: #28a745;
    font-weight: bold;
    position: relative;
}

.acf-instructions.success .success-bubble {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    width: 16px;
    height: 16px;
    text-align: center;
    border-radius: 50%;
    margin-left: 10px;
}
.acf-submit-button {
    background-color: #0073aa;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.acf-submit-button:hover:not(.disabled) {
    background-color: #005177;
}

.acf-submit-button.disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

.error-message {
    color:red;
    font-weight: bold;
    font-style: normal;
}

.photo-previews {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;

}
.description {
    font-size: 12px;
    margin-top:10px;
    margin-bottom:10px;
    margin-left:150px;
}

.photo-previews img.thumbnail {
    margin: 5px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.preview-wrapper {
    position: relative;
    display: inline-block;
}

.delete-preview-button {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: white;
    color: red;
    border-radius: 50%;
    border: none;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.delete-preview-button:hover {
    background-color: #f0f0f0; /* Changer la couleur de fond au survol */
}

.delete-preview-button:focus {
    outline: none; /* Supprimer l'effet de surbrillance au focus */
}

/***** connexion *****/

/* Conteneur global fixe à droite */
#user-info-container, #login-container  {
    font-family: 'Poppins', sans-serif;
    position: fixed;
    top: 250px;
    right: 0;
    width: 250px;
    background: darkred;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.3);
    color: white;
    z-index: 10000;
    transition: transform 0.4s ease-in-out;
}

/* Place ceci APRES tes règles existantes */
#user-info-container.partenaires,
#login-container.partenaires {
    background: rgba(107, 92, 92, 0.85);
}

#user-info-container.partenaires #user-info-toggle {
    background: rgba(107, 92, 92, 0.85); /* #6b5c5c avec transparence */
}

#user-info-container.membres,
#login-container.membres {
    background: rgba(0, 0, 0, 0.85);
}

#user-info-container.membres #user-info-toggle {
    background:rgba(0, 0, 0, 0.85);
}


/* Icône lock */
#user-info-toggle .dashicons {
    font-size: 20px;
    color: white;
}

/* Wrapper avec transition pour repli */
#user-info-wrapper {
    overflow: hidden;
    transition: transform 0.4s ease-in-out;
}

/* On force le repli par défaut en CSS si la classe est présente */
#user-info-container.collapsed {
    transform: translateX(250px) !important;
}


/* Contenu interne */
#user-info,#login-container {
    padding: 20px;
}


/* Bouton de bascule (rond noir avec l'icône) */
#user-info-toggle {
    position: absolute;
    left: -30px; /* positionné à gauche du conteneur */
    top: 50%; /* centré verticalement */
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
     background: darkred;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 11000;
}

/* Forcer l'utilisation de la police dashicons pour l'icône */
#user-info-toggle .dashicons {
    position: relative;
    margin-right: 32px;
    margin-bottom:18px;
    font-size: 40px;
    color: white;
    font-family: dashicons !important;
}

#user-info ul,#event-container ul {
    list-style-type: none;
    padding:5px;
    margin:0px;
}

#user-info ul li:before {
    font-size: 25px;
}

#user-info ul li a {
    text-decoration: none;
    color: white;
    font-size:14px;
    margin-left:25px;
    font-weight: 700;
    line-height: 35px;
    cursor: pointer;
}

#user-info ul li a:hover  {
    color: #ff9800;
}

/* Champs du formulaire */
#login-form input {
    width: 93%;
    padding: 12px; /* Plus de padding */
    margin: 8px 0; /* Plus d’espace entre les champs */
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

#login-form input[type="checkbox"] {
    width:20%;

}
/* Bouton Connexion */
#login-form button,
#logout-button,
#event-container button {
    width: 100%;
    background: #ff9800;
    border: none;
    padding: 12px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

#login-form button:hover,
#logout-button:hover,
#event-container button:hover 
{
    background: #e68900;
}

/* Lien "Mot de passe oublié" */
#forgot-password,#inscription {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #ffcc80;
    font-size: 0.9em;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

#forgot-password:hover,#inscription:hover {
    text-decoration: underline;
}
/* Trait de séparation */
.separator {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 15px 0;
}

/* Bouton de création de compte */
#create-account-button-membre {
    display: block;
    text-align: center;
    background: #000000;
    color: white;
    padding: 12px;

    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    margin-bottom:10px;
    transition: background 0.3s ease;
}
#create-account-button-partenaire {
    display: block;
    text-align: center;
    background: #6b5c5c;
    color: white;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

#create-account-button-membre:hover,#create-account-button-partenaire:hover {
    border:1px solid white;
}
/***** EVENTS ************/

/* ✅ Conteneur des événements */
#event-container {
    font-family: 'Poppins', sans-serif;
    position: fixed;
    top: 250px;
    left: 0;
    width: 250px;
    background: #ffffff;
    border-radius: 0px 10px 10px 0px;
    box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.3);
    color: white;
    z-index: 100000;
    transition: transform 0.4s ease-in-out;
    padding: 5px;
    border: 2px solid gray; /* Gris par défaut */
}

/* Bulle d'information pour le nombre d'événements (style fourni) */
.event-count {
    position: absolute;
    background: var(--event-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 5px;
    right: 10px;
    top: 18px;
}

/* ✅ Appliquer la bordure dynamique selon la sélection */
#event-container[data-color] {
    border-color: var(--event-color);
}

/* ✅ Menu des événements */
#event-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 10001;
}

#event-menu li {
    display: flex;
    position:relative;
    align-items: center;
    pointer-events: auto;
    padding: 5px;
    cursor: pointer;
    transition: background 0.3s;
    color: black;
    font-size: 14px;
    font-weight: 700;
    z-index: 10;
}

#event-menu li img {
    position:relative;
    width: 30px;    
    height: 30px;
    margin-right: 10px;
    top:8px;
}

#event-menu li a {
    text-decoration: none;
    color: inherit; /* Applique la couleur du texte dynamique */
}


/* ✅ Appliquer la couleur de l’intérêt sélectionné */
#event-menu li.active {
    color: var(--event-color);
    transition: color 0.3s ease, background-color 0.3s ease;
    font-size:18px;
}
#event-menu li a:hover {
    font-size:18px;
}

/* ✅ Toggle pour le menu des événements */
#event-toggle {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 11000;
}

#event-toggle .dashicons {
    position: relative;
    margin-right: 22px;
    margin-bottom:18px;
    font-size: 40px;
    color: white;
    font-family: dashicons !important;
}
/* Quand le conteneur est replié */
#event-container.collapsed {
    transform: translateX(-265px); /* Recule de 245px (largeur - 5px visibles) */
}

/* Forcer la transition fluide */
#event-container {
    transition: transform 0.4s ease-in-out;
}

/* ✅ Appliquer la couleur de la bordure dynamiquement */
:root {
    --event-color: gray; /* Par défaut */
}
/* Style des cartes événements */
.event-card {
    width: 250px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #333;
    margin-bottom: 15px;
}

.event-card h3 {
    margin: 0 0 10px;
}

.event-card .event-actions {
    margin-top: 10px;
    text-align: center;
}

.event-card button {
    background: #ff9800;
    width:93%;
    border: none;
    padding: 10px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.event-card button:hover {
    background: #e68900;
}
.event-card .msg_locked {
    color:red;
    font-weight: 700;
}

.btn-url-voyage {
    display: block;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: left;
}
.btn-url-voyage:hover {
    background: #f0f0f0;
    border-color: #bbb;
    transform: translateX(3px);
}

/* 1. Cas par défaut : Image seule (pas cliquable) */
.participant-info > img.participant-icon {
    opacity: 0.3;
    cursor: default;
}

/* 2. Cas spécifique : Image dans un lien (cliquable / à valider) */
.participant-info a[data-action="moderation_user"] img.participant-icon {
    opacity: 1; /* On remet l'opacité pleine */
    animation: pulse-validation 1.5s infinite ease-in-out;
    border-radius: 50%; /* Optionnel : pour un effet plus propre sur l'icône */
    box-shadow: 0 0 0 rgba(255, 165, 0, 0.4); /* Optionnel : lueur orange */
}

/* 3. Définition de l'animation de clignotement */
@keyframes pulse-validation {
    0% {
        transform: scale(0.95);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.3); /* L'image devient plus lumineuse */
    }
    100% {
        transform: scale(0.95);
        filter: brightness(1);
    }
}

.wp-block-getwid-section__content {
    position: relative;
    z-index: auto; /* ou 0 si nécessaire */
}
/* ✅ Correction du champ de recherche Google Maps */
.acf-google-map .map-search-box {
    display: block !important;
    width: 500px !important;
    max-width: 600px !important;
    height: 30px !important;
    padding: 5px !important;
    border: 2px solid #007bff !important;
    border-radius: 5px !important;
    outline: none !important;
    margin: 10px auto !important; /* Centrer le champ */
    transition: all 0.3s ease-in-out !important;
}
.map-image-slider {
    margin-top: 15px;
    width: 100%;
    max-width: 600px;
}

.map-image-slider img {
    width: 100%;
    border-radius: 5px;
    display: block;
}

/* Le conteneur doit être en position relative */
.custom-event-slider {
    position: relative;
    padding: 0 10px; /* Petit espace pour ne pas coller aux bords */
    overflow: hidden;
}

/* On réinitialise les flèches Swiper */
.swiper-button-prev, 
.swiper-button-next {
    position: absolute !important; /* Force la sortie du flux */
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

/* La flèche gauche à gauche */
.swiper-button-prev {
    left: 10px !important;
    right: auto !important;
}

/* La flèche droite à droite */
.swiper-button-next {
    right: 10px !important;
    left: auto !important;
}

/* On cache l'icône par défaut si besoin et on stylise le chevron */
.swiper-button-prev:after, 
.swiper-button-next:after {
    font-size: 18px !important;
    color: #ff9800 !important;
}
  
.custom-event-slider .swiper-slide {
display: flex;
justify-content: center;
align-items: stretch;
}

.custom-event-slider .event-card {
width: 100%;
max-width: 350px;
padding: 10px;
background: white;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
color: #333;
position: relative;
}

  
/* Slider général */
.custom-event-slider {
    margin: 10px auto;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
  }


  /* Chaque slide */

  
  /* Carte de l'événement */
  .event-card {
    position: relative;
    font-family: 'Poppins', sans-serif;
  }

  .event-card .gauche {
    float:left;
    width:40%;
  }

  .event-card .droite{
    width:60%;
    text-align: right;
    float:right;
  }

  .event-card .bloc_event {
    width:100%;
    font-size:14px;
  }

  .event-infos {
    padding-top: 20px;
  }
  .event-infos p.event-description {
    font-size:12px;
    padding-bottom:15px;
  }

  /* Onglet membre/partenaire en haut */
  .event-onglet {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    padding: 3px 8px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 0.8em;
  }
  
  /* Tag interest en haut à droite */
  .event-tag-interest {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
    border-radius: 0 8px 0 8px;
    color: #fff;
    font-size: 0.8em;
  }
  
  /* Infos événement */
  .event-infos p {
    margin: 5px 0;
    font-size: 0.9em;
  }
  
  /* Carte Google Map dans la slide */
  .event-map {
    margin-top: 10px;
    position: relative;
  }
  .event-map .acf-google-map {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
  }
  .map-itineraire-bubble {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    padding: 5px 10px;
    border-radius: 20px;
  }
  .map-itineraire-bubble .btn-directions {
    color: #fff;
    background: none;
    border: none;
    font-size: 0.9em;
    cursor: pointer;
  }
  .map-itineraire-bubble button:hover {
    background: none !important;
    opacity:0.8;
  } 
  
  .participants-ul {

    list-style: none;
    padding: 0;
    margin: 0;

}

.participant-slot {
    text-align: left;
    padding: 4px;
    position: relative;
    line-height: 45px;
    font-size: 13px;
    font-weight: bold;
}

.participant-info {
    line-height:45px;
    font-size: 13px;
}

.participant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right:15px;
    float:left;
}
.participant-icon {
    width: 32px;
    height: 32px;
    margin-left:15px;
    float:right;
}

.owner {
    font-size:14px;
}

.remove-slot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 14px;
    color: red;
    cursor: pointer;
}

.event-participants h4 {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 0.5em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    border-bottom: 1px solid black;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    left:0;
}

.modal-box {
    background-color: #fff;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    padding:10px;
    top:60px;
    overflow-x: hidden;
    border-radius: 12px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

/* Contenu modal (profil utilisateur) */
.profil-user-modal {
    padding: 20px;
    box-sizing: border-box;
}
.user-info-section {
    line-height: 24px;
}


.modal-box button {
    margin: 10px;
    padding: 8px 16px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    background: #eee;
    transition: background 0.3s;
}
.modal-box button:hover {
    background: #ddd;
}

.event-participants .msg_information {
    font-size:12px;
    color:red;
    float:right;
}
.participant-info a {
    text-decoration: none;
}
.participant-info a:hover {
    color:#e68900;
}
.user-modal-content {
  width: 90vw;
  height: 80vh;
  overflow-y: auto;
  padding: 20px;
  background: #fff;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: 15px;
}

.user-sticker {
  position: absolute;
  top: -17px;
  right: 0px;
  background: #000000;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  text-transform: uppercase;
  z-index:10;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
#close-modal {
  cursor: pointer;
  margin-top:50px !important;
}

.user-profile {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.profile-photo {
  width: 250px;
  height: 300px;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.profile-infos {
  flex: 1;
}

.user-details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.user-col {
  flex: 1 1 45%;
}

.user-tags {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.user-tags li,
.user-tag {
  background: #eee;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.user-sports {
  list-style: none;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
}

.user-sports li,
.user-sports {
  background: #a1f291;
  padding: 6px 12px;
  line-height: 18px;
  border-radius: 20px;
  font-size: 12px;
}

.user-tabs {
  margin-top: 20px;
}

.user-tab-menu {
  display: flex;
  list-style: none;
  padding: 0;
  border-bottom: 2px solid #ddd;
  margin-bottom: 15px;
}

.user-tab-menu li {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.user-tab-menu li.active {
  border-bottom-color: #339af0;
  font-weight: bold;
}

.user-tab-content {
  display: none;
}

.user-tab-content.active {
  display: block;
}
.user-photo-slider-container {
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    box-sizing: border-box; /* ✅ empêche dépassement */
}

.user-photo-slider {
    width: 100%;
    height: 100%;
}

.user-photo-slider .swiper-wrapper {
    height: 100%;
}

.user-photo-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.user-photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

/* Pagination */
.swiper-pagination-bullet {
    background-color: white;
    opacity: 0.6;
}
.swiper-pagination-bullet-active {
    background-color: #fff;
    opacity: 1;
}




.nav-tabs {
    display: flex;
    gap: 1rem;
    margin-top: 20px;
}
.nav-tabs li {
    cursor: pointer;
    padding: 10px;
    background: #e5e5e5;
    border-radius: 6px;
}
.nav-tabs li.active {
    background: #0073aa;
    color: white;
}
.tab-panel {
    display: none;
    margin-top: 20px;
}
.tab-panel.active {
    display: block;
}
/* Recherche */

.filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.filtres input,
.filtres select {
    padding: 8px;
    font-size: 14px;
    min-width: 49%;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.filtres input{
   min-width: 46%;
}

#resultats-membres,#resultats-partenaires {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card-membre {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-membre img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.card-membre h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
}

.card-membre .infos {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
}

.card-membre .btn-favori {
    background-color: #ff3366;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}

.card-membre .btn-favori.remove {
    background-color: #ccc;
}

.card-membre .btn-favori:hover {
    opacity: 0.8;
}

select option.select-placeholder {
    font-weight: bold;
    color: #999;
}
.criteres-wrapper {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.criteres-wrapper label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.criteres-wrapper input[type="range"] {
    width: 100%;
    margin-top: 8px;
}


.criteres-wrapper span {
    font-weight: bold;
    margin-left: 10px;
}


.tab-titles {
    border-bottom: 1px solid #ddd;
    background-color: #f7f7f7;
    border-radius: 12px 12px 0 0;
    padding: 10px 15px;
    font-weight: bold;
}

.tab-title {
    font-size: 16px;
    margin-right: 20px;
}

.full {
    width: 100%;
    clear: both;
}

.bttn-filtre {
    float:right;
    position: relative;
    top:-6px;
    padding: 8px 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

.criteres-form {
    padding: 10px;
}

.criteres-form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 8px;
}

.criteres-form .col {
    flex: 1;
    min-width: 150px;
}

.criteres-form .col-btn {
    display: flex;
    align-items: end;
}

.criteres-form input[type="range"] {
    width: 100%;
}

.criteres-form label {
    font-weight: 500;
    display: block;
}
.recherche-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filtres-container {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  background-color: #fff;
}

.tab-content  {
    padding :15px;
}
.resultats-wrapper {
    width: 97%;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 20px;
}

#resultats-membres.membres-grid,#resultats-partenaires.membres-grid, .favoris-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.help {
    text-align:right;
}

.favoris-grid {
    padding:20px;
}

/* Bouton invitation */
.favoris-grid .bttn-filtre {
    background-color: #000000;
}

.favoris-grid .bttn-filtre:hover {
    background-color: #333;
}

/* Empêche le form de s'étirer comme un bloc plein */
#form-recherche-membres {
    display: inline-block;
    width: auto;
    margin: 0 auto;
}


/* Remet les styles corrects aux conteneurs */
.criteres-container,
.filtres-container {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0px;
    flex: 1 1 320px;
    box-sizing: border-box;
}

/* Corrige l’affichage dans les .row */
.criteres-form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.criteres-form .col {
    flex: 1 1 45%;
    min-width: 140px;
}

.criteres-form .col-btn {
    align-items: flex-end;
}

/* Re-style du bouton */
.bttn-filtre {
    float: right;
    background-color: #007cba;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.bttn-filtre:hover {
    background-color: #005fa3;
}

/* Harmonisation inputs/selects */
.filtres input,
.filtres select {
    padding: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
}

select option.select-placeholder {
    font-weight: bold;
    color: #999;
}


/* ✅ Formulaire des critères */
.criteres-form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}
.criteres-form .col {
    flex: 1;
    min-width: 160px;
}
.criteres-form input[type="range"] {
    width: 100%;
}
.criteres-form label {
    display: block;
    font-weight: 500;
}

/* ✅ Filtres */
.filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filtres input,
.filtres select {
    flex: 1 1 48%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.label_range {
   float: right;
}

.card-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.btn-favori {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-favori.remove {
    background-color: #ccc;
    color: #000;
}

.btn-favori:hover {
    opacity: 0.8;
}

.btn-secondary {
    background-color: #eee;
    color: #333;
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s ease;
}

.btn-secondary:hover {
    background-color: #ddd;
}

.interets-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.interet-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-sizing: border-box;
}

.interet-box img {
    max-height: 30px;
    max-width: 30px;
    object-fit: contain;
    cursor: pointer;
}
#invited-event-list .custom-event-slider {
    width: 100%;
    overflow: hidden;
}

#invited-event-list .swiper-slide {
    width: 300px; /* même taille que tes autres cartes */
    flex-shrink: 0;
}
/* Slider */
.photo-slider img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

/* Badge type */
.badge-type {
    background: #6b5c5c;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 10px;
}

/* Nom + desc */
.profil-nom {
    font-size: 20px;
    margin: 0;
    color: #ff9800;
}
.profil-desc {
    font-size: 14px;
    color: #444;
}

/* Tags intérêts */
.tags .tag {
    display: inline-block;
    background: #eee;
    color: #000;
    padding: 4px 8px;
    margin: 3px;
    border-radius: 6px;
    font-size: 12px;
}

/* Lieux associés comme bloc_event */
.lieux-associes {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 5px;
    margin-top: 20px;
}
.bloc_event {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}
.lieux-tags {
  list-style: none;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
}

.lieux-tags li,
.lieux-tags {
  background: #f5f5f5;
  padding: 6px 12px;
  line-height: 18px;
  border-radius: 20px;
  font-size: 12px;
}

  .partners-tag-interest {
    float:right;
    width:fit-content;
    padding: 5px 10px;
    border-radius: 0 8px 0 8px;
    color: #fff;
    background-color: #55aa39;
    font-size: 0.8em;
  }

  /* === Bloc global de la FAQ === */
.faq-wrapper {
  width: 99%; /* quasi plein écran */
  max-width: 1920px;
  margin: 100px auto 220px auto; /* plus d'espace en bas */
  padding: 40px 30px 100px; /* réduit la marge latérale, augmente celle du bas */
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

/* === Conteneur des colonnes === */
.faq-container {
  display: grid;
  padding-top:10px;
  padding-bottom:10p;
  grid-template-columns: repeat(5, minmax(250px, 1fr)) !important;
  gap: 20px 30px; /* moins d’espace horizontal, plus d’espace vertical */
  justify-content: center;
  align-content: start;
  box-sizing: border-box;
}


/* === Cartes de catégorie === */
.faq-category {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  height: 90%;
  transition: all 0.25s ease;
}
.faq-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* === Titre === */
.faq-category-title {
  text-align: center;
  color: #ff6600;
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 2px solid #ff660033;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

/* === Questions === */
.faq-item {
  border-bottom: 1px solid #f2f2f2;
  padding: 8px 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #222;
  text-align: left;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}
.faq-question:hover {
  color: #ff6600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: #444;
  font-size: 0.9rem;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  opacity: 1;
  padding-top: 0.4rem;
}

/* === Responsive === */
@media (max-width: 1600px) {
  .faq-container { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1200px) {
  .faq-container { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .faq-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .faq-container { grid-template-columns: repeat(1, 1fr); }
}

/* Bloc générique pour formulaires et sections */
.kroma-block {
    width: 80%;
    max-width: 900px;
    margin: 40px auto;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}


/* Header */
.kroma-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f4a261;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.kroma-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.kroma-header .dashicons {
    font-size: 22px;
    color: #f4a261;
}

/* Texte principal */
.kroma-content p {
    color: #444;
    margin-bottom: 15px;
}

/* Lien de parrainage */
.kroma-ref {
    background: #fef3e2;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.kroma-link {
    display: inline-block;
    background: #f4a261;
    color: #fff;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.kroma-link:hover {
    background: #e76f51;
}

/* Boutons de partage */
.kroma-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 20px;
}

.kroma-share-btn {
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s, background 0.2s;
}

.kroma-share-btn:hover {
    transform: translateY(-2px);
    background: #f4a261;
}

/* Zone de validation */
.kroma-proof-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.kroma-proof-line select,
.kroma-proof-line input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    flex: 1;
    min-width: 150px;
}

.kroma-btn-orange {
    background: #f4a261;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.kroma-btn-orange:hover {
    background: #e76f51;
}

.event-premium {
    border-radius: 12px;
    border: 2px solid #ffd700;

    /* Halo doré puissant au centre, qui se fond dans du blanc */
    box-shadow:
        0 0 12px rgba(255, 215, 0, 0.7),   /* cœur doré fort */
        0 0 28px rgba(255, 240, 180, 0.45),/* diffusion dorée claire */
        0 0 48px rgba(255, 255, 255, 0.6); /* fondu blanc soft */
}

.event-premium .event-onglet,.event-premium .card-buttons a.btn-secondary {
    background-color: #ffd700!important;
}
.filtres-container {
    position: relative;
}

/* Désactivation MAIS lisible */
.filters-locked .filtres-inner {
    opacity: 1; /* 100% lisible */
    filter: grayscale(15%) brightness(95%); /* juste un petit voile */
    pointer-events: none; /* désactive */
}

/* Overlay : transparent mais visible */
.filters-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;

    background: rgba(255, 255, 255, 0.25); /* léger voile blanc, lisible mais clair */
    backdrop-filter: blur(1px); /* ultra léger flou */
    
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    z-index: 20;
}

/* Texte + cadenas */
.filters-locked-content {
    text-align: center;
    color: #444;
    font-size: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.icon-lock {
    display: block;
    font-size: 36px;
    color: #c9a200;
    margin-bottom: 8px;
}

/* Bouton Abonnement premium */
.btn-abonnement {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #ffd700, #f0c100);
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.35);
    transition: 0.2s;
}

.btn-abonnement:hover {
    background: linear-gradient(135deg, #f0c100, #d9ad00);
}

.wp-block-table table {
    width:80%;
    margin-left:10px;
    border-radius: 15px;
}

.infos-user-box {
    background: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    font-size: 15px;
    max-width: 500px;
    margin-left:10px;
}

.infos-user-ligne {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.infos-user-ligne strong {
    color: #444;
}
.infos-user-box ul {
    list-style: none;  
    padding-left: 0;
    margin: 10px 0 15px 0;
}

.infos-user-box ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    font-size: 15px;
    color: green;
    line-height: 1.35;
}

/* Pastille premium */
.infos-user-box ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: -2px;

    width: 22px;
    height: 22px;
    border-radius: 50%;

    background: #4caf50;           /* vert premium */
    color: #fff;
    font-weight: bold;
    font-size: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}



.account-subscription {
    margin: 5px 0 0px;
    padding: 5px;
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    font-size: 12px;
}

.account-subscription .subscription-line,
.account-subscription .credits-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 4px;
    padding-bottom:4px;
}

.account-subscription .label {
    color: #cfcfcf;
    font-weight: 500;
}

/* Abonnement */
.account-subscription .value.gratuit {
    color: #aaa;
}

.account-subscription .value.premium {
    color: #f5c542;
}

/* Crédits */
.account-subscription .value.credits {
    background: #ff9800;
    color: #000;
    padding: 2px 9px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
}

/* Alerte */
.credits-warning {
    color: #fff;
    padding: 5px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}
.account-subscription a {
    text-decoration: none;
    color:white;
}

.account-subscription .abonnement-link {
    font-weight: 700;
}

.account-subscription .value:hover {
    opacity: 0.85;
}

.page-404-simple {
    width: 100%;
    text-align: center;
}

.img-404 {
    width: 100%;
    height: auto;
    display: block;
    text-align: center;
}
.conditions-validation {
    margin-top: 20px;
    background-color: #f5f1f1;
    display: block;
    padding:20px;
    border-radius: 20px;
}

.conditions-title {
    font-weight: 600;
    padding-bottom: 10px;
}

.conditions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.conditions-list li {
    margin-bottom: 10px;
}

.conditions-list label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 18px;
}

.conditions-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.conditions-list a {
    color: #7a2cff;
    font-weight: 600;
    text-decoration: none;
}

.conditions-list a:hover {
      color: grey;
}

.acf-success-message {
    padding: 15px;
    background: #e6fff1;
    border: 1px solid #2ecc71;
    color: #2ecc71;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

.pack-noisette-box {
    max-width: 300px;
    margin: 10px;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.pack-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px !important;
    margin-bottom: 15px !important;
}

.pack-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ff8c00; /* Ton orange */
}

.bonus-row {
    background-color: #f0fff4; /* Un vert très léger pour le bonus */
    padding: 8px !important;
    border-radius: 4px;
}

.bonus-valeur {
    color: #27ae60;
    font-weight: bold;
}

/* Alignement responsive pour mobile */
@media (max-width: 600px) {
    .pack-noisette-box {
        display: block;
        margin: 15px auto;
        max-width: 100%;
    }
}

.abonnement-card {
    max-width: 320px;
    margin: 10px;
    display: inline-block;
    vertical-align: top;
    border: 1px solid #d1d1d1;
    background: #fdfdfd;
}

.abo-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #6200ea; /* Une couleur différente (violet) pour l'abonnement */
}

.abo-price small {
    font-size: 0.8rem;
    color: #777;
    font-weight: normal;
}

.bonus-label-abo {
    font-size: 0.9rem;
    line-height: 1.3;
    display: block;
    color: #444;
    font-style: italic;
}

/* On peut changer la couleur du bouton pour l'abonnement si tu veux */
.abonnement-card .btn-abonnement {
    background-color: #6200ea; 
    display: block;
    text-align: center;
}

.abonnement-card .btn-abonnement:hover {
    background-color: #4500b5;
}

.total-row {
    background-color: #fff9db; 
    border-radius: 4px;
    padding: 8px !important;
    margin: 5px 0 !important;
}
.total-valeur {
    font-weight: 800;
    color: #333;
}

/* Titre plus visible */
.glameeto-pack-title {
    font-size: 1.6rem !important;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

/* Container des bonus */
.glameeto-bonus-wrapper {
    margin: 10px 0;
    padding: 5px 0;
}

.glameeto-bonus-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.glameeto-bonus-list li {
    position: relative;
    padding-left: 28px !important;
    margin-bottom: 8px !important;
    color: #27ae60 !important;
    font-weight: bold;
    font-size: 0.95rem;
    line-height: 1.2;
}

/* Le rond vert */
.glameeto-bonus-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #27ae60;
    border-radius: 50%;
}

/* Le "V" blanc (checkmark) */
.glameeto-bonus-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 5px;
    width: 7px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* Optionnel : Légère ombre sur la box pour la mettre en avant */
.pack-noisette-box, .abonnement-card {
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.pack-noisette-box:hover, .abonnement-card:hover {
    transform: translateY(-3px);
}

/* Container global pour bien aligner les cartes sur une ligne */
.pricing-container {
    display: flex;
    flex-wrap: wrap; /* Permet de passer à la ligne sur mobile */
    gap: 20px;
    justify-content: center;
    align-items: stretch; /* Force toutes les cartes à avoir la même hauteur */
}

/* Style des cartes */
.pack-noisette-box, .abonnement-card.flex-card {
    display: inline-flex !important; /* Pour rester côte à côte */
    flex-direction: column;
    width: 300px; /* Taille fixe pour garder l'alignement */
    min-height: 280px; /* On augmente un peu pour être large */
    margin: 10px;
    vertical-align: top;
}

/* On regroupe le contenu du haut */
.card-top-content {
    flex-grow: 1; /* Prend tout l'espace disponible */
}

/* On force le bouton tout en bas */
.abonnement-stop-wrapper {
    margin-top: auto !important; 
    padding-top: 15px;
}

/* Titre bien gros comme demandé */
.glameeto-pack-title {
    font-size: 1.6rem !important;
    font-weight: 800;
    display: block;
}

/* On cible via le body et la classe du champ pour écraser les styles du thème */
body .acf-field .acf-instructions.error {
    color: #ff0000 !important;
    font-weight: bold !important;
    opacity: 1 !important;
    display: block !important;
    margin-top: 8px !important;
}

body .acf-field .acf-instructions.success {
    color: #27ae60 !important;
    font-weight: bold !important;
}
/* Container principal : Centré et responsive */
.ga-gestion-container {
    max-width: 600px; /* On réduit la largeur pour que ce soit plus élégant au centre */
    margin: 60px auto; /* 60px en haut, auto à gauche/droite pour centrer */
    padding: 0 20px;
}

/* Titre de l'article (au-dessus du bloc blanc) */
.ga-page-title {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* LE BLOC BLANC GESTION */
.ga-card-gestion {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Titres de section (Désactiver, Supprimer) */
.ga-section-title {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* LISTE AVEC TES PUCES RONDES */
.ga-liste-points {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.ga-liste-points li {
    position: relative;
    padding-left: 35px; /* Espace pour la puce ronde */
    margin-bottom: 15px;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.4;
    min-height: 22px;
    display: flex;
    align-items: center;
}

/* Tes puces circulaires (le code que tu m'as donné) */
.ga-liste-points li::before {
    content: "✔";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%); /* Centrage vertical de la puce */
    width: 22px;
    height: 22px;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px;
    border-radius: 50%;
    background: rgb(76, 175, 80); /* Vert pour désactiver */
}

/* Variante Rouge pour la section Suppression */
.ga-liste-suppression li::before {
    content: "✖";
    background: rgb(244, 67, 54);
}

/* Boutons */
.ga-btn {
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 10px;
}
.ga-warning-text {
    font-weight: bold;
    color:red;
}
.ga-message-success {
     font-weight: bold !important;
     color:green !important;
}

.ga-btn-pause { background: #ff9800; color: #fff; }
.ga-btn-delete { background: #f44336; color: #fff; }

/* Uniquement pour le Desktop */
@media (min-width: 1024px) {

    /* On cible les wrappers de section et les conteneurs de contenu principaux */
    .wp-block-getwid-section,
    .wp-block-getwid-section__wrapper,
    .entry-content > * {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }


    /* On force le contenu intérieur à ne pas dépasser une certaine largeur */
    .wp-block-getwid-section__inner-wrapper,
    .wp-block-getwid-section__content,
    .ga-card-gestion,
    .entry-content > div,
    .entry-content > section {
        max-width: 1280px !important; /* Largeur confortable pour la lecture */
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        /* Optionnel : ajoute un padding de sécurité si tu veux éviter que ça colle aux bords */
        padding-left: 40px;
        padding-right: 40px;
        box-sizing: border-box;
    }
 
}