/* ========================================
   THEME TOGGLE - Bouton de bascule de thème
   ======================================== */

/* Bouton de bascule thème (fixe en haut à droite) */
.theme-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  user-select: none;
  transition: transform .15s ease, box-shadow .15s ease, background .3s ease, border-color .3s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .label {
  font-size: 14px;
  color: var(--text);
  opacity: .9;
}

/* Icônes génériques */
.icon {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
}

.icon path,
.icon circle,
.icon line,
.icon polyline {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
