/* V2.2.40 — Workspace interaction polish. Theme-only; Plugin untouched. */

/* Reception dashboard: keep the archive and new-reception actions visibly separated. */
.lmp-workspace .reception-hero-actions,
.lmp-portal-route .reception-hero-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:12px!important;
}
.lmp-workspace .reception-hero-actions > a,
.lmp-portal-route .reception-hero-actions > a{
  flex:0 0 auto!important;
  margin:0!important;
}

/* Search forms: the submit button sits on the same baseline as the input, never above it. */
.lmp-workspace form.reception-search-bar,
.lmp-workspace form.doctor-archive-search,
.lmp-workspace form.referral-queue-search,
.lmp-workspace form.lmp-rq-filters,
.lmp-portal-route form.reception-search-bar,
.lmp-portal-route form.doctor-archive-search,
.lmp-portal-route form.referral-queue-search,
.lmp-portal-route form.lmp-rq-filters{
  align-items:flex-end!important;
}
.lmp-workspace form.reception-search-bar button,
.lmp-workspace form.doctor-archive-search button,
.lmp-workspace form.referral-queue-search button,
.lmp-workspace form.lmp-rq-filters button,
.lmp-portal-route form.reception-search-bar button,
.lmp-portal-route form.doctor-archive-search button,
.lmp-portal-route form.referral-queue-search button,
.lmp-portal-route form.lmp-rq-filters button{
  align-self:flex-end!important;
  margin:0!important;
}

/* Hide the workspace profile action everywhere; profile routes remain directly reachable. */
.lmp-workspace .workspace-top-actions a[href*="profile"],
.lmp-workspace .lmp-workspace-nav a[href*="profile"],
.lmp-portal-route .lmp-workspace .workspace-top-actions a[href*="profile"],
.lmp-portal-route .lmp-workspace .lmp-workspace-nav a[href*="profile"]{
  display:none!important;
}

/* Larger, role-relevant sidebar icons. The icon glyph supplied by the Plugin is visually replaced only. */
.lmp-workspace .lmp-workspace-nav .nav-icon{
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  display:grid!important;place-items:center!important;
  border-radius:12px!important;font-size:0!important;line-height:1!important;
  background:rgba(255,255,255,.08)!important;color:#fff!important;
}
.lmp-workspace .lmp-workspace-nav .nav-icon::before{
  font-size:20px!important;line-height:1!important;font-family:"Segoe UI Symbol","Noto Sans Symbols 2",sans-serif!important;
}
.lmp-workspace .lmp-workspace-nav a:nth-child(1) .nav-icon::before{content:"⌂";}
.lmp-workspace .lmp-workspace-nav a:nth-child(2) .nav-icon::before{content:"＋";font-weight:800;}
.lmp-workspace .lmp-workspace-nav a:nth-child(3) .nav-icon::before{content:"▣";}
.lmp-workspace .lmp-workspace-nav a:nth-child(4) .nav-icon::before{content:"◷";}
.lmp-workspace .lmp-workspace-nav a:nth-child(5) .nav-icon::before{content:"↗";}
.lmp-workspace .lmp-workspace-nav a:nth-child(6) .nav-icon::before{content:"⌁";}
.lmp-workspace .lmp-workspace-nav a:nth-child(7) .nav-icon::before{content:"◉";}
.lmp-workspace .lmp-workspace-nav a:nth-child(8) .nav-icon::before{content:"▤";}
.lmp-workspace .lmp-workspace-nav a:nth-child(9) .nav-icon::before{content:"✓";font-weight:900;}
.lmp-workspace .lmp-workspace-nav a:hover .nav-icon,
.lmp-workspace .lmp-workspace-nav a.is-active .nav-icon{
  background:#58bd67!important;color:#fff!important;
}

@media(max-width:760px){
  .lmp-workspace .reception-hero-actions,
  .lmp-portal-route .reception-hero-actions{gap:9px!important;}
  .lmp-workspace .reception-hero-actions>a,
  .lmp-portal-route .reception-hero-actions>a{width:auto!important;min-width:0!important;}
}
@media(max-width:620px){
  .lmp-workspace form.reception-search-bar,
  .lmp-workspace form.doctor-archive-search,
  .lmp-workspace form.referral-queue-search,
  .lmp-workspace form.lmp-rq-filters,
  .lmp-portal-route form.reception-search-bar,
  .lmp-portal-route form.doctor-archive-search,
  .lmp-portal-route form.referral-queue-search,
  .lmp-portal-route form.lmp-rq-filters{align-items:stretch!important;}
  .lmp-workspace form.reception-search-bar button,
  .lmp-workspace form.doctor-archive-search button,
  .lmp-workspace form.referral-queue-search button,
  .lmp-workspace form.lmp-rq-filters button,
  .lmp-portal-route form.reception-search-bar button,
  .lmp-portal-route form.doctor-archive-search button,
  .lmp-portal-route form.referral-queue-search button,
  .lmp-portal-route form.lmp-rq-filters button{align-self:stretch!important;width:100%!important;}
}

/* V2.2.95 — larger workspace statistic icons */
.lmp-workspace .workspace-metrics .metric>span{
  width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;
  border-radius:16px!important;font-size:20px!important;
  box-shadow:0 10px 22px rgba(5,55,66,.09)!important;
}
.lmp-workspace .workspace-metrics .metric strong{margin-top:13px!important}

/* Online appointments is appended after role navigation, so give it its own icon treatment. */
.lmp-workspace .lmp-workspace-nav a[href*="lab-online-appointments"] .nav-icon{
  font-size:0!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  background:rgba(88,189,103,.13)!important;color:#75df86!important;
}
.lmp-workspace .lmp-workspace-nav a[href*="lab-online-appointments"] .nav-icon::before{
  content:"◷"!important;font-size:21px!important;line-height:1!important;font-family:"Segoe UI Symbol","Noto Sans Symbols 2",sans-serif!important;
}
.lmp-workspace .lmp-workspace-nav a[href*="lab-online-appointments"].is-active .nav-icon{background:#58bd67!important;color:#fff!important}
@media(max-width:700px){.lmp-workspace .workspace-metrics .metric>span{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;font-size:19px!important}}
