/* ═══════════════════════════════════════════════════════════════
   THEME SWITCHER - Layout & Positioning Only
   Visual styling is in each theme's CSS file
   ═══════════════════════════════════════════════════════════════ */

.theme-switcher {
  position: relative;
  z-index: 9999;
  font-family: inherit;
  margin-left: 1.5rem;
}

.theme-switcher-toggle {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.theme-switcher-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
}

.theme-switcher-menu.open {
  display: flex;
  animation: themeSwitcherSlideDown 0.2s ease;
}

@keyframes themeSwitcherSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.theme-icon {
  font-size: 1.3rem;
}

.theme-name {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .theme-switcher {
    margin-left: 0.5rem;
  }

  .theme-switcher-menu {
    right: -1rem;
    min-width: 200px;
  }
}
