.hn-portal-entry,
.hn-student-portal,
.oe_website_login_container {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body:has(.oe_login_form),
body:has(.hn-portal-entry),
body:has(.hn-student-portal) {
  background: linear-gradient(180deg, #f3f7ff 0%, #f8faff 100%);
  color: #101828;
}

body:has(.oe_login_form) header#top,
body:has(.hn-portal-entry) header#top,
body:has(.hn-student-portal) header#top {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  background: linear-gradient(135deg, #08162b 0%, #0f274d 50%, #1a3d75 100%);
}

body:has(.oe_login_form) header#top::before,
body:has(.hn-portal-entry) header#top::before,
body:has(.hn-student-portal) header#top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 65%);
  pointer-events: none;
}

body:has(.oe_login_form) header#top .navbar,
body:has(.hn-portal-entry) header#top .navbar,
body:has(.hn-student-portal) header#top .navbar {
  min-height: 68px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  align-items: center;
  background: transparent !important;
}

body:has(.oe_login_form) header#top .navbar-brand,
body:has(.hn-portal-entry) header#top .navbar-brand,
body:has(.hn-student-portal) header#top .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 1.35rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  background: transparent !important;
  box-shadow: none;
}

body:has(.oe_login_form) header#top .navbar-brand::after,
body:has(.hn-portal-entry) header#top .navbar-brand::after,
body:has(.hn-student-portal) header#top .navbar-brand::after {
  content: "HexNord";
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.5rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: #ffffff;
  background: linear-gradient(90deg, #ffffff 0 42%, #2b5aa0 42% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body:has(.oe_login_form) header#top .navbar-brand > span[role="img"],
body:has(.hn-portal-entry) header#top .navbar-brand > span[role="img"],
body:has(.hn-student-portal) header#top .navbar-brand > span[role="img"],
body:has(.oe_login_form) header#top .navbar-brand img,
body:has(.hn-portal-entry) header#top .navbar-brand img,
body:has(.hn-student-portal) header#top .navbar-brand img {
  display: block;
  width: auto !important;
  height: 40px;
  max-height: 40px;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.oe_login_form) header#top .navbar-nav > li > a,
body:has(.oe_login_form) header#top .nav-link,
body:has(.hn-portal-entry) header#top .navbar-nav > li > a,
body:has(.hn-portal-entry) header#top .nav-link,
body:has(.hn-student-portal) header#top .navbar-nav > li > a,
body:has(.hn-student-portal) header#top .nav-link {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  font-size: 0.94rem;
  line-height: 1.2;
  color: rgba(243, 247, 255, 0.86);
  transition: color 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

body:has(.oe_login_form) header#top .navbar-nav > li > a:hover,
body:has(.oe_login_form) header#top .navbar-nav > li > a:focus,
body:has(.oe_login_form) header#top .nav-link:hover,
body:has(.oe_login_form) header#top .nav-link:focus,
body:has(.hn-portal-entry) header#top .navbar-nav > li > a:hover,
body:has(.hn-portal-entry) header#top .navbar-nav > li > a:focus,
body:has(.hn-portal-entry) header#top .nav-link:hover,
body:has(.hn-portal-entry) header#top .nav-link:focus,
body:has(.hn-student-portal) header#top .navbar-nav > li > a:hover,
body:has(.hn-student-portal) header#top .navbar-nav > li > a:focus,
body:has(.hn-student-portal) header#top .nav-link:hover,
body:has(.hn-student-portal) header#top .nav-link:focus {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

body:has(.oe_login_form) header#top .btn:not(.navbar-toggler),
body:has(.hn-portal-entry) header#top .btn:not(.navbar-toggler),
body:has(.hn-student-portal) header#top .btn:not(.navbar-toggler) {
  border-radius: 12px;
}

body:has(.oe_login_form) header#top .o_nav_link_btn,
body:has(.hn-portal-entry) header#top .o_nav_link_btn,
body:has(.hn-student-portal) header#top .o_nav_link_btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.14);
}

body:has(.oe_login_form) header#top .o_nav_link_btn:hover,
body:has(.oe_login_form) header#top .o_nav_link_btn:focus,
body:has(.hn-portal-entry) header#top .o_nav_link_btn:hover,
body:has(.hn-portal-entry) header#top .o_nav_link_btn:focus,
body:has(.hn-student-portal) header#top .o_nav_link_btn:hover,
body:has(.hn-student-portal) header#top .o_nav_link_btn:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.22);
}

body:has(.oe_login_form) header#top .fa,
body:has(.oe_login_form) header#top .oi,
body:has(.oe_login_form) header#top i,
body:has(.hn-portal-entry) header#top .fa,
body:has(.hn-portal-entry) header#top .oi,
body:has(.hn-portal-entry) header#top i,
body:has(.hn-student-portal) header#top .fa,
body:has(.hn-student-portal) header#top .oi,
body:has(.hn-student-portal) header#top i {
  color: rgba(255, 255, 255, 0.92);
}

body:has(.oe_login_form) footer#bottom,
body:has(.hn-portal-entry) footer#bottom,
body:has(.hn-student-portal) footer#bottom {
  margin-top: 1.5rem;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.98) 0%, rgba(239, 244, 252, 0.98) 100%);
  border-top: 1px solid rgba(19, 33, 68, 0.08);
}

