/* Global custom styles. Per-subdomain styles live in templates' own asset entrypoints. */

body {
    min-height: 100vh;
}

/* Required-field marker.
 * Symfony's bootstrap_5_layout form theme adds the "required" class on the <label> of any
 * field whose constraint resolves to required (default true unless 'required' => false on
 * the field). Project rule: every required field shows a red asterisk after its label.
 * Single source of truth — no per-template tweak needed. */
label.required::after,
.form-label.required::after,
legend.required::after {
    content: " *";
    color: #dc3545;
    font-weight: 700;
}

/* …but not on the per-option labels of an expanded choice (radios / checkboxes).
 * The asterisk belongs on the field label only, not on every "Secondes / Répétitions / …"
 * choice. Bootstrap 5 form theme tags those with .form-check-label. */
.form-check-label.required::after,
.form-check label.required::after {
    content: none;
}
