body {
    background: #f8fafc;
    font-family: "Segoe UI", "Roboto", Arial, sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
    padding-bottom: 60px !important;
}
.container_back  {
    display:flex;
    align-items: center !important;
    flex-direction: column !important;
    color: #fff !important;
  
    width: 100% !important;

    margin: 0 !important;
    padding: 20px !important;
    
   
    height: calc(100vh - var(--menu-height, 60px)) !important;
}
.container_home_arti {
    display:flex;
    align-content: center;
    color: #fff !important;
  
    width: 100% !important;

    height: auto !important;
    margin: 0 !important;
    padding: 10px !important;
    align-items: center;
    justify-content: center;
}

.container_main {
    width: 100% !important; /* Occuper toute la largeur */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centre verticalement et horizontalement */
    /* Calculer la hauteur minimale pour remplir l'espace disponible */
    height: calc(100vh - var(--menu-height, 60px)); /* 100vh - hauteur approx du header + footer */
    padding: 20px; /* Ajouter un peu d'espace */
}
.container_back h1 {
    color: #fff !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}
.container_back h2 {
    color: #fff !important;
    background-color: transparent !important;
}
.container_back h3 {
    color: #000 !important;
    background-color: transparent !important;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;

}
.menu-item-integration {
    background-color: transparent !important;
    color: #fff !important;
    border-radius: 0px;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: calc(var(--menu-height, 60px) - 20px) !important; /* Hauteur fixe de 120px */
    margin: 0px;
    padding: 10px; /* Padding ajusté pour mieux utiliser l'espace */
    
    overflow: none; /* Évite le débordement */
    text-overflow: ellipsis; /* Ajoute des points de suspension si le texte est trop long */
    white-space: nowrap; /* Empêche le retour à la ligne */
    gap: 3px !important;
    line-height: 1 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;

    
}
.menu-item-integration {
    width: fit-content !important;
    height: 100% !important;
    display: flex;
    color: #fff !important;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.menu-item-integration h2 {
    font-size: 1rem !important;
    color: #fff !important;
}
.menu-item span {
    font-size: 1rem !important;
    color: #fff !important;
}
.menu-item h2 {
    font-size: 1rem !important;
    color: #fff !important;
}
.content-text {
    color: #000 !important;
   /*  background-color: rgba(0, 100, 0, 0.75) !important; */
   background: linear-gradient(90deg, yellow 0%, orange 100%) !important;
    border-radius: 0px !important;
    border: 2px solid #000 !important;
    margin: 0px;
    padding: 0px;
    font-size: 16px !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 40px) !important;
    display: flex;
}
.content-text-home {


border-radius: 0px;
border: 1px solid transparent;
margin: 20px;
padding: 10px;
font-size: 16px !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
}

.bouton {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: fit-content;
    background-color: darkgreen;
    color: #fff !important;
    padding: 4px 8px !important;
}

.creneaux { margin-left: 30px; margin-bottom: 15px; }
        .jour { margin-bottom: 20px; }
        label { margin-right: 10px; }

.login-container, .register-container {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    margin: 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #fff;
    padding: 20px;
    border-radius: 0px;
    display: flex;
}
.register-container {
    width: 100% !important;
    margin: 20px;
    align-items: center;
    justify-content: center;
}
#registerForm {
    width: 100% !important;
    margin: 20px;
    align-items: center;
    justify-content: center;
}
/* Nouvelle structure du menu avec logo en haut */
.menu-container {
    display: flex;
    flex-direction: row !important;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 0px;
    position: sticky;
    top: 0;
    z-index: 100; /* Réduire de 1000 à 100 */
    /* Effet de verre dépoli clair avec backdrop-filter */
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important; /* Support Safari */
    color: #fff !important;
    padding: 10px;
    border-radius: 0px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    /* Ajout d'une bordure subtile pour renforcer l'effet de verre */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Ombre portée pour renforcer l'effet de profondeur */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.menu-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.content-section {
   width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
    bottom: 0 !important;
    top: 0 !important;
    height: auto !important;
}
.content-planning {
    background: rgba(0, 0, 0, 0.75) !important;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    border-radius: 0px;
    width: calc(100% - 40px) !important;
     display: flex; flex-direction: column; 
    border: 2px solid #fff !important; align-items: center; justify-content: center;
    margin-top: 20px;
    
}
.menu-content-section {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    flex-wrap: wrap;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: auto !important;
    z-index: 999;
    transform: translateY(0%) !important;
    max-height: 50px;
    background-color: transparent !important;
    margin-bottom: 0px;
}

