.form .form-buttons {
  width: 100%;
  margin-top: 16px;
}

.form .form-buttons > * {
  margin-right: 8px;
  margin-bottom: 8px;
}

.form .form-buttons .el-button + .el-button {
  margin-left: 0px;
}

.form .form-field {
  margin-top: 8px;
}

.form .el-input {
  width: 100% !important;
}

.form .el-input-number {
  width: 100% !important;
}

.form .el-select {
  width: 100%;
}

.form .app-form-hint {
  color: var(--el-text-color-regular);
  font-size: 12px;
}

/* Compact account cards (create/edit/view). fixed.css forces a 30px line-height
   on labels and contents while inputs stay 40px high, so the label sat above
   the middle of the field text. Input height and label/content line-height are
   now the same 28px, which centers them, and the spacing is tightened. */
#app .compact-form .el-form-item {
  margin-bottom: 8px !important;
}

#app .compact-form .view-item.el-form-item {
  margin-bottom: 4px !important;
}

#app .compact-form .el-form-item__label,
#app .compact-form .el-form-item__content {
  line-height: 28px !important;
}

#app .compact-form .el-input__inner,
#app .compact-form .el-range-editor.el-input__inner {
  height: 28px;
  line-height: 28px;
  padding-top: 0;
  padding-bottom: 0;
}

#app .compact-form .el-input__icon {
  line-height: 28px;
}

#app .compact-form .el-form-item__error {
  padding-top: 0;
  line-height: 1;
}

#app .compact-form .el-input-number {
  line-height: 26px;
}

/* Validation message to the right of the field (el-form inline-message). The
   input column is a float, so the inline message flows next to it. */
#app .compact-form .el-form-item__error--inline {
  margin-left: 10px;
  line-height: 28px;
  font-size: 12px;
}
