#wrapper-headerbar {
    height: 6.5rem;
}

.announced-only {
    display: none;
}

#headerbarbrand {
    padding: 2.2rem 1.3rem 0rem 1rem;; 
    display: flex; 
    align-items: flex-end; 
    justify-content: space-between; 
    white-space: nowrap;
    border: var(--brand-header-border);
}

#headerbarbrand:focus,
#headerbarbrand:focus-visible {
	outline:none;
    border: var(--brand-header-focus-border);
}

#micromedex-logo {
    display: inline-block; 
    width: 172px; 
    height: 33px;
}

/* Media Queries for Header Bar */
@media all and (min-width: 583px){
    #headerbarbrand {
        padding: 2.2rem 14% 0rem 11%; }	
}

@media all and (min-width: 650px){
    #wrapper-headerbar {
       height: 10rem; }
    #headerbarbrand {
       padding: 2.8rem 3.2rem 0rem 1rem; }
    #micromedex-logo {
       width: 247px; 
       height: 48px; }
}
.mdxReactHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color:var(--background-login);
  padding: 0.5rem 1.5rem 0.5rem 2rem;
  height: 5.5rem;
  color: var(--text-secondary);
  font-family: var(--allianceno1-regular);
  font-size: var(--div-font-size);
  font-style: var(--div-font-style);
  font-weight: var(--regular-font-weight);
  line-height: var(--div-line-height);
  letter-spacing: var(--div-letter-spacing);
}
.mdxReactHeader--home {  
  height: 4.5rem;  
}
.header-left .header-logo {
  width: 163px;
  height: auto;
  cursor: pointer;
}
.header-logo {
  display: block;
}
.header-logo:focus,.header-logo:focus-visible {
  outline: 2px auto var(--link-focus);
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-searchbar-wrapper {
  width: 100%;
  margin-bottom: 0.5rem; 
}

.header-right-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0rem; 
}

.header-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 87px;
    flex-shrink: 0;
    padding: 8px 24px;
    background: var(--layer-01);
  }

.header-btn, .logo {
    color: var(--text-secondary);
    font-family: var(--allianceno1-regular);
    font-size: var(--div-font-size);
    font-style: var(--div-font-style);
    font-weight: var(--regular-font-weight);
    line-height: var(--div-line-height);
    letter-spacing: var(--div-letter-spacing);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn {
    display: flex;
    padding: 4px 13px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    fill:var(--text-secondary);
    width: auto;
}
.header-btn:focus {
    outline: auto 1px var(--header-button-ghost-focus-border);
}
   
.logo {
    width: 164.72px;
    height: 38.592px;
    flex-shrink: 0;
    aspect-ratio: 164.72/38.59;
}

.user-account-wrapper {
  position: relative;
  display: inline-block;
}

.arrow {
  transition: transform 0.15s ease;
}

.arrow.down {
  transform: rotate(180deg);
}

.user-account-expandable {
  display: flex;
  flex-direction: column;
  border: none;
  color: var(--text-secondary);
  font-family: var(--allianceno1-regular);
  font-size: var(--div-font-size);
  font-style: var(--div-font-style);
  font-weight: var(--regular-font-weight);
  line-height: var(--div-line-height);
  letter-spacing: var(--div-letter-spacing);
  position: relative;  /* ← needed so child abs. position is relative to this */
}

.user-account-expandable:focus {
  outline: auto 1px var(--header-button-ghost-focus-border);
}

.user-account-expandable.expanded { /* Corrected CSS selector */
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  margin-top: 55px;
}

.user-account-content {
  position: absolute;
  top: -13.5px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  background: var(--background-micromedex);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9;
  width:166px;
  left:-15px;
}

.user-acc{
    display: flex;
    padding: 8px 12px 4px 12px;
    gap: 10px;
    align-self: stretch;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    fill:var(--text-secondary);
    font-family: var(--allianceno1-regular);
    font-weight: var(--regular-font-weight);
    font-size: var(--p-font-size);
    line-height: var(--p-line-height);
    letter-spacing: var(--p-letter-spacing);
}

.user-sub-group {
  /* Vertical padding for the group, not on each item */
  padding-top:10px;
  padding-bottom:8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.user-sub {
  width:100%;
  margin-left: 0px; 	
  color: var(--text-secondary); 
  font-family: var(--allianceno1-regular);
  font-weight: var(--regular-font-weight);
  font-size: var(--p-font-size);
  line-height: var(--p-line-height);
  letter-spacing: var(--p-letter-spacing);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer; 
  text-decoration: none;
  height: 2rem;
  box-sizing: border-box;
}
.user-sub-action {
 background-color: var(--field-01);
}

/* Only hover: */
.user-sub-action:hover {
  background: var(--layer-hover-01);
  color: var(--text-primary);
}

/* Only focus: */
.user-sub-action:focus,
.user-sub-action:focus-visible {
  background: var(--layer-01);
  color: var(--text-primary);
  outline: 2px solid #1385E2;
  outline-offset: -2px;
  z-index: 1;
}

.user-sub-action:focus + .user-divider,
.user-sub-action:focus-visible + .user-divider {
  margin-top: 0 ;
  margin-bottom:0;
}

.user-divider + .user-sub-action:focus,
.user-divider + .user-sub-action:focus-visible {
  margin-top:0;
}

/* Remove default button outline (for Chrome) */
.user-sub-action::-moz-focus-inner {
  border: 0;
}
.user-line {
  font-family: var(--allianceno1-regular);
  font-weight: var(--regular-font-weight);
  font-size: 0.625rem; /* 10px */
  font-style: var(--label1-font-style);
  line-height: 1rem;
  letter-spacing: var(--label1-letter-spacing);
  color: var(--text-secondary);
  padding: 0px 12px;
  overflow-wrap: break-word; 
}

.rotated {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
  margin-left: 4px;
}

.icon {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.user-divider {
  height: 1px;
  background-color: var(--gray20);
  margin:0;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0px;
}
