*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: "Mulish", "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    color: #2b3a44;
    background: #f4f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #7d9b91;
    text-decoration: underline;
    text-underline-offset: 2px;
}
a:hover {
    color: #197eb2;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid rgba(43, 58, 68, 0.06);
    padding: 1.1rem 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.site-header .site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6a8679;
    letter-spacing: -0.01em;
}

.lang-switcher {
    display: inline-flex;
    gap: 0.4rem;
}
.lang-switcher .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.65rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 0.25rem;
    border: 1px solid #dbe2e8;
    background: #fff;
    color: #2b3a44;
    text-decoration: none;
    transition:
        background 0.15s,
        color 0.15s,
        border-color 0.15s;
}
.lang-switcher .lang-btn:hover {
    border-color: #c2ced8;
}
.lang-switcher .lang-btn.is-active {
    background: #7d9b91;
    border-color: #7d9b91;
    color: #fff;
}

.main {
    flex: 1 0 auto;
    padding: 3rem 0 5rem 0;
}

.form-wrap {
    max-width: 880px;
    margin: 0 auto;
}

.page-title {
    font-family: "Nunito Sans", "Mulish", "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    font-size: 56px;
    font-weight: 700;
    color: #6a8679;
    margin: 3rem 0;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.page-title .accent {
    color: #7d9b91;
}

.form-card {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow:
        0 10px 30px rgba(30, 60, 90, 0.08),
        0 2px 6px rgba(30, 60, 90, 0.04);
    padding: 2.25rem 2.5rem 2rem;
}

.form-section-label {
    font-size: 1rem;
    font-weight: 700;
    color: #2b3a44;
    margin-bottom: 0.55rem;
}

.required-mark {
    color: #2b3a44;
    margin-left: 1px;
}

.form-label {
    font-weight: 600;
    color: #7d9b91;
    margin-bottom: 0.35rem;
}

.consent-text {
    font-size: 0.95rem;
    color: #2b3a44;
    line-height: 1.5;
}

.form-control {
    width: 100%;
    padding: 0.7rem 0.95rem;
    font-size: 1rem;
    line-height: 1.4;
    color: #2b3a44;
    background: #fff;
    border: 1px solid #dbe2e8;
    border-radius: 0.5rem;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
.form-control::placeholder {
    color: #9ca6af;
}
.form-control:focus {
    outline: 0;
    border-color: #7d9b91;
    box-shadow: 0 0 0 0.18rem rgba(125, 155, 145, 0.18);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding-left: 0;
    margin-bottom: 0.4rem;
}
.form-check .form-check-input {
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
    margin: 0.18rem 0 0 0;
    border: 1px solid #dbe2e8;
    border-radius: 0.25rem;
    background: #fff;
    appearance: none;
    cursor: pointer;
    transition:
        background 0.15s,
        border-color 0.15s;
}
.form-check .form-check-input:checked {
    background-color: #7d9b91;
    border-color: #7d9b91;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M12.2 5.3 6.7 10.8 3.8 7.9l-1.1 1.1 4 4 6.6-6.6z'/%3E%3C/svg%3E");
    background-size: 70% 70%;
    background-position: center;
    background-repeat: no-repeat;
}
.form-check .form-check-input:focus {
    outline: 0;
    box-shadow: 0 0 0 0.18rem rgba(125, 155, 145, 0.18);
}
.form-check .form-check-label {
    cursor: pointer;
    color: #2b3a44;
    line-height: 1.45;
}
.form-check.form-switch {
    align-items: flex-start;
}
.form-check.form-switch .form-check-input {
    width: 2.5rem;
    height: 1.4rem;
    border-radius: 1rem;
    background: #e2e6ec;
    border-color: #e2e6ec;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    transition:
        background-position 0.15s,
        background-color 0.15s;
}
.form-check.form-switch .form-check-input:checked {
    background-color: #6a8679;
    border-color: #6a8679;
    background-position: right center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        background 0.15s,
        border-color 0.15s,
        transform 0.05s,
        box-shadow 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: #7d9b91;
    border-color: #7d9b91;
    color: #fff;
    box-shadow: 0 4px 14px rgba(125, 155, 145, 0.25);
}
.btn-primary:hover {
    background: #e8b917;
    border-color: #e8b917;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(247, 201, 72, 0.25);
}
.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(125, 155, 145, 0.25);
    outline: 0;
}

.btn-secondary {
    background: #7d9b91;
    border-color: #7d9b91;
    color: #fff;
    box-shadow: 0 4px 14px rgba(125, 155, 145, 0.25);
}
.btn-secondary:hover {
    background: #e8b917;
    border-color: #e8b917;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(247, 201, 72, 0.25);
}
.btn-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgba(125, 155, 145, 0.25);
    outline: 0;
}