body:has(.hn-profile-portal) footer#bottom {
  display: none !important;
}

body:has(.hn-profile-portal) .o_portal_wrap > .container {
  padding-top: 0.75rem !important;
}

body:has(.hn-counselor-portal) footer#bottom {
  display: none !important;
}

body:has(.hn-counselor-portal) .o_portal_wrap > .container {
  padding-top: 0.75rem !important;
}

body:has(.oe_login_form) footer#bottom .o_footer_logo,
body:has(.hn-portal-entry) footer#bottom .o_footer_logo,
body:has(.hn-student-portal) footer#bottom .o_footer_logo {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
}

body:has(.oe_login_form) footer#bottom .o_footer_logo img,
body:has(.hn-portal-entry) footer#bottom .o_footer_logo img,
body:has(.hn-student-portal) footer#bottom .o_footer_logo img {
  width: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  opacity: 0;
  overflow: hidden;
}

body:has(.oe_login_form) footer#bottom .o_footer_logo::before,
body:has(.hn-portal-entry) footer#bottom .o_footer_logo::before,
body:has(.hn-student-portal) footer#bottom .o_footer_logo::before {
  content: "";
  display: block;
  width: 220px;
  height: 76px;
  background: url("/eduaid/static/src/img/HexNord-logo-v2.png") left center / contain no-repeat;
}

body:has(.oe_login_form) main,
body:has(.hn-portal-entry) main,
body:has(.hn-student-portal) main {
  min-height: calc(100vh - 200px);
}

body:has(.oe_login_form) .oe_website_login_container {
  max-width: 480px;
  margin: 2.5rem auto 3rem;
  padding: 0 1rem;
}

body:has(.oe_login_form) .oe_login_form {
  display: block !important;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid #e4ebf7;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 24px 56px rgba(16, 24, 40, 0.10);
}

body:has(.oe_login_form) .oe_login_form::before {
  content: "HexNord Portal";
  display: block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3559d8;
}

body:has(.oe_login_form) .oe_login_form .form-label,
body:has(.oe_login_form) .oe_login_form .btn-link {
  color: #0f1b34;
}

body:has(.oe_login_form) .oe_login_form .form-control {
  min-height: 48px;
  border-radius: 14px;
  border-color: #d8e2f2;
  box-shadow: none;
}

body:has(.oe_login_form) .oe_login_form .form-control:focus {
  border-color: #4b72ff;
  box-shadow: 0 0 0 0.2rem rgba(75, 114, 255, 0.14);
}

body:has(.oe_login_form) .oe_login_buttons .btn-primary,
.hn-portal-entry .btn-primary,
.hn-student-portal .btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #365cff 0%, #4b72ff 100%);
  box-shadow: 0 14px 28px rgba(54, 92, 255, 0.18);
}

body:has(.oe_login_form) .oe_login_buttons .btn-primary:hover,
body:has(.oe_login_form) .oe_login_buttons .btn-primary:focus,
.hn-portal-entry .btn-primary:hover,
.hn-portal-entry .btn-primary:focus,
.hn-student-portal .btn-primary:hover,
.hn-student-portal .btn-primary:focus {
  background: linear-gradient(135deg, #2743c7 0%, #365cff 100%);
}

body:has(.oe_login_form) .oe_login_form .btn-primary,
.hn-portal-entry__btn,
.hn-student-portal .btn {
  border-radius: 14px;
  font-weight: 650;
}

.hn-portal-entry {
  max-width: 1160px;
}

.hn-portal-entry__intro {
  border: 0;
  box-shadow: 0 24px 56px rgba(16, 24, 40, 0.10);
}

.hn-card {
  border: 1px solid #e7ecf5;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
}

.hn-card .card-body {
  padding: 1.5rem;
}

.hn-section {
  margin-bottom: 2.25rem;
}

.hn-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hn-subtitle {
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.hn-grad-blue {
  background: linear-gradient(135deg, #eaf2ff 0%, #ffffff 70%);
}

.hn-grad-green {
  background: linear-gradient(135deg, #e7fbf1 0%, #ffffff 70%);
}

.hn-badge-pill {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-weight: 600;
}

.hn-portal-entry {
  max-width: 1160px;
}

.hn-portal-entry__intro .card-body {
  padding: 1.65rem 1.75rem;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  border-radius: inherit;
}

.hn-student-portal {
  max-width: 1180px;
}

.hn-student-portal#student-portal-main-page,
.hn-student-portal#student-portal-compatibility-page,
.hn-student-portal#counselor-students-page,
.hn-student-portal#counselor-student-detail-page,
.hn-student-portal#counselor-university-programs-page {
  padding-left: clamp(0.9rem, 1.6vw, 1.25rem);
  padding-right: clamp(0.9rem, 1.6vw, 1.25rem);
}

#student-portal-main-page,
#student-portal-compatibility-page,
#counselor-students-page {
  position: relative;
}

#student-portal-main-page::before,
#student-portal-compatibility-page::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 230px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(69, 109, 214, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(230, 238, 251, 0.9) 0%, rgba(247, 250, 255, 0.96) 72%, rgba(247, 250, 255, 0) 100%);
  box-shadow: none;
  z-index: 0;
}

#counselor-students-page::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 240px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(69, 109, 214, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(230, 238, 251, 0.9) 0%, rgba(247, 250, 255, 0.96) 72%, rgba(247, 250, 255, 0) 100%);
  box-shadow: none;
  z-index: 0;
}

