/*
 * agent_page.css
 * Stylesheet for the Agents & Staff page only.
 * Attached to layout: tmqs2_col_2_agent
 * This file is NOT loaded globally — it is scoped to pages using that layout.
 */


/* ---------------------------------------------------------------
   AGENT SEARCH BOX — Hidden
   ---------------------------------------------------------------
   The Dynamic IDX platform renders a select2 dropdown search widget
   that lets visitors search for an agent by name. On this site the
   full agent roster is already displayed as cards below, so the
   search box is redundant and has been hidden.

   How it works:
     :has(#agentFilter)  — targets the parent .form-group element
                           that contains the <select id="agentFilter">
                           input AND the select2 widget that replaces it.
                           Hiding the parent collapses both in one rule.
     display: none       — removes the element from the layout entirely
                           (takes up no space, unlike visibility: hidden).
     !important          — overrides any inline styles or specificity
                           conflicts from the IDX platform's own CSS.
--------------------------------------------------------------- */
.form-group:has(#agentFilter) {
  display: none !important;
}