.btn-outline-primary {
    background: transparent;
    border-color: #7d9b91;
    color: #7d9b91;
    box-shadow: 0 4px 14px rgba(125, 155, 145, 0.25);
}
.btn-outline-primary:hover {
    background: #e8b917;
    border-color: #7d9b91;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(125, 155, 145, 0.25);
}
.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(125, 155, 145, 0.25);
    outline: 0;
}

.required-note {
    color: #6b7884;
    font-size: 0.9rem;
    margin: 1.25rem 0 1.25rem;
}

.consent-text {
    font-size: 0.95rem;
    color: #2b3a44;
    line-height: 1.5;
}

.admin-page .admin-title {
    color: #6a8679;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.admin-page .admin-login-col .admin-login-card {
    border-radius: 0.75rem;
    box-shadow:
        0 10px 30px rgba(30, 60, 90, 0.08),
        0 2px 6px rgba(30, 60, 90, 0.04);
    overflow: hidden;
    background: #ffffff;
}
.admin-page .admin-login-col .admin-login-card-body {
    padding: 2rem 2.25rem !important;
}
.admin-page .admin-login-col .admin-login-form .form-label {
    color: #7d9b91;
}
.admin-page .admin-login-col .admin-login-btn {
    width: 100%;
    margin-top: 0.25rem;
}
.admin-page .admin-orders-header {
    padding: 0.35rem 0 0.5rem;
    margin-bottom: 1rem !important;
}
.admin-page .admin-logout-btn {
    border-radius: 999px;
    border-color: #dbe2e8;
    color: #2b3a44;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
}
.admin-page .admin-logout-btn:hover {
    border-color: #7d9b91;
    color: #7d9b91;
    background: #fff;
}
.admin-page .admin-table-wrap {
    background: #ffffff;
    border: 1px solid #dbe2e8;
    border-radius: 0.75rem;
    box-shadow: 0 4px 14px rgba(30, 60, 90, 0.06);
    padding: 2rem;
}
.admin-page .admin-orders-table {
    margin-bottom: 0;
    font-size: 0.88rem;
    border-color: #dbe2e8;
}
.admin-page .admin-orders-table thead th {
    color: #7d9b91;
    background: rgba(125, 155, 145, 0.05);
    border-color: #dbe2e8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0.55rem 0.6rem;
    line-height: 1.25;
}
.admin-page .admin-orders-table tbody td {
    vertical-align: middle;
    border-color: #dbe2e8;
    padding: 0.5rem 0.6rem;
    line-height: 1.35;
}
.admin-page .admin-orders-table tbody tr:nth-child(even) {
    background: rgba(125, 155, 145, 0.02);
}
.admin-page .admin-orders-table tbody tr:hover {
    background: rgba(34, 201, 208, 0.08);
}