#student-portal-main-page > *,
#student-portal-compatibility-page > *,
#counselor-students-page > * {
  position: relative;
  z-index: 1;
}

.hn-student-portal .hn-card,
.hn-student-portal .hn-kpi-card,
.hn-student-portal .accordion-item.hn-card {
  border-color: #e4ebf7;
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.08);
}

.hn-student-portal .hn-student-header {
  padding: 1.5rem 1.6rem;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

#student-portal-main-page .hn-card,
#student-portal-main-page .hn-kpi-card,
#student-portal-main-page .accordion-item.hn-card,
#student-portal-compatibility-page .hn-card,
#student-portal-compatibility-page .hn-kpi-card,
#student-portal-compatibility-page .accordion-item.hn-card {
  border-color: #dde6f2;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

#student-portal-main-page .hn-section,
#student-portal-compatibility-page .hn-section {
  margin-bottom: 1.25rem;
}

#student-portal-main-page.hn-profile-portal,
#student-portal-compatibility-page.hn-profile-portal {
  margin-top: 0.5rem !important;
}

#counselor-students-page.hn-counselor-portal {
  margin-top: 0.5rem !important;
}

#student-portal-main-page .hn-profile-header,
#student-portal-compatibility-page .hn-profile-header {
  border: 1px solid #d7e3f0;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

#student-portal-main-page .hn-student-header__layout,
#student-portal-compatibility-page .hn-student-header__layout {
  gap: 1.5rem !important;
}

#student-portal-main-page .hn-student-header__content,
#student-portal-compatibility-page .hn-student-header__content {
  max-width: 700px;
}

#student-portal-main-page .hn-student-header__eyebrow,
#student-portal-compatibility-page .hn-student-header__eyebrow {
  color: #35507a;
  font-weight: 700;
  letter-spacing: 0.12em;
}

#student-portal-main-page .hn-student-header__title,
#student-portal-compatibility-page .hn-student-header__title {
  color: #0f172a;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

#student-portal-main-page .hn-student-header__lead,
#student-portal-main-page .hn-student-header .text-muted,
#student-portal-compatibility-page .hn-student-header__lead,
#student-portal-compatibility-page .hn-student-header .text-muted {
  color: #52607a !important;
}

#student-portal-main-page .hn-student-header__meta .hn-badge,
#student-portal-compatibility-page .hn-student-header__meta .hn-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #cfe0f7;
  background: #edf4ff;
  color: #1f4f92;
}

#student-portal-main-page .hn-student-header__meta .hn-badge-muted,
#student-portal-compatibility-page .hn-student-header__meta .hn-badge-muted {
  border-color: #d6dfec;
  background: #f5f7fb;
  color: #475467;
}

#student-portal-main-page .hn-student-header__actions,
#student-portal-compatibility-page .hn-student-header__actions {
  align-items: center;
}

#student-portal-main-page .hn-student-header__action,
#student-portal-compatibility-page .hn-student-header__action {
  min-width: 138px;
  justify-content: center;
  box-shadow: none;
}

#student-portal-main-page .btn-primary,
#student-portal-compatibility-page .btn-primary {
  background: #2453d4;
  border-color: #2453d4;
}

#student-portal-main-page .btn-primary:hover,
#student-portal-main-page .btn-primary:focus,
#student-portal-compatibility-page .btn-primary:hover,
#student-portal-compatibility-page .btn-primary:focus {
  background: #1f47b4;
  border-color: #1f47b4;
}

#student-portal-main-page .btn-outline-primary,
#student-portal-compatibility-page .btn-outline-primary {
  color: #2453d4;
  border-color: #c8d7ef;
  background: #ffffff;
}

#student-portal-main-page .btn-outline-primary:hover,
#student-portal-main-page .btn-outline-primary:focus,
#student-portal-compatibility-page .btn-outline-primary:hover,
#student-portal-compatibility-page .btn-outline-primary:focus {
  color: #17326f;
  border-color: #adc1e3;
  background: #f6f9ff;
}

#student-portal-main-page .hn-profile-layout {
  row-gap: 1.25rem;
}

#student-portal-main-page .hn-student-tabs,
#student-portal-compatibility-page .hn-student-tabs {
  gap: 0.5rem;
  border-bottom-color: #d9e3ef;
}

#student-portal-main-page .hn-student-tabs .nav-link,
#student-portal-compatibility-page .hn-student-tabs .nav-link {
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-bottom: 0;
  background: transparent;
  color: #52607a;
}

#student-portal-main-page .hn-student-tabs .nav-link:hover,
#student-portal-main-page .hn-student-tabs .nav-link:focus,
#student-portal-compatibility-page .hn-student-tabs .nav-link:hover,
#student-portal-compatibility-page .hn-student-tabs .nav-link:focus {
  color: #17326f;
  background: rgba(255, 255, 255, 0.65);
}

