/* Moving an app between servers: the shelf over every page while one runs, its progress and the form.
   Layout only: the surfaces are runeui's cards, progress, timeline and badges. */

.moves-shelf {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.moves-shelf:not(:has(*)) {
  display: none;
}
.moves-shelf__move {
  display: block;
  border-radius: var(--ui-radius-xl);
  color: inherit;
  text-decoration: none;
}
.moves-shelf__move:focus-visible {
  outline: none;
  box-shadow: var(--ui-focus-ring);
}

.move-progress {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.move-progress__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.move-progress__headline {
  min-width: 0;
  font-weight: 500;
}

.move-detail {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 960px) {
  .move-detail {
    grid-template-columns: minmax(0, 1fr);
  }
}
.move-detail__side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.move-detail__promise {
  margin: 1rem 0 0;
}

.move-flow {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.move-flow [data-slot="field"] [data-slot="radio-group"] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.move-route[data-slot="card"] {
  padding-block: 1.25rem;
}
.move-route [data-slot="card-content"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.move-route__end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.move-route__end p {
  margin: 0;
}
.move-route__label {
  color: var(--muted-foreground);
  font-size: var(--ui-text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.move-route__name {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.move-route__arrow {
  display: grid;
  flex: none;
  place-items: center;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border-radius: 999px;
  color: var(--brand-foreground);
  background: color-mix(in oklab, var(--brand) 11%, transparent);
}
.move-route__arrow svg {
  inline-size: 1rem;
  block-size: 1rem;
}

.move-promises {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.move-promises__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-foreground);
  font-size: var(--ui-text-sm);
}
.move-promises__item strong {
  color: var(--foreground);
  font-weight: 600;
}
.move-promises__item svg {
  flex: none;
  inline-size: 1.125rem;
  block-size: 1.125rem;
  margin-top: 0.0625rem;
  color: var(--success);
}
