#settings-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  z-index: 400;
  padding-top: 10px;
}

.settings-menu-container {
  width: 700px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.settings-menu-header {
  background: #444;
  border-radius: var(--border-radius);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-tabs {
  display: flex;
  gap: 12px;
}

.tab-button {
  background: var(--supporting-background-color);
  color: var(--text-color);
  border: 1px solid var(--supporting-background-color);
  padding: 10px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: bold;
}
.tab-button:hover {
  border-color: var(--standout-color-ruby);
  color: var(--standout-color-ruby);
}

.tab-button:active,
.tab-button.active {
  border-color: var(--standout-color-gold);
  color: var(--standout-color-gold);
}

.close-button {
  background: transparent;
  border: none;
  color: var(--text-color);
  font-weight: bold;
  font-size: 18px;
  border-radius: var(--border-radius);
  padding: 8px 12px;
  cursor: pointer;
}
.close-button:hover {
  color: var(--standout-color-ruby);
}
.close-button:active {
  color: var(--standout-color-gold);
}

.settings-menu-content {
  background: #333;
  padding: 24px;
  border-radius: var(--border-radius);
}

.tab-content {
  display: none;
}

.tab-content.active-tab {
  display: block;
}

#controls-tab label {
  display: block;
  margin-bottom: 10px;
}

#fps-display {
  position: fixed;
  font-size: 2rem;
  top: 70px;
  left: 10px;
  display: none;
  pointer-events: none;
  user-select: none;
}