.logo img {
  
    width: auto;
    /* filter: brightness(0) invert(1); */ /* Commenté pour résoudre le problème d'espace blanc */
}

/* Réduire la taille des boutons du menu */
.menu-nav-container {
    display: flex;
    flex-direction: column;
    gap: 1px;
    justify-content: center;
    align-items: center;
    margin: 0px !important;
    padding: 0px !important;
    width: 100%; /* Largeur minimale réduite */
    height: 100% !important;
    position: relative;
    top: 0%;
    left: 0px;
    transform: translateY(0%) !important;
}

.nav-btn {
    width: 100%;
    font-size: 0.9em !important; /* Taille de police réduite */
    padding: 4px 8px !important; /* Padding réduit */
}
.menu-item-logo {
    background-color: transparent !important;
    color: #fff !important;
    border-radius: 0px;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px !important; /* Hauteur réduite de 120px à 100px */
    margin: 5px;
    padding: 0;
  

    white-space: nowrap;
    gap: 3px !important;
    line-height: 1 !important;
    padding-left: 8px !important; /* Padding réduit */
    padding-right: 8px !important;
 /* Largeur maximale */
}
/* Réduire la taille des menu-items */
.menu-item {
    background-color: transparent !important;
    color: #fff !important;
    border-radius: 0px;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 100px !important; /* Hauteur réduite de 120px à 100px */
    margin: 5px;
    padding: 0;
    overflow: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    gap: 3px !important;
    line-height: 1 !important;
    padding-left: 8px !important; /* Padding réduit */
    padding-right: 8px !important;
    min-width: auto !important; /* Remplacer 150px par auto */
    max-width: none !important; /* Remplacer 200px par none */
}

.menu-item h2 {
    font-size: 0.9rem !important; /* Taille réduite */
    color: #fff !important;
    margin: 2px 0;
}

.menu-item span {
    font-size: 0.85rem !important; /* Taille réduite */
    color: #fff !important;
}

/* Ajuster les boutons dans les menu-items */

/* Style pour les boutons de connexion */
.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: auto !important; /* Remplacer 120px par auto */
}

/* Cartes de fonctionnalités */
.info-block {
    /* Effet de verre dépoli clair avec backdrop-filter */
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important; /* Support Safari */
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    display: flex; /* Ajouté pour la hauteur égale */
    flex-direction: column; /* Ajouté */
    /* Ombre portée pour renforcer l'effet de profondeur */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
 

.info-block:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.categorie-container {
    display: flex;
    flex-direction: column;
    height: 100%; /* S'assure que le conteneur prend toute la hauteur */
    border-radius: 4px !important;
   
}

.categorie-container h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #28003c !important;
    margin-bottom: 0.75rem;
    background-color: #ffe066 !important;
    width: 100% !important;
    padding: 1rem !important;
    margin-top: 0.75rem !important;
}

.categorie-container p {
    margin-bottom: 1rem;
    flex-grow: 1; /* Permet au paragraphe de pousser la liste en bas */
}

.categorie-container ul {
    list-style: none;
    padding-left: 0;
    margin-top: auto; /* Pousse la liste en bas */
}

.categorie-container li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.categorie-container li::before {
/*     content: '✔'; */
    position: absolute;
    left: 0;
    color: var(--color-primary);
}


#prestations-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    justify-items: center;
    margin: 0px;
    max-width: 100%;
   /*  padding: 20px;
    background-color: rgba(255, 255, 255, 0.5) !important; */
} 
/* Modernisation du formulaire de disponibilités */
#dispoForm, #form-prestations {
    background: transparent !important;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px;
    margin: 0px auto;
    max-width: 700px;
    color: #fff !important;
}

#dispoForm h2, #form-prestations h3 {
    text-align: center;
    color: #fff !important;
    margin-bottom: 24px;

}

