.container_annuaire {
    display: flex;
    width: 100%;
    min-height: 100vh;
    max-width: 1480px;
    margin: auto;
    border-style: solid;
    /*border-width: 0 1px 0 1px;
     position: relative; */
}


.main-content_annuaire {
    flex: 1;
    /* padding: 10px !important; */
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    overflow-y: auto;
    
    background-color: white;
}

.main-content_autre {
    flex: 1;
    display: flex;
    flex-direction: column;
    /*justify-content: center;
    padding: 20px;*/
    overflow-y: auto;
}


/******************** annuaire entreprise new style*/

.left-sidebar_annuaire {
    flex: 0 0 20%;
    padding: 20px 10px  !important;
    display: flex;
    background-color: var(--light-color);
}

.sidebar-content_annuaire {
    display: flex;
    margin: 0 0 0 auto;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
}

.sidebar-content_annuaire p {
    /*color: var(--secondary-color);
    font-family: 'Montserrat', sans-serif;*/
    font-weight: 600;
    margin-top: 13px;
    text-transform: uppercase;
}

.sidebar-content_annuaire ul {
    list-style-type: none;
    padding-left: 20px;
}

.sidebar-content_annuaire li {
    margin: 5px 0;
    cursor: pointer;
}


.content-top-directory {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 15px;
    margin-top: 5px;
}

.content-top-directory-filter-btn {
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    user-select: none;
    padding: 0px 15px;
    line-height: 1.5;
    height: 40px;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
    cursor: pointer;
    border-radius: 100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.content-top-directory-contact-btn {
    border-radius: 7px;
    background-color: #e9ecef !important;
    color: #e01010 !important;
    /* text-transform: uppercase; */
    min-width: 166px;
    max-height: 100px;
    /* height: 100%; */
    display: flex;
    align-items: center;
    width: max-content;
    text-align: center;
    user-select: none;
    padding: 0px 15px;
    line-height: 1.5;
    height: 60px;
    margin-right: 5px;
    margin: 5px auto;
    text-transform: capitalize;
    justify-content: space-around;
}


.content-top-directory-contact-btn img {
    fill: #ffffff;
    height: 25px;
    width: 25px;
}

.search-bar_annuaire {
    display: flex;
    align-items: center;
    max-width: 60%;
    width: 100%;
    margin: 15px 0;
    border: 1px solid var(--secondary-color);
    border-radius: 40px;
    padding: 5px 10px;
    background-color: #fff;
    min-height: 40px;
}

.search-side-bar_annuaire {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 15px 0;
    padding: 5px 10px;
    background-color: #fff;
    min-height: 40px;
    border: 1px solid var(--light-color);
}

.search-side-bar_annuaire .search-icon,
.search-bar_annuaire .search-icon {
    color: #8e8f91;
}

.search-side-bar_annuaire input,
.search-bar_annuaire input {
    width: 100%;
    padding: 5px;
    border: none;
    outline: none;
    box-sizing: border-box;
    font-size: 13px;
}

.search-bar_annuaire input:focus,
.search-bar_annuaire input:focus-visible,
.search-side-bar_annuaire input:focus,
.search-side-bar_annuaire input:focus-visible {
    border: none;
    outline: none;
}

.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    gap: 30px;
    /*margin-left: 15px;*/
}

.directory-card {
    max-width: 200px;
    min-height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    background-color: var(--light-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin-top: 53px;
}


/*.directory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}*/

.card__checkbox {
    /* position: absolute;
    top: 2px;
    right: 0px;*/
    cursor: pointer;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    padding: 5px;
}

.card__checkbox.is-selected {
    background-color: var(--primary-color);
}

.card__image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--gray-color);
    position: absolute;
    top: -53px;
    background: white;
}

.card__info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    max-height: 110px;
    height: 100%;
}

.card__info__title {
    font-size: 14px;
    color: black;
   /* background-color: #ffff00;*/
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 3px;
    padding: 5px;
}

.card__info__location,
.card__info__contact_mail,
.card__info__contact_phone {
    font-size: 9px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 5px;
    /*font-family: 'Montserrat', sans-serif;*/
}

.card__info__location img,
.card__info__contact_mail img,
.card__info__contact_phone img {
    width: 30px;
    height: 30px;
}

