/* Open Library Publications — Auth Text Bright Red — 2026-08-28 v1 */
:root{
  --ol36-red:#c91f2b;
  --ol36-red-dark:#a91823;
}

/* Make top auth text use the same bright red as search/article accents */
html body .openlib_site_header--unified .openlib_account_cluster--guest > a.openlib_auth_switch__item,
html body .openlib_journal_header__utility .openlib_account_cluster--guest > a.openlib_auth_switch__item,
html body:not(.pkp_page_login):not(.pkp_page_user) .openlib_account_cluster--guest > .openlib_auth_switch__item--login,
html body:not(.pkp_page_login):not(.pkp_page_user) .openlib_account_cluster--guest > .openlib_auth_switch__item--register{
  color:var(--ol36-red)!important;
  background:#fff!important;
  box-shadow:none!important;
}

html body .openlib_site_header--unified .openlib_account_cluster--guest > a.openlib_auth_switch__item span,
html body .openlib_journal_header__utility .openlib_account_cluster--guest > a.openlib_auth_switch__item span{
  color:inherit!important;
}

/* Hover/focus and active pages remain red with white text */
html body .openlib_site_header--unified .openlib_account_cluster--guest > a.openlib_auth_switch__item:hover,
html body .openlib_site_header--unified .openlib_account_cluster--guest > a.openlib_auth_switch__item:focus,
html body .openlib_site_header--unified .openlib_account_cluster--guest > a.openlib_auth_switch__item:focus-visible,
html body .openlib_journal_header__utility .openlib_account_cluster--guest > a.openlib_auth_switch__item:hover,
html body .openlib_journal_header__utility .openlib_account_cluster--guest > a.openlib_auth_switch__item:focus,
html body .openlib_journal_header__utility .openlib_account_cluster--guest > a.openlib_auth_switch__item:focus-visible,
html body.pkp_page_login .openlib_account_cluster--guest > .openlib_auth_switch__item--login,
html body.pkp_page_user.pkp_op_register .openlib_account_cluster--guest > .openlib_auth_switch__item--register,
html body .openlib_account_cluster--guest > .openlib_auth_switch__item.is-active{
  background:var(--ol36-red)!important;
  color:#fff!important;
}

/* Keep the dark/light button on the same red family */
html body .openlib_account_cluster--guest > button.openlib_color_mode_toggle,
html[data-openlib-color-mode="dark"] body .openlib_account_cluster--guest > button.openlib_color_mode_toggle{
  background:var(--ol36-red)!important;
  border-color:var(--ol36-red)!important;
  color:#fff!important;
}
html body .openlib_account_cluster--guest > button.openlib_color_mode_toggle:hover,
html body .openlib_account_cluster--guest > button.openlib_color_mode_toggle:focus{
  background:var(--ol36-red-dark)!important;
  border-color:var(--ol36-red-dark)!important;
}
