@font-face {
  font-family: 'Montserrat SemiBold';
  src: url('/static/mso/Montserrat-SemiBold.ttf') format('truetype');
  font-display: swap;
}

.logo-wordmark {
  font-family: 'Montserrat SemiBold', sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #0F1736; /* Midnight brand color */
  margin-left: 6px; /* space between mark + text */
  display: inline-block;
  vertical-align: middle;
}

@font-face {
 font-family: 'barlow';
 src: url('BarlowSemiCondensed-Medium.ttf') format('truetype');
}
@font-face {
 font-family: 'bebas';
 src: url('BebasNeue-Regular.ttf') format('truetype');
}
@font-face {
 font-family: 'montserrat';
 src: url('Montserrat-Medium.ttf') format('truetype');
}
@font-face {
 font-family: 'nunito';
 src: url('NunitoSans_10pt-Regular.ttf') format('truetype');
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #234E70;
  --bs-btn-border-color: #234E70;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1B222D;
  --bs-btn-hover-border-color: #1B222D;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0d6efd;
  --bs-btn-disabled-border-color: #0d6efd;
}

.btn-outline-primary {
  --bs-btn-color: #234E70;
  --bs-btn-border-color: #234E70;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #234E70;
  --bs-btn-hover-border-color: #234E70;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #234E70;
  --bs-btn-active-border-color: #234E70;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #234E70;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #234E70;
  --bs-gradient: none;
}

.nav-link {
  color: #1B222D;
}

@font-face {
  font-family: 'Montserrat SemiBold';
  src: url('Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

.ms-brand-text {
  font-family: 'Montserrat SemiBold', sans-serif;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.04em; /* tighten slightly */
  vertical-align: middle;
  margin-left: 6px; /* breathing room from mark */
}

.navbar-brand img,
.ms-brand-text {
  vertical-align: middle;
}

/* --- Brand wordmark next to star mark (navbar) --- */
@font-face {
  font-family: 'BebasNeue';
  src: url('/static/fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Brand wordmark next to star mark (navbar) --- */
/* --- Brand wordmark next to star mark (navbar) --- */
.navbar-brand .logo-wordmark {
  font-family: 'BebasNeue', sans-serif !important;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0.03em;
  color: #1E2A39;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-left: 8px;
  position: relative;
  top: 1px;
}

.navbar-brand img {
  height: 26px; /* keep this */
  vertical-align: middle;
}
.navbar-brand .logo-wordmark {
  position: relative;
  top: 3px; /* adjust 1px up or down if needed */
}

.navbar-brand img {
  height: 26px; /* keep this */
  vertical-align: middle;
}
.navbar-brand .logo-wordmark {
  position: relative;
  top: 3px; /* adjust 1px up or down if needed */
}

/* Limit styling to the Unit/Role bar only */
.unit-role-bar .btn-outline-primary,
.unit-role-bar .btn-outline-primary:hover,
.unit-role-bar .btn-outline-primary:focus,
.unit-role-bar .btn-outline-primary:active,
.unit-role-bar .btn-outline-primary.dropdown-toggle.show {
  background-color: transparent !important;
  color: #1E2A39 !important;
  border-color: #1E2A39 !important;
}

.nav-role-group .btn,
.nav-unit-group .btn {
  line-height: 1.2; /* tightens vertically without shrinking size */
}