/* Theme Switcher Styles */
.theme-switcher {
  position: relative; /* Anchor for the absolute dropdown */
}

.theme-btn {
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--btn-border);
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-btn:hover {
  color: var(--fg);
  border-color: var(--fg);
  background-color: var(--timeline-hover);
}

.theme-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background-color: var(--card-bg);
  border: 1px solid var(--widget-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--box-shadow);
  min-width: 180px;
  z-index: 100;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.theme-menu.hidden {
  display: none;
}

.theme-option {
  background: transparent;
  border: none;
  color: var(--fg);
  padding: 0.75rem 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  transition: background 0.1s ease;
}

.theme-option:hover {
  background-color: var(--timeline-hover);
}

/* The little color dot next to the theme name */
.theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}