/*
 RPC Shoulder Staff Photos V1
 Presentation rules only. Photo identity logic is integrated into app.js by the guarded patcher.
*/

.rpc-shoulder-clinician-avatar{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:50%;
  background:#f2f8e9;
  border:2px solid #92D50B;
  color:#002B4D;
  font-weight:900;
  line-height:1;
  letter-spacing:-.02em;
}

.rpc-shoulder-clinician-avatar.message{
  width:34px;
  height:34px;
  font-size:10px;
  margin-right:9px;
}

.rpc-shoulder-clinician-avatar.header{
  width:48px;
  height:48px;
  font-size:12px;
}

.rpc-shoulder-clinician-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

.message-bubble.rpc-shoulder-has-clinician-avatar{
  position:relative;
}

.message-bubble.rpc-shoulder-has-clinician-avatar > .rpc-shoulder-clinician-avatar.message{
  float:left;
}

.message-bubble.rpc-shoulder-has-clinician-avatar .message-bubble-meta,
.message-bubble.rpc-shoulder-has-clinician-avatar .message-bubble-body,
.message-bubble.rpc-shoulder-has-clinician-avatar > small{
  margin-left:43px;
}

.rpc-shoulder-patient-message-clinician{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.rpc-shoulder-patient-message-clinician>div{
  min-width:0;
}

.rpc-shoulder-clinician-chip-photo{
  width:34px !important;
  height:34px !important;
  flex:0 0 34px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid #92D50B;
  background:#f2f8e9;
  object-fit:cover;
  object-position:center;
}

@media(max-width:520px){
  .rpc-shoulder-clinician-avatar.message{
    width:32px;
    height:32px;
  }
  .message-bubble.rpc-shoulder-has-clinician-avatar .message-bubble-meta,
  .message-bubble.rpc-shoulder-has-clinician-avatar .message-bubble-body,
  .message-bubble.rpc-shoulder-has-clinician-avatar > small{
    margin-left:41px;
  }
}
