/* backend/src/main/resources/static/modules_styles/starter_standard/components/theme-toggle.css */

/* ==============================================
   THEME TOGGLE — starter-standard

   Flat emoji-based toggle button.
   Lives inside .header__actions flex container.
   ============================================== */

.theme-toggle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--gb-border-default);
  border-radius: var(--gb-radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--gb-transition-fast),
    border-color var(--gb-transition-fast);
}

.theme-toggle:hover {
  background: var(--gb-accent-subtle);
  border-color: var(--gb-border-strong);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--gb-accent-primary);
  outline-offset: 2px;
}

.theme-toggle__icon {
  /* stylelint-disable-next-line gabion/no-hardcoded-type -- emoji icon sized as a glyph in a fixed control, not text */
  font-size: 18px;
  line-height: 1;
  transition: transform var(--gb-transition-fast);
}

.theme-toggle:hover .theme-toggle__icon {
  transform: rotate(15deg);
}
