.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px; /* space between toggles */
  }

  /* Toggle switch */
  .toggle-group {
    position: fixed; /* stays in the top-right even on scroll */
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px; /* space between the two toggles */
    z-index: 1000;
  }

  /* Container for each toggle */
  .toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 16px;
  }

  /* Toggle switch styling */
  .toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }

  .toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: background-color 0.3s;
  }

  .slider::before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }

  input:checked + .slider {
    background-color: #2563eb; /* blue when on */
  }

  input:checked + .slider::before {
    transform: translateX(26px);
  }

  /* Optional ON/OFF labels inside the slider */
  .slider span {
    position: absolute;
    width: 50%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    pointer-events: none;
  }

  .slider .on { left: 0; }
  .slider .off { right: 0; }