.card__info__location_data p,
.card__info__contact_mail p,
.card__info__contact_phone p {
    /*font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);*/
    margin-right: 3px;
    text-align: left;
    font-size: 12px;
    color: black
}

.card__info__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.card__info__tags_container button {
    background-color: var(--secondary-color);
    color: white;
    font-size: 9px;
    border-radius: 15px;
    padding: 5px 6px;
    /*font-family: 'Montserrat', sans-serif;*/
    font-weight: 600;
    margin-left: 5px;
    display: inline-block;
    cursor: pointer;
}

.card__info__tags_container {
    display: inline;
}

.card__info__tags_details {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: left;
    margin-bottom: 5px;
}

.tag--service {
    /* background-color: white; */
    color: #000000;
    font-size: 12px;
    /* border-radius: 15px;
    padding: 5px 6px; */
    /* font-family: 'Montserrat', sans-serif; 
    font-weight: 600;    
    text-transform: uppercase;*/
}

.tag--service-details {
    background-color: white;
    color: var(--secondary-color);
    font-size: 9px;
    border-radius: 15px;
    padding: 5px 10px;
    /*font-family: 'Montserrat', sans-serif;*/
    font-weight: 600;
    /*text-transform: uppercase;*/
}

.card__info__contact {
    margin-top: 10px;
    font-size: 10px;
    color: white;
    position: relative;
    width: 100%;
}

.card__info__btn {
    background-color: var(--primary-color);
    border-radius: 15px;
    color: white;
    width: 100%;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
    /*font-family: 'Montserrat', sans-serif;*/
    font-weight: 600;
}

.card__info__contact_details {
    display: none;
    background-color: white;
    color: var(--secondary-color);
    border-radius: 10px;
    border: 1px solid var(--gray-color);
    padding: 10px;
    position: absolute;
    left: -10px;
    font-size: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    /* white-space: nowrap;*/
    text-align: left;
    width: -webkit-fill-available;
    /*font-family: 'Montserrat', sans-serif;*/
    font-weight: 600;
    overflow-wrap: break-word;
    width: 200px;
}

.card__info__btn:hover+.card__info__contact_details {
    display: block;
}

.card__info__contact_details .icon {
    margin-right: 5px;
    font-size: 16px;
    color: var(--primary-color);
}


/* fin annuaire entreprise new style*/


/*********************************************/


/* Styles du bouton de filtre sticky */


/* Styles de l'icône Feather dans le bouton */

.filter-btn span {
    margin-left: 8px;
}

.filter-btn-container {
    display: none;
    position: fixed;
    bottom: 20px;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    align-items: center;
    /* background-color: #cdcdcd4f;
     color: white; */
    border: none;
    /* border-radius: 30px; */
    padding: 10px 20px;
    font-size: 16px;
    z-index: 1;
    width: 100%;
    margin: auto;
}


/*.filter-btn {
    margin: auto;
    align-items: center;
    justify-content: center;
    min-width: 166px;
    width: max-content;
    text-align: center;
    user-select: none;
    padding: 0px 15px;
    line-height: 1.5;
    height: 40px;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
    cursor: pointer;
    display: flex;
    border-radius: 100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}*/

.filter-btn-container.absolute {
    position: absolute;
    bottom: 0px;
}


/* Panneau de filtrage (caché au départ) */

.filter-panel {
    display: none;
    position: absolute;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: #9fa4a96e;
    z-index: 1;
    opacity: 0;
    transform: translateX(-100%);
    animation-duration: 0.3s;
    animation-timing-function: ease;
    animation-name: fadeOut;
}

.filter-panel.active {
    display: block;
    opacity: 1;
    transform: translateX(0%);
    animation-name: fadeIn;
}


/* Contenu du panneau */

.filter-content {
    width: 100%;
    background: white;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.filter-panel-content-container .custom-checkbox {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    user-select: none;
}

.filter-panel-content-container li {
    margin: 5px 0;
    cursor: pointer;
}

.filter-panel-content-container input[type="checkbox"] {
    display: none;
}

.filter-panel-content-container .custom-checkbox::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-top-color: rgb(204, 204, 204);
    border-right-color: rgb(204, 204, 204);
    border-bottom-color: rgb(204, 204, 204);
    border-left-color: rgb(204, 204, 204);
    background-color: #fff;
    border-radius: 3px;
}

