    .ios-switch {
      position: relative;
      width: 50px;
      height: 30px;
      background: #ccc;
      border-radius: 30px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .ios-switch .ios-thumb {
      position: absolute;
      width: 26px;
      height: 26px;
      top: 2px;
      left: 2px;
      background: #fff;
      border-radius: 50%;
      transition: left 0.3s;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .ios-switch.active {
      background: #0975E7;
    }

    .ios-switch.active .ios-thumb {
      left: 22px;
    }