.site-footer {
    background: #7d9b91;
    color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 0;
    margin-top: 5rem;
}
.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.site-footer .copyright {
    margin: 0;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
}
.site-footer .footer-logo {
    height: 42px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

@media (max-width: 575.98px) {
    .site-header .container {
        flex-wrap: wrap;
    }
    .site-header .site-title {
        font-size: 1.2rem;
    }
    .main {
        padding: 1.75rem 0 2.5rem;
    }
    .page-title {
        font-size: 36px;
        margin-bottom: 1.25rem;
    }
    .form-card {
        padding: 1.5rem 1.25rem;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .site-footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .admin-page .admin-orders-header {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 0.75rem;
    }
}
.dtsp-searchIcon {
    border-radius: 0 !important;
}

.dt-buttons {
    margin-top: 1rem;
}

.rounded-pill {
    background-color: #7d9b91 !important;
}

#select-lang {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#select-lang .img-fluid {
    max-width: 100%;
    height: auto;
}

.row {
    padding: 0;
    margin: 0;
}

.btn_inscription {
    background-color: #ffffff;
    border: 2px solid #52595f !important;
    border-radius: 25px;
    padding-left: 25px !important;
    padding-right: 25px !important;
    color: #52595f !important;
}
.btn_inscription:hover {
    background-color: #7d9b91;
    border-color: #7d9b91;
    border-radius: 400px !important;
    color: #ffffff !important;
}

.btn-header {
    background-color: #7d9b91 !important;
    border-color: #52595f !important;
    color: #ffffff !important;
    transition: all 0.5s !important;
    padding: 0.6rem 2rem !important;
}
.btn-header:hover {
    background-color: #52595f !important;
    border-color: #52595f !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.dropdown-menu-dark {
    background-color: #7d9b91 !important;
    border: none !important;
}

.dropdown-item:focus {
    background-color: #52595f !important;
}

.alert {
    border-radius: 6px;
    display: table;
    width: 100%;
    padding-left: 78px;
    position: relative;
    padding-right: 60px;
    border: 1px solid #e6e6e6;
}
.alert .icon {
    text-align: center;
    width: 58px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #bdbdbd;
    padding-top: 15px;
    border-radius: 6px 0 0 6px;
}
.alert .icon i {
    font-size: 20px;
    color: #fff;
    left: 21px;
    margin-top: -10px;
    position: absolute;
    top: 50%;
}
.alert .icon img {
    font-size: 20px;
    color: #fff;
    left: 18px;
    margin-top: -10px;
    position: absolute;
    top: 50%;
}

.alert.alert-danger .icon,
.alert.alert-danger .icon:after {
    border-color: none;
    background: #c82630;
}

.freeprivacypolicy-com---palette-light .cc-nb-reject {
    color: #fff !important;
    background-color: #7d9b91 !important;
}

.freeprivacypolicy-com---palette-light .cc-nb-okagree {
    color: #fff !important;
    background-color: #7d9b91 !important;
}

.freeprivacypolicy-com---palette-light .cc-cp-foot-save {
    background: #7d9b91 !important;
    color: #fff !important;
}

.freeprivacypolicy-com---palette-light.freeprivacypolicy-com---nb {
    background-color: #fff !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: #111;
}

#scify-cookie-consent-floating-button {
    position: fixed;
    bottom: 15px !important;
    left: 15px !important;
    color: #7d9b91 !important;
    border-color: #7d9b91 !important;
}

#scify-cookies-consent-wrapper .scify-cookies-consent-banner .btn {
    color: #7d9b91 !important;
    border-color: #7d9b91 !important;
}

#alertMessage {
    background-color: #d00812;
}
#alertMessage p {
    padding: 10px;
    margin: 0;
    text-align: center;
    color: #ffffff;
    font-size: 1.5rem !important;
    line-height: 1.8rem;
}

body {
    background-color: #ffffff;
}

.title {
    font-weight: 400;
    font-size: 24px;
    text-align: center;
}

.debug {
    margin-top: 150px !important;
}

.navbar {
    position: fixed;
    z-index: 100;
    top: 0;
    width: 100%;
    background-color: #f0e6f6;
    border-bottom: 1px solid #cecece;
}
.navbar .nav-item a {
    font-size: 16px;
    color: #52595f;
    font-weight: 400;
}
.navbar .nav-item a:hover {
    color: #7d9b91;
}
.navbar .nav-link.active {
    color: #52595f;
}
.navbar .dropdown-item.active {
    color: #52595f;
    background-color: #ffffff;
}
@media (max-width: 767px) {
    .navbar .nav-link.active {
        color: #7d9b91;
    }
}
.navbar .dropdown-toggle::after {
    display: none;
}
.navbar .bi-chevron-down::before {
    -webkit-text-stroke: 1px !important;
}