.filter-panel-content-container input[type="checkbox"]:checked+.custom-checkbox::after {
    content: "✔";
    position: absolute;
    left: 4px;
    top: 0;
    color: #fff;
    font-size: 14px;
}

.filter-content-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    margin-top: 15px;
    border-bottom: 1px solid #8080809e;
    display: none;
}


/* Bouton pour fermer le panneau */


/*.close-filter-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}*/


/* Adaptation mobile */


/*********************************************/

.icons_annuaire {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.icon_annuaire {
    width: 18%;
    height: 50px;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-annuaire {
    flex-grow: 1;
    /*background-color: #e0e0e0;
    padding: 20px;*/
    text-align: center;
    position: relative;
}

.content-page-autre {
    flex-grow: 1;
}

.right-sidebar_annuaire {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--light-color);
    padding-top: 30px;

}

.right-sidebar-pub {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;

}


/* Styles pour le conteneur principal annuaire*/


/* Styles pour les cartes */

.right-sidebar-top,
.right-sidebar-bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.redirect-button,
.data-list_annuaire {
    background-color: #e0e0e0;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.category-toggle_annuaire {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.filter-options_annuaire {
    padding-left: 10px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
}

.custom-checkbox input {
    margin-right: 5px;
}


/*.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    width: 100%;
    padding: 20px 0;
}*/

.modal-header.pub-header {
    height: 323px;
}

.modal-header.event-header,
.modal-header.pub-header {
    height: 265px;
}

.image-wrapper-pubs {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*width: 100%;
    height: 109px;*/
}

.image-wrapper-pubs img {
    /* width: 100%;
    height: 150px;*/
    object-fit: cover;
    aspect-ratio: 2/1;
    border: 5px solid #afafaf00;
}

.image-checkbox {
    position: absolute;
    top: 5px;
    right: 5px;
    transform: scale(1.5);
}

.tag--geo img {
    width: 52px;
}

.image-wrapper img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #dfdfdf !important;
    margin: auto;
}

.image-card {
    padding: 10px;
    color: white;
    border: 1px solid #dfdfdf;
    max-width: 164px;
    width: 100%;
    /* flex: 1 1 calc(25% - 30px);*/
    box-sizing: border-box;
    transition: transform 0.5s ease-out;
    cursor: pointer;
    min-height: 300px;
}



.card-info-top {
    display: flex;
    justify-content: space-between;
}

.card-info-top-right,
.card-info-top-left {
    display: flex;
    flex-direction: column;
    color: black;
    position: relative;
}

.image-card:hover {
    transform: scale(1.05);
}


/* Styles pour le modal */


/*
.event-details-content,
.pub-details-content {
    display: flex;
    flex-direction: column;
}*/

.event-details,
.pub-details {
    margin: auto;
    text-align: left;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    max-height: 500px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0px;
    background-color: var(--light-color);
}

.carousel-item img {
    max-height: 500px;
    /* Limite la hauteur de l'image */
    object-fit: cover;
}

.carousel-inner {
    width: 75% !important;
    margin: auto;
}

.event-details.show,
.pub-details.show {
    max-height: 1000px;
    opacity: 1;
}