#student-portal-main-page .hn-student-tabs .nav-link.active,
#student-portal-compatibility-page .hn-student-tabs .nav-link.active {
  background: #ffffff;
  border-color: #d9e3ef #d9e3ef #ffffff;
  color: #17326f;
}

#student-portal-main-page .hn-portal-profile-footer,
#student-portal-compatibility-page .hn-portal-profile-footer {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe4f0;
}

#student-portal-main-page .hn-portal-profile-footer__links,
#student-portal-compatibility-page .hn-portal-profile-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  color: #667085;
  font-size: 0.92rem;
}

#student-portal-main-page .hn-portal-profile-footer__links a,
#student-portal-compatibility-page .hn-portal-profile-footer__links a {
  color: #52607a;
  text-decoration: none;
}

#student-portal-main-page .hn-portal-profile-footer__links a:hover,
#student-portal-main-page .hn-portal-profile-footer__links a:focus,
#student-portal-compatibility-page .hn-portal-profile-footer__links a:hover,
#student-portal-compatibility-page .hn-portal-profile-footer__links a:focus {
  color: #17326f;
  text-decoration: underline;
}

#counselor-students-page .hn-card,
#counselor-students-page .hn-kpi-card {
  border-color: #dde6f2;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

#counselor-students-page .hn-counselor-header {
  border: 1px solid #d7e3f0;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

#counselor-students-page .hn-counselor-header__layout {
  gap: 1.5rem !important;
}

#counselor-students-page .hn-counselor-header__content {
  max-width: 760px;
}

#counselor-students-page .hn-counselor-header__eyebrow {
  color: #35507a;
  font-weight: 700;
  letter-spacing: 0.12em;
}

#counselor-students-page .hn-counselor-header__title {
  color: #0f172a;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

#counselor-students-page .hn-counselor-header__lead,
#counselor-students-page .hn-counselor-header .text-muted {
  color: #52607a !important;
}

#counselor-students-page .hn-counselor-header__meta .hn-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #d6dfec;
  background: #f5f7fb;
  color: #475467;
}

#counselor-students-page .hn-counselor-kpis .hn-kpi-card {
  border: 1px solid #dde6f2;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  color: #0f172a;
  padding: 0.9rem 1.2rem;
}

#counselor-students-page .hn-counselor-kpis .hn-kpi-card[data-kpi-filter] {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

#counselor-students-page .hn-counselor-kpis .hn-kpi-card[data-kpi-filter]:hover,
#counselor-students-page .hn-counselor-kpis .hn-kpi-card[data-kpi-filter]:focus-visible {
  border-color: #bfd0ea;
  box-shadow: 0 10px 24px rgba(23, 50, 111, 0.09);
  transform: translateY(-1px);
  outline: none;
}

#counselor-students-page .hn-counselor-kpis .hn-kpi-card.is-active {
  border-color: #8eaad8;
  box-shadow: 0 12px 28px rgba(23, 50, 111, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

#counselor-students-page .hn-counselor-kpis .hn-kpi-label {
  color: #667085;
  margin-bottom: 0.35rem;
}

#counselor-students-page .hn-counselor-kpis .hn-kpi-value {
  color: #17326f;
  font-size: 1.8rem;
  line-height: 1.15;
}

#counselor-students-page .hn-counselor-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) minmax(180px, 1fr) minmax(200px, 1fr);
  gap: 0.85rem 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

#counselor-students-page .hn-counselor-controls__group .form-label {
  color: #52607a;
  font-size: 0.88rem;
  font-weight: 600;
}

#counselor-students-page .hn-counselor-controls .form-control,
#counselor-students-page .hn-counselor-controls .form-select {
  border-color: #d6dfec;
  background: #ffffff;
  box-shadow: none;
}

#counselor-students-page .hn-counselor-controls .form-control:focus,
#counselor-students-page .hn-counselor-controls .form-select:focus {
  border-color: #adc1e3;
  box-shadow: 0 0 0 0.2rem rgba(36, 83, 212, 0.08);
}

#counselor-students-page .hn-counselor-table-wrap {
  padding: 0;
  border: 1px solid #dde6f2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

#counselor-students-page .hn-counselor-table {
  margin-bottom: 0;
}

#counselor-students-page .hn-counselor-table thead.table-light th {
  background: #f8fbff;
  color: #475467;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid #dde6f2;
  padding: 0.95rem 1rem;
}

#counselor-students-page .hn-counselor-table tbody td {
  padding: 1rem;
  border-color: #edf2f7;
  vertical-align: middle;
}

#counselor-students-page .hn-counselor-table tbody tr:last-child td {
  border-bottom: 0;
}

#counselor-students-page .hn-counselor-table tbody tr:hover {
  background: #fbfdff;
}

#counselor-students-page .hn-counselor-table .badge.bg-light.text-dark.border {
  border-color: #d6dfec !important;
  background: #f5f7fb !important;
  color: #475467 !important;
  font-weight: 600;
}

