:root {
  --bmc-navy: #15345b;
  --bmc-teal: #168f85;
  --bmc-blue: #2676ea;
  --bmc-coral: #ff6e68;
  --bmc-ink: #17304d;
  --bmc-muted: #68798b;
  --bmc-line: #dbe8ec;
  --bmc-bg: #f3f7f9;
  --bmc-white: #fff;
  --bmc-radius: 24px;
  --bmc-shadow: 0 24px 65px rgba(21, 52, 91, .1);
}

.bmc-app,
.bmc-app * { box-sizing: border-box; }
.bmc-app { min-height: 100vh; background: var(--bmc-bg); color: var(--bmc-ink); font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.bmc-app a { color: inherit; text-decoration: none; }
.bmc-app button,
.bmc-app input,
.bmc-app select,
.bmc-app textarea { font: inherit; }
.bmc-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 286px; display: flex; flex-direction: column; padding: 30px 24px 22px; background: rgba(255,255,255,.96); border-right: 1px solid var(--bmc-line); backdrop-filter: blur(20px); }
.bmc-brand { display: block; margin-bottom: 42px; }
.bmc-brand img { display: block; width: 206px; height: auto; }
.bmc-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px 14px 20px 20px; color: #fff; background: linear-gradient(135deg, var(--bmc-blue), var(--bmc-teal)); font-size: 26px; }
.bmc-nav-label { margin: 0 0 10px 14px; color: #98a5b2; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.bmc-sidebar nav { display: grid; gap: 8px; }
.bmc-sidebar nav a { display: flex; align-items: center; gap: 13px; padding: 13px 16px; border-radius: 14px; color: #4f6075; font-size: 14px; font-weight: 680; transition: .18s ease; }
.bmc-sidebar nav a > span { display: grid; place-items: center; width: 23px; height: 23px; color: #728195; font-size: 18px; }
.bmc-sidebar nav a:hover,
.bmc-sidebar nav a.is-active { color: var(--bmc-teal); background: #eaf7f4; }
.bmc-sidebar nav a.is-active > span { color: var(--bmc-teal); }
.bmc-sidebar-premium { margin-top: auto; padding: 17px; border: 1px solid rgba(38,118,234,.12); border-radius: 18px; background: linear-gradient(145deg, #eef5ff, #eaf8f5); }
.bmc-sidebar-premium > span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #3d57c8, #6f5bd2); }
.bmc-sidebar-premium b, .bmc-sidebar-premium small { display: block; }
.bmc-sidebar-premium b { color: var(--bmc-navy); font-size: 13px; }.bmc-sidebar-premium small { margin-top: 4px; color: var(--bmc-muted); font-size: 10px; line-height: 1.4; }
.bmc-sidebar-premium a { display: inline-flex; margin-top: 13px; color: #4b4aa5; font-size: 11px; font-weight: 800; }
.bmc-sidebar-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--bmc-line); font-weight: 700; color: var(--bmc-navy); }
.bmc-sidebar-premium + .bmc-sidebar-footer { margin-top: 16px; }
.bmc-sidebar-footer a { display: block; }
.bmc-sidebar-footer .bmc-logout-link { margin-top: 7px; color: var(--bmc-muted); font-size: 11px; font-weight: 600; }
.bmc-main { width: min(1500px, calc(100% - 286px)); margin-left: 286px; padding: 38px 50px 68px; }
.bmc-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.bmc-kicker { margin: 0 0 4px; color: var(--bmc-teal); font-weight: 800; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; }
.bmc-topbar h1 { margin: 0; color: var(--bmc-navy); font-size: clamp(30px, 3vw, 46px); line-height: 1.08; }
.bmc-topbar-subtitle { margin: 7px 0 0; color: var(--bmc-muted); font-size: 14px; }
.bmc-top-actions { display: flex; align-items: center; gap: 13px; }
.bmc-public-banner { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 20px; padding: 18px 20px; border: 1px solid #cfe5e2; border-radius: 17px; background: #eef9f7; }
.bmc-public-banner b, .bmc-public-banner span { display: block; }
.bmc-public-banner b { color: var(--bmc-navy); }
.bmc-public-banner span { margin-top: 3px; color: var(--bmc-muted); font-size: 12px; }
.bmc-public-banner > div:last-child { display: flex; gap: 8px; }
.bmc-public-banner a { padding: 9px 12px; border: 1px solid var(--bmc-teal); border-radius: 10px; color: var(--bmc-teal); font-size: 12px; font-weight: 750; }
.bmc-public-banner a:first-child { color: #fff; background: var(--bmc-teal); }
.bmc-notification { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--bmc-line); border-radius: 14px; color: var(--bmc-navy); background: #fff; cursor: pointer; }
.bmc-notification span { font-size: 19px; }.bmc-notification i { position: absolute; right: 3px; top: 2px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; color: #fff; background: var(--bmc-coral); font-size: 9px; font-style: normal; font-weight: 900; line-height: 1; }
.bmc-profile-button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff !important; background: linear-gradient(135deg, var(--bmc-navy), var(--bmc-teal)); font-weight: 800; box-shadow: var(--bmc-shadow); }
.bmc-search-panel { position: relative; overflow: hidden; padding: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; color: #fff; background: radial-gradient(circle at 90% 20%, rgba(255,255,255,.14), transparent 28%), linear-gradient(125deg, #102a4b 0%, #175877 55%, #168f85 100%); box-shadow: 0 28px 75px rgba(21,52,91,.18); }
.bmc-search-panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -80px; top: -100px; border: 50px solid rgba(255,255,255,.07); border-radius: 50%; pointer-events: none; }
.bmc-search-panel h2 { position: relative; z-index: 1; max-width: 740px; margin: 0 0 5px; font-size: clamp(25px, 3vw, 38px); line-height: 1.15; color: #fff; }
.bmc-search-panel p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.82); }
.bmc-search-eyebrow { position: relative; z-index: 2; display: inline-block; margin-bottom: 12px; color: #9fe7db; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bmc-search-form { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 10px; width: min(760px, 100%); margin-top: 24px; padding: 7px; background: #fff; border-radius: 16px; }
.bmc-search-form input { min-width: 0; padding: 11px 14px; border: 0; outline: 0; color: var(--bmc-ink); background: transparent; }
.bmc-search-form button,
.bmc-section-heading button { border: 0; border-radius: 11px; padding: 11px 18px; cursor: pointer; color: #fff; background: var(--bmc-teal); font-weight: 750; }
.bmc-filter-tabs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bmc-filter-tabs button { padding: 8px 14px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; cursor: pointer; color: #fff; background: rgba(255,255,255,.08); font-size: 14px; }
.bmc-filter-tabs button.is-active { color: var(--bmc-navy); background: #fff; border-color: #fff; font-weight: 750; }
.bmc-quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.bmc-quick-actions a { position: relative; min-height: 142px; padding: 21px; border: 1px solid var(--bmc-line); border-radius: var(--bmc-radius); background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(21,52,91,.045); transition: transform .2s ease, box-shadow .2s ease; }
.bmc-quick-actions a:hover { transform: translateY(-3px); box-shadow: var(--bmc-shadow); }
.bmc-quick-actions span { display: inline-grid; place-items: center; width: 39px; height: 39px; margin-bottom: 16px; border-radius: 12px; color: var(--bmc-teal); background: #e8f7f4; font-size: 19px; font-weight: 850; }
.bmc-quick-actions i { position: absolute; right: 18px; top: 19px; color: #9aa7b4; font-size: 15px; font-style: normal; }
.bmc-quick-actions strong,
.bmc-quick-actions small { display: block; }
.bmc-quick-actions strong { color: var(--bmc-navy); font-size: 16px; }
.bmc-quick-actions small { margin-top: 4px; color: var(--bmc-muted); }
.bmc-content-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 22px; }
.bmc-card { padding: 26px; border: 1px solid var(--bmc-line); border-radius: var(--bmc-radius); background: rgba(255,255,255,.97); box-shadow: 0 13px 40px rgba(21,52,91,.05); }
.bmc-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.bmc-section-heading h2 { margin: 0 0 3px; color: var(--bmc-navy); font-size: 22px; }
.bmc-section-heading p { margin: 0; color: var(--bmc-muted); font-size: 14px; }
.bmc-results { display: grid; gap: 11px; }
.bmc-result { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid #e7eef1; border-radius: 15px; }
.bmc-result-image { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; background: #eaf4fc; }
.bmc-result-placeholder { display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--bmc-blue), var(--bmc-teal)); font-weight: 850; }
.bmc-result h3 { margin: 0; color: var(--bmc-navy); font-size: 17px; }
.bmc-result p { margin: 4px 0 0; color: var(--bmc-muted); font-size: 13px; }
.bmc-result-badge { display: inline-flex; margin-top: 6px; padding: 3px 8px; border-radius: 999px; color: #087a6f; background: #e7f8f4; font-size: 11px; font-weight: 750; }
.bmc-result-actions { display: grid; gap: 7px; min-width: 132px; }
.bmc-result-actions a,
.bmc-result-actions button { padding: 8px 12px; border: 1px solid var(--bmc-teal); border-radius: 10px; color: var(--bmc-teal); background: #fff; cursor: pointer; font-size: 12px; font-weight: 750; text-align: center; }
.bmc-result-actions button { color: #fff; background: var(--bmc-teal); }
.bmc-map { min-height: 390px; overflow: hidden; border-radius: 16px; background: #eaf4fc; }
.bmc-appointments { margin-top: 22px; }
.bmc-appointment-list { display: grid; gap: 10px; }
.bmc-appointment-item { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px; border: 1px solid #e5edf0; border-radius: 16px; }
.bmc-appointment-date b, .bmc-appointment-date span { display: block; }
.bmc-appointment-date b { color: var(--bmc-navy); font-size: 14px; }
.bmc-appointment-date span { width: max-content; margin-top: 6px; padding: 4px 8px; border-radius: 999px; color: #9a6811; background: #fff4d8; font-size: 10px; font-weight: 800; }
.bmc-appointment-date span.is-confirmed { color: #087a6f; background: #e7f8f4; }
.bmc-appointment-date span.is-cancelled { color: #9b2d2d; background: #fff0ef; }
.bmc-appointment-date span.is-completed { color: #315e9f; background: #eaf2ff; }
.bmc-appointment-item h3 { margin: 0; color: var(--bmc-navy); font-size: 16px; }
.bmc-appointment-item p { margin: 4px 0 0; color: var(--bmc-muted); font-size: 12px; }
.bmc-appointment-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.bmc-appointment-actions button { padding: 7px 9px; border: 1px solid var(--bmc-line); border-radius: 9px; color: var(--bmc-navy); background: #fff; cursor: pointer; font-size: 11px; font-weight: 700; }
.bmc-account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.bmc-account-card { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 16px; }
.bmc-account-avatar { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--bmc-blue), var(--bmc-teal)); font-size: 20px; font-weight: 850; }
.bmc-account-card span { color: var(--bmc-teal); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.bmc-account-card h2 { margin: 4px 0 2px; color: var(--bmc-navy); font-size: 20px; }.bmc-account-card p { margin: 0; color: var(--bmc-muted); font-size: 12px; }.bmc-account-card > a { padding: 10px 13px; border: 1px solid var(--bmc-line); border-radius: 11px; color: var(--bmc-navy); background: #fff; font-size: 12px; font-weight: 750; }
.bmc-premium-panel { position: relative; overflow: hidden; color: #fff; background: linear-gradient(140deg, #203568, #514aa7); border: 0; }
.bmc-premium-panel::after { content: ""; position: absolute; width: 170px; height: 170px; right: -65px; bottom: -90px; border: 26px solid rgba(255,255,255,.07); border-radius: 50%; }.bmc-premium-panel > span { color: #b9b7ff; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.bmc-premium-panel h2 { max-width: 430px; margin: 10px 0 7px; color: #fff; font-size: 21px; }.bmc-premium-panel p { max-width: 520px; margin: 0; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.55; }.bmc-premium-panel a { display: inline-flex; gap: 9px; margin-top: 17px; color: #fff; font-size: 12px; font-weight: 750; }.bmc-premium-panel a i { font-style: normal; }
.bmc-care-panel { color: #fff; background: linear-gradient(135deg, #16466b, #168f85); border: 0; }
.bmc-care-panel > span { color: #9fe7db; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.bmc-care-panel h2 { margin: 10px 0 7px; color: #fff; font-size: 21px; }
.bmc-care-panel p { margin: 0; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.55; }
.bmc-modal[hidden] { display: none; }
.bmc-modal { position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center; padding: 24px; }
.bmc-modal-backdrop { position: absolute; inset: 0; background: rgba(8,27,48,.68); backdrop-filter: blur(7px); }
.bmc-modal-dialog { position: relative; z-index: 1; width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 34px; border-radius: 25px; background: #fff; box-shadow: 0 35px 90px rgba(8,27,48,.28); }
.bmc-modal-close { position: absolute; right: 18px; top: 15px; width: 38px; height: 38px; border: 1px solid var(--bmc-line); border-radius: 12px; color: var(--bmc-navy); background: #fff; cursor: pointer; font-size: 24px; }
.bmc-modal-kicker { color: var(--bmc-teal); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.bmc-modal-dialog h2 { margin: 10px 50px 22px 0; color: var(--bmc-navy); font-size: 30px; }
.bmc-modal-dialog form, .bmc-booking-patient { display: grid; gap: 14px; }
.bmc-modal-dialog label { display: grid; gap: 7px; color: var(--bmc-navy); font-size: 12px; font-weight: 750; }
.bmc-modal-dialog label small { color: var(--bmc-muted); font-weight: 500; }
.bmc-modal-dialog input, .bmc-modal-dialog select, .bmc-modal-dialog textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--bmc-line); border-radius: 12px; outline: 0; color: var(--bmc-ink); background: #fbfdfe; }
.bmc-modal-dialog input:focus, .bmc-modal-dialog select:focus, .bmc-modal-dialog textarea:focus { border-color: var(--bmc-teal); box-shadow: 0 0 0 4px rgba(22,143,133,.09); }
.bmc-booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bmc-primary-action { min-height: 50px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(120deg, var(--bmc-navy), var(--bmc-teal)); cursor: pointer; font-weight: 800; }
.bmc-primary-action:disabled { cursor: wait; opacity: .65; }
.bmc-modal-message { display: none; margin: -8px 0 15px; padding: 10px 12px; border-radius: 10px; font-size: 12px; }
.bmc-modal-message.is-error { display: block; color: #9b2d2d; background: #fff0ef; }
.bmc-modal-message.is-success { display: block; color: #087a6f; background: #e7f8f4; }
body.bmc-modal-open { overflow: hidden; }
.bmc-mobile-nav { display: none; }
.bmc-empty { padding: 28px; border: 1px dashed var(--bmc-line); border-radius: 15px; color: var(--bmc-muted); text-align: center; }

@media (max-width: 1100px) {
  .bmc-main { padding-inline: 28px; }
  .bmc-quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bmc-content-grid { grid-template-columns: 1fr; }
  .bmc-account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body:has(.bmc-app) { background: var(--bmc-bg); }
  .bmc-sidebar { display: none; }
  .bmc-main { width: 100%; margin: 0; padding: 20px 16px 104px; }
  .bmc-topbar { margin-bottom: 18px; }
  .bmc-kicker { display: none; }
  .bmc-topbar h1 { font-size: 28px; }
  .bmc-public-banner { display: grid; }
  .bmc-public-banner > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .bmc-public-banner a { text-align: center; }
  .bmc-search-panel { padding: 25px 19px 21px; border-radius: 23px; }
  .bmc-search-panel h2 { font-size: 25px; }
  .bmc-search-panel p { font-size: 14px; }
  .bmc-search-form { grid-template-columns: 1fr; padding: 6px; }
  .bmc-search-form button { width: 100%; }
  .bmc-filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; scrollbar-width: none; }
  .bmc-filter-tabs button { flex: 0 0 auto; }
  .bmc-quick-actions { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .bmc-quick-actions a { min-height: 132px; padding: 15px; border-radius: 18px; }
  .bmc-quick-actions strong { font-size: 14px; }
  .bmc-quick-actions small { font-size: 12px; }
  .bmc-card { padding: 18px; border-radius: 20px; }
  .bmc-section-heading { display: block; }
  .bmc-section-heading button { margin-top: 12px; }
  .bmc-result { grid-template-columns: 54px minmax(0, 1fr); }
  .bmc-result-image { width: 54px; height: 54px; }
  .bmc-result-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .bmc-map { min-height: 320px; }
  .bmc-account-card { grid-template-columns: 50px 1fr; }.bmc-account-avatar { width: 50px; height: 50px; border-radius: 15px; }.bmc-account-card > a { grid-column: 1 / -1; text-align: center; }
  .bmc-appointment-item { grid-template-columns: 1fr; gap: 10px; }
  .bmc-appointment-actions { justify-content: flex-start; }
  .bmc-modal { align-items: end; padding: 0; }
  .bmc-modal-dialog { width: 100%; max-height: 92vh; padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 25px 25px 0 0; }
  .bmc-mobile-nav { position: fixed; z-index: 1000; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 9px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border-top: 1px solid var(--bmc-line); background: rgba(255,255,255,.96); backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 -8px 30px rgba(21,52,91,.08); }
  .bmc-mobile-nav a { display: grid; justify-items: center; gap: 2px; color: #708094; font-size: 10px; font-weight: 700; }
  .bmc-mobile-nav span { font-size: 23px; line-height: 1; }
  .bmc-mobile-nav a.is-active { color: var(--bmc-teal); }
  .bmc-mobile-nav .bmc-mobile-action span { display: grid; place-items: center; width: 43px; height: 43px; margin-top: -25px; border: 5px solid var(--bmc-bg); border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--bmc-blue), var(--bmc-teal)); box-sizing: content-box; box-shadow: 0 10px 25px rgba(21,52,91,.2); }
}

@media (prefers-reduced-motion: reduce) {
  .bmc-app *, .bmc-app *::before, .bmc-app *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* 0.5.0 — annuaire national, OpenStreetMap et rendez-vous sans compte */
.bmc-result-source { display: inline-flex; margin-top: 6px; margin-right: 6px; padding: 3px 8px; border-radius: 999px; color: #536579; background: #eef3f6; font-size: 10px; font-weight: 750; }
.bmc-map-note { margin: 10px 2px 0; color: var(--bmc-muted); font-size: 11px; line-height: 1.5; }
.bmc-consent { display: grid !important; grid-template-columns: auto 1fr; align-items: start; gap: 9px; color: var(--bmc-muted); font-size: 12px; line-height: 1.45; }
.bmc-consent input { width: auto !important; margin-top: 3px; }
.bmc-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
@media (max-width: 760px) {
  .bmc-result-actions { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
}

.bmc-provider-choice-info{margin:-.2rem 0 .85rem;padding:.75rem .9rem;border:1px solid rgba(15,118,110,.18);border-radius:12px;background:rgba(240,253,250,.72);font-size:.9rem;line-height:1.5}.bmc-provider-choice-info span{color:#475569}

.bmc-result-actions a.bmc-chat-action { color: #fff; border-color: #1f9d67; background: #1f9d67; }
.bmc-support-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 22px; }
.bmc-support-card h2 { margin: 6px 0 8px; color: var(--bmc-navy); }
.bmc-support-card p { margin: 0; color: var(--bmc-muted); }
.bmc-support-card > a { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; padding: 12px 16px; border-radius: 12px; color: #fff; background: linear-gradient(120deg, var(--bmc-navy), var(--bmc-teal)); font-weight: 800; text-decoration: none; }
@media (max-width: 760px) { .bmc-support-card { align-items: flex-start; flex-direction: column; } .bmc-support-card > a { width: 100%; justify-content: center; } }


/* 0.5.6 — centre de notifications flottant */
.bmc-floating-notification { position: fixed; z-index: 1450; right: 24px; bottom: 24px; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 19px; color: #fff; background: linear-gradient(135deg, var(--bmc-blue), var(--bmc-teal)); box-shadow: 0 16px 38px rgba(21,52,91,.28); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.bmc-floating-notification:hover { transform: translateY(-2px); box-shadow: 0 19px 45px rgba(21,52,91,.34); }
.bmc-floating-notification > span { font-size: 22px; line-height: 1; }
.bmc-floating-notification > i { position: absolute; right: -4px; top: -5px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 3px solid #fff; border-radius: 999px; color: #fff; background: var(--bmc-coral); font-size: 9px; font-style: normal; font-weight: 900; }
.bmc-notification-center[hidden] { display: none; }
.bmc-notification-center { position: fixed; z-index: 2300; inset: 0; pointer-events: none; }
.bmc-notification-backdrop { position: absolute; inset: 0; background: rgba(8,27,48,.18); backdrop-filter: blur(2px); pointer-events: auto; }
.bmc-notification-panel { position: absolute; right: 24px; top: 82px; width: min(410px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 110px)); overflow: hidden; border: 1px solid rgba(203,216,226,.9); border-radius: 24px; background: #fff; box-shadow: 0 28px 80px rgba(8,27,48,.24); pointer-events: auto; }
.bmc-notification-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 21px 16px; border-bottom: 1px solid var(--bmc-line); }
.bmc-notification-panel > header span { color: var(--bmc-teal); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.bmc-notification-panel > header h2 { margin: 3px 0 0; color: var(--bmc-navy); font-size: 23px; }
.bmc-notification-panel > header button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--bmc-line); border-radius: 11px; color: var(--bmc-navy); background: #fff; cursor: pointer; font-size: 22px; }
.bmc-notification-list { max-height: 450px; overflow: auto; padding: 10px 12px; }
.bmc-notification-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 13px 10px; border-bottom: 1px solid #edf2f5; border-radius: 13px; }
.bmc-notification-item:last-child { border-bottom: 0; }
.bmc-notification-item.is-unread { background: linear-gradient(90deg, rgba(22,143,133,.08), rgba(42,109,181,.035)); }
.bmc-notification-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--bmc-blue), var(--bmc-teal)); font-size: 17px; font-weight: 900; }
.bmc-notification-item h3 { margin: 1px 0 4px; color: var(--bmc-navy); font-size: 14px; }
.bmc-notification-item p { margin: 0; color: #536579; font-size: 12px; line-height: 1.5; }
.bmc-notification-item time { display: block; margin-top: 6px; color: #91a0af; font-size: 10px; }
.bmc-notification-privacy { margin: 0; padding: 12px 20px 16px; border-top: 1px solid var(--bmc-line); color: #738397; background: #fbfdfe; font-size: 10px; line-height: 1.5; }
.bmc-notification-toast { position: fixed; z-index: 2400; right: 24px; bottom: 96px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 11px; width: min(360px, calc(100vw - 32px)); padding: 13px 15px; border: 1px solid rgba(203,216,226,.9); border-radius: 17px; color: inherit; background: rgba(255,255,255,.98); box-shadow: 0 20px 55px rgba(8,27,48,.23); text-align: left; cursor: pointer; animation: bmc-notification-in .25s ease-out; }
.bmc-notification-toast > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--bmc-blue), var(--bmc-teal)); font-weight: 900; }
.bmc-notification-toast b { display: block; color: var(--bmc-navy); font-size: 13px; }
.bmc-notification-toast small { display: -webkit-box; margin-top: 3px; overflow: hidden; color: #607286; font-size: 11px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@keyframes bmc-notification-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
body.bmc-notifications-open { overflow: hidden; }
@media (max-width: 760px) {
  .bmc-floating-notification { right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 17px; }
  .bmc-notification-panel { inset: auto 0 0 0; width: 100%; max-height: 78vh; border-radius: 24px 24px 0 0; }
  .bmc-notification-list { max-height: calc(78vh - 145px); }
  .bmc-notification-backdrop { background: rgba(8,27,48,.48); backdrop-filter: blur(5px); }
  .bmc-notification-toast { right: 16px; bottom: calc(158px + env(safe-area-inset-bottom)); }
}

/* BolamuCare 0.5.7 — gestion des rendez-vous professionnels */
.bmc-appointment-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.bmc-alert-button{border:1px solid var(--bmc-line)!important;color:var(--bmc-navy)!important;background:#fff!important}.bmc-alert-button.is-enabled{border-color:#9bd8ce!important;color:#087a6f!important;background:#eaf8f5!important}.bmc-appointment-help{display:flex;gap:10px;align-items:flex-start;margin:0 0 16px;padding:12px 14px;border:1px solid #d9ece8;border-radius:14px;color:#506477;background:#f5fbfa;font-size:12px;line-height:1.55}.bmc-appointment-help strong{flex:0 0 auto;color:var(--bmc-teal)}.bmc-appointment-main{min-width:0}.bmc-appointment-actions a,.bmc-appointment-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;text-decoration:none}.bmc-appointment-actions .is-confirm{border-color:#168f85;color:#fff;background:#168f85}.bmc-appointment-actions .is-complete{border-color:#315e9f;color:#fff;background:#315e9f}.bmc-appointment-actions .is-refuse{border-color:#efd3d0;color:#9b2d2d;background:#fff6f5}.bmc-appointment-actions .bmc-appointment-chat{padding:7px 9px;border:1px solid #b8e8cf;border-radius:9px;color:#147d51;background:#f2fbf6;font-size:11px;font-weight:750}.bmc-provider-unavailable{color:#8d6b28;font-weight:700}.bmc-appointment-date span.is-no_show{color:#6f4a84;background:#f5eefd}@media(max-width:760px){.bmc-appointment-heading-actions{width:100%;justify-content:stretch}.bmc-appointment-heading-actions button{flex:1}.bmc-appointment-help{display:block}.bmc-appointment-help strong{display:block;margin-bottom:4px}.bmc-appointment-item{grid-template-columns:1fr!important;gap:11px!important}.bmc-appointment-actions{justify-content:flex-start!important}.bmc-appointment-actions a,.bmc-appointment-actions button{flex:1 1 auto}}

/* BolamuCare 0.5.8 — écrans réellement distincts : Accueil, Annuaire, Rendez-vous, Carte */
.bmc-view[hidden]{display:none!important}.bmc-view.is-active{display:block}.bmc-view{animation:bmc-view-in .18s ease-out}@keyframes bmc-view-in{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:none}}
.bmc-home-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:24px;align-items:stretch;padding:34px;border:1px solid rgba(22,143,133,.14);border-radius:30px;background:linear-gradient(135deg,#fff 0%,#f2fbf9 58%,#edf5ff 100%);box-shadow:0 20px 60px rgba(21,52,91,.07)}
.bmc-home-hero-copy{align-self:center}.bmc-home-hero-copy .bmc-search-eyebrow{color:var(--bmc-teal)}.bmc-home-hero-copy h2{max-width:760px;margin:0;color:var(--bmc-navy);font-size:clamp(30px,3.4vw,50px);line-height:1.08;letter-spacing:-.025em}.bmc-home-hero-copy p{max-width:700px;margin:14px 0 0;color:var(--bmc-muted);font-size:16px;line-height:1.65}
.bmc-home-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.bmc-home-hero-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 16px;border:1px solid var(--bmc-line);border-radius:12px;color:var(--bmc-navy);background:#fff;font-weight:800}.bmc-home-hero-actions a.is-primary{border-color:var(--bmc-teal);color:#fff;background:var(--bmc-teal)}
.bmc-home-stats{display:grid;grid-template-columns:1fr;gap:10px}.bmc-home-stats article{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label value" "note value";align-items:center;gap:2px 16px;padding:18px 19px;border:1px solid rgba(21,52,91,.08);border-radius:18px;background:rgba(255,255,255,.9)}.bmc-home-stats span{grid-area:label;color:var(--bmc-navy);font-size:13px;font-weight:800}.bmc-home-stats strong{grid-area:value;color:var(--bmc-teal);font-size:32px;line-height:1}.bmc-home-stats small{grid-area:note;color:var(--bmc-muted);font-size:11px}
.bmc-home-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:22px;margin-top:22px}.bmc-text-link{color:var(--bmc-teal)!important;font-size:13px;font-weight:800}.bmc-home-provider-list{display:grid;gap:10px}.bmc-home-provider{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:13px;align-items:center;padding:11px;border:1px solid #e7eef1;border-radius:15px}.bmc-home-provider img,.bmc-home-provider-avatar{width:54px;height:54px;border-radius:14px;object-fit:cover}.bmc-home-provider-avatar{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--bmc-blue),var(--bmc-teal));font-weight:850}.bmc-home-provider h3{margin:0;color:var(--bmc-navy);font-size:15px}.bmc-home-provider p{margin:3px 0;color:var(--bmc-muted);font-size:11px}.bmc-home-provider small{color:#087a6f;font-size:10px;font-weight:750}.bmc-home-provider>div:last-child{display:flex;gap:6px}.bmc-home-provider a,.bmc-home-provider button{padding:7px 9px;border:1px solid var(--bmc-teal);border-radius:9px;color:var(--bmc-teal);background:#fff;font-size:11px;font-weight:800;cursor:pointer}.bmc-home-provider button{color:#fff;background:var(--bmc-teal)}
.bmc-home-guide h2{margin:0 0 14px;color:var(--bmc-navy)}.bmc-home-guide ol{display:grid;gap:12px;margin:0;padding:0;list-style:none}.bmc-home-guide li{display:grid;grid-template-columns:40px 1fr;gap:11px;align-items:start}.bmc-home-guide li>b{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#fff;background:linear-gradient(135deg,var(--bmc-navy),var(--bmc-teal))}.bmc-home-guide strong,.bmc-home-guide span{display:block}.bmc-home-guide strong{color:var(--bmc-navy);font-size:13px}.bmc-home-guide span{margin-top:2px;color:var(--bmc-muted);font-size:11px;line-height:1.45}
.bmc-directory-results{margin-top:22px}.bmc-directory-results .bmc-results{min-height:190px}
.bmc-appointments-hero,.bmc-map-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:22px;padding:30px;border-radius:26px;color:#fff;background:linear-gradient(125deg,#15345b,#176b77 58%,#168f85);box-shadow:0 20px 55px rgba(21,52,91,.15)}.bmc-appointments-hero .bmc-search-eyebrow,.bmc-map-hero .bmc-search-eyebrow{color:#aef0e5}.bmc-appointments-hero h2,.bmc-map-hero h2{margin:0;color:#fff;font-size:clamp(26px,3vw,40px)}.bmc-appointments-hero p,.bmc-map-hero p{max-width:780px;margin:8px 0 0;color:rgba(255,255,255,.8);line-height:1.55}.bmc-appointments-hero .bmc-primary-action,.bmc-map-hero>button{flex:0 0 auto;padding:12px 16px;border:1px solid rgba(255,255,255,.35);border-radius:12px;color:#15345b;background:#fff;font-weight:850;cursor:pointer}.bmc-guest-rdv-info{margin-top:22px}.bmc-guest-rdv-info h2{margin-top:0;color:var(--bmc-navy)}.bmc-guest-rdv-info p{color:var(--bmc-muted)}.bmc-guest-rdv-info a{color:var(--bmc-teal);font-weight:800}
.bmc-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.bmc-map-toolbar form{display:grid;grid-template-columns:minmax(220px,520px) auto;gap:8px;flex:1}.bmc-map-toolbar input{min-width:0;padding:12px 14px;border:1px solid var(--bmc-line);border-radius:12px;background:#fff;outline:0}.bmc-map-toolbar form button{padding:11px 14px;border:0;border-radius:11px;color:#fff;background:var(--bmc-teal);font-weight:800;cursor:pointer}.bmc-map-filter-tabs{display:flex;flex-wrap:wrap;gap:7px}.bmc-map-filter-tabs button{padding:9px 12px;border:1px solid var(--bmc-line);border-radius:999px;color:#536579;background:#fff;font-size:12px;font-weight:750;cursor:pointer}.bmc-map-filter-tabs button.is-active{border-color:var(--bmc-teal);color:#fff;background:var(--bmc-teal)}
.bmc-map-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.45fr);gap:18px}.bmc-map-primary{padding:14px}.bmc-map-large{height:min(68vh,720px);min-height:540px;border-radius:18px}.bmc-map-nearby{padding:20px;min-height:540px;max-height:min(68vh,720px);overflow:auto}.bmc-map-nearby-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #edf2f5}.bmc-map-nearby-item:last-child{border-bottom:0}.bmc-map-nearby-item span{color:var(--bmc-teal);font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.bmc-map-nearby-item h3{margin:3px 0;color:var(--bmc-navy);font-size:14px}.bmc-map-nearby-item p{margin:0;color:var(--bmc-muted);font-size:11px;line-height:1.4}.bmc-map-nearby-item small{display:block;margin-top:4px;color:#91a0af;font-size:9px}.bmc-map-nearby-item>a{padding:7px 9px;border:1px solid var(--bmc-teal);border-radius:9px;color:var(--bmc-teal);font-size:10px;font-weight:800;white-space:nowrap}
@media(max-width:1100px){.bmc-home-hero{grid-template-columns:1fr}.bmc-home-stats{grid-template-columns:repeat(3,1fr)}.bmc-home-stats article{grid-template-columns:1fr;grid-template-areas:"value" "label" "note"}.bmc-home-grid,.bmc-map-layout{grid-template-columns:1fr}.bmc-map-nearby{min-height:0;max-height:none}.bmc-map-toolbar{align-items:stretch;flex-direction:column}.bmc-map-filter-tabs{justify-content:flex-start}}
@media(max-width:760px){.bmc-topbar{align-items:flex-start}.bmc-topbar h1{font-size:28px}.bmc-home-hero{padding:23px;border-radius:22px}.bmc-home-hero-copy h2{font-size:31px}.bmc-home-stats{grid-template-columns:1fr}.bmc-home-stats article{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label value" "note value"}.bmc-home-grid{grid-template-columns:1fr}.bmc-home-provider{grid-template-columns:48px minmax(0,1fr)}.bmc-home-provider img,.bmc-home-provider-avatar{width:48px;height:48px}.bmc-home-provider>div:last-child{grid-column:1/-1;justify-content:flex-end}.bmc-appointments-hero,.bmc-map-hero{align-items:flex-start;flex-direction:column;padding:22px;border-radius:21px}.bmc-appointments-hero .bmc-primary-action,.bmc-map-hero>button{width:100%}.bmc-map-toolbar form{grid-template-columns:1fr}.bmc-map-filter-tabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.bmc-map-filter-tabs button{padding:9px 6px}.bmc-map-large{height:58vh;min-height:430px}.bmc-map-nearby-item{grid-template-columns:1fr}.bmc-map-nearby-item>a{justify-self:start}.bmc-directory-results{padding:19px}.bmc-section-heading{flex-direction:column}.bmc-section-heading>button{width:100%}}
.bmc-appointment-provider-card{margin-bottom:22px}.bmc-appointment-provider-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bmc-appointment-provider{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px;border:1px solid #e7eef1;border-radius:14px}.bmc-appointment-provider img,.bmc-appointment-provider-avatar{width:50px;height:50px;border-radius:13px;object-fit:cover}.bmc-appointment-provider-avatar{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--bmc-blue),var(--bmc-teal));font-weight:850}.bmc-appointment-provider h3{margin:0;color:var(--bmc-navy);font-size:14px}.bmc-appointment-provider p{margin:3px 0 0;color:var(--bmc-muted);font-size:10px;line-height:1.4}.bmc-appointment-provider button{padding:8px 10px;border:0;border-radius:9px;color:#fff;background:var(--bmc-teal);font-size:11px;font-weight:800;cursor:pointer}@media(max-width:760px){.bmc-appointment-provider-list{grid-template-columns:1fr}.bmc-appointment-provider{grid-template-columns:46px minmax(0,1fr) auto}.bmc-appointment-provider img,.bmc-appointment-provider-avatar{width:46px;height:46px}}
