/* Use warning color for invalid fields, matching the app theme */
.field_with_errors input,
.field_with_errors select,
.field_with_errors textarea {
    color: var(--color-error-content);
    border-color: var(--color-error-content) !important;
}

/* Do not tint the placeholder when field has errors */
.field_with_errors input::placeholder,
.field_with_errors textarea::placeholder {
    color: revert;
}