#counselor-students-page .hn-counselor-table .btn-outline-primary {
  color: #2453d4;
  border-color: #c8d7ef;
  background: #ffffff;
  box-shadow: none;
}

#counselor-students-page .hn-counselor-table .btn-outline-primary:hover,
#counselor-students-page .hn-counselor-table .btn-outline-primary:focus {
  color: #17326f;
  border-color: #adc1e3;
  background: #f6f9ff;
}

#counselor-students-page .hn-counselor-footer {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe4f0;
}

#counselor-students-page .hn-counselor-footer .hn-portal-profile-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  color: #667085;
  font-size: 0.92rem;
}

#counselor-students-page .hn-counselor-footer .hn-portal-profile-footer__links a {
  color: #52607a;
  text-decoration: none;
}

#counselor-students-page .hn-counselor-footer .hn-portal-profile-footer__links a:hover,
#counselor-students-page .hn-counselor-footer .hn-portal-profile-footer__links a:focus {
  color: #17326f;
  text-decoration: underline;
}

body:has(.hn-counselor-detail-portal) footer#bottom {
  display: none !important;
}

body:has(.hn-counselor-detail-portal) .o_portal_wrap > .container {
  padding-top: 0.75rem !important;
}

#counselor-student-detail-page {
  position: relative;
}

#counselor-student-detail-page::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 240px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(69, 109, 214, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(230, 238, 251, 0.9) 0%, rgba(247, 250, 255, 0.96) 72%, rgba(247, 250, 255, 0) 100%);
  box-shadow: none;
  z-index: 0;
}

#counselor-student-detail-page > * {
  position: relative;
  z-index: 1;
}

#counselor-student-detail-page.hn-counselor-detail-portal {
  margin-top: 0.5rem !important;
}

#counselor-student-detail-page .hn-card,
#counselor-student-detail-page .hn-kpi-card,
#counselor-student-detail-page .accordion-item.hn-card {
  border-color: #dde6f2;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

#counselor-student-detail-page .hn-counselor-detail-header {
  border: 1px solid #d7e3f0;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

#counselor-student-detail-page .hn-counselor-detail-header__layout {
  gap: 1.5rem !important;
}

#counselor-student-detail-page .hn-counselor-detail-header__content {
  max-width: 760px;
}

#counselor-student-detail-page .hn-counselor-detail-header__eyebrow {
  color: #35507a;
  font-weight: 700;
  letter-spacing: 0.12em;
}

#counselor-student-detail-page .hn-counselor-detail-header__title {
  color: #0f172a;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

#counselor-student-detail-page .hn-counselor-detail-header__lead,
#counselor-student-detail-page .hn-counselor-detail-header .text-muted {
  color: #52607a !important;
}

#counselor-student-detail-page .hn-counselor-detail-header__meta .hn-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #d6dfec;
  background: #f5f7fb;
  color: #475467;
}

#counselor-student-detail-page .hn-counselor-detail-kpis .hn-kpi-card {
  border: 1px solid #dde6f2;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  color: #0f172a;
  padding: 0.9rem 1.2rem;
}

#counselor-student-detail-page .hn-counselor-detail-kpis .hn-kpi-label {
  color: #667085;
  margin-bottom: 0.35rem;
}

#counselor-student-detail-page .hn-counselor-detail-kpis .hn-kpi-value {
  color: #17326f;
  font-size: 1.8rem;
  line-height: 1.15;
}

#counselor-student-detail-page .hn-counselor-detail-controls {
  display: grid;
  grid-template-columns: minmax(220px, 280px);
  gap: 0.85rem 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

#counselor-student-detail-page .hn-counselor-detail-controls__group .form-label {
  color: #52607a;
  font-size: 0.88rem;
  font-weight: 600;
}

#counselor-student-detail-page .hn-counselor-detail-controls .form-select {
  border-color: #d6dfec;
  background: #ffffff;
  box-shadow: none;
}

#counselor-student-detail-page .hn-counselor-detail-controls .form-select:focus {
  border-color: #adc1e3;
  box-shadow: 0 0 0 0.2rem rgba(36, 83, 212, 0.08);
}

#counselor-student-detail-page .hn-university-cards {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  justify-content: stretch;
}

#counselor-student-detail-page .hn-university-card {
  max-width: none;
  border-color: #dde6f2;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

#counselor-student-detail-page .hn-university-card__image {
  background: #f7faff;
}

#counselor-student-detail-page .hn-university-card__image img {
  padding: 18px;
}

#counselor-student-detail-page .hn-university-card__body {
  padding: 1rem 1.1rem 1.1rem;
  gap: 0.6rem;
}

#counselor-student-detail-page .hn-university-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

#counselor-student-detail-page .hn-university-card__country {
  color: #475467;
  font-weight: 500;
}

#counselor-student-detail-page .hn-university-card__button .btn-outline-primary {
  color: #2453d4;
  border-color: #c8d7ef;
  background: #ffffff;
  box-shadow: none;
}

#counselor-student-detail-page .hn-university-card__button .btn-outline-primary:hover,
#counselor-student-detail-page .hn-university-card__button .btn-outline-primary:focus {
  color: #17326f;
  border-color: #adc1e3;
  background: #f6f9ff;
}

