form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.button_to {
  display: inline-block;
}

label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.6;
}

input, textarea, select {
  flex-basis: 70%;
  padding: 4px 16px;
  line-height: 1.6;
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
  border: none;
  border-bottom: 2px solid var(--color-border-subtle);
  border-radius: 2px;
}

textarea {
  min-height: 8em;
}

button, .button {
  display: inline-flex;
  justify-content: center;
  padding: 2px 8px;
  line-height: 1.6;
  font-size: smaller;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  color: var(--color-text-subtle);
  cursor: pointer;
  user-select: none;
  transition: all 0.1s ease;

  &:hover:not(:disabled) {
    border-color: hsl(from var(--color-border) h s calc(l + 10%));
    translate: 0 -1px;
  }

  &:active {
    translate: none;
  }
}
