body {
  font-family: "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
}

.settings-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 50%, rgba(12,12,12,0.95), #000);
  color: white;
}

.toolbar {
  position: absolute;
  top: 20px;
  padding: 0 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-content {
  margin-top: 100px;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.settings-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
}

.settings-group {
  width: 100%;
  max-width: 500px; /* ✅ limit width */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(145deg, rgba(40,40,40,0.7), rgba(10,10,10,0.8));
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow:
    inset 0 -1px 6px rgba(255,255,255,0.1),
    0 2px 8px rgba(0,0,0,0.4);
}

.settings-label {
  font-size: 18px;
  font-weight: 500;
}

.settings-select {
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 12px;
  color: white;
  padding: 8px 12px;
  font-size: 16px;
  appearance: none;
  cursor: pointer;
}

.settings-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #4A90E2;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255,255,255,0.25);
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background: linear-gradient(90deg, #0239E9, #73ACEB);
}

input:checked + .slider:before {
  transform: translateX(22px);
}