/* Cursor affordances for audited HARANT controls; layout and focus are unchanged. */

/* Legacy controls with delegated click handlers. */
.wid_map_popup .m_cl:not([aria-disabled="true"]),
.counr-aswer:not([aria-disabled="true"]),
.search_cl:not([aria-disabled="true"]),
.contact__fixed-arrow:not([aria-disabled="true"]),
.compilation_law__close:not([aria-disabled="true"]),
a.remove-js-img:not([aria-disabled="true"]),
.hrf-reply-button.add-answer-post:not([aria-disabled="true"]) {
    cursor: pointer;
}

/* Native controls must set their own cursor instead of inheriting the UA default. */
button.select_current.input:enabled,
button.tools_jurist_mod:enabled,
#hrbf-period:enabled,
#hr-reviews-client-sort:enabled,
#hr-cases-sort:enabled,
.hr-tariff-calc__select:enabled,
.range-text.onl input[type="checkbox"]:enabled,
.forum-menu .checkbox-row input[type="checkbox"]:enabled,
.hrbf-check input[type="checkbox"]:enabled,
.hrbf-options input[type="checkbox"]:enabled,
.calc_extra_check > input[type="checkbox"]:enabled,
.calc_extra_check > input[type="radio"]:enabled,
input[name="payment_provider"][type="radio"]:enabled {
    cursor: pointer;
}

/* Keep the whole active checkbox/radio label clickable, including its text. */
.range-text.onl label:has(> input[type="checkbox"]:enabled),
.forum-menu .checkbox-row label:has(> input[type="checkbox"]:enabled),
label:has(> input[name="payment_provider"][type="radio"]:enabled) {
    cursor: pointer;
}

/* These badges open a disclosure on click and use the same affordance as buttons. */
.verification[role="button"]:not([aria-disabled="true"]),
.hrnt-home .home-trust-trigger[role="button"]:not([aria-disabled="true"]),
.progress_personal .personal_tooltip[role="button"]:not([aria-disabled="true"]) {
    cursor: pointer;
}

/* The legacy outlined success variant resets cursor to default on hover.
   Keep active controls clickable without changing disabled, busy or no-phone states. */
.btn-success-outlined:not(:disabled):not([disabled]):not(.disabled):not([aria-disabled="true"]):not([aria-busy="true"]):not(.not_phone):hover {
    cursor: pointer;
}
