/* SimCzech Theme Switcher */

.sc-theme-switcher {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9998;
}

.sc-theme-switcher__trigger {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sc-bg-card, #1e293b);
  border: 1px solid var(--sc-border, #334155);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sc-theme-switcher__trigger:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--sc-accent, #f59e0b);
}

/* Panel */
.sc-theme-switcher__panel {
  position: absolute;
  bottom: 3.5rem;
  left: 0;
  background: var(--sc-bg-card, #1e293b);
  border: 1px solid var(--sc-border, #334155);
  border-radius: 0.75rem;
  padding: 0.5rem;
  min-width: 180px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sc-theme-switcher__panel--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.sc-theme-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.sc-theme-switcher__option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sc-theme-switcher__option--active {
  background: rgba(245, 158, 11, 0.1);
  border-left: 2px solid var(--sc-accent, #f59e0b);
}

.sc-theme-switcher__option-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sc-theme-switcher__option-name {
  font-size: 0.85rem;
  color: var(--sc-text, #e2e8f0);
  font-weight: 500;
}

.sc-theme-switcher__option--active .sc-theme-switcher__option-name {
  color: var(--sc-accent, #f59e0b);
}

/* Light theme specifics */
.sc-theme-light {
  color-scheme: light;
}

.sc-theme-light .sc-theme-switcher__panel {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .sc-theme-switcher {
    bottom: 1rem;
    left: 1rem;
  }
}
