/* ATC 3.5.74 – visually distinct account actions, never editorial menu highlights.
 * This stylesheet changes presentation only; membership and registration both
 * continue using the existing WordPress / Ultimate Member workflows.
 */
body .atc-approved-design .shell > .head .atc-desktop-nav > a.atc-nav-account-login,
body .atc-approved-design .shell > .head .atc-desktop-nav > a.atc-nav-account-create,
body .atc-approved-design .shell > .head .atc-desktop-nav > a.atc-nav-account-join {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  min-height: 42px !important;
  font-family: var(--atc-nav-type, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif) !important;
  font-size: var(--atc-nav-size, 14px) !important;
  font-weight: var(--atc-nav-weight, 700) !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: none !important;
}
body .atc-approved-design .shell > .head .atc-desktop-nav > a.atc-nav-account-login {
  padding: 9px 3px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--atc-nav-color, #193b57) !important;
}
body .atc-approved-design .shell > .head .atc-desktop-nav > a.atc-nav-account-create {
  padding: 9px 12px !important;
  border: 1px solid #1767a7 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #1767a7 !important;
}
body .atc-approved-design .shell > .head .atc-desktop-nav > a.atc-nav-account-join {
  padding: 9px 12px !important;
  border: 1px solid #1767a7 !important;
  border-radius: 8px !important;
  background: #1767a7 !important;
  color: #fff !important;
}
body .atc-approved-design .shell > .head .atc-desktop-nav > a.atc-nav-account-login:hover {
  color: #1767a7 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}
body .atc-approved-design .shell > .head .atc-desktop-nav > a.atc-nav-account-create:hover {
  background: #eef6fb !important;
  color: #125588 !important;
}
body .atc-approved-design .shell > .head .atc-desktop-nav > a.atc-nav-account-join:hover {
  background: #125588 !important;
  border-color: #125588 !important;
  color: #fff !important;
}
body .atc-approved-design .shell > .head .atc-desktop-nav > a:focus-visible,
body .atc-approved-design .shell > .head .atc-mobile-account-actions > a:focus-visible {
  outline: 3px solid #b1cb4a !important;
  outline-offset: 3px !important;
}

/* On compact screens the existing, accessible native menu stays intact. */
@media (max-width: 1300px) {
  body .atc-approved-design .shell > .head .atc-mobile-menu-account .atc-mobile-account-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 6px !important;
    width: 100% !important;
  }
  body .atc-approved-design .shell > .head .atc-mobile-menu-account .atc-mobile-account-actions > a {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 54px !important;
    padding: 10px 8px !important;
    border-radius: 8px !important;
    font-family: var(--atc-nav-type, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif) !important;
    font-size: var(--atc-nav-size, 14px) !important;
    font-weight: var(--atc-nav-weight, 700) !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    box-shadow: none !important;
  }
  body .atc-approved-design .shell > .head .atc-mobile-menu-account .atc-mobile-account-actions > a.atc-mobile-account-create {
    border: 1px solid #1767a7 !important;
    background: #fff !important;
    color: #1767a7 !important;
  }
  body .atc-approved-design .shell > .head .atc-mobile-menu-account .atc-mobile-account-actions > a.atc-mobile-account-join {
    border: 1px solid #1767a7 !important;
    background: #1767a7 !important;
    color: #fff !important;
  }
  body .atc-approved-design .shell > .head .atc-mobile-menu-account .atc-mobile-account-actions > a.atc-mobile-account-create:hover {
    background: #eef6fb !important;
    color: #125588 !important;
  }
  body .atc-approved-design .shell > .head .atc-mobile-menu-account .atc-mobile-account-actions > a.atc-mobile-account-join:hover {
    background: #125588 !important;
    color: #fff !important;
  }
}