#counselor-student-detail-page .hn-university-card__degrees {
  border-top-color: #dde6f2;
  background: #f8fbff;
}

#counselor-student-detail-page .hn-degree-row {
  border-bottom-color: #e6edf7;
}

#counselor-student-detail-page .hn-degree-all {
  color: #2453d4;
}

#counselor-student-detail-page .hn-degree-all:hover,
#counselor-student-detail-page .hn-degree-all:focus {
  color: #17326f;
}

#counselor-student-detail-page .hn-counselor-detail-footer {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe4f0;
}

#counselor-student-detail-page .hn-counselor-detail-footer .hn-portal-profile-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  color: #667085;
  font-size: 0.92rem;
}

#counselor-student-detail-page .hn-counselor-detail-footer .hn-portal-profile-footer__links a {
  color: #52607a;
  text-decoration: none;
}

#counselor-student-detail-page .hn-counselor-detail-footer .hn-portal-profile-footer__links a:hover,
#counselor-student-detail-page .hn-counselor-detail-footer .hn-portal-profile-footer__links a:focus {
  color: #17326f;
  text-decoration: underline;
}

#counselor-student-detail-page .hn-requirement-content,
#counselor-student-detail-page .hn-guidance-content,
#counselor-university-programs-page .hn-requirement-content,
#counselor-university-programs-page .hn-guidance-content {
  display: none !important;
}

#counselor-student-detail-page .hn-modal,
#counselor-university-programs-page .hn-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1050;
}

#counselor-student-detail-page .hn-modal.is-open,
#counselor-university-programs-page .hn-modal.is-open {
  display: flex !important;
}

body:has(.hn-counselor-programs-portal) footer#bottom {
  display: none !important;
}

body:has(.hn-counselor-programs-portal) .o_portal_wrap > .container {
  padding-top: 0.75rem !important;
}

#counselor-university-programs-page {
  position: relative;
}

#counselor-university-programs-page::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 230px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(69, 109, 214, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(230, 238, 251, 0.9) 0%, rgba(247, 250, 255, 0.96) 72%, rgba(247, 250, 255, 0) 100%);
  box-shadow: none;
  z-index: 0;
}

#counselor-university-programs-page > * {
  position: relative;
  z-index: 1;
}

#counselor-university-programs-page.hn-counselor-programs-portal {
  margin-top: 0.5rem !important;
}

#counselor-university-programs-page .hn-card {
  border-color: #dde6f2;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

#counselor-university-programs-page .hn-counselor-programs-header {
  border: 1px solid #d7e3f0;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

#counselor-university-programs-page .hn-counselor-programs-header h1 {
  color: #0f172a;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

#counselor-university-programs-page .hn-counselor-programs-header .text-muted {
  color: #52607a !important;
}

#counselor-university-programs-page .hn-counselor-programs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

#counselor-university-programs-page .hn-counselor-programs-meta .hn-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #d6dfec;
  background: #f5f7fb;
  color: #475467;
}

#counselor-university-programs-page .hn-programs-controls {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: #dde6f2;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.05);
}

#counselor-university-programs-page .hn-programs-controls .form-label {
  color: #52607a;
  font-size: 0.88rem;
  font-weight: 600;
}

#counselor-university-programs-page .hn-programs-controls .form-control,
#counselor-university-programs-page .hn-programs-controls .form-select {
  border-color: #d6dfec;
  background: #ffffff;
  box-shadow: none;
}

#counselor-university-programs-page .hn-programs-controls .form-control:focus,
#counselor-university-programs-page .hn-programs-controls .form-select:focus {
  border-color: #adc1e3;
  box-shadow: 0 0 0 0.2rem rgba(36, 83, 212, 0.08);
}

#counselor-university-programs-page .hn-degree-list {
  border: 1px solid #dde6f2;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  padding: 0.9rem 1rem;
}

#counselor-university-programs-page .hn-programs-header {
  background: #ffffff;
  border-bottom-color: #e6edf7;
}

#counselor-university-programs-page .hn-degree-row {
  border-bottom-color: #e6edf7;
}

#counselor-university-programs-page .hn-degree-compat {
  color: #17326f;
}

#counselor-university-programs-page .hn-degree-req {
  color: #2453d4;
}

#counselor-university-programs-page .hn-degree-req:hover,
#counselor-university-programs-page .hn-degree-req:focus {
  color: #17326f;
}

#counselor-university-programs-page .hn-counselor-programs-footer {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe4f0;
}

#counselor-university-programs-page .hn-counselor-programs-footer .hn-portal-profile-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  color: #667085;
  font-size: 0.92rem;
}

#counselor-university-programs-page .hn-counselor-programs-footer .hn-portal-profile-footer__links a {
  color: #52607a;
  text-decoration: none;
}

#counselor-university-programs-page .hn-counselor-programs-footer .hn-portal-profile-footer__links a:hover,
#counselor-university-programs-page .hn-counselor-programs-footer .hn-portal-profile-footer__links a:focus {
  color: #17326f;
  text-decoration: underline;
}

.hn-student-portal .nav-tabs {
  border-bottom-color: #dce4f2;
}