.jour {
    border-bottom: 1px solid transparent;
    padding: 0px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jour2 {
    color: #fff !important;
    padding: 0px 0;
    display: flex;
    flex-direction: row;

    gap: 8px;
}

.jour:last-child {
    border-bottom: none;
}

.jour strong {
    font-size: 1.1em;
    color: #fff !important;
}

.jour label {
    margin-right: 16px;
    font-weight: 500;
    color: #fff !important;
}

.creneaux, .creneaux_details {
    margin-left: 24px;
    margin-top: 8px;
}

input[type="time"], input[type="number"] {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 4px 8px;
    margin: 0 4px;
    font-size: 1em;
    background: #f9fafb;
    transition: border 0.2s;
}

input[type="time"]:focus, input[type="number"]:focus {
    border: 1.5px solid #4f8cff;
    outline: none;
}

.menu-nav-container {
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding: 20px;
}
.nav-btn {
width: 100%;


}
.bouton, .btn {
    background: linear-gradient(90deg, #4f8cff 0%, #6ed0f6 100%);
    color: #fff !important;
    border: none;
    border-radius: 8px;

    font-size: 1em !important;
    font-weight: 600;
    margin-top: 0px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(79,140,255,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.bouton:hover, .btn:hover {
    background: linear-gradient(90deg, #357ae8 0%, #4f8cff 100%);
    box-shadow: 0 4px 16px rgba(79,140,255,0.15);
}

.categorie-container {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.75) 0%, rgba(118, 75, 162, 0.75) 100%) !important;
    border-radius: 0px;
    margin-bottom: 18px;
    padding: 0;
    box-shadow: 0 1px 4px rgba(79,140,255,0.04);
    width: auto;
    color: #fff !important;
    justify-content: center;
    align-items: center;

}
.categorie-container h4 {
    color: #fff !important;
    background-color: rgba(0, 100, 0, 0.5) !important;
    border-radius: 0px; 
    align-items: center;
    text-align: center;
    padding: 10px;
    margin: 10px;
}
.categorie-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px !important;
    color: #fff !important;
}
.categorie-group strong {
    color: orange;
    font-size: 1.08em;
}

.form-check {
    margin-bottom: 8px;
}

.form-check-input[type="checkbox"] {
    accent-color: orange;
    width: 18px;
    height: 18px;
}

.form-check-label {
    font-size: 1em;
    color: #fff !important;
}

#compteur-prestations {
    color: red;
    margin-left: 8px;
}

.container_full {
    display: flex;
    flex-direction: column !important;
    width: 100%;
    margin: 0px;
    justify-content: center; /* Centre horizontalement */
    z-index: -1;
    
}
.container_full_param {
    display: flex;
    flex-direction: row !important;
    width: 100%;
    margin: 0px;
    justify-content: center; /* Centre horizontalement */
    z-index: -1;
    
}
    .container_half, .container_half_shots {
       
        
        display: flex;
        flex-direction: column;
        margin: 20px !important;
        justify-content: space-evenly !important; /* Aligne en haut au lieu de centrer */
        z-index: -1;
        background-color: rgba(0, 0, 0, 0.75) !important;
        border: 2px solid #fff;
        width: 100%;
    }
    .container_half_param {
        
        
        display: flex;
        flex-direction: column;
        margin: 20px !important;
        justify-content: space-evenly !important; /* Aligne en haut au lieu de centrer */
        z-index: -1;
        background-color: rgba(0, 0, 0, 0.75) !important;
        border: 2px solid #fff;
        width: 50%;
    }


.container_param {
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px) !important;
    margin: 10px !important;
    align-items: center !important;
}

.table thead th {
    vertical-align: middle;
    text-align: center;
    font-weight: 600;
    /* Effet de verre dépoli clair avec backdrop-filter */
   
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important; /* Support Safari */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 9999 !important;
    /* Ombre portée pour renforcer l'effet de profondeur */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Transition pour une animation fluide */
    transition: all 0.3s ease;
}

/* Styles de survol pour le thead */
.table thead th:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Styles pour le focus (accessibilité) */
.table thead th:focus {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: -2px;
}

/* S'assurer qu'il n'y a pas de fond blanc par défaut */
.table thead,
.table thead tr,
.table thead th {
    background: rgba(0, 0, 0, 0.15) !important;
}

/* Éviter les styles de survol par défaut du navigateur */
.table thead th:hover,
.table thead th:focus,
.table thead th:active {
 /*    background-color: transparent !important; */
}

.table tbody td {
    vertical-align: middle;
    text-align: center;
    border: none;
}