.searchBar {
    background-color: #ffffff;
    /* Portrait phones and smaller */
}
.searchBar .container .row {
    position: relative;
    z-index: 10;
    padding: 3rem;
    border-radius: 19px;
    border: 1px solid rgba(125, 155, 145, 0.25);
    background: rgba(125, 155, 145, 0.25);
    box-shadow: 5px 5px 30px 0px rgba(125, 155, 145, 0.25);
}
.searchBar .container .row .titleSearch {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    line-height: 130%;
    color: #7d9b91;
}
.searchBar .container .row .input-group-append {
    height: 50px;
    margin-left: 0;
    box-shadow: 0px 5px 16px 0px rgba(69, 37, 93, 0.3);
    border-top-right-radius: 35px !important;
    border-bottom-right-radius: 35px !important;
}
.searchBar .container .row .input-group-append .btn-primary {
    height: 50px !important;
}
.searchBar .container .row .rounded-end {
    border-top-right-radius: 35px !important;
    border-bottom-right-radius: 35px !important;
}
.searchBar .container .row .rounded-start {
    border-top-left-radius: 35px !important;
    border-bottom-left-radius: 35px !important;
}
.searchBar .banner {
    margin-top: -50px;
    margin-bottom: 0;
}
@media (max-width: 767.98px) {
    .searchBar .container .row {
        padding: 1.25rem 1rem;
    }

    .searchBar .container .row .input-group,
    .searchBar .container .row .searchBar__fields {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
    }

    .searchBar .container .row .input-group > * {
        margin-left: 0 !important;
        margin-top: 0 !important;
    }

    .searchBar .container .row .input-group > .form-control {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 50px;
        border: 1px solid #dbe2e8 !important;
        border-radius: 35px !important;
    }

    .searchBar .container .row .input-group-append {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        border-top-right-radius: 35px !important;
        border-bottom-right-radius: 35px !important;
        border-top-left-radius: 35px !important;
        border-bottom-left-radius: 35px !important;
    }

    .searchBar .container .row .input-group-append .btn-primary {
        width: 100%;
        border-radius: 35px !important;
    }

    .searchBar .container .row .rounded-end {
        border-top-left-radius: 35px !important;
        border-bottom-left-radius: 35px !important;
    }

    .searchBar .btnSearch span {
        display: inline;
    }

    .searchBar .ui-autocomplete {
        max-width: 100%;
        box-sizing: border-box;
    }

    .searchBar .banner {
        margin-top: -10px;
        margin-bottom: 0;
    }
}

#informations {
    background-color: #e4d5f3;
    color: #45255d;
    padding-bottom: 200px;
}
#informations h1 {
    color: #45255d;
    font-size: 32px;
}
#informations .accordion-item {
    border: 0 !important;
    background-color: #e4d5f3 !important;
}
#informations .titleAccordion {
    font-size: 19.2px;
    font-style: italic;
    margin-left: 35px;
    padding-top: 20px;
}
#informations .accordion-button,
#informations .accordion-body {
    background-color: #e4d5f3 !important;
    border: 0 !important;
    padding: 15px 0 0 0;
    margin: 0;
}
#informations .accordion-button ul li p,
#informations .accordion-body ul li p {
    margin: 0;
}
#informations .accordion-button::after {
    position: absolute;
    left: 0;
}
#informations .accordion-button.collapsed::after {
    background: url("../img/plus.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
#informations .accordion-button:not(.collapsed)::after {
    background: url("../img/moins.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

#video {
    margin-top: -200px;
}
#video h2 {
    color: #45255d;
    font-size: 32px;
}

/* Portrait phones and smaller */
@media (max-width: 767px) {
    #video {
        margin-top: -240px;
    }
}
#dispositif {
    margin-top: 50px;
    background-image: url("../img/bg.jpg");
    background-size: cover;
}
#dispositif h2 {
    color: #45255d;
    font-size: 32px;
}

.doctorCard {
    background-color: #ffffff;
    padding: 1.5rem;
    border: 1px solid #52595f;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    transition: 0.5s ease-in-out;
}

/* Liste résultats : zone scrollable = hauteur de N cartes (SEARCH_LIST_PER_PAGE, max-height en JS) */
.doctors-list-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.doctors-list-sentinel {
    height: 1px;
    flex-shrink: 0;
}

