:root.thema-wisselt,
:root.thema-wisselt *,
:root.thema-wisselt *::before,
:root.thema-wisselt *::after {
  transition: none !important;
  animation-duration: 1ms !important;
}

.thema-kiezer {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 900;
  font-family: inherit;
}

.thema-kiezer-knop {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
   
  min-height: 44px;
  padding: 0 var(--space-md);
  background: var(--bg-card-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.thema-kiezer-knop:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.thema-kiezer-knop svg { flex: none; }

.thema-kiezer-lijst {
  position: absolute;
  right: 0;
  bottom: calc(100% + var(--space-sm));
  min-width: 210px;
  padding: var(--space-xs);
  background: var(--bg-card-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.thema-kiezer-lijst[hidden] { display: none; }

.thema-kiezer-groep {
  padding: var(--space-sm) var(--space-sm) 2px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.thema-kiezer-groep:first-child { padding-top: 4px; }

.thema-kiezer-optie {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 44px;
  padding: 0 var(--space-sm);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.thema-kiezer-optie:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}



.thema-kiezer-optie[aria-checked="true"] {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.thema-kiezer-optie[aria-checked="true"]::after {
  content: '✓';
  margin-left: auto;
  color: var(--accent-primary);
  font-weight: 800;
}

.thema-kiezer-zweem {
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
}

@media (max-width: 640px) {
  .thema-kiezer-label { display: none; }
  .thema-kiezer-knop { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .thema-kiezer-knop,
  .thema-kiezer-optie { transition: none; }
}
