/* Moving a sabha.co workspace to its own server on Sabha Cloud Deploy: the
   pitch on /settings and the card in workspace settings. The words read the
   same everywhere; the actions are for a computer, so below the sidebar's
   drawer width they give way to a note saying so. The mobile apps get only
   the note from the server. */

.cloud-move__actions {
  display: flex;
  flex-direction: column;
  gap: var(--block-space);
}

/* The pitch reads as body text, not a hint, with its button (and on
   /settings the plans link) side by side under it */
.cloud-move__pitch {
  line-height: 1.55;
  margin: 0;
  max-inline-size: 42rem;
}

.cloud-move__cta {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--block-space-half) var(--inline-space-double);

  /* Its label as large as the link beside it */
  .btn.settings-save {
    font-size: inherit;
  }
}

/* The move button points at the workspaces above that can move */
.account-settings__row--wiggling {
  animation: cloud-move-wiggle 500ms ease-in-out;

  @media (prefers-reduced-motion: reduce) {
    animation: none;
  }
}

@keyframes cloud-move-wiggle {
  0%, 100% { transform: rotate(0deg); }
  20%, 60% { transform: rotate(1.5deg); }
  40%, 80% { transform: rotate(-1.5deg); }
}

.cloud-move__note {
  display: none;
}

@media (max-width: 833px) {
  .cloud-move__actions {
    display: none;
  }

  .cloud-move__note {
    display: block;
  }
}
