/* ===== FLOATING THEME INJECTOR WIDGET ===== */
.theme-switcher-widget {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  padding: 6px 8px;
  border-radius: 100px;
  display: flex;
  gap: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 999999;
  font-family: 'Syne', 'Cabinet Grotesk', sans-serif;
  transition: opacity 0.3s ease;
}

.theme-switcher-widget .btn-theme {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  background: none;
  color: #1a1a1a;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-switcher-widget .btn-theme:hover {
  background: rgba(0, 0, 0, 0.05);
}

.theme-switcher-widget .btn-theme.active {
  background: #1a1a1a;
  color: #fff;
}

/* Hide widget when printing or under special circumstances if needed */
@media print {
  .theme-switcher-widget {
    display: none !important;
  }
}

/* Responsive adjustments for mobile screens */
@media (max-width: 480px) {
  .theme-switcher-widget {
    width: 92% !important;
    max-width: 360px !important;
    padding: 4px 6px !important;
    gap: 2px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
  }
  
  .theme-switcher-widget::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }
  
  .theme-switcher-widget .btn-theme {
    padding: 6px 10px !important;
    font-size: 11px !important;
    gap: 4px !important;
  }
}