.event-details.show.has-gallery,
.pub-details.show.has-gallery {
    max-height: 1300px;
    height: 100%;
    opacity: 1;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

.event-details-content .close,
.pub-details-content .close {
    color: #ff0000;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 4px;
}

.loader {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3;
    border-top: 8px solid #6c63ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.event-details-header,
.pub-details-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3px;
    justify-content: space-between;
    padding: 0px 10px;
}


/*.event-details-info-title,
.pub-details-info-title {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 20px;
}

.event-details-body,
.pub-details-body {
    flex: 1;
    display: flex;
    justify-content: space-between;
    padding: 0px 10px 10px 10px;
}

.event-details-body p,
.pub-details-body p {
    text-align: justify;
}

.contact-info,
.date-info {
    display: flex;
    margin-bottom: 7px;
}

.contact-info i,
.date-info i {
    margin-right: 10px;
}

.date-info .sparateur {
    margin: auto 10px;
    
}

.sparateur i {
    margin-right: 0px;
}

.date-info span {
    text-align: left;
}*/

.modal-social-facebook {
    font-size: 31px;
    margin-right: 10px;
    color: #6c63ff;
}

.modal-social-twitter {
    font-size: 31px;
    margin-right: 10px;
    color: #1DA1F2;
}

.modal-entreprise-info {
    display: flex;
    flex-direction: column;
    width: 30%;
}


/*
.modal-entreprise-info .modal-social,
.event-details-info .modal-social,
.pub-details-info .modal-social {
    text-align: left;
}*/

.modal-pubImg-container {
    width: 70%;
    height: 100%;
}

.img-principal-container {
    /* height: 200px;*/
    width: 200px;
}

.img-principal-container img,
.modal-pubImg-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/*
.adress-info-container,
.event-adress-info-container,
.pub-adress-info-container {
    display: flex;
    margin-bottom: 7px;
}

.event-adress-info-container p,
.event-adress-info-container span,
.pub-adress-info-container p,
.pub-adress-info-container span {
    text-align: left;
}

.adress-info p {
    margin-left: 5px;
    text-align: left;
}
*/

.details-description {
    margin-bottom: 21px;
    color: black;
    line-height: 2;
}

.details-siren,
.details-ape {
    font-weight: bold;
    color: black;
}

.details-siren span,
.details-ape span {
    font-weight: normal;
}


/**/

.annuaire-modal-content .modal-footer,
.event-details-footer,
.pub-details-footer {
    /*display: flex;
    justify-content: space-around !important;*/
    margin-bottom: 25px;
}

.annuaire-modal-content .modal-footer .gallery,
.event-details-footer .gallery,
.pub-details-footer .gallery {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: space-around;
}

.carousel-indicators {
    margin-bottom: 0px !important;
    bottom: -20px !important;
}

.carousel-indicators li {
    background-color: #16000066 !important;
}

.annuaire-modal-content .modal-footer .gallery img,
.event-details-footer .gallery img,
.pub-details-footer .gallery img {
    width: 150px;
    height: 150px;
    border: 1px solid #ccc;
}

.gallery-slider {
    width: 78%;
    margin: auto;
    height: 150px;
}

.carousel-control-next,
.carousel-control-prev {
    margin: auto;
    height: fit-content;
    background: #16000066;
    width: fit-content !important;
    padding: 5px;
}

.gallery-pub {
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin: unset;
    overflow-x: auto;
    justify-content: flex-start;
}

.rotate-phone {
    display: inline-block;
    transform: rotate(90deg);
    /* Tourne l'icône de 90 degrés */
}

.pub-card-slider {
    display: inline-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    position: absolute;
}

.gallery-pub img {
    display: flex;
    gap: 10px;
}

.info-proprietaire {
    display: flex;
    margin-bottom: 4px;
    align-items: center;
}

.info-proprietaire h3 {
    font-weight: bold;
    margin-right: 4px;
}

.sidebar-img-container {
    width: 250px;
    height: 250px !important;
    padding-bottom: 10px;
}

.sidebar-img-container img {
    width: 100%;
    height: 100%;
    width: 100%;
    object-fit: contain;
    /* border: 5px solid transparent; */
}

.modal-right-pub {
    position: relative;
    right: 0;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    height: 100%;
    margin: 0;
    background-color: var(--ct-modal-content-bg);
    align-content: center;
    transform: translate(25%, 0) !important;
}


/*annuaire entreprise
* card detaillé de l'entreprise
*
*/

.entreprise-details {
    /*    max-width: 80%;:*/
    margin: 5px;
    text-align: left;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    max-height: 500px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0px;
    background-color: var(--light-color);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.entreprise-details.show {
    max-height: 1000px;
    opacity: 1;
}

.entreprise-details-header,
.details-modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-close-entreprise-details,
.btn-close-details {
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 3px;
    border-radius: 3px;
    margin-right: 5px;
    /* font-size: 14px; */
    height: 25px;
    width: 25px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.btn-close-entreprise-details img {
    height: 17px;
    width: 17px;
}

.entreprise-details-content {
    display: flex;
    padding: 5px;
}

.details-modal-content {
    display: flex;
    flex-direction: column;
    padding: 5px;
}

.entreprise-details-left,
.details-modal-top-left {
    display: flex;
    flex-direction: column;
    width: 60%;
}

.entreprise-details-top,
.details-modal-top {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    /*font-family: 'Montserrat', sans-serif;*/
    justify-content: space-between;
}

.entreprise-details-img {
    width: 70px;
    /* height: 100px;*/
    margin-right: 10px;
    max-width: unset;
}

.entreprise-details-img img {
    /*height: 100%;
    width: 100%;*/
    border-radius: 50%;
    object-fit: contain;
}

.entreprise-details-top-center {
    max-width: 60%;
    width: 100%;
}

.entreprise-details-title,
.details-modal-title {
    /*font-family: 'Montserrat', sans-serif;*/
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0px 5px 5px 5px;
    text-transform: uppercase;
}

.details-modal-center {
    display: flex;
    flex-direction: column;
}

.entreprise-details-top-center p {
    margin-top: 3px;
    color: var(--secondary-color);
    font-size: 13px;
    /*font-family: 'Montserrat', sans-serif;*/
}

.entreprise-details-socials {
    display: flex;
    gap: 2px;
    align-items: center;
    /*font-family: 'Montserrat', sans-serif;*/
    margin: Opx 5px;
}

.entreprise-details-socials a {
    padding: 0px;
    height: 23px;
    width: 23px;
    border-radius: 50%;
    border: 1px solid #ccc;
    color: black;
    display: flex;
}

.entreprise-details-socials a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.details-separateur {
    height: 1px;
    width: 50%;
    margin: 10px 5px;
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.entreprise-details-phone,
.entreprise-details-mail,
.entreprise-details-site,
.entreprise-details-siren,
.entreprise-details-adress,
.detail-description,
.details-modal-adress,
.details-modal-date-info,
.details-modal-contact-info {
    display: flex;
    font-size: 11px;
    color: var(--secondary-color);
    align-items: center;
    line-height: 1.7;
    /*font-family: 'Montserrat', sans-serif;*/
    margin: 5px;
}

.details-modal-adress-info p,
.details-modal-date-info p,
.details-modal-date-info .sparateur {
    font-size: 11px;
    color: var(--secondary-color);
    margin-left: 5px;
}

.entreprise-details-phone a,
.entreprise-details-mail a,
.entreprise-details-site a,
.details-modal-contact-info a {
    font-size: 11px;
    color: var(--secondary-color);
}

.entreprise-details-phone img,
.entreprise-details-mail img,
.entreprise-details-site img,
.entreprise-details-siren img,
.entreprise-details-adress img,
.details-modal-contact-info img,
.entreprise-details-adress svg,
.details-modal-adress svg,
.details-modal-date-info svg,
.details-modal-contact-info svg {
    margin: 0px 3px;
    max-width: 18px;
    max-height: 18px;
    width: 100%;
    height: 100%;
}

.entreprise-details-right {
    background-color: var(--gray-color);
    width: 50%;
    display: flex;
    gap: 7px;
}

.agent-card {
    display: flex;
    flex-direction: column;
    max-width: 100px;
    max-height: 100px;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    position: relative;
    background-color: white;
    font-size: 13px;
}

.agent-card-img {
    position: absolute;
    max-width: 50px;
    max-height: 50px;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--gray-color);
    position: absolute;
    top: -23px;
    background: white;
}

.agent-card-img img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-fit: cover;
}


/*finnn*/


/* contact */

.questionnaire-section {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    padding: 15px;
    text-align: left;
}

.question-group {
    display: flex;
    flex-direction: column;
}

.selected-entreprise-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* border: 1px solid #dfdfdf;*/
}

.selected-entreprise-container .image-card {
    min-height: 70px;
    font-size: 13px;
    padding: 0px;
    display: flex;
    border: none;
    max-width: 231px;
    background: white;
    margin: 5px;
    padding-top: 5px;
    position: relative;
    cursor: pointer;
    border: 2px solid #4CAF50;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.selected-entreprise-container .image-card:hover::before {
    content: 'Double-cliquez pour retirer cette entreprise';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}

.selected-entreprise-container .image-card:hover::before {
    opacity: 1;
}

.selected-entreprise-container .image-card .image-wrapper img {
    width: 60px;
    height: 50px;
}

.selected-entreprise-container .image-card .card__info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px;
    align-items: flex-end;
    width: 100%;
    justify-content: flex-start;
}

