.theme-toggle {
  width: 68px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  position: relative;
  border: 1px solid var(--border);
  background: var(--tab-inactive);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
}

.theme-toggle.is-dark {
  background: rgba(27, 124, 80, 0.35);
  border-color: var(--primary);
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: var(--panel);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  transform: translateX(0);
  transition: transform 0.25s ease, background 0.25s ease;
}

.theme-toggle.is-dark .theme-toggle-thumb {
  transform: translateX(32px);
}
