.thieffry-form-field {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 0.2em;
  cursor: pointer;
}

.thieffry-form-field.box {
  box-sizing: border-box;
  border-radius: 0.5em;
  border: 1px solid #ccc;
  gap: 0.5em;
}

.thieffry-form-field label {
  font-size: 0.7em;
  font-weight: bold;
  padding-left: 0.2em;
  color: gray;
}

.thieffry-form-field-actions {
  cursor: pointer;
}

.thieffry-form-field * {
  border: none;
  outline: none;
}

.thieffry-form-field-trailer {
  flex-grow: 1;
  background-color: white;
}

.thieffry-form-body.notrailer .thieffry-form-field-trailer {
  flex-grow: unset;
}

.thieffry-form input,
.thieffry-form button {
  margin-top: 0.1em;
  margin-bottom: 0.1em;
}

.thieffry-form button,
.thieffry-form input[type="submit"] {
  background-color: #4a90e2;
  color: white;
  border: none;
  font-weight: bold;
  transition: background-color 0.3s;
  margin-bottom: 0px;
}

.thieffry-form button:hover {
  background-color: #357ac9;
}

.thieffry-form input[type="submit"] {
  cursor: pointer;
}

.thieffry-input-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.thieffry-input-file-name {
  font-style: italic;
  color: #555;
  flex: 1;
}

.thieffry-form-error {
  background-color: lightpink;
  text-align: center;
  width: 100%;
}