.sm3-theme-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.sm3-theme-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--wp--preset--color--contrast);
  cursor: pointer;
  line-height: 1;
  border-radius: 50%;
}

.sm3-theme-toggle__btn:focus {
  outline: 2px solid var(--studiomdrei-border, var(--wp--preset--color--contrast));
  outline-offset: 3px;
}

.sm3-theme-toggle__btn:focus:not(:focus-visible) {
  outline: none;
}

.sm3-theme-toggle__btn:focus-visible {
  outline: 2px solid var(--studiomdrei-border, var(--wp--preset--color--contrast));
  outline-offset: 3px;
}

.sm3-theme-toggle__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.sm3-theme-toggle__dot-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  flex-shrink: 0;
}

.sm3-theme-toggle__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
