.settings__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.settings__overlay.modal-accessible {
  visibility: visible;
}

.settings__overlay.modal-inaccessible {
  visibility: hidden;
}

.settings__overlay.visible {
  pointer-events: auto;
}

.settings__container {
  max-width: 840px;
  width: 100%;
  height: 80vh;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--theme-border);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transform: translate(100vw, 100vh) scale(0.1);
  transform-origin: bottom right;
  transition: transform 0.6s cubic-bezier(0.3, 0.61, 0.355, 1);
}

.settings__container.within-dock {
  transform: translate(0, 100vh) scale(0.1);
  transform-origin: bottom left;
}

.settings__container.within-dock.dock-position-left {
  transform: translate(-100vw, 0) scale(0.1);
  transform-origin: left 20%;
}

.settings__container.within-dock.dock-position-right {
  transform: translate(100vw, 0) scale(0.1);
  transform-origin: right 20%;
}

.settings__overlay.visible .settings__container {
  transform: translate(0, 0) scale(1);
}

.settings__side-panel {
  width: 200px;
  max-width: 200px;
  height: 100%;
  backdrop-filter: var(--settings-side-panel-blur);
  -webkit-backdrop-filter: var(--settings-side-panel-blur);
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
}

.settings__menu-content {
  flex-grow: 1;
  height: 100%;
  background-color: var(--theme-bg);
  padding: 18px 24px;
}

.settings__menu-content-title {
  color: var(--theme-clr);
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 24px;
}

.settings__window-manager {
  height: 40px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 0px 10px;
}

.settings__window-manager-button {
  border: 0;
  padding: 0;
  margin: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.settings__window-manager-button svg {
  opacity: 0;
}
.settings__window-manager-button:hover svg {
  opacity: 1;
}

.settings__window-close {
  background-color: #fe5f57;
}

.settings__window-minimize {
  background-color: #febc2e;
}

.settings__window-expand {
  background-color: var(--window-expand-bg);
  pointer-events: none;
}

.settings_menu-item {
  padding: 4px 8px;
  border: none;
  background-color: transparent;
  width: 100%;
  color: var(--settings-side-panel-text-color);
  font-weight: 600;
  font-size: 0.813rem;
  display: flex;
  align-items: center;
  flex-direction: row;
  border-radius: 4px;
  gap: 8px;
  cursor: pointer;
}

.settings_menu-item svg {
  width: 26px;
  height: 26px;
}

.settings_menu-item.selected {
  color: white;
  background-color: var(--theme-selection-color);
}

.settings__menu {
  height: 100%;
  overflow: auto;
  margin-bottom: 12px;
}

.buy-me-coffee {
  padding: 0px 30px;
  width: 100%;
}
