/* Overlay background covers the entire viewport */
#settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85); /* Darken everything behind */
  backdrop-filter: blur(5px); /* Modern blur effect */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top of everything */
}

/* The actual menu box */
.settings-content {
  background: #1e1e1e;
  padding: 30px;
  border-radius: 15px;
  width: 80%;
  max-width: 400px;
  position: relative;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.reset-btn {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  font-weight: 900;
  font-size: 12px;
  text-align: center;
  transition: 0.2s;
  color: #1a1818;
  background: #e74c3c;
  cursor: pointer;
  border: none;
  width: 100%;
}

.hidden {
  display: none !important;
}

.setting-item {
  margin: 20px 0;
}

#settings-btn {
  background: transparent !important;
  border: none !important;
  padding: 15px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.fine-tune-btn {
  background: #2ecc71;
  border: none;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

input[type="range"] {
  accent-color: #2ecc71;
  height: 8px;
  border-radius: 5px;
  background: #333;
  outline: none;
}