.doctors-list-status:empty {
    display: none;
}
.doctorCard .etablissement {
    font-weight: 600 !important;
    color: #7d9b91;
    margin-bottom: 0;
    padding-bottom: 0;
}
.doctorCard p {
    padding: 0;
    margin: 0 0 5px 0;
}
.doctorCard i {
    border: 1px solid #7d9b91;
    padding: 0.5rem;
    border-radius: 25px;
}
.doctorCard .desc p,
.doctorCard .desc a {
    font-size: 14.4px !important;
    font-weight: 300 !important;
    color: #7d9b91;
}
.doctorCard:hover {
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(
        90deg,
        rgb(255, 255, 255) 46%,
        rgba(235, 233, 239, 0.2441570378) 100%
    );
    background: -webkit-linear-gradient(
        90deg,
        rgb(255, 255, 255) 46%,
        rgba(235, 233, 239, 0.2441570378) 100%
    );
    background: linear-gradient(
        90deg,
        rgb(255, 255, 255) 46%,
        rgba(235, 233, 239, 0.2441570378) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#ebe9ef", GradientType=1);
    border: 1px solid #7d9b91;
    box-shadow: 0 0 10px rgba(69, 37, 93, 0.3);
    cursor: pointer;
}
.doctorCard .doctorName {
    font-weight: 600 !important;
    color: #7d9b91;
    margin-bottom: 0;
    padding-bottom: 0;
}

.doctorCard .doctor-team-accordion .accordion-item {
    background-color: transparent;
}

.doctorCard .doctor-team-accordion__toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #7d9b91;
    text-align: left;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.doctorCard .doctor-team-accordion__toggle:focus {
    box-shadow: none;
    outline: none;
}

.doctorCard .doctor-team-accordion__toggle::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237d9b91'%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");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
}

.doctorCard .doctor-team-accordion__toggle:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.doctorCard .doctor-team-accordion .accordion-body {
    color: #7d9b91;
    font-size: 14.4px;
    font-weight: 300;
}

.doctorCard .doctor-team-accordion .accordion-body li + li {
    margin-top: 0.35rem;
}

.doctorCard .doctor-itineraire-accordion .accordion-item {
    background-color: transparent;
}

.doctorCard .doctor-itineraire-accordion__toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #7d9b91;
    text-align: left;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.doctorCard .doctor-itineraire-accordion__toggle:focus {
    box-shadow: none;
    outline: none;
}

.doctorCard .doctor-itineraire-accordion__toggle::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237d9b91'%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");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out;
}

.doctorCard .doctor-itineraire-accordion__toggle:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.doctorCard .doctor-itineraire-accordion .accordion-body {
    color: #7d9b91;
    font-size: 14.4px;
    font-weight: 300;
}

.doctorCard .doctor-itineraire-accordion__links a {
    color: #7d9b91;
    text-decoration: none;
}

.doctorCard .doctor-itineraire-accordion__links a:hover {
    text-decoration: underline;
}

.doctorCard .doctor-itineraire-accordion__links li + li {
    margin-top: 0.35rem;
}

.active-doctor {
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(
        90deg,
        rgb(255, 255, 255) 46%,
        rgba(235, 233, 239, 0.2441570378) 100%
    );
    background: -webkit-linear-gradient(
        90deg,
        rgb(255, 255, 255) 46%,
        rgba(235, 233, 239, 0.2441570378) 100%
    );
    background: linear-gradient(
        90deg,
        rgb(255, 255, 255) 46%,
        rgba(235, 233, 239, 0.2441570378) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#ebe9ef", GradientType=1);
    border: 1px solid #7d9b91;
    box-shadow: 0 0 10px rgba(69, 37, 93, 0.3);
}

#mapid {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #7d9b91;
    width: 100% !important;
    height: 100% !important;
    z-index: 5;
}

/* Portrait phones and smaller */
@media (max-width: 767px) {
    #mapid {
        height: 500px !important;
    }
}
.page-link {
    color: #7d9b91;
    padding: 10px 20px !important;
}
.page-link:hover {
    color: #7d9b91;
}

.page-link.active,
.active > .page-link {
    background-color: #7d9b91 !important;
    border-color: #7d9b91 !important;
}

footer {
    border-top: 1px solid #7d9b91;
    background-color: #ffffff;
    border-bottom: 10px solid #52595f;
}
footer .conditions {
    background-color: #7d9b91;
    padding: 25px 0;
    justify-content: space-around;
}
footer .conditions a {
    color: #ffffff !important;
    font-size: 12.8px;
    text-decoration: none;
}
footer .conditions a:hover {
    color: #e4d5f3 !important;
}
footer a {
    text-decoration: none;
}
footer a:hover {
    color: #7d9b91;
}