.table-container {
    background-color: transparent !important;
    color: #000 !important;
    margin-top: 10px;

    border-collapse: collapse;
    border: 2px solid #000;

    border-radius: 0px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 0px;
    margin-left: 10px;
    margin-right: 10px;
    



}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: rgba(0,0,0,0.85) !important;
    color: #fff !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255,255,255,0.85) !important;
    color: #000 !important;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #212529;
    letter-spacing: 1px;
}

/* Pour la selectpicker, le placeholder est affiché dans le bouton généré */
.bootstrap-select .dropdown-toggle .filter-option {
    color: #333 !important; /* gris foncé au lieu de blanc */
    opacity: 1;
}

/* Ajouter des styles pour améliorer la lisibilité */
.bootstrap-select .dropdown-toggle {
    color: #333 !important;
}

.bootstrap-select .dropdown-menu li a {
    color: #333 !important;
}

.bootstrap-select .dropdown-menu li a:hover {
    color: #000 !important;
    background-color: #f8f9fa;
}

/* Pour les options sélectionnées */
.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    color: #333 !important;
}

select[name="activite"][title="type_entreprise"] + .dropdown-toggle .filter-option-inner-inner {
    color: #333 !important;
}



.content-text .bouton,
.content-text .btn {
    margin-top: 0;
}

#popup-success {
    display: flex;
    position: fixed;
    top: 20px;
    left: 20px;
    background: #28a745;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    z-index: 999999999 !important; /* Augmenter le z-index et ajouter !important */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 2s;
    /* Ajouter ces propriétés pour forcer l'affichage au-dessus de tout */
    position: fixed !important;
    transform: translateZ(0) !important; /* Forcer un nouveau contexte d'empilement */
}



#copy-link-popup.visible {
    opacity: 1;
    pointer-events: auto;
}

#popup-success.visible, #copy-success.visible {
    opacity: 1;
    pointer-events: auto;
}
.creneau-suppr-btn {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.creneau-suppr-btn:hover {
    background: #c82333;
}
.logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto;
    z-index: 999;
}

.table-scroll-container {
    position: relative !important; /* Garder relative */

    overflow-x: auto !important; /* Garder le scroll horizontal pour le tableau */
    background: transparent;
    z-index: 1;
    /* Supprimer les anciennes règles de positionnement qui causent les conflits */
    top: 0 !important;
    height: 100% !important;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #000 !important;
    width: auto;
    
/* Limiter la hauteur pour les grands écrans */
}

.table {
    min-width: auto; /* Remplacer 600px par auto */
    width: 100%; /* Ajouter une largeur de 100% */
    max-width: 100%; /* S'assurer que la table ne dépasse pas */
}
.table-dark {
    margin-top: 0px;
    position: sticky;

    top: 0px;
    z-index: 9999 !important;
}

/* Définir une hauteur par défaut plus précise pour éviter le flash */
:root {
    --menu-height: auto; /* Hauteur approximative du menu */
}
.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.login-buttons .btn {
    width: 100%;
}
.container-map {
    display: flex;

    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: transparent !important;

    flex-direction: column;
    
    padding: 0px;
    border-radius: 0px;
    width: 100%;
    height: auto;
  
}
.home-container {
    display: flex;

    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: transparent !important;

    flex-direction: column;
    
    padding: 0px;
    border-radius: 0px;
    width: 100%;
    height: 100%;
  
}
.home-container-half {
    background-color: rgba(0, 0, 0, 0.5) !important;
    width: auto;
    margin: 10px !important;
    border: 2px solid #fff;
    padding: 20px;

}
.home-container h1 {
    color: #fff !important;
    background-color: transparent !important;
}
.btn-violet-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;

}
.logo-home {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto;
    transform: none;
}

/* Nouvelle classe pour centrer le logo quand l'utilisateur n'est pas connecté */
.menu-container:not(.user-connected) .logo {
    justify-content: center;
    width: 100%;
}

/* Classe pour aligner le logo à gauche quand l'utilisateur est connecté */
.menu-container.user-connected .logo {
    justify-content: flex-start;
    margin-left: 20px;
}

.screenshots-section {
    margin: 0px !important;
    padding: 0px !important;
}

.screenshots-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100vw;
    margin: 0 auto;
}

.screenshot-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.screenshot-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.screenshot-item p {
    padding: 1rem;
    margin: 0;
    background: #f8f9fa;
    font-weight: 500;
    color: #333;
}
.footer-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    margin: 0px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-top: 0px solid #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    position: fixed !important; /* Changer de sticky à fixed */
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1001 !important; /* Augmenter le z-index */
    height: 50px; /* Définir une hauteur fixe */
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1); /* Ajouter une ombre */
}