.selected-entreprise-container .image-card .card__info .card__info__title {
    font-size: 13px;
    background-color: unset;
    max-width: 200px;
    position: relative;
    cursor: pointer;
}

.selected-entreprise-container .image-card .card__info .card__info__location_data {
    color: black;
}

.selected-entreprise-container .image-card .card__info__title:hover::after {
    content: attr(data-title);
    position: absolute;
    top: -2px;
    left: -65px;
    transform: translateX(0);
    background-color: rgb(0 0 0);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}

.selected-entreprise-container .image-card .card__info__title:hover::after {
    opacity: 1;
}

.card__info {
    /* Rend le conteneur flex et oriente les éléments en colonne */
    display: flex;
    flex-direction: column;
    
    /* Le 'height: 100%' est crucial pour que le flexbox s'étire sur toute la hauteur de son parent */
    height: 100%;
}

.card__info__location {
    /* Pousse l'élément vers le bas en prenant tout l'espace disponible au-dessus de lui */
    margin-top: auto;
}


/**/

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .entreprise-details-left,
    .entreprise-details-right {
        width: 100%;
    }
    .content-top-directory {
        justify-content: flex-end;
    }
    .content-top-directory-filter-btn {
        display: flex;
    }
    .search-bar_annuaire {
        display: none;
    }
    .sidebar-content_annuaire {
        margin: 0px;
        width: 100%;
        max-width: none;
    }
    .left-sidebar_annuaire {
        display: none;
        position: absolute;
        left: 0;
        top: 0px;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0;
        transform: translateX(-100%);
        animation-duration: 0.3s;
        animation-timing-function: ease;
        animation-name: fadeOut;
    }
    .left-sidebar_annuaire.active {
        display: block;
        opacity: 1;
        background-color: white;
        transform: translateX(0%);
        animation-name: fadeIn;
    }
    .filter-content-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .content-top-directory {
        width: 90%;
        justify-content: flex-end;
    }
    .main-content_annuaire {
        width: 100%;
    }
    .right-sidebar-pub {
        display: flex;
        flex-direction: row;
        width: 100%;
    }
    .right-sidebar_annuaire {
        padding: 10px;
        flex-direction: column;
        aspect-ratio: unset;
        border: none;
        margin-bottom: 15px;
        width: 100%;
    }
    .container_annuaire {
        flex-direction: column;
        border-color: unset;
        border-style: none;
        border-width: 0 0px 0 1px;
    }
    .entreprise-details.show,
    .event-details.show,
    .pub-details.show {
        height: 100%;
    }
    .cards-wrapper {
        gap: 10px;
        justify-content: space-around;
    }
}

