.saas-card.inactive-card {
  opacity: 0.82;
}

.dashboard-publish-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dashboard-publish-control .status {
  margin: 0;
}

.dashboard-publish-switch {
  position: relative;
  display: inline-flex;
  width: 50px;
  height: 30px;
  flex: 0 0 50px;
  cursor: pointer;
}

.dashboard-publish-switch input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
}

.dashboard-publish-switch span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #d3d3d8;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: background 180ms ease;
}

.dashboard-publish-switch span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease;
}

.dashboard-publish-switch input:checked + span {
  background: #34c759;
}

.dashboard-publish-switch input:checked + span::after {
  transform: translateX(20px);
}

.dashboard-publish-switch input:focus-visible + span {
  outline: 2px solid rgba(52, 120, 246, 0.55);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .dashboard-publish-control {
    gap: 8px;
  }

  .dashboard-publish-switch {
    width: 46px;
    height: 28px;
    flex-basis: 46px;
  }

  .dashboard-publish-switch span::after {
    width: 24px;
    height: 24px;
  }

  .dashboard-publish-switch input:checked + span::after {
    transform: translateX(18px);
  }
}
