/**
 * File: assets/css/frontend/account/profile-checkbox.css
 * Purpose: Profile Privacy checkbox (1.0.324). The generic text-input rule
 * in the account bundle (.hdf-account-field input) sizes every input like
 * a text field (width:100%; min-height:46px; padding:10px 12px; border;
 * radius; background), so the Privacy checkbox on /account/profile/ rendered
 * as a full-width 46px box and its label text got squeezed after it. A
 * checkbox is a 16px box — the same size the auth checkboxes already use
 * (.hdf-auth-check input in the bundle) — so this sheet undoes the
 * text-input sizing for this checkbox only and lays the box + label out as
 * one flex row. The bundle itself is never edited (generated artifact).
 * Related PHP: src/Account/Frontend/Partials/ProfileTrait.php
 * (ProfileTrait::profilePage(), the Privacy field, line 65)
 * Related CSS: assets/css/bundles/account.min.css
 * Package: HyperDAF Engine
 */

/* The checkbox + its label text sit on one row; the box never stretches. */
.hdf-account-field--checkbox .hdf-account-field__control > label{display:flex;align-items:flex-start;gap:8px;cursor:pointer;}

/* Undo the bundle's text-input sizing (width:100%, min-height:46px,
   padding, border, radius, background) and size the box like every other
   checkbox on the site: 16px, brand accent. The bundle's :focus outline
   still applies, so keyboard focus stays visible. */
.hdf-account-field--checkbox input[type="checkbox"]{flex:none;width:16px;height:16px;min-height:0;margin:2px 0 0;padding:0;border:0;border-radius:4px;background:transparent;accent-color:var(--hdf-engine-color-primary-strong);}