@media (max-width: 600px) {
    .event-details-header,
    .pub-details-header {
        flex-direction: column-reverse;
    }
    .img-principal-container {
        height: 100px;
    }
    .right-sidebar_annuaire {
        flex-wrap: wrap;
    }
}


/* gestion des tags dans les cards*/

.image-card {
    position: relative;
    /* Pour permettre le positionnement absolu des éléments internes */
}

.competence-tag {
    margin: 6px;
    display: block;
    text-align: center;
    /*position: absolute;
    left: 50%; 
    top:82%;
    transform: translateX(-50%);
  width :90px ;*/
    font-size: 13px;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
    border-radius: 7px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}


/* stye selected card added wafa */

.image-card.selected {
    border: 2px solid #1d3b1e;
    /* Bordure verte */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Ombre */
    border-radius: 10px;
    /* Arrondi */
}

.image-card.selected2 {
    border: 2px solid #4CAF50;
    /* Bordure verte */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Ombre */
    border-radius: 10px;
    /* Arrondi */
}


/* end add*/

.societe-image {
    width: 50px;
    height: 50px;
    /* overflow: hidden; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    /*margin: 10px auto;*/
}
.societe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
/* debut bloc preference demande dans conseiller  */
.schedule-group {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.d-flex {
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
}
.custom-checkbox-label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer; /* Ajoute le curseur pointeur */
}
.custom-checkbox-input {
    margin-top: 5px;
          color: #333;

}
.form-control {
    width: auto;
    flex: 1;
    margin-right: 10px;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}
/* fin bloc demande preference */
