#mimotic_mortgage_revision {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#mimotic_mortgage_revision *{
  box-sizing: border-box;
}


#mimotic_mortgage_revision_form * {
  max-width: 100%;
}
.mmr_title{
  font-size: var(--h4fontsize);
  font-weight: var(--h4fontweight);
  line-height: var(--h4lineheight);
  letter-spacing: var(--h4letterspacing);
  text-transform: var(--h4texttransform);
}
.mmr-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  justify-content: space-between;
}
.mmr-row input {
  line-height: 1em;
  padding: 15px;
  width: 100%;
  background-color: #fff;
  border: 1px solid #a9a9a9;
}
.mmr-row .input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mmr-row .input-wrapper input {
  padding-right: 65px;
  text-align: right;
}
.mmr-row .input-wrapper .instructions {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
}
.mmr-row label{
  color: inherit;
}
.result-wrapper{
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 14px;
  align-items: center;
}
.result-wrapper .label{
    color: var(--wp--preset--color--primary);
    font-weight: bold;
}
.result-wrapper .results{
    text-align: right;
}

@media screen and (min-width: 768px) {
  .mmr-row, .mmr-row .input-wrapper {
    flex-direction: row;
    align-items: center;
  }
  .mmr-row label {
    width: 100%;
  }
  .mmr-row .input {
    width: 210px;
  }
  .mmr-row .instructions {
    width: 50px;
    flex-shrink: 0;
  }
}
