/**
 * Form layout tweaks for Backpack theme-tabler.
 *
 * Loaded via config/backpack/theme-tabler.php styles[].
 */

/* Switch and checkbox fields render their label next to the control instead of
 * above it, so next to a normal input in the same row they float to the top.
 * This spacer mirrors the label box (theme-tabler style.css: `label { padding: 5px 0 }`)
 * so the control lines up with the neighbouring inputs. Full-width fields have
 * no neighbours, so they keep the tighter layout. */
[bp-field-wrapper][bp-field-type='switch']:not([class*='col-12']):not([class*='col-sm-12']):not([class*='col-md-12']):not([class*='col-lg-12'])::before,
[bp-field-wrapper][bp-field-type='checkbox']:not([class*='col-12']):not([class*='col-sm-12']):not([class*='col-md-12']):not([class*='col-lg-12'])::before {
    content: '\00a0';
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
}
