.form-field { margin-bottom: $pad-large; &__label { font-size: $small; font-weight: $bold; color: $core-fleet-black; display: block; margin-bottom: $pad-small; min-height: $form-field-label-height; &--error { font-weight: $bold; color: $core-vibrant-red; } // so tooltips won't be triggered with whitespace &[data-has-tooltip="true"] { margin-bottom: $pad-small; display: inline-flex; } } &__hint { font-size: $x-small; font-weight: $regular; line-height: 20px; display: inline-block; margin-top: $pad-small; code { color: $core-vibrant-blue; background-color: $ui-light-grey; padding: $pad-xxsmall; font-family: "SourceCodePro", $monospace; } } &--checkbox { margin-bottom: $pad-medium; } &--slider { margin-bottom: 0; } }