/* Breadcrumb  */

.breadcrumb-wrap-custom {
    overflow-x: scroll;
    scrollbar-width: none;
}

.breadcrumb-wrap-custom::-webkit-scrollbar {
    display: none;
}

ol.breadcrumb {
    padding: 10px 0px;
    list-style: none;
    flex-wrap: nowrap;
    width: max-content;
    margin-bottom: 0px;
    /* margin: auto; */
}

ol.breadcrumb li {
    display: inline;
    font-size: 15px;
}

ol.breadcrumb li+li:before {
    padding: 8px;
    color: var(--pxpMainColorDark);
    /* font-family: "Font Awesome 5 Free"; */
    font-weight: 900;
    content: "/";
}

ol.breadcrumb li a {
    color: var(--pxpMainColor);
    text-decoration: none;
}

ol.breadcrumb li a:hover {
    color: var(--pxpMainColor);
    text-decoration: underline;
}

.section-psychologues-map {
    /* La coquille commune pose un en-tete sticky de --entete-h : la carte occupe le reste. */
    height: calc(100vh - var(--entete-h, 76px));
    width: 100%;
}


/* MAPS */

.loader-map {
    position: absolute;
    z-index: 1;
    background-color: white;
    padding: 5px 15px;
    border-radius: 10px;
    top: 19px;
    left: calc(50% - 40px);
}

.loader-map img {
    width: 50px;
}

.photo-psy-popup-maps {
    object-fit: cover;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid #31a99f;
}

.img-profil-psy {
    aspect-ratio: 1 / 1;
    width: 150px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    outline: 3px solid var(--pxpMainColor);
}

.card-psychologue .img-profil-psy {
    width: 58px;
    border: 1px solid white;
    outline: 2px solid #31a99f;
}

.card-psychologue .domaines-psy {
    overflow-x: auto;
    display: flex;
    align-items: center;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.card-psychologue .domaines-psy .domaine,
.card-psychologue .domaines-psy .pxp-single-company-hero-location {
    text-wrap-mode: nowrap;
}

.domaines-psy .domaine {
    display: inline-block;
    background-color: var(--bs-primary-light) !important;
    padding: 3px 7px !important;
    font-weight: 400;
    font-size: 14px;
    border-radius: 7px;
    margin-right: 5px;
    margin-bottom: 7px !important;
}

.pxp-single-company-hero-location {
    background-color: white;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    color: #17171d;
    font-weight: 400;
    font-size: 13px;
}

.card-psychologue .partie-gauche {
    border-right: 1px solid #dedede;
}

.recherche-groupe {
    background-color: white;
    border-radius: 80px;
    /* padding: 0px 15px; */
}

.recherche-groupe .col-ville {
    border-left: 1px solid #a9a9a9;
}

.border-none {
    border: none !important;
}

.col-keyword,
.col-ville {
    width: 45%;
}

.col-action {
    width: 10%;
}

.col-action .btn {
    border-radius: 25px;
    border-bottom-left-radius: 7px;
    border-top-left-radius: 7px;
}

.recherche-groupe .c-col {
    padding: 5px 6px;
}

.bar-filtres {
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

.bar-filtres .btn-filtre {
    box-shadow: inset 0 0 0 1px #e4edf6;
    padding: 6px 14px;
    border-radius: 11px;
    border: 1px solid #d9d8d8;
    margin-right: 10px;
    white-space: nowrap;
    color: black;
}

@media screen and (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

.btn-filtre.active {
    background-color: #31a99f !important;
    color: white !important;
    border-color: #31a99f !important;
}

.no-results-container .actions-container {
    margin-top: 1.5rem;
}

.card-psychologue-annuaire {
    box-shadow: rgb(0 0 0 / 9%) 1.95px 1.95px 2.6px;
    border: 1px solid #c9d9e8;
}

ul.pagination li a {
    height: 32px !important;
    width: 32px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #e0f5f3 !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #31a99f !important;
    margin: 0px 2px !important;
}

ul.pagination li.active span {
    background-color: #31a99f !important;
    color: white !important;
}

.domaines-psy .domaine-cache {
    display: none;
}

.domaines-psy .btn-voir-plus,
.domaines-psy .btn-voir-moins {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.domaines-psy .btn-voir-plus:hover,
.domaines-psy .btn-voir-moins:hover {
    transform: translateY(-1px);
}


/* Styles pour les flèches de navigation */

.pagination .page-link:contains('‹'),
.pagination .page-link:contains('›'),
.pagination .page-link:contains('«'),
.pagination .page-link:contains('»') {
    font-size: 1rem;
    font-weight: bold;
}

@media (max-width: 576px) {
    .pagination-container .d-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .pagination {
        justify-content: center;
        gap: 0.3rem;
    }
    .pagination .page-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 35px;
        height: 35px;
    }
}

@media (max-width: 767px) {
    .col-keyword,
    .col-ville {
        width: 50%;
    }
}

@media (max-width: 991px) {
    .col-map {
        height: 10vh;
    }
    .col-map.expanded {
        height: 70vh;
    }
    .col-annuaire {
        border-radius: 20px;
        /* overflow: hidden; */
        /* margin-top: -24px; */
        /* z-index: 1; */
        position: relative;
        height: unset !important;
    }
    #liste-psychologues {
        overflow-y: visible !important;
    }
    .bar-filtres {
        min-height: 56px;
        position: sticky;
        /* Colle sous l'en-tete flottant de la coquille */
        top: var(--entete-h-defile, 88px);
        z-index: 5;
        background-color: #ffffff;
    }
    .card-psychologue .partie-gauche {
        border-right: none;
    }
}

.img-carre {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

#loader-reload {
    display: none;
}

#loader-reload img {
    width: 100px;
    border-radius: 65px;
}

#loader-reload.show {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    gap: 2em;
    background-color: #ffffff9c;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.popover .adresse {
    max-width: 200px;
    display: inline-block;
}

