/*
 * WooCommerce "Min side" dashboard DiveSafe card (D-57,
 * BareDykk\DiveSafe\Integration\WooCommerce\MyAccountCardRenderer). Loaded
 * together with bd-tokens.css + admin.css (see MyAccountCardAssets), so the
 * card inherits `.bds-admin-wrap`'s `.bd-card`/`.bd-status`/`.button.bds-btn`/
 * `.bds-field-error` rules and only needs the layout NOT already defined
 * there (mirrors account-safety-tab.css's own "only add what's missing"
 * role). Only `--bd-*` tokens — never a hardcoded hex value; dark mode is
 * automatic via `html[data-theme="dark"]` (no per-component dark rules
 * needed here).
 */

.bds-my-account-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Native checkbox stays default size/appearance (admin.css deliberately
 * excludes checkboxes from `.bds-field`'s full-width treatment) — only the
 * label row gets a comfortable, easily-tappable layout so the WHOLE row
 * (not just the ~16px box) is the effective pointer target. A plain class
 * (rather than a `:has()` selector) so this keeps working on every browser
 * this HMS app needs to support. */
.bds-my-account-card__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
}

.bds-my-account-card__consent-label input[type='checkbox'] {
  margin-top: 3px;
  flex: none;
}

/* 360px baseline (CLAUDE.md): the card's own action buttons go full-width
 * below 480px, mirroring account-safety-tab.css's identical rule for its
 * `.bd-action-row__link`s. */
@media (max-width: 480px) {
  .bds-my-account-card__actions .button.bds-btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
