ai-setup {
  display: block;
}

.setup {
  width: 40ch;
  max-width: 100%;
  margin: 6rem auto 0;
  padding: 3rem;
  border: 2px solid;
  text-align: center;
}

.setup h2 {
  margin-top: 0;
}

.setup p {
  margin-inline: auto;
  max-width: 40ch;
  text-align: left;
}

.ai-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.ai-actions button {
  min-width: 24ch;
}

.progress {
  position: relative;
}

.progress span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  pointer-events: none;
}

.progress progress {
  width: 100%;
}

.result {
  text-align: left;
}

#result .input-group {
  margin-top: 4rem;
}

.provider {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.provider .note {
  opacity: 0.7;
}