/* Ajuster le padding du body pour éviter que le contenu soit caché par le footer */
body {
    padding-bottom: 60px !important; /* Espace pour le footer */
}



/* S'assurer que le footer est toujours visible */
.footer-container * {
    color: #fff !important;
}

.footer-container img {
    max-height: 30px;
    width: auto;
}
.abo-btn {
    color: #000 !important;
    background: linear-gradient(90deg, yellow 0%, orange 100%) !important;
    border: none;
    border-radius: 8px;

    font-size: 1em !important;
    font-weight: 600;
    margin-top: 0px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(79,140,255,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cta-btn {
    color: #000 !important;
    background: linear-gradient(90deg, yellow 0%, orange 100%) !important;
    border: none;
    border-radius: 8px;
    font-size: 1em !important;
    font-weight: 600;
    margin-top: 0px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(79,140,255,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

/* Effet de brillance automatique */
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    animation: shine 2s ease-in-out infinite;
    z-index: 1;
}

/* Animation de brillance */
@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* S'assurer que le texte reste au-dessus de l'effet de brillance */
.cta-btn > * {
    position: relative;
    z-index: 2;
}
.info-blocks-container {
    display: flex;
    flex-direction: row;
    align-items: stretch !important; /* Changé de center à stretch pour un alignement parfait */
    justify-content: center;
    gap: 50px;
    background-color: transparent !important;
    border-radius: 16px !important;
    min-height: 100%; /* Assure une hauteur minimale */
    width: auto;
}

/* Ajouter des styles pour les blocs enfants */
.info-blocks-container .info-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    /* Permet aux blocs de s'étendre uniformément */
    height: 100%; /* Assure que tous les blocs ont la même hauteur */
    margin-top: 0px;
    margin-bottom: 0px;
}

.info-blocks-container .categorie-container {
    height: 100%; /* Force la hauteur à 100% */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.info-blocks-container h2 {
    text-align: center;
    color: #fff !important;
    background-color: transparent !important;
}
.info-blocks-container p {
    color: #fff !important;
    background-color: transparent !important;
}

.info-blocks-container span {
    color: #fff !important;
    background-color: transparent !important;
}
.info-blocks-container strong {
    color: #fff !important;
    background-color: transparent !important;
}

/* Styles spécifiques pour la popup de copie */
#copy-container {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
}

#copy-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* S'assurer que la popup est visible au-dessus des autres éléments */
#copy-link-popup.visible {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
.prestations-ranking {
    border-left: 2px dotted yellow;
    padding-left: 10px;
}

/* Solution globale pour éviter l'overflow horizontal */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Forcer tous les conteneurs à respecter les limites */
* {
    box-sizing: border-box !important;
}

/* Ajuster les éléments avec des largeurs fixes */
.menu-item {
    min-width: auto !important; /* Remplacer 150px par auto */
    max-width: none !important; /* Remplacer 200px par none */
    width: fit-content !important;
}

.login-buttons {
    min-width: auto !important; /* Remplacer 120px par auto */
}

/* Ajuster le conteneur principal */
.container_back {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Ajuster le conteneur de la table */
.table-scroll-container {
    position: relative !important; /* Changer de fixed à relative */
    left: auto !important; /* Supprimer left: 0 */
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

/* Ajuster le footer */
.footer-container {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
}

/* Overlay simple */
#page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* La hauteur sera gérée en JS */
    background: rgba(255,255,255,0.5);
    z-index: 1;
    pointer-events: none;
}

/* S'assurer que le footer reste au-dessus */
.footer-container {
    z-index: 1001 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 50px !important;
}

/* Supprimer tous les paddings et marges problématiques */
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Supprimer les marges des conteneurs */
.container_back,
.container_home_arti {
    margin: 0 !important;
    padding: 10px !important;
}

/* Empêcher tout débordement */
* {
    box-sizing: border-box !important;
}

/* Reset COMPLET pour body et html pour qu'ils puissent grandir */
html, body {
    height: auto !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Assurer que le conteneur principal peut s'étendre */
.container_back {
    margin: 0 !important;
    padding-bottom: 70px !important; /* Espace pour le footer fixe */
}

/* L'OVERLAY EN PUR CSS */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
    pointer-events: none;
}

/* S'assurer que le menu et le footer sont AU-DESSUS de l'overlay */
.menu-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 100; /* Réduire de 1000 à 100 */

     
}

.footer-container {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important; /* Doit être supérieur à l'overlay */
    height: 50px !important;
}

/* Styles pour corriger la couleur des selectpicker - PRIORITÉ MAXIMALE */
.bootstrap-select .dropdown-toggle .filter-option,
.bootstrap-select .dropdown-toggle .filter-option-inner-inner,
.bootstrap-select .dropdown-toggle {
    color: #333 !important;
    font-weight: normal !important;
}

/* Pour les options dans le dropdown */
.bootstrap-select .dropdown-menu li a {
    color: #333 !important;
}

.bootstrap-select .dropdown-menu li a:hover {
    color: #000 !important;
    background-color: #f8f9fa !important;
}

/* Pour les options sélectionnées */
.bootstrap-select .dropdown-toggle.bs-placeholder {
    color: #6c757d !important;
}

/* Override spécifique pour les selectpicker */
.bootstrap-select .dropdown-toggle .filter-option {
    color: #333 !important;
}

/* Supprimer la règle problématique */
select[name="activite"][title="type_entreprise"] + .dropdown-toggle .filter-option-inner-inner {
    color: #333 !important; /* Changé de #fff à #333 */
}

/* Styles avec priorité maximale pour les selectpicker */
.bootstrap-select .dropdown-toggle .filter-option,
.bootstrap-select .dropdown-toggle .filter-option-inner-inner,
.bootstrap-select .dropdown-toggle {
    color: #333 !important;
    font-weight: normal !important;
}

/* Override Bootstrap theme.css */
.bootstrap-select .dropdown-toggle {
    color: #333 !important;
}

.bootstrap-select .dropdown-menu li a {
    color: #333 !important;
}

.bootstrap-select .dropdown-menu li a:hover {
    color: #000 !important;
    background-color: #f8f9fa !important;
}

/* Styles pour Select2 aussi */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333 !important;
}

.select2-container--default .select2-results__option {
    color: #333 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: #000 !important;
    background-color: #f8f9fa !important;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Responsive design */
@media (max-width: 768px) {
    .menu-content-section {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-item {
        width: 100%;
        max-width: 300px;
    }
    
    .menu-nav-container {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    #dispoForm, #form-prestations {
        padding: 12px 4px;
    }
    .categorie-group {
        padding: 8px 4px;
    }
}

/* Mobile First - Très petits écrans (320px - 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
        padding-bottom: 70px !important;
    }
    
    .menu-container {
        flex-direction: column;
        padding: 5px;
        gap: 5px;
    }
    
    .menu-item {
        width: 100%;
        max-width: 100%;
        min-height: 60px;
        margin: 2px 0;
        padding: 8px;
        white-space: normal;
        text-align: center;
    }
    
    .menu-item h2 {
        font-size: 0.8rem !important;
    }
    
    .menu-item span {
        font-size: 0.75rem !important;
    }
    
    .container_home_arti {
        flex-direction: column !important;
        padding: 5px !important;
    }
    
    .container_half, .container_half_shots {
        margin: 10px 5px !important;
        padding: 15px !important;
        width: calc(100% - 10px) !important;
    }
    
    .content-text {
        flex-direction: column;
        margin: 10px 5px;
        padding: 10px;
        width: calc(100% - 10px) !important;
        font-size: 14px !important;
    }
    
    .login-container, .register-container {
        margin: 10px 5px;
        padding: 15px;
        width: calc(100% - 10px);
    }
    
    #dispoForm, #form-prestations {
        padding: 20px 15px;
        margin: 10px 5px;
        width: calc(100% - 10px);
    }
    
    .table-scroll-container {
        margin: 0 5px;
    }
    
    .table {
        min-width: 300px;
        font-size: 12px;
    }
    
    .bouton, .btn {
        width: 100%;
        margin: 5px 0;
        padding: 12px;
        font-size: 0.9rem !important;
    }
    
    .logo {
        max-height: 40px;
    }
    
    .footer-container {
        height: 60px !important;
        flex-direction: column;
        gap: 5px;
        padding: 5px;
    }
}

/* Mobile Large - Grands smartphones (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .menu-container {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 8px;
        gap: 8px;
    }
    
    .menu-item {
        flex: 1 1 calc(50% - 8px);
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
        min-height: 70px;
        margin: 4px;
    }
    
    .container_home_arti {
        flex-direction: column !important;
        padding: 8px !important;
    }
    
    .container_half, .container_half_shots {
        margin: 15px 8px !important;
        padding: 18px !important;
        width: calc(100% - 16px) !important;
    }
    
    .content-text {
        margin: 15px 8px;
        padding: 15px;
        width: calc(100% - 16px) !important;
    }
    
    .login-container, .register-container {
        margin: 15px 8px;
        padding: 18px;
        width: calc(100% - 16px);
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    #dispoForm, #form-prestations {
        padding: 25px 20px;
        margin: 15px 8px;
        width: calc(100% - 16px);
        max-width: 600px;
    }
    
    .table {
        font-size: 13px;
    }
    
    .bouton, .btn {
        padding: 10px 15px;
        margin: 8px 0;
    }
}

/* Tablettes Portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .menu-container {
        padding: 10px;
        gap: 10px;
    }
    
    .menu-item {
        flex: 1 1 auto;
        min-width: 120px;
        max-width: 180px;
        min-height: 80px;
        margin: 5px;
    }
    
    .container_home_arti {
        flex-direction: row !important;
        padding: 10px !important;
    }
    
    .container_half, .container_half_shots {
        margin: 20px 10px !important;
        padding: 20px !important;
        width: calc(50% - 20px) !important;
    }
    
    .content-text {
        margin: 20px 10px;
        padding: 18px;
        width: calc(100% - 20px) !important;
    }
    
    .login-container, .register-container {
        margin: 20px auto;
        padding: 25px;
        width: 90%;
        max-width: 600px;
    }
    
    #dispoForm, #form-prestations {
        padding: 30px 25px;
        margin: 20px auto;
        width: 90%;
        max-width: 700px;
    }
    
    .table {
        font-size: 14px;
    }
    
    .bouton, .btn {
        padding: 12px 20px;
        margin: 10px 5px;
        min-width: 120px;
    }
}

/* Tablettes Paysage et Petits Desktop (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .menu-container {
        padding: 12px;
        gap: 12px;
    }
    
    .menu-item {
        min-width: 140px;
        max-width: 200px;
        min-height: 90px;
    }
    
    .container_half, .container_half_shots {
        margin: 25px 15px !important;
        padding: 25px !important;
    }
    
    .content-text {
        margin: 25px 15px;
        padding: 20px;
    }
    
    .login-container, .register-container {
        margin: 25px auto;
        padding: 30px;
        width: 80%;
        max-width: 700px;
    }
    
    #dispoForm, #form-prestations {
        padding: 32px 28px;
        width: 80%;
        max-width: 800px;
    }
}

/* Desktop Large (1201px+) */
@media (min-width: 1201px) {
    .menu-container {
        padding: 15px;
        gap: 15px;
         width: 100vw;
        margin: 0 auto;
    }
    
    .menu-item {
        min-width: 150px;
        max-width: 220px;
        min-height: 100px;
    }
    
    .container_back {
        width: 100vw;
        margin: 0 auto;
    }
    
    .container_home_arti {
        width: 100vw;
        margin: 0 auto;
    }
    
    .content-text {
      
        padding: 25px;
        width: 100vw;
        margin-left: auto;
        margin-right: auto;
    }
    
    .login-container, .register-container {
        margin: 30px auto;
        padding: 35px;
        width: 70%;
        max-width: 800px;
    }
    
    #dispoForm, #form-prestations {
        padding: 40px 35px;
        width: 70%;
        max-width: 900px;
    }
}

/* Très grands écrans (1600px+) */
@media (min-width: 1600px) {
    .menu-container,
    .container_back,
    .container_home_arti,
    .content-text {
/*         max-width: 1800px; */
    }
}

/* Orientation paysage sur mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .menu-container {
        position: relative;
        padding: 5px;
    }
    
    .menu-item {
        min-height: 50px;
        padding: 5px;
    }
    
    .container_main {
        min-height: calc(100vh - 80px);
        padding: 10px;
    }
    
    .footer-container {
        height: 40px !important;
    }
    
    body {
        padding-bottom: 50px !important;
    }
}

/* Améliorations pour l'accessibilité tactile */
@media (hover: none) and (pointer: coarse) {
    .menu-item,
    .bouton,
    .btn,
    button,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    input,
    textarea,
    select {
        min-height: 44px;
        font-size: 16px; /* Évite le zoom automatique sur iOS */
    }
}

/* Préférences utilisateur - Animation */
@media (prefers-reduced-motion: reduce) {
    .menu-item,
    .bouton,
    .btn {
        transition: none;
    }
}

/* Mode sombre */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
    }
    
    .content-text {
        background: linear-gradient(90deg, yellow 0%, orange 100%) !important;
    }
    
    .table-container {
        background-color: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid #555 !important;
    }
    
    input,
    textarea,
    select {
        background-color: #2a2a2a !important;
        color: #e0e0e0 !important;
        border: 1px solid #555 !important;
    }
}

