/**
 * Neutralises the skin CSS that leaks into the ALTCHA spam-protection widget.
 *
 * ALTCHA renders into the light DOM rather than a shadow root, so every rule in
 * `skins/bootstrap3/vendors/bootstrap/css/immomakler-bootstrap.min.css` that is
 * scoped under `.immomakler` reaches the widget's internals and outranks the
 * widget's own reset. Two of those rules visibly misplace the checkbox row, and
 * both are undone below.
 *
 * Scoped under `.immomakler` on purpose: that ancestor is what makes the skin
 * rules apply in the first place, so a widget rendered outside it needs no
 * correction — and the extra class keeps us above the skin's specificity
 * without relying on stylesheet load order.
 */

/*
 * `.immomakler input[type="checkbox"]` sets `margin-top: 4px` (Bootstrap 3's
 * nudge for checkboxes sitting on a text baseline). ALTCHA's own
 * `.altcha-checkbox input { margin-top: 0 }` is a specificity step lower
 * (0,1,1 vs 0,2,1) and loses. Since the input is absolutely positioned inside
 * `.altcha-checkbox`, that margin pushed the box 4px below its container.
 */
.immomakler .immomakler-altcha-widget input[type="checkbox"] {
	margin-top: 0;
}

/*
 * Bootstrap's `label { margin-bottom: 5px }` applies to the widget's status
 * label ("Überprüft" / "Ich bin kein Roboter"). `.altcha-checkbox-wrap` is a
 * flex row with `align-items: center`, which centres each item's *margin* box
 * — so the 5px bottom margin made the label's box 5px taller than its text
 * and left the visible word 2.5px above the checkbox's centre. Zeroing it
 * lets ALTCHA's own centring line the two up exactly.
 */
.immomakler .immomakler-altcha-widget label {
	margin-bottom: 0;
}
