/* Theme Toggle - inherits aux-nav styles, icon added via CSS */

/* Fallback: Fixed button if not in nav */
body > #theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--border-color, #eeebee);
  background: var(--body-background-color, #fff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

body > #theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  background: var(--code-background-color, #f5f6fa);
}

/* Mobile responsive */
@media (max-width: 768px) {
  body > #theme-toggle {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/* Dark mode adjustments */
[data-theme="dark"] body > #theme-toggle {
  border-color: #44434d;
  background: #27262b;
}

[data-theme="dark"] body > #theme-toggle:hover {
  background: #2c2c2c;
}

