.toggle-container {
  position: absolute;
  right: 40px;
  margin-top: 0px;
  width: 50px;
  height: 25px;
  background-color: transparent;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px;
  transition: background-color 0.3s ease;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-ball {
  position: absolute;
  left: 2.8px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.toggle-container.active {
  background-color: #de8435; /* Fill with secondary color when active */
}

.toggle-container.active .toggle-ball {
  background-color: white; /* Keep the ball white */
  transform: translateX(27px); /* Move the ball to the right */
}

.toggle-label {
  z-index: 1;
  font-size: 12px;
  color: white;
  padding: 0 5px;
}
