/* === Theme Toggle Button === */
.theme-toggle {
  position: fixed;
  top: 70px;
  right: 24px;
  z-index: 100;
  background: var(--surface, var(--bg, #111));
  border: 1px solid var(--border, #333);
  border-radius: 3px;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--dim, #666);
}

.theme-toggle:hover {
  color: var(--warm, var(--accent, #c4956a));
  border-color: var(--warm-dim, var(--accent-dim, #6b4f36));
}

.theme-toggle svg {
  width: 14px;
  height: 14px;
  transition: opacity 0.3s ease;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Smooth transition for theme switch */
body {
  transition: background 0.4s ease, color 0.4s ease;
}
