x-dock {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 50px;
  padding: 1rem;
}
x-dock.block {
  display: flex;
}
x-dock x-dock-spacer {
  flex: 1;
  min-width: 2rem;
}
x-dock x-dock-item.active > div {
  color: var(--color-primary, #4275F2);
}
x-dock x-dock-item > div {
  color: var(--color-default-shaded, #6d6d6d);
  position: relative;
  flex-direction: row;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s;
  user-select: none;
}
x-dock x-dock-item > div:hover {
  cursor: pointer;
  color: var(--color-primary, #4275F2);
}
x-dock x-dock-item > div:hover x-icon {
  cursor: pointer;
  scale: 1.2;
}
x-dock x-dock-item > div:active x-icon {
  scale: 1;
}
x-dock x-dock-item > div x-icon {
  transition: scale 0.2s cubic-bezier(0.5, 0, 0, 1);
  font-size: 2rem !important;
}
x-dock x-dock-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
  height: 50px;
  box-sizing: border-box;
  padding: 0.25rem;
  margin: 0 auto;
  border: none;
  border-radius: 25px;
  background-color: var(--color-white, #FFFFFF);
  box-shadow: 0px 3px 1rem rgba(var(--color-border-rgb, 200, 199, 204), 0.1), inset 0 0 0 1px rgba(var(--color-border-rgb, 200, 199, 204), 0.35);
  transition: background-color 0.4s cubic-bezier(1, 0, 0.4, 1), box-shadow 0.4s cubic-bezier(1, 0, 0.4, 1);
}
x-dock x-dock-switch.block {
  flex: 1;
}
.is-dark-mode x-dock x-dock-switch {
  color: var(--color-text-light, #FEFEFE);
  background-color: var(--color-black, #000000);
  box-shadow: 0px 3px 1rem rgba(var(--color-black-rgb, 0, 0, 0), 0.35), inset 0 0 0 1px var(--color-dark-tint, #414141);
}
x-dock x-dock-switch .switch-slider {
  background-color: rgba(var(--color-primary-rgb, 66, 117, 242), 0.3);
  position: absolute;
  left: 0.25rem;
  top: 0.25rem;
  height: calc(100% - 0.5rem);
  border-radius: calc((50px - 0.5rem) / 2);
  z-index: 1;
  transition: background-color 0.4s cubic-bezier(1, 0, 0.4, 1), box-shadow 0.4s cubic-bezier(1, 0, 0.4, 1), translate 0.4s cubic-bezier(1, 0, 0.4, 1), width 0.4s cubic-bezier(1, 0, 0.4, 1);
}
.translucent x-dock x-dock-switch {
  background: rgba(var(--background-body-rgb), 0.7);
  backdrop-filter: var(--translucent-backdrop-filter);
}
x-dock x-dock-switch x-dock-item > div {
  height: calc(50px - 0.5rem);
  padding: 0.5rem;
  z-index: 9;
  gap: 0.25rem;
}
x-dock x-dock-switch x-dock-item.with-label > div {
  flex-direction: column;
  gap: 0;
  padding: 0 calc(25px - 0.25rem);
}
x-dock x-dock-switch x-dock-item.with-label > div small {
  font-size: 0.75rem;
  line-height: 0.8em;
}
x-dock > x-dock-item > div {
  min-width: 50px;
  height: 50px;
  box-sizing: border-box;
  padding: 0.25rem;
  margin: 0 auto;
  border: none;
  border-radius: 25px;
  background-color: var(--color-white, #FFFFFF);
  box-shadow: 0px 3px 1rem rgba(var(--color-border-rgb, 200, 199, 204), 0.2), inset 0 0 0 1px rgba(var(--color-border-rgb, 200, 199, 204), 0.35);
}
.is-dark-mode x-dock > x-dock-item > div {
  background-color: var(--color-black, #000000);
  box-shadow: 0px 3px 1rem rgba(var(--color-black-rgb, 0, 0, 0), 0.35), inset 0 0 0 1px var(--color-dark-tint, #414141);
}
x-dock > x-dock-item > div:active, x-dock > x-dock-item > div:focus {
  box-shadow: 0 8px 15px 0 rgba(var(--color-primary-rgb, 66, 117, 242), 0.25), inset 0 0 0 1px var(--color-primary, #4275F2), 0 0 0 3px rgba(var(--color-primary-rgb, 66, 117, 242), 0.3);
}
.is-dark-mode x-dock > x-dock-item > div:active, .is-dark-mode x-dock > x-dock-item > div:focus {
  box-shadow: 0 8px 15px 0 rgba(var(--color-primary-rgb, 66, 117, 242), 0.15), inset 0 0 0 1px var(--color-primary, #4275F2), 0 0 0 3px rgba(var(--color-primary-rgb, 66, 117, 242), 0.3);
}
.translucent x-dock > x-dock-item > div {
  background: rgba(var(--background-body-rgb), 0.7);
  backdrop-filter: var(--translucent-backdrop-filter);
}

x-modal x-card + x-dock {
  padding-top: 0;
  padding-bottom: 0;
}

@keyframes scaleToggle {
  0% {
    scale: 1 1;
  }
  50% {
    scale: 1.1 1;
  }
  100% {
    scale: 1 1;
  }
}