.inputHolder {
  margin-bottom: 5px;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.inputLabel {
  float: left;
  vertical-align: middle;
  padding-top: 6px;
}

.input {
  height: 32px;
  box-sizing: border-box;
  font-size: small;
  font-family: Verdana, Geneva, sans-serif;
  border: 2px solid #999;
  border-radius: 4px;
  padding: 5px;
  background: #f2f2f2;
}

textarea.input {
  height: 100%;
}

.input:focus {
  border: 2px solid #09f;
}

.inputValid {
  border: 2px solid #4ade80;
  border-radius: 4px;
  padding: 5px;
}

.inputError {
  border: 2px solid #f87171;
  border-radius: 4px;
  padding: 5px;
}

.inputWarning {
  border: 2px solid #ffb9bb;
  border-radius: 4px;
}

.inputLimit {
  border: 2px solid #f96;
  border-radius: 4px;
  background: linear-gradient(#fc9, #f96);
}

.buttonNormal {
  border: none;
}

.rollButton,
.rollButtonN {
  border: none;
  cursor: pointer;
  vertical-align: bottom;
}

/* --- Input Suffix Support (addon) --- */
/* Container to wrap an input and its static suffix (e.g. %) */
.inputWithSuffix {
  display: inline-flex;
  align-items: stretch;
  vertical-align: middle;
  max-width: 100%;
}

/* Remove the right border so the suffix can visually attach */
.inputWithSuffix > .input {
  border-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin: 0; /* normalize */
  width: 100%;
}

/* Suffix element */
.inputSuffix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: small;
  font-family: Verdana, Geneva, sans-serif;
  background: #e6e6e6;
  border: 2px solid #999;
  border-left: 0; /* avoid double border */
  height: 32px; /* match .input */
  line-height: 1;
  box-sizing: border-box;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  margin: 0; /* normalize */
}

/* Focus state: mirror input's focus border colour */
.inputWithSuffix > .input:focus + .inputSuffix {
  border-color: #09f;
}

/* Validation state alignment */
.inputWithSuffix > .inputValid + .inputSuffix {
  border-color: #0f0;
}
.inputWithSuffix > .inputError + .inputSuffix {
  border-color: #f00;
}
.inputWithSuffix > .inputWarning + .inputSuffix {
  border-color: #ffb9bb;
}

/* Disabled handling (assumes a .disabled class or disabled attribute) */
.inputWithSuffix > .input[disabled] + .inputSuffix,
.inputWithSuffix > .input.disabled + .inputSuffix {
  opacity: 0.6;
  cursor: not-allowed;
}
