/* Shared header controls; leave content and dropdown links unchanged. */
#careerfy-header .navbar-nav > li > a[href*="request-talent"],
#careerfy-header a.raya-header-dashboard {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 20px !important;
  background: #0eafd8 !important;
  color: #fff !important;
  border: 1px solid #0eafd8 !important;
  border-radius: 3px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  white-space: nowrap;
  top: auto !important;
}
#careerfy-header .navbar-nav > li > a[href*="request-talent"]:hover,
#careerfy-header a.raya-header-dashboard:hover {
  background: #008eb5 !important;
  border-color: #008eb5 !important;
}
#careerfy-header a.raya-header-logout {
  box-sizing: border-box;
  height: 48px !important;
  padding: 13px 18px !important;
  line-height: 20px !important;
}
@media (min-width: 1200px) {
  #careerfy-header.careerfy-header-one { padding-top: 0 !important; padding-bottom: 0 !important; }
  #careerfy-header .header-row {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  #careerfy-header .careerfy-logo-con,
  #careerfy-header .careerfy-btns-con,
  #careerfy-header .careerfy-right,
  #careerfy-header .navigation-sub {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  #careerfy-header .careerfy-logo { margin-top: 0 !important; margin-bottom: 0 !important; padding: 0 !important; }
  #careerfy-header .careerfy-logo img { max-height: 60px !important; width: auto; object-fit: contain; }
  #careerfy-header .careerfy-navigation.navbar { padding-top: 0 !important; padding-bottom: 0 !important; min-height: 0 !important; }
  #careerfy-header .navbar-nav > li { padding-top: 0 !important; padding-bottom: 0 !important; }
  #careerfy-header .navbar-nav > li > a { margin-top: 0 !important; margin-bottom: 0 !important; }
  #careerfy-header .careerfy-user-section { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
}

/* Align both header columns and remove theme offsets on account list items. */
@media (min-width: 1200px) {
  #careerfy-header .header-tabel { display: block !important; width: 100%; }
  #careerfy-header .header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
  }
  #careerfy-header .careerfy-logo-con {
    display: flex !important;
    align-items: center !important;
    gap: 24px;
    width: auto !important;
    flex: 1 1 auto;
  }
  #careerfy-header .careerfy-btns-con,
  #careerfy-header .careerfy-right,
  #careerfy-header .careerfy-user-section,
  #careerfy-header .careerfy-user-section > li {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    line-height: normal !important;
  }
  #careerfy-header .careerfy-btns-con { flex: 0 0 auto; }
  #careerfy-header .careerfy-user-section:empty { display: none !important; }
  #careerfy-header #menu-main-menu {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap;
    margin: 0 !important;
    padding: 0 !important;
  }
  #careerfy-header #menu-main-menu > li {
    float: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center;
  }
  #careerfy-header a.raya-header-dashboard,
  #careerfy-header a.raya-header-logout {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    position: static !important;
    transform: none !important;
    vertical-align: middle !important;
  }
}

#careerfy-header button.raya-notification-bell {
  display: inline-flex !important; align-items: center; justify-content: center;
  flex: 0 0 44px; width: 44px; height: 48px; padding: 0 !important;
  margin: 0 0 0 10px !important; border: 0 !important; border-radius: 50%;
  background: transparent !important; color: #0eafd8 !important; cursor: pointer;
}
#careerfy-header button.raya-notification-bell:hover { background: #eefaff !important; }
#careerfy-header button.raya-notification-bell:focus-visible { outline: 2px solid #008eb5; outline-offset: 2px; }
#raya-notification-panel {
  position: fixed; z-index: 99999; width: min(460px, calc(100vw - 24px));
  max-height: 70vh; overflow: auto; padding: 20px; background: #fff;
  color: #26334a; border: 1px solid #e2e8ef; border-radius: 10px;
  box-shadow: 0 8px 30px #0003; white-space: normal;
}
#raya-notification-panel[hidden] { display: none !important; }
#raya-notification-panel #jobsearch-notification-section {
  margin: 0 !important; padding: 0 !important; width: 100% !important;
  box-shadow: none !important; border: 0 !important;
}
#raya-notification-panel .jobsearch-profile-title h2 { font-size: 20px; }
#raya-notification-panel .jobsearch-profile-title { margin-bottom: 16px; }