.filtre-supplementaire {
    display: none;
}

.filtre-supplementaire.show,
.filtre-supplementaire.active {
    display: inline;
}

#btn-plus-filtres {
    background-color: #f0f0f0;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

#btn-plus-filtres:hover {
    background-color: #e0e0e0;
}

#badge-filtres-count {
    font-size: 0.75rem;
    min-width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}


/* Styles pour l'autocomplete des noms */

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.autocomplete-results.show {
    display: block;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

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

.autocomplete-item:hover,
.autocomplete-item.selected {
    background-color: #f8f9fa;
}

.autocomplete-item .fa-user {
    color: #6c757d;
    margin-right: 10px;
    font-size: 14px;
}

.highlight-search {
    background-color: #ffc107;
    color: #000;
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

.autocomplete-no-results {
    padding: 12px 16px;
    color: #6c757d;
    font-style: italic;
    text-align: center;
}

.autocomplete-placeholder {
    padding: 12px 16px;
    color: #6c757d;
    text-align: center;
    font-size: 14px;
}

.autocomplete-loader {
    padding: 12px 16px;
    text-align: center;
    color: #6c757d;
}

.autocomplete-loader .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f0f0f0;
    border-left: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

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

.bg-primary-dark {
    background-color: #31a99f !important;
}

.bg-gris {
    background-color: #efefef !important;
}

.pac-logo::after {
    display: none !important;
}

.pac-matched {
    color: var(--bs-primary);
}

.badge-visio {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    bottom: -10px;
}

.badge-visio .inner {
    border: 1px solid #31a99f;
    border-radius: 50%;
    background-color: #ffffff;
    color: #31a99f;
    width: 25px;
    height: 25px;
    font-size: 11px;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-left: -6px;
    padding-top: 3px;
}

.badge-distance {
    background-color: #c8e2e2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 6px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #0b5768;
}

.badge-distance-0,
.badge-distance-1 {
    display: none !important;
}

.nav-float {
    position: relative;
    height: 60px;
    margin-bottom: 2rem;
}


/* STRIPE */

#chargement-stripe {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffffbd;
}

#chargement-stripe i {
    font-size: 25px;
}

.nav-sticky {
    position: sticky;
    /* Sous l'en-tete flottant de la coquille (12 + 64 + 12 = 88px) */
    top: calc(var(--entete-h-defile, 88px) + 10px);
    z-index: 50;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(10px);
    background: #c8e2e2ab;
    border: 1px solid rgb(213 213 213 / 79%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    padding: 0.5rem;
}

.nav-container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #0b5768;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
    position: relative;
}

.nav-link:hover {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    text-decoration: none;
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.section-content {
    padding: 2rem 0;
    min-height: 400px;
}


/* Animation de transition */

.nav-link {
    transform: scale(0.98);
}

.nav-link:hover,
.nav-link.active {
    transform: scale(1);
}


/* Styles pour la section carte */

#carte {
    min-height: 400px;
}

#carte .row {
    min-height: 400px;
}

#carte iframe {
    min-height: 400px;
}


/* Styles pour la FAQ */

#faq .accordion-item {
    border: 1px solid #e0e6ed;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

#faq .accordion-button {
    font-weight: 500;
    color: #374151;
    background-color: #f8f9fa;
    border: none;
    padding: 1rem 1.25rem;
}

#faq .accordion-button:not(.collapsed) {
    background-color: #31a99f;
    color: white;
    box-shadow: none;
}

#faq .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(5, 150, 105, 0.25);
    border-color: #059669;
}

#faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23374151'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#faq .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#faq .accordion-body {
    padding: 1.25rem;
    background-color: white;
    border-top: 1px solid #e0e6ed;
}


/* Responsive */

@media (max-width: 992px) {
    .nav-sticky {
        top: calc(var(--entete-h-defile, 88px) + 6px);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.125rem;
    }
    .nav-link {
        padding: 0.5rem 1rem;
    }
    /* Sur mobile, stack les colonnes */
    #carte .row {
        flex-direction: column;
    }
    #carte iframe {
        min-height: 250px;
    }
    /* FAQ responsive */
    #faq .accordion-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    #faq .accordion-body {
        padding: 1rem;
    }
}

.pac-container {
    z-index: 2051 !important;
}

.text-underline {
    text-decoration: underline !important;
}

.btn-href {
    cursor: pointer;
}