.hn-student-portal .nav-tabs .nav-link {
  border-radius: 14px 14px 0 0;
  color: #52607a;
}

.hn-student-portal .nav-tabs .nav-link.active {
  color: #0f1b34;
  font-weight: 600;
}

.hn-student-portal .hn-status-icon {
  width: 1.2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hn-student-portal .hn-status-icon.hn-ok {
  color: #22c55e !important;
}

.hn-student-portal .hn-status-icon.hn-warn {
  color: #f59e0b !important;
}

.hn-student-portal .hn-status-icon.hn-bad {
  color: #ef4444 !important;
}

.hn-student-portal .hn-status-icon.hn-neutral {
  color: #9ca3af !important;
}

.hn-student-portal .hn-req-line--nested {
  padding-left: 12px;
}

.hn-student-portal .hn-status-chip.hn-status--eligible {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #166534;
}

.hn-student-portal .hn-status-chip.hn-status--on_track {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}

.hn-student-portal .hn-status-chip.hn-status--not_eligible {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.hn-student-portal .hn-modal__guidance {
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left-width: 4px;
  border-left-color: #cbd5f5;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.hn-student-portal .hn-modal__guidance.hn-guidance--eligible {
  border-left-color: #22c55e;
}

.hn-student-portal .hn-modal__guidance.hn-guidance--on_track {
  border-left-color: #f59e0b;
}

.hn-student-portal .hn-modal__guidance.hn-guidance--not_eligible {
  border-left-color: #ef4444;
}

.hn-student-portal .hn-modal__close-text {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  padding: 6px;
  color: #111827;
  cursor: pointer;
}

#student-portal-main-page .hn-kpi-card,
#student-portal-main-page .hn-kpi-card {
  background: #ffffff;
}

.hn-portal-entry__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3559d8;
}

.hn-portal-entry__grid {
  align-items: stretch;
}

.hn-portal-entry__card {
  overflow: hidden;
}

.hn-portal-entry__card .card-body {
  padding: 1.6rem;
}

.hn-portal-entry__card--student {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.hn-portal-entry__card--counselor {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.hn-portal-entry__meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #667085;
}

.hn-portal-entry__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #101828;
}

.hn-portal-entry__copy {
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 34ch;
}

.hn-portal-entry__btn {
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  body:has(.oe_login_form) header#top .navbar,
  body:has(.hn-portal-entry) header#top .navbar,
  body:has(.hn-student-portal) header#top .navbar {
    min-height: 60px;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  body:has(.oe_login_form) header#top .navbar-brand,
  body:has(.hn-portal-entry) header#top .navbar-brand,
  body:has(.hn-student-portal) header#top .navbar-brand {
    margin-right: 0.5rem;
  }

  body:has(.oe_login_form) header#top .navbar-brand::after,
  body:has(.hn-portal-entry) header#top .navbar-brand::after,
  body:has(.hn-student-portal) header#top .navbar-brand::after {
    margin-left: 0.4rem;
    font-size: 0.98rem;
  }

  body:has(.oe_login_form) header#top .navbar-brand img,
  body:has(.hn-portal-entry) header#top .navbar-brand img,
  body:has(.hn-student-portal) header#top .navbar-brand img {
    height: 34px;
    max-height: 34px;
  }

  body:has(.oe_login_form) header#top .o_navbar_mobile,
  body:has(.hn-portal-entry) header#top .o_navbar_mobile,
  body:has(.hn-student-portal) header#top .o_navbar_mobile {
    width: min(90vw, 360px);
    border: 0;
    background: linear-gradient(135deg, #08162b 0%, #0f274d 50%, #1a3d75 100%);
    color: #ffffff;
    box-shadow: -24px 0 48px rgba(5, 10, 29, 0.28);
  }

  body:has(.oe_login_form) header#top .o_navbar_mobile .nav-link,
  body:has(.oe_login_form) header#top .o_navbar_mobile a,
  body:has(.hn-portal-entry) header#top .o_navbar_mobile .nav-link,
  body:has(.hn-portal-entry) header#top .o_navbar_mobile a,
  body:has(.hn-student-portal) header#top .o_navbar_mobile .nav-link,
  body:has(.hn-student-portal) header#top .o_navbar_mobile a {
    color: rgba(243, 247, 255, 0.92);
  }

  body:has(.oe_login_form) header#top .o_navbar_mobile .nav-link:hover,
  body:has(.oe_login_form) header#top .o_navbar_mobile .nav-link:focus,
  body:has(.hn-portal-entry) header#top .o_navbar_mobile .nav-link:hover,
  body:has(.hn-portal-entry) header#top .o_navbar_mobile .nav-link:focus,
  body:has(.hn-student-portal) header#top .o_navbar_mobile .nav-link:hover,
  body:has(.hn-student-portal) header#top .o_navbar_mobile .nav-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
  }

  body:has(.oe_login_form) .oe_website_login_container {
    margin-top: 1.5rem;
    padding: 0 0.9rem;
  }

  body:has(.oe_login_form) .oe_login_form {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .hn-portal-entry {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .hn-portal-entry__intro .card-body,
  .hn-portal-entry__card .card-body {
    padding: 1.3rem;
  }

  .hn-portal-entry__btn {
    width: 100%;
    justify-content: center;
  }

  .hn-student-portal#counselor-students-page,
  .hn-student-portal#student-portal-main-page,
  .hn-student-portal#student-portal-compatibility-page,
  .hn-student-portal#counselor-student-detail-page,
  .hn-student-portal#counselor-university-programs-page {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  #student-portal-main-page::before,
  #student-portal-compatibility-page::before {
    height: 210px;
    border-radius: 20px;
  }

  #counselor-students-page::before {
    height: 210px;
    border-radius: 20px;
  }

  #counselor-student-detail-page::before {
    height: 210px;
    border-radius: 20px;
  }

  #counselor-university-programs-page::before {
    height: 210px;
    border-radius: 20px;
  }

  .hn-student-portal .hn-student-header {
    padding: 1.25rem 1.1rem;
  }

  #student-portal-main-page .hn-student-header__actions,
  #student-portal-compatibility-page .hn-student-header__actions {
    width: 100%;
    justify-content: flex-start !important;
  }
}

