@import url("/css/adaptive-layout.css?v=20261018-mobile1");

/* Switch compact : icone soleil/lune DANS le curseur. */
:is(.app-header-actions,.onboarding-user) .bc-theme-toggle {
  --switch-line: var(--bc-dark-border-strong, #8cc8f0);
  --switch-track: var(--bc-dark-surface-raised, #2f6b8f);
  --switch-thumb: var(--bc-dark-accent-lime, #b6f0db);
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;width:64px;min-width:64px;height:40px;min-height:40px;
  padding:5px;border:0;border-radius:999px;background:transparent;
  cursor:pointer;box-shadow:none;
}
:root[data-bc-theme="light"] :is(.app-header-actions,.onboarding-user) .bc-theme-toggle {
  --switch-line:#8cc8f0;--switch-track:#2f6b8f;--switch-thumb:#fff2d9;
}
.bc-theme-toggle .bc-theme-track {
  position:relative;display:block;flex:0 0 52px;width:52px;height:28px;
  background:var(--switch-track);border:1px solid var(--switch-line);border-radius:999px;
  box-sizing:border-box;box-shadow:inset 0 1px 3px rgba(0,0,0,.12);
}
.bc-theme-toggle .bc-theme-thumb {
  position:absolute;display:flex;align-items:center;justify-content:center;
  top:2px;left:2px;width:22px;height:22px;box-sizing:border-box;
  border-radius:50%;background:var(--switch-thumb);color:#2f6b8f;
  transform:translateX(24px);transition:transform .2s ease,background-color .2s ease;
  box-shadow:0 1px 3px rgba(0,0,0,.18);
}
:root[data-bc-theme="light"] .bc-theme-toggle .bc-theme-thumb { transform:translateX(0); }
.bc-theme-toggle .bc-theme-sun,.bc-theme-toggle .bc-theme-moon {
  position:absolute;display:block;width:15px;height:15px;flex:none;
  fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;
}
:root[data-bc-theme="light"] .bc-theme-toggle .bc-theme-moon,
:root:not([data-bc-theme="light"]) .bc-theme-toggle .bc-theme-sun {display:none;}
:is(.app-header-actions,.onboarding-user) .bc-theme-toggle:hover .bc-theme-track {border-color:#b6f0db;}
:is(.app-header-actions,.onboarding-user) .bc-theme-toggle:focus-visible {outline:2px solid #8cc8f0;outline-offset:2px;}
@media(prefers-reduced-motion:reduce){.bc-theme-toggle .bc-theme-thumb{transition:none;}}