.footerTitle p {
    color: #7d9b91;
    font-weight: 600 !important;
}

.borderRightFoot {
    border-right: 1px solid #f0e6f6;
}

/* Portrait phones and smaller */
@media (max-width: 991px) {
    .borderRightFoot {
        border-right: 0px solid #f0e6f6;
    }
}
#loginSection .form_login {
    border-top: 1px solid #52595f;
    border-bottom: 1px solid #52595f;
    margin: 2rem 0;
}
#loginSection .form_login label {
    font-size: 12.8px;
}
#loginSection .btnLoginPlus {
    margin: 0;
    padding: 0;
}
#loginSection .btnLoginPlus a {
    margin: 0;
    padding: 0;
    font-size: 12.8px;
    line-height: 12.8px;
    color: #7d9b91;
}
#loginSection .btnLoginPlus a:hover {
    color: #52595f;
}
#loginSection .fas {
    color: #52595f;
}

#register h1 {
    color: #45255d;
    font-size: 32px;
    text-align: center;
}
#register label {
    color: #7d9b91;
}
#register .form-control:focus {
    border-color: #7d9b91;
    box-shadow: inset 5px 5px 10px 0px rgba(136, 97, 164, 0.05);
}
#register small {
    font-weight: 300 !important;
    color: #7d9b91;
}

#login h1 {
    color: #45255d;
    font-size: 32px;
    text-align: center;
}
#login label {
    color: #7d9b91;
}
#login .form-control:focus {
    border-color: #7d9b91;
    box-shadow: inset 5px 5px 10px 0px rgba(136, 97, 164, 0.05);
}

.formAll h1 {
    color: #45255d;
    font-size: 32px;
    text-align: center;
}
.formAll label {
    color: #7d9b91;
}
.formAll .form-control:focus {
    border-color: #7d9b91;
    box-shadow: inset 5px 5px 10px 0px rgba(136, 97, 164, 0.05);
}

#politique h1 {
    color: #45255d;
    font-size: 32px;
    margin: 30px 0;
}
#politique h2 {
    color: #7d9b91;
    font-size: 24px;
    margin: 30px 0;
}
#politique h3 {
    font-size: 19.2px;
    margin: 30px 0;
    font-weight: 400 !important;
}
#politique .table-responsive {
    margin: 30px 0;
}
#politique ul {
    margin: 30px 0;
}

/* Landscape tablets and medium desktops */
/* Portrait tablets and small desktops */
/* Landscape phones and portrait tablets */
/* Portrait phones and smaller */
.hamburger {
    padding: 15px 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0 auto;
    overflow: visible;
}

.hamburger:hover {
    opacity: 1;
}

