/*
 * BarkParks shared dark-mode styles.
 * Provides the floating toggle button used by js/dark-mode.js.
 * Page-specific `body.dark-mode { ... }` theme rules live in each page.
 */
.theme-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform 0.12s ease, background 0.2s ease;
}

.theme-toggle:hover { transform: scale(1.06); }
.theme-toggle:focus-visible { outline: 3px solid #63b3ed; outline-offset: 2px; }

body.dark-mode .theme-toggle {
  background: rgba(30, 30, 58, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffeede;
}

@media (max-width: 600px) {
  .theme-toggle { width: 40px; height: 40px; top: 10px; right: 10px; }
}
