/* CodeDekho heart toggle
   BEFORE: gray box with a white heart on the left
   AFTER : orange box, the white heart slides to the right
   !important is used so theme / other plugin CSS cannot hide or restyle it. */
.cdkl-wrap{display:inline-flex !important;align-items:center !important;gap:8px !important;vertical-align:middle !important;margin:0 !important;padding:0 !important;background:none !important;border:0 !important;line-height:1 !important}
.cdkl-wrap .cdkl{
  --box-off:#a8adb4;
  --box-on:#ff6a00;
  --heart:#ffffff;
  display:inline-block !important;position:relative !important;box-sizing:border-box !important;
  width:64px !important;height:32px !important;min-width:64px !important;min-height:32px !important;
  padding:0 !important;margin:0 !important;border:0 !important;border-radius:999px !important;
  background:var(--box-off) !important;cursor:pointer !important;flex:none !important;
  transition:background .3s ease !important;opacity:1 !important;
  -webkit-tap-highlight-color:transparent;outline:none;user-select:none;-webkit-user-select:none;
}
.cdkl-wrap .cdkl .cdkl-knob{
  position:absolute !important;top:3px !important;left:3px !important;width:26px !important;height:26px !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  background:none !important;border:0 !important;padding:0 !important;margin:0 !important;
  transition:transform .3s cubic-bezier(.68,-.35,.27,1.35);
}
.cdkl-wrap .cdkl .cdkl-knob svg{
  display:block !important;width:20px !important;height:20px !important;max-width:none !important;
  fill:var(--heart) !important;stroke:var(--heart) !important;stroke-width:1.5 !important;
  color:var(--heart) !important;opacity:1 !important;transition:transform .25s ease;
}
.cdkl-wrap .cdkl[aria-checked="true"]{background:var(--box-on) !important}
.cdkl-wrap .cdkl[aria-checked="true"] .cdkl-knob{transform:translateX(32px)}
.cdkl-wrap .cdkl.pop .cdkl-knob svg{animation:cdklpop .35s ease}
@keyframes cdklpop{50%{transform:scale(1.5)}}
.cdkl-wrap .cdkl:focus-visible{box-shadow:0 0 0 3px rgba(255,106,0,.35) !important}
.cdkl-wrap .cdkl[data-busy]{opacity:.7 !important}
.cdkl-wrap .cdkl-count{font:600 14px/1 system-ui,-apple-system,Segoe UI,sans-serif !important;color:#333 !important;min-width:14px !important;display:inline-block !important}
@media (max-width:480px){
  .cdkl-wrap .cdkl{width:58px !important;height:30px !important;min-width:58px !important;min-height:30px !important}
  .cdkl-wrap .cdkl .cdkl-knob{width:24px !important;height:24px !important}
  .cdkl-wrap .cdkl .cdkl-knob svg{width:18px !important;height:18px !important}
  .cdkl-wrap .cdkl[aria-checked="true"] .cdkl-knob{transform:translateX(28px)}
}