@media (max-width: 767.98px) {
  #student-portal-main-page .hn-student-header__actions,
  #student-portal-compatibility-page .hn-student-header__actions {
    flex-direction: column;
    align-items: stretch;
  }

  #student-portal-main-page .hn-student-header__action,
  #student-portal-compatibility-page .hn-student-header__action {
    width: 100%;
  }

  #student-portal-main-page .hn-portal-profile-footer__links,
  #student-portal-compatibility-page .hn-portal-profile-footer__links {
    justify-content: center;
  }

  #counselor-students-page .hn-counselor-footer .hn-portal-profile-footer__links {
    justify-content: center;
  }

  #counselor-students-page .hn-counselor-controls {
    grid-template-columns: 1fr;
  }

  #counselor-student-detail-page .hn-counselor-detail-controls {
    grid-template-columns: 1fr;
  }

  #counselor-student-detail-page .hn-counselor-detail-footer .hn-portal-profile-footer__links {
    justify-content: center;
  }

  #counselor-university-programs-page .hn-counselor-programs-footer .hn-portal-profile-footer__links {
    justify-content: center;
  }

  #counselor-students-page .hn-counselor-table thead.table-light th,
  #counselor-students-page .hn-counselor-table tbody td {
    padding: 0.85rem 0.8rem;
  }
}

.hn-accordion .accordion-item {
  border-radius: 16px;
  border: 1px solid #e6e8ec;
  margin-bottom: 1rem;
}

.hn-accordion .accordion-button {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hn-accordion .accordion-collapse {
  transition: height 0.25s ease;
}

.hn-note-wrap {
  white-space: normal;
  word-break: break-word;
}

.hn-map-card .card-body {
  padding: 1.5rem;
}

.hn-country-map {
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f9ff 0%, #ffffff 70%);
  padding: 1rem;
  border: 1px solid #e6e8ec;
  position: relative;
}

.hn-country-map svg {
  width: 100%;
  height: auto;
}

.hn-map-viewport {
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  position: relative;
}

.hn-map-viewport.hn-map-dragging {
  cursor: grabbing;
  user-select: none;
}

.hn-map-viewport.hn-map-dragging svg {
  pointer-events: none;
}

.hn-map-viewport svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hn-map-stage {
  position: relative;
  transform-origin: 50% 50%;
  will-change: transform;
}

.hn-map-stage.hn-map-animate {
  transition: transform 320ms ease;
}

.hn-map-pins-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.hn-map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
}

.hn-map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.92);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateX(-50%) rotate(45deg);
}

.hn-map-pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4f8df7;
  box-shadow: 0 0 0 3px rgba(79, 141, 247, 0.18);
}

.hn-map-pin--active .hn-map-pin-dot {
  box-shadow: 0 0 0 5px rgba(79, 141, 247, 0.22);
}

.hn-map-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hn-world-map path {
  fill: #e6eaf0;
  stroke: #ffffff;
  stroke-width: 0.5;
  transition: all 0.25s ease;
}

.hn-world-map path[data-iso] {
  fill: #bcd4ff;
  cursor: pointer;
}

.hn-world-map path.hn-country-selected {
  fill: #4f8df7;
  stroke-width: 1;
}

.hn-world-map path[data-iso]:hover {
  fill: #7fb0ff;
}

.hn-country-muted {
  pointer-events: none;
  opacity: 0.4;
}

.hn-map-legend {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.hn-map-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  border-radius: 12px;
  background: #f8f9fb;
  border: 1px solid #edf0f3;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hn-map-legend-row:hover {
  background: #eef3ff;
  border-color: #d7e1f7;
}

.hn-map-country {
  font-weight: 600;
  flex: 1;
}

.hn-map-count {
  font-size: 0.85rem;
  color: #6c757d;
  white-space: nowrap;
}

.hn-map-selected {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #eef6ff;
  color: #1f4b99;
  font-weight: 600;
}

.hn-map-selected--empty {
  display: none;
}

.hn-flag {
  font-size: 1rem;
  line-height: 1;
}
