.mk-shopee-table .mk-shopee-automations-cell {
  width: 180px;
  min-width: 180px;
  padding: 16px 12px;
  text-align: left;
  vertical-align: middle;
}

.mk-shopee-table th.mk-shopee-automations-cell {
  width: 180px;
  font-weight: 600;
}

.sh-auto-controls {
  --sh-auto-text: oklch(.551 .027 264.364);
  --sh-auto-off: oklch(.872 .01 258.338);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--sh-auto-text);
}

.dark .sh-auto-controls {
  --sh-auto-text: oklch(.707 .022 261.325);
  --sh-auto-off: oklch(.446 .03 256.802);
}

.sh-auto-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sh-auto-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  line-height: 1.42857;
  font-weight: 800;
  letter-spacing: .5px;
}

.sh-auto-label svg {
  flex: none;
}

.sh-auto-switch {
  box-sizing: border-box;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: flex-start;
  width: 44px;
  height: 24px;
  padding: 3px;
  border: 0;
  border-radius: 9999px;
  background-color: var(--sh-auto-off);
  transition: background-color .15s cubic-bezier(.4,0,.2,1);
}

.sh-auto-switch[aria-checked="true"] {
  background-color: #d81b60;
}

.sh-auto-switch > span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%), 0 1px 2px -1px rgb(0 0 0 / 10%);
  transition: transform .15s cubic-bezier(.4,0,.2,1);
}

.sh-auto-switch[aria-checked="true"] > span {
  transform: translateX(20px);
}

.sh-automation-rotation {
  font-size: 11px;
  line-height: 1.42857;
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  .sh-auto-switch, .sh-auto-switch > span { transition: none; }
}
