/* ==========================================================================
   AstraDax - tombol tema (Liquid Glass / Gelap)
   Tema Terang sudah dihapus. Token tema ada di base.css (gelap) dan glass.css.
   Toggle disisipkan oleh /js/theme.js.
   ========================================================================== */

/* ---- Toggle button ---- */
.theme-toggle {
  background: var(--ax-surface); border: 1px solid var(--ax-line); color: var(--ax-text-2);
  cursor: pointer; width: 36px; height: 36px; border-radius: var(--ax-r-md);
  display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--ax-text); border-color: var(--ax-line-strong); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ic-moon { display: none; }
html[data-theme="glass"] .theme-toggle .ic-sun { display: none; }
html[data-theme="glass"] .theme-toggle .ic-moon { display: block; }
.theme-toggle.floating { position: fixed; top: 16px; right: 16px; z-index: 60; }

