/* Custom Toggle Switch */
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}

.toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--card-border);
  transition: .3s;
  border-radius: 24px;
}

.toggle-label:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-input:checked + .toggle-label {
  background-color: var(--primary-color);
}

.toggle-input:checked + .toggle-label:before {
  transform: translateX(20px);
}

/* Drag and Drop visually */
.site-btn.dragging {
  opacity: 0.32;
  transform: scale(0.94);
}

.group-card.dragging-group {
  opacity: 0.4;
  transform: scale(0.98);
}
.group-card.drag-over-top {
  border-top: 3px solid var(--primary-color);
}
.group-card.drag-over-bottom {
  border-bottom: 3px solid var(--primary-color);
}
.group-col.drag-over-col {
  background: rgba(0,0,0,0.02);
  border-radius: var(--radius-lg);
}
[data-theme="dark"] .group-col.drag-over-col {
  background: rgba(255,255,255,0.02);
}

