/* RPC ACL Portal v0.15.2 — Simple message alerts only */

/* Defensively suppress old experimental v0.15 UI if stale browser markup exists. */
#clinicianMessageCentreButton,
#clinicianUnreadMessageBanner,
#clinicianMessageCentreModal,
#clinicianMessageToastStack,
#messagesDashboardCard,
#messageToastStack{
  display:none!important;
}

/* Existing Messages nav is the single persistent indicator. */
.simple-messages-nav{
  position:relative!important;
  padding-right:46px!important;
}

.simple-messages-nav.has-unread{
  font-weight:850!important;
  background:rgba(200,89,47,.10)!important;
}

.simple-message-count{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:#c8592f;
  color:#fff;
  display:inline-grid;
  place-items:center;
  font-size:10px;
  line-height:1;
  font-weight:950;
  box-shadow:0 1px 3px rgba(0,0,0,.12);
}
