.fieldRow {
  display: flex;
  margin-bottom: 10px;
}

.field {
  display: flex;
  flex: 1;
  min-width: 0;
  position: relative;
  margin: 1em 0;
}

.fieldRow.rightAlign {
  justify-content: flex-end;
}

.fieldRow > .field {
  margin: 0 5px;
}

.fieldRow > .field:first-child {
  margin-left: 0;
}

.fieldRow > .field:last-child {
  margin-right: 0;
}

.inputField {
  border-radius: 4px;
  transition: border-color 0.25s;
  border: 1px solid #394049;
}

.inputField input {
  font-weight: 400;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  padding: 8px 9px;
  color: var(--textColor1);
  background-color: var(--bgColor2);
  flex: 1;
  min-width: 0;
}

.inputField input::placeholder {
  transition: color 0.25s ease-in 0s;
  color: transparent;
}

.inputField input:placeholder-shown:focus::placeholder {
  transition: color 0.25s ease-in 0.1s;
  color: #6f7882;
}

.inputField label {
  transition: font-size 0.25s ease-out 0.1s, color 0.25s ease-out 0.1s,
    top 0.25s ease-out 0.1s, background-color 0.25s ease-out 0.1s;
  color: var(--textColor1);
  background-color: transparent;
  font-size: 14px;
  position: absolute;
  left: 0;
  top: 0;
  margin: 7px 8px;
  padding: 2px;
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: calc(100% - 20px);
}

.inputField:focus-within {
  border-color: #0086e6;
}

.inputField input:focus {
  outline: 0;
}

.inputField input:focus + label,
.inputField input:not(:placeholder-shown) + label {
  background-color: var(--bgColor2);
  transition: font-size 0.25s ease-out 0s, color 0.25s ease-out 0s,
    top 0.25s ease-out 0s, background-color 0.25s ease-out 0s;
  font-size: 10px;
  top: -13px;
  padding: 0 2px;
  pointer-events: auto;
}

.inputField input:focus + label {
  color: #0086e6;
}

.checkboxField {
  display: flex;
  align-items: flex-start;
}

.checkboxField label {
  display: flex;
  align-items: center;
  flex-grow: 1;
  font-size: 13px;
}

.checkboxField input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  height: 16px;
  width: 16px;
  border: 1.5px solid rgba(185, 190, 198, 0.5);
  box-sizing: border-box;
  border-radius: 4px;
  margin-right: 10px;
}

.checkbox svg {
  display: none;
}

.checkbox svg * {
  stroke: #fff;
}

.checkboxField input[type="checkbox"]:checked + label > .checkbox {
  background: var(--primaryColor);
  border-color: var(--primaryColor);
}

.checkboxField input[type="checkbox"]:checked + label > .checkbox svg {
  display: flex;
}

.button {
  vertical-align: middle;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  background-color: var(--primaryColor);
  width: auto;
  padding: 7px 15px;
  cursor: pointer;
  display: inline-block;
  outline: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  font-weight: 700;
}

.button:hover {
}

.button:active {
}

.errorMessage {
  margin: 0;
  font-size: 13px;
  color: #ff5b55;
  font-weight: 600;
}
