/* Keep header controls at the top when client search makes the title taller. */
html.bestgym-brand .topbar > .top-actions{align-self:start}
#bestgymClientQuickSearch{position:relative;margin-top:12px;width:min(460px,100%);min-width:0;box-sizing:border-box;text-align:left}
#bestgymClientQuickSearch[hidden],.bgcs-popup[hidden],body.auth-locked #bestgymClientQuickSearch,body.auth-locked .bgcs-popup{display:none!important}
#bestgymClientQuickSearch>label{display:block;font-size:12px;font-weight:650;color:#6d6266;margin-bottom:5px;line-height:1.35}
.bgcs-title{min-width:0}
#bestgymClientQuickSearch .bgcs-input-wrap{display:flex;align-items:center;position:relative;min-width:0;border:1px solid #e2d8dc;border-radius:12px;background:#fff;box-shadow:0 2px 8px #633d4c05}
#bestgymClientQuickSearch .bgcs-input-wrap:focus-within{border-color:#ae454d;box-shadow:0 0 0 3px #ae454d18}
#bestgymClientQuickSearch svg{width:18px;height:18px;flex:0 0 18px;margin-left:12px;stroke:#a07078;fill:none;stroke-width:1.8;stroke-linecap:round}
#bestgymClientQuickSearch input{display:block;box-sizing:border-box;min-width:0;width:100%;height:44px;min-height:44px;border:0;border-radius:12px;outline:none;background:transparent;padding:10px 42px 10px 9px;font:inherit;font-size:14px;color:#302c33;margin:0}
#bestgymClientQuickSearch input::-webkit-search-cancel-button{display:none}
#bgcsClear{position:absolute;right:0;top:0;min-height:44px;width:40px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#81717a;font-size:22px;font-weight:400}
.bgcs-popup{position:fixed;z-index:950;display:flex;flex-direction:column;box-sizing:border-box;min-width:0;border:1px solid #e2d8dc;border-radius:14px;background:#fff;color:#302c33;box-shadow:0 14px 42px #58384329;overflow:hidden;text-align:left;font-family:inherit}
.bgcs-popup #bgcsStatus{flex:0 0 auto;font-size:12px;color:#776b73;padding:11px 14px;margin:0;line-height:1.45}
#bgcsResults{min-height:0;overflow:auto;overscroll-behavior:contain}
#bgcsResults button{display:block;box-sizing:border-box;width:100%;border:0;border-top:1px solid #f0eaed;border-radius:0;background:#fff;color:#302c33;text-align:left;padding:12px 14px;min-height:76px;white-space:normal;box-shadow:none;font:inherit;cursor:pointer}
#bgcsResults button:hover,#bgcsResults button[aria-selected="true"]{background:#faf0f2}
.bgcs-result-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.bgcs-result-head strong{min-width:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.bgcs-result-head small{flex:0 0 auto;font-size:10px;font-weight:600;background:#f0f1f3;color:#626b77;padding:3px 6px;border-radius:7px;line-height:1.4}
.bgcs-contact,.bgcs-plan{display:block;font-size:12px;line-height:1.45;color:#776b73;overflow-wrap:anywhere;margin-top:4px}.bgcs-plan{font-size:11px;color:#8d7f87;margin-top:2px}
.bgcs-popup .bgcs-help{flex:0 0 auto;padding:9px 14px;margin:0;border-top:1px solid #f0eaed;font-size:10px;line-height:1.4;color:#8d7f87;background:#fdfafb}
@media(max-width:700px){#bestgymClientQuickSearch{width:100%;margin-top:10px}#bestgymClientQuickSearch input{font-size:16px}.bgcs-popup .bgcs-help{display:none}#bgcsResults button{padding:11px 12px}.bgcs-result-head strong{font-size:14px}}

/* Status meaning is independent of the club's red brand palette. */
.bgcs-result-head small[data-status="active"]{background:#e6f5ed;color:#187344}
.bgcs-result-head small[data-status="blocked"],.bgcs-result-head small[data-status="app_rejected"]{background:#fdebed;color:#b4233b}
.bgcs-result-head small[data-status="app_pending"]{background:#fff3da;color:#8a5508}
