/* Finance Patient Finder V2 — TEST
   Reuses the universal patient-search result language from Registration/OPD. */
.finance-page-head{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:20px;
  padding-bottom:10px;
  border-bottom:1px solid #dfe7e7;
}
.finance-page-head>h2{
  flex:0 0 auto;
  margin:0;
  padding:0;
  border:0;
  color:#00a997;
  font-size:20px;
  font-weight:700;
  white-space:nowrap;
}
.finance-patient-finder{
  position:relative;
  display:grid;
  grid-template-columns:minmax(300px,1fr) 110px;
  gap:8px;
  width:min(720px,100%);
  margin-left:auto;
}
.finance-patient-finder::before{
  content:'';
  position:absolute;
  left:14px;
  top:14px;
  z-index:1;
  width:18px;
  height:18px;
  pointer-events:none;
  opacity:.62;
  background:no-repeat center/18px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6f75' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
}
.finance-patient-finder-input{
  min-width:0;
  min-height:46px;
  border:1px solid #cbd8da;
  border-radius:11px;
  padding:9px 13px 9px 40px;
  background:#fff;
  color:#172033;
  font-size:14px;
  outline:none;
  box-shadow:0 1px 2px rgba(15,23,42,.025);
}
.finance-patient-finder-input:focus{
  border-color:#00a997;
  box-shadow:0 0 0 3px rgba(0,169,151,.11);
}
.finance-patient-finder-button{
  min-height:46px;
  border:1px solid #00a997;
  border-radius:11px;
  padding:8px 12px;
  background:#00a997;
  color:#fff;
  font-size:13px;
  font-weight:900;
  box-shadow:0 5px 14px rgba(0,169,151,.17);
}
.finance-patient-finder-button:hover,
.finance-patient-finder-button:focus-visible{
  border-color:#05958c;
  background:#05958c;
  outline:none;
  box-shadow:0 0 0 3px rgba(5,149,140,.12),0 6px 16px rgba(5,149,140,.16);
}
.finance-patient-finder-results{
  top:calc(100% + 8px);
  z-index:70;
}
.finance-treatment-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
  padding-bottom:8px;
  border-bottom:1px solid #e5e7eb;
}
.finance-treatment-section-head h3{
  margin:0;
  padding:0;
  border:0;
}
.finance-catalog-admin-button{
  display:inline-flex;
  min-height:38px;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex:none;
  border:1px solid #b9e3de;
  border-radius:10px;
  padding:7px 10px;
  background:#effaf8;
  color:#087a73;
  font-size:11px;
  font-weight:900;
  transition:border-color .15s,background .15s,box-shadow .15s;
}
.finance-catalog-admin-button:hover,
.finance-catalog-admin-button:focus-visible{
  border-color:#00a997;
  background:#e4f7f4;
  outline:none;
  box-shadow:0 0 0 3px rgba(0,169,151,.09);
}
.finance-catalog-admin-button .finance-admin-pill{
  display:inline-flex;
  min-height:20px;
  align-items:center;
  border:1px solid #cae7e3;
  border-radius:999px;
  padding:2px 7px;
  background:#fff;
  color:#60777b;
  font-size:9px;
  font-weight:900;
}
@media (max-width:980px){
  .finance-page-head{align-items:stretch;flex-wrap:wrap;gap:10px}
  .finance-page-head>h2{width:100%;white-space:normal}
  .finance-patient-finder{width:100%;max-width:none;margin:0}
}
@media (max-width:620px){
  .finance-patient-finder{grid-template-columns:minmax(0,1fr) 96px;gap:7px}
  .finance-patient-finder-input{min-height:45px;font-size:16px}
  .finance-patient-finder-button{min-height:45px}
  .finance-treatment-section-head{align-items:flex-start;flex-wrap:wrap}
  .finance-catalog-admin-button{margin-left:auto}
}
