/*! Copyright (c) 2025-2026 Markus Schüssler. All rights reserved.
 * SPDX-License-Identifier: LicenseRef-Markus-Schuessler-Proprietary; see repository LICENSE.
 */
.bxc_nav {
  --tra-nav-bg: var(--ui-color-nav, #ffffff);
  --tra-nav-border-color: var(--ui-color-border, #d2ddde);
  --tra-nav-text-color: var(--ui-color-text, #172b33);
  --tra-nav-button-bg: var(--ui-color-surface-alt, #f6f8f7);
  --tra-nav-button-text: var(--ui-color-text, #172b33);
  --tra-nav-button-hover-bg: var(--ui-color-surface-hover, #eaf1f2);
  --tra-nav-button-hover-text: var(--ui-color-text, #172b33);
  --tra-nav-button-border: var(--ui-color-border, #d2ddde);
  --tra-nav-button-shadow: none;
  --tra-nav-dropdown-bg: var(--ui-color-surface, #ffffff);
  --tra-nav-dropdown-border: var(--ui-color-border, #d2ddde);
  --tra-nav-dropdown-link-color: var(--ui-color-text, #172b33);
  --tra-nav-dropdown-link-hover-bg: var(--ui-color-surface-hover, #eaf1f2);
  --tra-nav-dropdown-divider: var(--ui-color-border, #d2ddde);
  --tra-nav-environment-color: var(--ui-color-warning, #9d5e1f);
  --tra-nav-environment-bg: color-mix(in srgb, var(--ui-color-warning, #9d5e1f) 12%, transparent);
  --tra-nav-environment-border: color-mix(in srgb, var(--ui-color-warning, #9d5e1f) 35%, transparent);

  color: var(--tra-nav-text-color);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 30;
  font-family: var(--ui-font-family, "Barlow", "Segoe UI", Arial, sans-serif);
}



.bxc_nav__brand {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0 0.25rem;
}

.bxc_nav__brand-logo a,
.bxc_nav__logo-picture {
  display: block;
}

.bxc_nav__logo {
  width: 100%;
  max-width: 128px;
  height: auto;
  display: block;
}

.bxc_nav__logo--dark {
  display: none;
}

.bxc_nav__identity {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: var(--ui-touch-target, 44px);
  gap: 0.5rem;
  padding: 0.25rem;
  border-radius: var(--ui-radius-sm, 4px);
  color: var(--ui-color-text);
  text-decoration: none;
}

.bxc_nav__identity-name {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
}

.bxc_nav__welcome-avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ui-color-primary, #176b86);
  color: var(--ui-color-on-primary, #ffffff);
  font-size: 0.7rem;
  font-weight: 700;
}

.bxc_nav__welcome-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bxc_nav__identity:hover {
  background: var(--ui-color-surface-hover);
}

.bxc_nav__identity:focus-visible {
  outline: 2px solid var(--ui-color-focus);
  outline-offset: -2px;
}

.bxc_nav-footer__community-link:focus-visible {
  outline: 2px solid var(--ui-color-focus);
  outline-offset: 2px;
}




.bxc_nav-footer {
  width: 100%;
  background: var(--ui-color-nav, #ffffff);
  color: var(--ui-color-text-muted, #536a73);
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--ui-color-border, #d2ddde);
}



.bxc_nav-footer__inner {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.bxc_nav-footer__community {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  min-width: 0;
}
.bxc_nav-footer__community-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--ui-color-primary-strong);
  font-size: 14px;
  text-decoration: none;
}
.bxc_nav-footer__community-link:hover {
  color: var(--ui-color-primary-strong);
  background: var(--ui-color-surface-hover);
}

.bxc_nav-footer__inner > .footer-legal-nav {
  flex: 1 1 640px;
  min-width: 0;
}

.bxc_nav-footer__controls {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bxc_nav-footer__controls .bxc_nav__language-switch {
  margin-left: 0;
  gap: 0;
}

.bxc_nav-footer__controls .bxc_nav-footer__toggle {
  margin: 0;
}

.footer-legal-nav {
  background: transparent;
  color: inherit;
  display: flex;
  justify-content: center;
}

.footer-legal-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ui-color-text-muted, #536a73);
}



.footer-legal-item {
  display: inline-flex;
  gap: 0.25rem;
}

.footer-legal-item--muted {
  font-weight: 400;
}

.footer-legal-link {
  color: var(--ui-color-primary, #176b86);
  text-decoration: none;
}



.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  text-decoration: underline;
}

.footer-legal-separator {
  color: var(--ui-color-border, #d2ddde);
}



.bxc_nav__language-switch,
.beyondxc-nav__language-switch {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.18rem;
  margin-left: 0.35rem;
  width: max-content;
  max-width: 100%;
  height: auto;
  min-height: 44px;
  padding: 0;
  border: 0;
  outline: 1px solid var(--ui-color-border, #d2ddde);
  outline-offset: -1px;
  border-radius: var(--ui-radius-sm, 4px);
  background: var(--ui-color-surface, #ffffff);
}

.bxc_nav__tools-row {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
  padding-inline: 0.5rem;
}

.bxc_nav__tools-row i {
  font-size: 16px;
}

.bxc_nav__language-tools {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  width: max-content;
  margin-left: 0.35rem;
}

.bxc_nav__language-tools .bxc_nav__language-switch {
  margin-left: 0;
  gap: 0;
}

.bxc_nav__tools-row .bxc_nav__account-menu {
  position: static;
  display: inline-flex;
  flex: 0 0 44px;
  width: 44px;
  align-items: center;
}

.bxc_nav__notification-link {
  position: relative;
  width: var(--ui-touch-target, 44px);
  min-width: var(--ui-touch-target, 44px);
  height: var(--ui-touch-target, 44px);
  min-height: var(--ui-touch-target, 44px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: var(--ui-radius-sm, 4px);
  background: transparent;
  color: var(--ui-color-text-muted, #536a73);
  text-decoration: none;
  cursor: pointer;
}

.bxc_nav__notification-link > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--ui-radius-sm, 4px);
  font-size: 16px;
}

.bxc_nav__notification-link:hover,
.bxc_nav__notification-link:focus-visible,
.bxc_nav__notification-link.is-active,
.bxc_nav__account-menu.open > .bxc_nav__notification-link {
  color: var(--ui-color-primary-strong, #10536a);
}

.bxc_nav__notification-link:hover > i,
.bxc_nav__notification-link:focus-visible > i,
.bxc_nav__notification-link.is-active > i,
.bxc_nav__account-menu.open > .bxc_nav__notification-link > i {
  background: var(--tra-nav-button-hover-bg);
}

.bxc_nav__notification-link:focus-visible {
  outline: 2px solid var(--ui-color-focus, #176b86);
  outline-offset: -2px;
}

.bxc_nav__account-menu .bxc_nav__notification-link.bxc_nav__notification-link--attention {
  color: var(--ui-color-warning, #a4611c);
}

.bxc_nav__account-menu .bxc_nav__notification-link.bxc_nav__notification-link--attention > i {
  background: color-mix(in srgb, var(--ui-color-warning, #a4611c) 12%, transparent);
}

.bxc_nav__notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 2px solid var(--ui-color-nav, #ffffff);
  border-radius: 999px;
  background: var(--ui-color-danger, #bf4d42);
  color: var(--ui-color-on-primary, #ffffff);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
}

.bxc_nav__notification-badge--activity {
  background: var(--ui-color-primary, #176b86);
}

.bxc_nav__guest-login {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0 8px;
}

.bxc_nav__mobile-auth {
  display: none;
}

.bxc_nav__mobile-auth-link {
  min-width: 0;
  min-height: var(--ui-touch-target, 44px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.48rem 0.62rem;
  border-radius: var(--ui-radius-sm, 4px);
  border: 1px solid var(--tra-nav-border-color);
  background: var(--ui-color-surface, #ffffff);
  color: var(--tra-nav-text-color);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none;
}

.bxc_nav__mobile-auth-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bxc_nav__mobile-auth-link--register {
  background: var(--ui-color-primary-strong, #10536a);
  border-color: var(--ui-color-primary-strong, #10536a);
  color: #ffffff;
}

.bxc_nav__mobile-auth-link:hover,
.bxc_nav__mobile-auth-link:focus-visible {
  color: var(--ui-color-primary-strong, #10536a);
  background: var(--tra-nav-button-hover-bg);
  border-color: var(--ui-color-primary, #176b86);
  text-decoration: none;
}

.bxc_nav__mobile-auth-link--register:hover,
.bxc_nav__mobile-auth-link--register:focus-visible {
  color: #ffffff;
  background: var(--ui-color-primary, #176b86);
  border-color: var(--ui-color-primary, #176b86);
}

.bxc_nav__mobile-auth-link:focus-visible,
.bxc_nav__footer-login:focus-visible,
.bxc_nav__footer-logout:focus-visible {
  outline: 2px solid var(--ui-color-focus, #176b86);
  outline-offset: 2px;
}

.bxc_nav__language-link,
.beyondxc-nav__language-link {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ui-color-text, #172b33);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  padding: 0.28rem 0.55rem;
  border-radius: var(--ui-radius-sm, 4px);
  border: 0;
  box-shadow: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.bxc_nav__language-link:hover,
.bxc_nav__language-link:focus-visible,
.beyondxc-nav__language-link:hover,
.beyondxc-nav__language-link:focus-visible {
  color: var(--ui-color-text, #172b33);
  background: var(--ui-color-surface-hover, #eaf1f2);
  text-decoration: none;
}

.bxc_nav__language-link--active,
.beyondxc-nav__language-link--active {
  color: var(--ui-color-primary-strong, #10536a);
  background: var(--ui-color-surface-hover, #eaf1f2);
  font-weight: 600;
}

.bxc_nav__language-link--active:hover,
.bxc_nav__language-link--active:focus-visible,
.beyondxc-nav__language-link--active:hover,
.beyondxc-nav__language-link--active:focus-visible {
  color: var(--ui-color-primary-strong, #10536a);
  background: var(--ui-color-surface-hover, #eaf1f2);
}

.bxc_nav__language-link:focus-visible,
.beyondxc-nav__language-link:focus-visible {
  outline: 2px solid var(--ui-color-focus, #176b86);
  outline-offset: 2px;
}





.bxc_nav__section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.bxc_nav__section--primary {
  flex: 1 1 auto;
}

.bxc_nav__section--secondary {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
}

.bxc_nav__section--utility {
  width: 100%;
  margin-top: auto;
  padding: 0 8px;
}

.bxc_nav__card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: 100%;
  padding: 0 8px;
}

@media (max-width: 900px) {
  .bxc_nav__card-grid {
    padding: 0;
  }

  .bxc_nav__guest-login {
    padding: 0 4px;
  }

  .bxc_nav__footer-login--top {
    width: 100%;
  }
}

.bxc_nav__card-grid--utility {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.bxc_nav-card {
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--tra-nav-border-color);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}



.bxc_nav-card.is-open {
  border-color: var(--tra-nav-border-color);
}

.bxc_nav-card--portal,
.bxc_nav-card--cta {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  overflow: visible;
}

.bxc_nav-card--portal .bxc_nav-card__body,
.bxc_nav-card--cta .bxc_nav-card__body {
  padding: 0;
}

.bxc_nav-card__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: var(--ui-touch-target, 44px);
  padding: 0.375rem 0.5rem;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--tra-nav-button-text);
  font-size: 0.875rem;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.bxc_nav-card__toggle:hover {
  background: var(--ui-color-surface-hover);
}

.bxc_nav-card__toggle:focus-visible {
  outline: 2px solid var(--ui-color-focus, #176b86);
  outline-offset: -2px;
}

.bxc_nav-card__toggle-label {
  display: inline-flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 0.4rem;
  font-weight: 600;
  text-align: left;
  overflow-wrap: anywhere;
}

.bxc_nav-card__toggle-label i {
  flex: 0 0 20px;
  font-size: 16px;
}

.bxc_nav-card__toggle .fa-chevron-down {
  flex: 0 0 auto;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.bxc_nav-card.is-open .bxc_nav-card__toggle .fa-chevron-down {
  transform: rotate(180deg);
}

.bxc_nav-card__body {
  display: none;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0 0 0.5rem;
}

.bxc_nav-card__body--standalone {
  display: flex;
}

.bxc_nav-card.is-open .bxc_nav-card__body {
  display: flex;
}

.bxc_nav-card__section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0.5rem;
  color: var(--ui-color-text-muted, #536a73);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.bxc_nav-card__section-label:first-child {
  margin-top: 0;
}

.bxc_nav-card__section-label--discover {
  color: var(--ui-color-primary-strong, #10536a);
}

.bxc_nav-card__section-label--personal {
  color: var(--ui-color-warning, #9d5e1f);
}

.bxc_nav-card__link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--ui-touch-target, 44px);
  padding: 0.375rem 0.5rem;
  border-radius: var(--ui-radius-sm, 4px);
  border: 0;
  background: transparent;
  color: var(--tra-nav-text-color);
  font-weight: 500;
  box-shadow: none;
  transition: background-color 0.16s ease, color 0.16s ease;
  position: relative;
}

.bxc_nav-card__link--full {
  width: 100%;
}

.bxc_nav-card__link:hover,
.bxc_nav-card__link:focus-visible {
  background: var(--tra-nav-button-hover-bg);
  color: var(--ui-color-text, #172b33);
  text-decoration: none;
}

.bxc_nav-card__link:focus-visible {
  outline: 2px solid var(--ui-color-focus, #176b86);
  outline-offset: -2px;
}

.bxc_nav-card__link.is-active {
  background: var(--ui-color-surface-hover, #eaf1f2);
  color: var(--ui-color-primary-strong, #10536a);
  font-weight: 600;
  box-shadow: none;
}

.bxc_nav-card__link.is-active:hover,
.bxc_nav-card__link.is-active:focus-visible {
  background: var(--ui-color-surface-hover, #eaf1f2);
  color: var(--ui-color-primary-strong, #10536a);
}

.bxc_nav-card__link.is-active .bxc_nav-card__link-icon {
  background: transparent;
  color: var(--ui-color-primary-strong, #10536a);
}





.bxc_nav-card__link--danger {
  color: var(--ui-color-danger, #bf4d42);
}

.bxc_nav-card__link--danger:hover,
.bxc_nav-card__link--danger:focus-visible {
  color: var(--ui-color-danger, #bf4d42);
  background: color-mix(in srgb, var(--ui-color-danger, #bf4d42) 12%, transparent);
}

.bxc_nav-card__link-icon {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  flex-shrink: 0;
  font-size: 16px;
}

.bxc_nav-card__link-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.bxc_nav-card__task-count,
.bxc_nav-card__task-number,
.bxc_nav__menu-count {
  flex: 0 0 auto;
  color: var(--ui-color-primary-strong);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bxc_nav__menu-count {
  margin-left: auto;
  font-size: 0.8125rem;
}

.bxc_nav__task-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  min-width: 24px;
  height: 24px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--ui-color-warning, #a4611c);
  color: var(--ui-color-on-primary, #ffffff);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.bxc_nav__task-badge--total {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  min-width: 22px;
  height: 22px;
  border: 2px solid var(--ui-color-nav, #f7f9f8);
  font-size: 0.625rem;
}

.bxc_nav-card__task-count {
  min-width: 20px;
  padding: 0.125rem 0.25rem;
  border-radius: var(--ui-radius-sm, 4px);
  background: var(--ui-color-surface-hover);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.bxc_nav-card.is-open .bxc_nav-card__task-count,
.bxc_nav-card__task-number {
  background: var(--ui-color-warning);
  color: var(--ui-color-on-primary);
}

.bxc_nav-card__task-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0.125rem 0.375rem;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.bxc_nav-card__tasks {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 0.25rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--tra-nav-border-color);
}

.bxc_nav-card__task-link {
  justify-content: space-between;
  text-decoration: none;
  font-size: 0.875rem;
}

.bxc_nav-card__task-text {
  display: grid;
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.bxc_nav-card__task-text strong {
  font-weight: 500;
}

.bxc_nav-card__task-text small,
.bxc_nav-card__task-status {
  color: var(--ui-color-text-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.bxc_nav-card__task-status {
  margin: 0;
  padding: 0.25rem 0.5rem;
}

.bxc_nav-card__badge {
  margin-left: auto;
  align-self: center;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.125rem 0.375rem;
  border-radius: var(--ui-radius-sm, 4px);
  background: var(--ui-color-surface-alt, #f6f8f7);
  color: var(--ui-color-text-muted, #536a73);
}

.bxc_nav-card[data-nav-card="flight-school-workspace"] .bxc_nav-card__body {
  gap: 0.12rem;
}

.bxc_nav-card[data-nav-card="flight-school-workspace"] .bxc_nav-card__link-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.bxc_nav-card[data-nav-card="flight-school-workspace"] .bxc_nav-card__badge {
  min-width: 3.35rem;
  text-align: center;
}

.bxc_nav-card__body--meta {
  gap: 0.45rem;
}

.bxc_nav-card__body .bxc_nav__language-switch,
.bxc_nav-card__body .beyondxc-nav__language-switch {
  margin-left: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.bxc_nav-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border-radius: var(--ui-radius-sm, 4px);
  background: color-mix(in srgb, var(--ui-color-warning, #9d5e1f) 12%, transparent);
  color: var(--ui-color-warning, #9d5e1f);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bxc_nav-card__pill--xcontest {
  background: color-mix(in srgb, var(--ui-color-warning, #9d5e1f) 12%, transparent);
  color: var(--ui-color-warning, #9d5e1f);
}

.bxc_nav-card__body--xcontest-connect {
  gap: 0.5rem;
  padding-top: 0.75rem;
}

.bxc_nav-card__body--stacked {
  gap: 0.28rem;
}

.bxc_nav-card__cta-title {
  color: var(--ui-color-text, #172b33);
  font-size: 0.94rem;
  font-weight: 700;
}

.bxc_nav-card__cta-text {
  margin: 0;
  color: var(--ui-color-text-muted, #536a73);
  line-height: 1.35;
  font-size: 0.84rem;
}

.bxc_nav-card__cta-text a {
  color: var(--ui-color-primary-strong, #10536a);
  font-weight: 700;
  text-decoration: none;
}

.bxc_nav-card__cta-text a:hover,
.bxc_nav-card__cta-text a:focus-visible {
  text-decoration: underline;
}

.bxc_nav__footer-summary {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  color: var(--ui-color-text-muted, #536a73);
  box-shadow: none;
  font-size: 0.84rem;
}

.bxc_nav__footer-summary--guest {
  margin-bottom: 10px;
}



.bxc_nav__footer-summary a {
  color: var(--ui-color-primary, #176b86);
  text-decoration: none;
  font-weight: 600;
}

.bxc_nav__footer-summary a:hover,
.bxc_nav__footer-summary a:focus-visible {
  text-decoration: underline;
}



.bxc_nav__footer-summary .bxc_nav__language-switch,
.bxc_nav__footer-summary .beyondxc-nav__language-switch {
  margin-left: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.bxc_nav__footer-env {
  color: var(--ui-color-text-muted);
  font-size: 0.75rem;
}



.bxc_nav__footer-logout,
.bxc_nav__footer-login {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  border: 1px solid var(--tra-nav-button-border);
  border-radius: var(--ui-radius-sm, 4px);
  padding: 0.34rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bxc_nav__footer-login--full {
  display: block;
  width: 100%;
  padding: 8px 0;
  text-align: center;
}

.bxc_nav__footer-login--top {
  justify-content: center;
  width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: center;
  background: var(--ui-color-primary-strong, #10536a);
  color: #ffffff;
  border-color: var(--ui-color-primary-strong, #10536a);
  font-weight: 700;
}

.bxc_nav__footer-login--top span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bxc_nav__footer-login--top i {
  flex-shrink: 0;
}

.bxc_nav__footer-logout:hover,
.bxc_nav__footer-logout:focus-visible,
.bxc_nav__footer-login:hover,
.bxc_nav__footer-login:focus-visible {
  background: var(--tra-nav-button-hover-bg);
  color: var(--ui-color-primary-strong, #10536a);
  border-color: var(--ui-color-primary, #176b86);
}

.bxc_nav__footer-login--top:hover,
.bxc_nav__footer-login--top:focus-visible {
  background: var(--ui-color-primary, #176b86);
  color: #ffffff;
  border-color: var(--ui-color-primary, #176b86);
}





.bxc_nav__mobile-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  min-height: var(--ui-touch-target, 44px);
  padding: 0.48rem 0.85rem;
  border: 1px solid var(--tra-nav-button-border);
  border-radius: 0;
  background: var(--tra-nav-button-bg);
  color: var(--tra-nav-button-text);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bxc_nav__mobile-toggle:hover,
.bxc_nav__mobile-toggle:focus-visible {
  background: var(--tra-nav-button-hover-bg);
  color: var(--tra-nav-button-hover-text);
}



.bxc_nav__mobile-toggle:focus-visible {
  outline: 2px solid var(--ui-color-focus, #176b86);
  outline-offset: -2px;
}

.bxc_nav__mobile-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 0.28rem;
}

.bxc_nav__mobile-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}







.bxc_nav__mobile-toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: normal;
}



.bxc_nav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.bxc_nav__dropdown--tra {
  margin-right: 0.2rem;
}

.bxc_nav__button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--tra-nav-button-border);
  min-height: var(--ui-control-height, 40px);
  border-radius: var(--ui-radius-sm, 4px);
  background: var(--tra-nav-button-bg);
  color: var(--tra-nav-button-text);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  box-shadow: none;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
}

button.bxc_nav__button,
.bxc_nav__dropdown button.bxc_nav__button {
  background: var(--tra-nav-button-bg);
  color: var(--tra-nav-button-text);
  border-color: var(--tra-nav-button-border);
  border-radius: var(--ui-radius-sm, 4px);
  box-shadow: none;
}

.bxc_nav__button:hover,
.bxc_nav__button:focus-visible {
  background: var(--tra-nav-button-hover-bg);
  color: var(--tra-nav-button-hover-text);
  box-shadow: var(--tra-nav-button-shadow);
  text-decoration: none;
}

.bxc_nav__button:focus-visible {
  outline: 2px solid var(--ui-color-focus, #176b86);
  outline-offset: 2px;
}

.bxc_nav__section--secondary .bxc_nav__button {
  width: 100%;
  max-width: 340px;
  justify-content: center;
}

.bxc_nav__cta-button {
  justify-content: center;
  width: 100%;
  min-height: var(--ui-control-height, 40px);
  padding: 0.42rem 0.68rem;
  border-radius: var(--ui-radius-sm, 4px);
  background: var(--ui-color-surface-alt, #f6f8f7);
  border: 1px solid var(--ui-color-border, #d2ddde);
  color: var(--ui-color-primary-strong, #10536a);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: none;
}

.bxc_nav-card--cta .bxc_nav__button,
.bxc_nav-card--portal .bxc_nav__button {
  box-shadow: none !important;
}

.bxc_nav__cta-button:hover,
.bxc_nav__cta-button:focus-visible {
  background: var(--ui-color-surface-hover, #eaf1f2);
  border-color: var(--ui-color-border, #d2ddde);
  color: var(--ui-color-primary-strong, #10536a);
  box-shadow: none;
}

.bxc_nav__button--ghost.bxc_nav__cta-button {
  background: transparent;
  border-color: var(--ui-color-border, #d2ddde);
  color: var(--ui-color-primary-strong, #10536a);
}

.bxc_nav__button--ghost.bxc_nav__cta-button:hover,
.bxc_nav__button--ghost.bxc_nav__cta-button:focus-visible {
  background: var(--ui-color-surface-hover, #eaf1f2);
  border-color: var(--ui-color-border, #d2ddde);
  color: var(--ui-color-primary-strong, #10536a);
}

.bxc_nav__button--danger.bxc_nav__cta-button {
  background: color-mix(in srgb, var(--ui-color-danger, #bf4d42) 10%, transparent);
  border-color: color-mix(in srgb, var(--ui-color-danger, #bf4d42) 25%, transparent);
  color: var(--ui-color-danger, #bf4d42);
}

.bxc_nav__button--danger.bxc_nav__cta-button:hover,
.bxc_nav__button--danger.bxc_nav__cta-button:focus-visible {
  background: color-mix(in srgb, var(--ui-color-danger, #bf4d42) 16%, transparent);
  border-color: var(--ui-color-danger, #bf4d42);
  color: var(--ui-color-danger, #bf4d42);
}

.bxc_nav__cta-button--xcontest {
  background: color-mix(in srgb, var(--ui-color-warning, #9d5e1f) 12%, transparent);
  border-color: color-mix(in srgb, var(--ui-color-warning, #9d5e1f) 32%, transparent);
  color: var(--ui-color-warning, #9d5e1f);
}

.bxc_nav__cta-button--xcontest:hover,
.bxc_nav__cta-button--xcontest:focus-visible {
  background: color-mix(in srgb, var(--ui-color-warning, #9d5e1f) 20%, transparent);
  color: var(--ui-color-warning, #9d5e1f);
}

.bxc_nav__cta-button--whatsapp {
  background: #25d366;
  border-color: #1fb65a;
  color: #062b16;
}

.bxc_nav__cta-button--whatsapp:hover,
.bxc_nav__cta-button--whatsapp:focus-visible {
  background: #1fb65a;
  border-color: #168f46;
  color: #031f0f;
}

.bxc_nav__button--trigger {
  padding-right: 1.05rem;
}

.bxc_nav__button-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.bxc_nav__button-icon {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.bxc_nav__button-icon--leading {
  font-size: 0.95rem;
}

.bxc_nav__dropdown.open > .bxc_nav__button--trigger .bxc_nav__button-icon {
  transform: rotate(180deg);
}

.bxc_nav__button--badge {
  padding-right: 1.9rem;
}

.bxc_nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 0.125rem 0.375rem;
  position: absolute;
  top: -0.4rem;
  right: 0.2rem;
}

.bxc_nav__badge--new {
  background: var(--ui-color-success, #2e795b);
  color: var(--ui-color-on-primary, #ffffff);
}

.bxc_nav__utility-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  flex-wrap: wrap;
}

.bxc_nav__utility-user,
.bxc_nav__utility-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bxc_nav__utility-user {
  flex: 1 1 auto;
  min-width: 0;
}

.bxc_nav__utility-controls {
  flex: 0 0 auto;
  margin-left: auto;
}

.bxc_nav__utility-row .bxc_nav__button {
  width: auto;
  justify-content: center;
}

.bxc_nav__utility-user .bxc_nav__button--user {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bxc_nav__utility-row .bxc_nav__button--icon {
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

.bxc_nav__utility-controls .bxc_nav__environment {
  white-space: nowrap;
}

.bxc_nav__dropdown-content {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  left: 0;
  top: calc(100% + 0.25rem);
  min-width: 220px;
  max-width: min(320px, calc(100vw - 2rem));
  padding: 0.375rem;
  background: var(--tra-nav-dropdown-bg);
  border: 1px solid var(--tra-nav-dropdown-border);
  border-radius: var(--ui-radius-md, 6px);
  box-shadow: 0 8px 24px var(--ui-shadow-color, rgba(23, 43, 51, 0.14));
  z-index: 99999;
  transform-origin: top;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.bxc_nav__account-menu .bxc_nav__account-menu-panel {
  inset: 100% 0.5rem auto;
  width: auto;
  min-width: 0;
  max-width: none;
  max-height: min(360px, 50dvh);
  margin: 0;
  overflow-y: auto;
}

@media (max-width: 900px) {
  .bxc_nav__utility-row {
    gap: 0.5rem;
  }

  .bxc_nav__utility-user,
  .bxc_nav__utility-controls {
    width: 100%;
  }

  .bxc_nav__utility-row .bxc_nav__button {
    min-width: 0;
  }

  .bxc_nav__utility-user .bxc_nav__button--user {
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .bxc_nav__utility-controls .bxc_nav__environment {
    white-space: normal;
  }

  .bxc_nav__dropdown-content {
    position: static;
    left: auto;
    top: auto;
    max-width: none;
  }
}

.bxc_nav__dropdown.open .bxc_nav__dropdown-content {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.bxc_nav__dropdown-content[aria-hidden="true"] {
  display: none;
}

.bxc_nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.625rem;
  min-height: var(--ui-touch-target, 44px);
  border-radius: var(--ui-radius-sm, 4px);
  color: var(--tra-nav-dropdown-link-color);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease;
  position: relative;
}

.bxc_nav__dropdown-link:hover,
.bxc_nav__dropdown-link:focus-visible,
.bxc_nav__dropdown-link.is-active {
  background: var(--tra-nav-dropdown-link-hover-bg);
  color: var(--ui-color-primary-strong, #10536a);
}

.bxc_nav__dropdown-link:focus-visible {
  outline: 2px solid var(--ui-color-focus, #176b86);
  outline-offset: -2px;
}

.bxc_nav__menu-label {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.bxc_nav__menu-hint {
  color: var(--ui-color-warning, #a4611c);
  font-size: 0.75rem;
}

.bxc_nav__dropdown-link--activation {
  background: color-mix(in srgb, var(--ui-color-danger, #bf4d42) 12%, transparent);
  color: var(--ui-color-danger, #bf4d42);
}

.bxc_nav__dropdown-link--activation:hover,
.bxc_nav__dropdown-link--activation:focus-visible {
  background: color-mix(in srgb, var(--ui-color-danger, #bf4d42) 20%, transparent);
  color: var(--ui-color-danger, #bf4d42);
}

.bxc_nav__dropdown-link--history {
  background: color-mix(in srgb, var(--ui-color-warning, #9d5e1f) 12%, transparent);
  color: var(--ui-color-warning, #9d5e1f);
}

.bxc_nav__dropdown-link--history:hover,
.bxc_nav__dropdown-link--history:focus-visible {
  background: color-mix(in srgb, var(--ui-color-warning, #9d5e1f) 20%, transparent);
  color: var(--ui-color-warning, #9d5e1f);
}

.bxc_nav__dropdown-link--status {
  background: color-mix(in srgb, var(--ui-color-success, #2e795b) 12%, transparent);
  color: var(--ui-color-success, #2e795b);
  font-weight: 600;
}

.bxc_nav__dropdown-link--status:hover,
.bxc_nav__dropdown-link--status:focus-visible {
  background: color-mix(in srgb, var(--ui-color-success, #2e795b) 20%, transparent);
  color: var(--ui-color-success, #2e795b);
}

.bxc_nav__dropdown-link--stats {
  background: var(--ui-color-surface-alt, #f6f8f7);
  color: var(--ui-color-primary-strong, #10536a);
  font-weight: 600;
}

.bxc_nav__dropdown-link--stats:hover,
.bxc_nav__dropdown-link--stats:focus-visible {
  background: var(--ui-color-surface-hover, #eaf1f2);
  color: var(--ui-color-primary-strong, #10536a);
}





.bxc_nav__dropdown-divider {
  height: 1px;
  border: none;
  background: var(--tra-nav-dropdown-divider);
  margin: 0.375rem 0;
}

.bxc_nav__button--external {
  color: var(--ui-color-success, #2e795b);
  background: color-mix(in srgb, var(--ui-color-success, #2e795b) 12%, transparent);
  border-color: color-mix(in srgb, var(--ui-color-success, #2e795b) 24%, transparent);
}

.bxc_nav__button--external:hover,
.bxc_nav__button--external:focus-visible {
  background: color-mix(in srgb, var(--ui-color-success, #2e795b) 20%, transparent);
  color: var(--ui-color-success, #2e795b);
}



.bxc_nav__icon--whatsapp {
  color: #25d366;
}

.bxc_nav__button--user {
  background: var(--ui-color-surface-alt, #f6f8f7);
  color: var(--tra-nav-text-color);
  font-weight: 600;
}

.bxc_nav__button--user:hover,
.bxc_nav__button--user:focus-visible {
  background: var(--ui-color-surface-hover, #eaf1f2);
  color: var(--ui-color-text, #172b33);
}





.bxc_nav__button--icon {
  padding: 0.48rem 0.65rem;
  justify-content: center;
  min-width: 2.4rem;
}

.bxc_nav__button--icon span {
  display: inline-flex;
  align-items: center;
}

.bxc_nav__button--view {
  padding: 0.48rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.4rem;
}

.bxc_nav__button--view .fa-mobile-screen-button {
  font-size: 1rem;
}

body.dashboard-view-mobile .bxc_nav__button--view {
  background: var(--ui-color-surface-hover, #eaf1f2);
  border-color: transparent;
  color: var(--ui-color-primary-strong, #10536a);
}



.bxc_nav__spacer {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body.dashboard-view-mobile .bxc_nav__environment {
  order: 3;
}

.bxc_nav__environment {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tra-nav-environment-color);
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--tra-nav-environment-border);
  background: var(--tra-nav-environment-bg);
  border-radius: var(--ui-radius-sm, 4px);
}

.bxc_nav__theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: var(--ui-touch-target, 44px);
  min-height: var(--ui-touch-target, 44px);
  padding: 0.35rem;
  border: 0;
  border-radius: var(--ui-radius-sm, 8px);
  background: transparent;
  color: inherit;
  font-size: 14px;
  user-select: none;
  cursor: pointer;
}

.bxc_nav__theme-toggle:focus-visible {
  outline: 2px solid var(--ui-color-focus, #2563eb);
  outline-offset: 2px;
}

.bxc_nav__theme-toggle--inline {
  align-self: flex-start;
}

.bxc_nav__theme-slider {
  position: relative;
  width: 60px;
  height: 30px;
  background-color: var(--ui-color-text-muted, #536a73);
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bxc_nav__theme-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 14px;
  z-index: 1;
}

.bxc_nav__theme-icon--sun {
  left: 8px;
}

.bxc_nav__theme-icon--moon {
  right: 8px;
}

.bxc_nav__theme-handle {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
  z-index: 2;
}

:root[data-theme="dark"] .bxc_nav__theme-slider,
#darkmode-toggle:checked + .bxc_nav__theme-slider {
  background-color: var(--ui-color-primary-strong, #10536a);
}

:root[data-theme="dark"] .bxc_nav__theme-slider .bxc_nav__theme-handle,
#darkmode-toggle:checked + .bxc_nav__theme-slider .bxc_nav__theme-handle {
  transform: translateX(30px);
}

:root[data-theme-preference="system"] .bxc_nav__theme-slider {
  box-shadow: 0 0 0 2px var(--ui-color-focus, #2563eb);
}












.bxc_nav-card__toggle-username {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
}
