/* ============================================================
   Theme Toggle Button Styles
   Included in theme-dark.css and works in light mode too.
   ============================================================ */

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--paper-2);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle-btn:active {
  transform: translateY(0);
}

/* Make sure it fits in nav bars */
.portal-nav-links .theme-toggle-btn,
.admin-nav-links .theme-toggle-btn,
.nav-links .theme-toggle-btn {
  margin-left: 4px;
}
