/* Shared layout rules for the patient portal and the doctor portal */

/* always reserve the scrollbar, so content never shifts sideways between tabs */
html{overflow-y:scroll}

/* sidebar: pinned exactly where it rests (header 4rem + 1px border + page padding 1.5rem) */
@media(min-width:1024px){
  #nav{top:calc(4rem + 1px + 1.5rem)!important}
}

/* titles: same size and same vertical position on every tab */
.panel > h1,
.panel > div.flex:first-child > h1{
  display:flex;align-items:center;min-height:3.25rem;
  font-size:1.75rem!important;line-height:2.25rem!important;font-weight:800;letter-spacing:-.03em;
}
.panel > div.flex:first-child{min-height:3.25rem;align-items:center}   /* rows holding a title plus a button */

/* doctor header: same frosted look as the patient portal header */
#hd{background-color:rgba(255,255,255,.78)!important;backdrop-filter:saturate(1.5) blur(18px);border-bottom:1px solid rgba(227,237,246,.9)}