/* Gestion des largeurs sur écrans ultra-larges */
@media (min-width: 2000px) {
    .menu-container,
    .container_back,
    .container_home_arti {
/*         max-width: 1800px; */
    }
}

/* Corrections spécifiques pour les formulaires sur mobile */
@media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="time"],
    input[type="number"],
    textarea,
    select {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px !important;
        font-size: 16px !important; /* Évite le zoom sur iOS */
        border-radius: 8px !important;
    }
    
    .form-check-input {
        transform: scale(1.2);
        margin-right: 10px;
    }
    
    .form-check-label {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* Corrections pour les maps sur mobile */
@media (max-width: 767px) {
    #france-map {
        height: 300px !important;
    }
    
    .col-md-3,
    .col-md-9 {
        width: 100% !important;
        margin-bottom: 15px;
    }
}

/* Améliorations pour les screenshots/carousel */
@media (max-width: 767px) {
    .screenshots-section {
        padding: 10px !important;
        margin: 0 !important;
    }
}

/* Forcer largeur des cellules besoin - À ajouter à la fin du fichier */
.table .besoin {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
}

/* S'assurer que le tableau peut déborder pour accommoder les cellules besoin */
.table-scroll-container .table {
    table-layout: auto !important;
    min-width: max-content !important;
}