.hamburger.is-active:hover {
    opacity: 1;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #7d9b91 !important;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 70%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: #7d9b91 !important;
    border-radius: 2px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/*
       * Emphatic
       */
.hamburger--emphatic {
    overflow: hidden;
}

.hamburger--emphatic .hamburger-inner {
    transition: background-color 0.125s 0.175s ease-in;
}

.hamburger--emphatic .hamburger-inner::before {
    left: 0;
    transition:
        transform 0.125s cubic-bezier(0.6, 0.04, 0.98, 0.335),
        top 0.05s 0.125s linear,
        left 0.125s 0.175s ease-in;
}

.hamburger--emphatic .hamburger-inner::after {
    top: 10px;
    right: 0;
    transition:
        transform 0.125s cubic-bezier(0.6, 0.04, 0.98, 0.335),
        top 0.05s 0.125s linear,
        right 0.125s 0.175s ease-in;
}

.hamburger--emphatic.is-active .hamburger-inner {
    transition-delay: 0s;
    transition-timing-function: ease-out;
    background-color: transparent !important;
}

.hamburger--emphatic.is-active .hamburger-inner::before {
    left: -80px;
    top: -80px;
    transform: translate3d(80px, 80px, 0) rotate(45deg);
    transition:
        left 0.125s ease-out,
        top 0.05s 0.125s linear,
        transform 0.125s 0.175s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.hamburger--emphatic.is-active .hamburger-inner::after {
    right: -80px;
    top: -80px;
    transform: translate3d(-80px, 80px, 0) rotate(-45deg);
    transition:
        right 0.125s ease-out,
        top 0.05s 0.125s linear,
        transform 0.125s 0.175s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.swal2-confirm {
    background-color: #7d9b91 !important;
    border-color: #52595f !important;
    border-radius: 25px !important;
    color: #ffffff !important;
    transition: all 0.5s !important;
    padding: 0.3rem 1.8rem !important;
}
.swal2-confirm:hover {
    background-color: #52595f !important;
    border-color: #52595f !important;
    border-radius: 400px !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.swal2-cancel {
    background-color: #d00812 !important;
    border-color: #52595f !important;
    border-radius: 25px !important;
    color: #ffffff !important;
    transition: all 0.5s !important;
    padding: 0.3rem 1.8rem !important;
}
.swal2-cancel:hover {
    background-color: #52595f !important;
    border-color: #52595f !important;
    border-radius: 400px !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.active-doctor {
    border: 1px solid #7d9b91;
}

.primary-color {
    color: #7d9b91;
}

.alert-doctor {
    background-color: #fff;
    border: 1px solid #7d9b91;
    color: #7d9b91;
    font-weight: bold;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    text-align: center;
}

.ui-autocomplete {
    max-height: 300px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 9999 !important;
}

.ui-autocomplete .ui-menu-item {
    padding: 5px 10px !important;
    border-bottom: 1px solid #eee !important;
}

.ui-autocomplete .ui-menu-item:hover {
    background-color: rgba(125, 155, 145, 0.25) !important;
}

.ui-autocomplete .ui-state-active {
    background-color: #007bff !important;
    color: white !important;
}

/* Accueil : carte large + liste compacte (même hauteur) */
.doctors-map-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
    align-items: stretch;
    min-height: 420px;
}

.doctors-map-layout__sidebar {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: 420px;
    align-self: stretch;
}

.doctors-map-layout__sidebar .doctors-list-scroll {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: none !important;
}

.doctors-map-layout__map {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 420px;
}

@media (min-width: 992px) {
    .doctors-map-layout {
        flex-direction: row;
        align-items: stretch;
        min-height: 70vh;
    }

    .doctors-map-layout__sidebar {
        flex: 0 0 280px;
        width: 280px;
        max-width: 280px;
        min-height: 70vh;
    }

    .doctors-map-layout__map {
        flex: 1 1 auto;
        min-height: 70vh;
    }
}

.doctors-list-empty {
    font-size: 0.9rem;
    color: #52595f;
    padding: 0.5rem 0;
}

.doctor-card-compact {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    margin-bottom: 0.35rem;
    border: 1px solid #c5cdd4;
    border-radius: 6px;
    background-color: #fff;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #52595f;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.doctor-card-compact:hover,
.doctor-card-compact.active-doctor {
    border-color: #7d9b91;
    background: linear-gradient(90deg, #fff 46%, rgba(235, 233, 239, 0.45) 100%);
    color: #45255d;
}

.doctor-card-compact__icon {
    flex-shrink: 0;
    object-fit: contain;
    margin-top: 0.1rem;
}

.doctor-card-compact__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
}

.doctor-card-compact__label {
    width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-weight: 600;
}

.doctor-centre-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.doctor-card-compact .doctor-centre-badges {
    width: 100%;
}

.doctor-centre-badges__badge {
    display: inline-block;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.doctor-centre-badges__badge--adult {
    color: #2d5a47;
    background-color: rgba(125, 155, 145, 0.22);
    border: 1px solid rgba(125, 155, 145, 0.45);
}

.doctor-centre-badges__badge--pediatric {
    color: #6b5520;
    background-color: rgba(232, 185, 23, 0.2);
    border: 1px solid rgba(232, 185, 23, 0.45);
}

.doctor-card-compact:hover .doctor-centre-badges__badge--adult,
.doctor-card-compact.active-doctor .doctor-centre-badges__badge--adult {
    color: #1f4335;
    background-color: rgba(125, 155, 145, 0.32);
}

.doctor-card-compact:hover .doctor-centre-badges__badge--pediatric,
.doctor-card-compact.active-doctor .doctor-centre-badges__badge--pediatric {
    color: #524018;
    background-color: rgba(232, 185, 23, 0.3);
}

.doctorCard .doctor-centre-badges {
    justify-content: center;
    margin-top: 0.35rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 992px) {
    .doctorCard .doctor-centre-badges {
        justify-content: flex-start;
    }
}

.doctorCard--modal .doctor-centre-badges {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.doctorCard--modal .doctor-centre-badges__badge {
    font-size: 0.72rem;
}

.doctorCard--modal {
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.doctorCard--modal:hover {
    border: none;
    box-shadow: none;
    background: transparent;
}

/* Carte Leaflet (tuiles correctes sans padding global sur #mapid) */
.doctors-map-layout__map .result-map-leaflet {
    flex: 1 1 auto;
    min-height: 0;
}

#mapid.result-map-leaflet {
    padding: 0 !important;
    background-color: #e8eef2;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

@media (min-width: 992px) {
    #mapid.result-map-leaflet {
        min-height: 70vh;
    }
}

.result-map-banners {
    position: relative;
    z-index: 15;
    max-width: 100%;
}

.leaflet-popup-content .result-map-popup-nav {
    font-size: 13px;
    line-height: 1.5;
    border-top: 1px solid rgba(125, 155, 145, 0.25);
    padding-top: 0.5rem;
}

.leaflet-popup-content .result-map-popup-nav__label {
    font-weight: 600;
    color: #7d9b91;
}

.leaflet-popup-content .result-map-popup-nav a {
    color: #7d9b91;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.leaflet-popup-content .result-map-popup-nav a:hover {
    color: #157ab0;
}

.leaflet-popup-content .result-map-popup-nav__sep {
    color: #52595f;
    margin: 0 0.15rem;
}

.bmi__card {
    position: relative;
    z-index: 5;
    padding: 2.5rem 2rem;
    border-radius: 19px;
    border: 1px solid rgba(125, 155, 145, 0.25);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 5px 5px 30px 0 rgba(125, 155, 145, 0.2);
}

.bmi__title {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: #7d9b91;
}

.bmi__intro {
    margin: 0 0 1.5rem;
    color: #52595f;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bmi__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bmi__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.bmi__label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2b3a44;
}

.bmi__input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bmi__input {
    flex: 1 1 auto;
    min-height: 50px;
    border: 1px solid #dbe2e8;
    border-radius: 35px;
    padding: 0.65rem 1.1rem;
    font-size: 1rem;
    color: #2b3a44;
    background: #fff;
    box-shadow: 0 2px 8px rgba(69, 37, 93, 0.06);
}

.bmi__input:focus {
    border-color: #7d9b91;
    box-shadow: 0 0 0 0.2rem rgba(125, 155, 145, 0.2);
}

.bmi__unit {
    flex-shrink: 0;
    min-width: 2.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7d9b91;
}

.bmi__result {
    height: 100%;
    min-height: 220px;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(125, 155, 145, 0.2);
    background: linear-gradient(135deg, rgba(125, 155, 145, 0.08) 0%, rgba(255, 255, 255, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bmi__result--empty {
    justify-content: center;
}

.bmi__result-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #52595f;
}

.bmi__value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #45255d;
    letter-spacing: -0.02em;
}

.bmi__category-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
}

.bmi__category-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2b3a44;
}

.bmi__gauge {
    margin-top: 0.5rem;
}

.bmi__gauge-track {
    position: relative;
    display: flex;
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: #eef2f4;
    box-shadow: inset 0 1px 3px rgba(43, 58, 68, 0.12);
}

.bmi__gauge-segment {
    flex: 1 1 0;
    background-color: var(--bmi-segment-color);
    opacity: 0.85;
}

.bmi__gauge-marker {
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    margin-top: -9px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #7d9b91;
    box-shadow: 0 2px 8px rgba(69, 37, 93, 0.25);
    transition: left 0.25s ease, border-color 0.25s ease;
}

.bmi__gauge-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    padding: 0 0.15rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #52595f;
}

.bmi__disclaimer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(125, 155, 145, 0.2);
    font-size: 0.82rem;
    line-height: 1.45;
    color: #52595f;
}

@media (max-width: 991.98px) {
    .bmi__card {
        padding: 1.5rem 1.25rem;
    }

    .bmi__value {
        font-size: 2.5rem;
    }

    .bmi__result {
        min-height: auto;
    }
}
