 .lean-ga4-toggle {
                position: relative;
                display: inline-block;
                width: 46px;
                height: 24px;
                cursor: pointer; /* make the whole control clickable */
            }

            .lean-ga4-toggle input {
                position: absolute;
                opacity: 0;
                width: 0;
                height: 0;
            }

            .lean-ga4-slider {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background-color: #ccc;
                transition: .3s;
                border-radius: 24px;
            }

            .lean-ga4-slider:before {
                position: absolute;
                content: "";
                height: 18px;
                width: 18px;
                left: 3px;
                bottom: 3px;
                background-color: #fff;
                transition: .3s;
                border-radius: 50%;
            }

            .lean-ga4-toggle input:checked + .lean-ga4-slider {
                background-color: #6366F1;
            }

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

            /* keyboard focus */
            .lean-ga4-toggle:focus-within .lean-ga4-slider {
                box-shadow: 0 0 0 3px rgba(99,102,241,.35);
            }

            .lean-ga4-label {
                margin-left: 10px;
                font-weight: 500;
                color: #333;
            }