/* Style pour voiler les rendez-vous passés */
.rdv-passe {
    position: static; /* Supprimer position: relative */
}

/* SUPPRIMER COMPLÈTEMENT l'indicateur CSS */
.rdv-passe::before {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Styles pour les cellules des rendez-vous passés - SUPPRIMER le voile */
.rdv-passe .info-cell {
    /* SUPPRIMER filter: grayscale(70%) */
}

.rdv-passe .info-cell a {
    /* SUPPRIMER color: #adb5bd */
}

/* S'assurer que les boutons restent fonctionnels */
.rdv-passe .btn,
.rdv-passe button {
    /* SUPPRIMER opacity: 0.6 !important; */
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* Style pour l'indicateur de rendez-vous passé - TOUJOURS VISIBLE */
.rdv-passe-indicator {
    color: #dc3545;
    font-size: 11px;
    margin-left: 8px;
    cursor: help;
    display: inline-block !important;
    background-color: rgba(220, 53, 69, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #dc3545;
    font-weight: bold;
}

.rdv-passe-indicator i {
    color: #dc3545;
    margin-right: 4px;
}

/* Garder l'interactivité pour tous les rendez-vous */
.rdv-passe .toggle-cacher-rappel {
    pointer-events: auto !important;
    /* SUPPRIMER opacity: 0.8 */
    cursor: pointer;
}

/* Style spécial pour le bouton toggle des rendez-vous passés */
.rdv-passe .toggle-cacher-rappel:hover {
    /* SUPPRIMER opacity: 1 */
    background-color: rgba(255, 255, 255, 0.3);
}

/* SUPPRIMER COMPLÈTEMENT le voile visuel pour les rendez-vous passés */
.rdv-passe {
    /* SUPPRIMER opacity, background-color, color, filter */
    position: static; /* Supprimer position: relative */
}

/* Style alternatif plus subtil (optionnel) - SUPPRIMER */
/* .rdv-passe-subtil {
    opacity: 0.6;
    text-decoration: line-through;
    background-color: #f8f9fa !important;
} */

/* Styles pour les champs sans mise en forme d'input */
.form-control-plaintext-custom {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    outline: none !important;
    resize: none !important;
}

.form-control-plaintext-custom:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.form-control-plaintext-custom:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Alternative avec une classe spécifique pour les champs readonly */
.readonly-field {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    outline: none !important;
    cursor: default !important;
}

.readonly-field:focus,
.readonly-field:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
