:root {
  --hr-primary: #0f2942;
  --hr-primary-light: #1e4976;
  --hr-primary-soft: rgba(15, 41, 66, 0.06);
  --hr-accent: #c2410c;
  --hr-accent-soft: #fff7ed;
  --hr-success: #15803d;
  --hr-success-soft: #ecfdf3;
  --hr-warning: #b45309;
  --hr-danger: #b91c1c;
  --hr-surface: #eef2f7;
  --hr-surface-card: #ffffff;
  --hr-surface-elevated: #fafbfc;
  --hr-border: #e2e8f0;
  --hr-border-strong: #cbd5e1;
  --hr-text: #0f172a;
  --hr-muted: #64748b;
  --hr-radius: 0.65rem;
  --hr-radius-lg: 0.85rem;
  --hr-shadow: 0 4px 24px rgba(15, 41, 66, 0.08);
  --hr-shadow-sm: 0 1px 3px rgba(15, 41, 66, 0.08);
  --hr-shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --hr-focus-ring: 0 0 0 0.2rem rgba(30, 73, 118, 0.22);
  --hr-font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  font-size: 15px;
}

body {
  font-family: var(--hr-font-display);
  color: var(--hr-text);
  background: linear-gradient(165deg, #e4ebf4 0%, var(--hr-surface) 28%, #f1f5f9 100%);
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(30, 73, 118, 0.18);
  color: var(--hr-text);
}

a:not(.btn):not(.hr-sidebar-link):not(.page-link) {
  text-underline-offset: 0.12em;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ——— App shell: left sidebar + main ——— */
.hr-app-shell {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
}

.hr-sidebar {
  --hr-sidebar-w: 16.5rem;
  width: var(--hr-sidebar-w);
  min-width: var(--hr-sidebar-w);
  max-width: var(--hr-sidebar-w);
  flex: 0 0 var(--hr-sidebar-w);
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--hr-primary) 0%, #0a1c2e 100%);
  box-shadow: 4px 0 24px rgba(15, 41, 66, 0.12);
  min-height: 100vh;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  z-index: 1040;
}

.hr-sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.hr-sidebar-nav::-webkit-scrollbar {
  width: 6px;
}

.hr-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 4px;
}

.hr-sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.42);
}

.hr-sidebar-top,
.hr-sidebar-footer {
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .hr-sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
  }
}

.hr-sidebar-brand-icon {
  font-size: 1.35rem;
  opacity: 0.95;
}

.hr-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.4rem;
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.hr-nav-icon {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.88;
  flex-shrink: 0;
}

.hr-sidebar-link.active .hr-nav-icon,
.hr-sidebar-link:hover .hr-nav-icon {
  opacity: 1;
}

.hr-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.hr-sidebar-submenu-wrap {
  margin-top: 0.15rem;
}

.hr-sidebar-submenu-toggle {
  cursor: pointer;
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
}

.hr-sidebar-submenu-toggle[aria-expanded="true"] .hr-sidebar-submenu-chevron {
  transform: rotate(180deg);
}

.hr-sidebar-submenu-chevron {
  font-size: 0.75rem;
  opacity: 0.75;
  transition: transform 0.15s ease;
}

.hr-sidebar-submenu {
  padding: 0.15rem 0 0.35rem 0.35rem;
  margin-left: 0.65rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hr-sidebar-sublink {
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
  font-size: 0.9rem;
}

.hr-sidebar-sublink .hr-nav-icon {
  font-size: 1rem;
  opacity: 0.9;
}

.hr-sidebar-nav .hr-sidebar-nav-spacer {
  height: 0.65rem;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.hr-sidebar-link.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  font-weight: 600;
}

.hr-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1039;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.hr-sidebar-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.hr-content-column {
  background: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hr-content-column > main.hr-main {
  flex: 1 1 auto;
}

.hr-topbar {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.hr-menu-btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
}

body.hr-sidebar-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .hr-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    max-height: 100dvh;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    max-width: min(var(--hr-sidebar-w), 88vw);
  }

  .hr-sidebar.is-open {
    transform: translateX(0);
  }
}

@media (min-width: 992px) {
  .hr-sidebar-backdrop {
    display: none !important;
  }
}

.hr-main {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Main content rhythm (inside authenticated shell) */
.hr-page {
  min-height: 0;
}

/* ——— Login shell ——— */
.hr-login-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(30, 73, 118, 0.12), transparent 55%),
    linear-gradient(180deg, #eef2f7 0%, #f8fafc 50%, #f1f5f9 100%);
}

.hr-login-main {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
}

.hr-login-container {
  max-width: 100%;
  padding: 0;
}

.hr-login-main--wide {
  max-width: 42rem;
}

.hr-login-container--wide {
  max-width: 100%;
}

.hr-login-card {
  border-radius: var(--hr-radius-lg);
  box-shadow:
    0 1px 2px rgba(15, 41, 66, 0.04),
    0 12px 40px rgba(15, 41, 66, 0.1);
  overflow: hidden;
}

.hr-login-card__body {
  padding: 1.75rem 1.5rem 1.5rem;
}

@media (min-width: 576px) {
  .hr-login-card__body {
    padding: 2rem 2rem 1.75rem;
  }
}

.hr-login-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
  background: var(--hr-primary-soft);
  color: var(--hr-primary-light);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.hr-login-card__title {
  color: var(--hr-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hr-login-disclosure {
  border: 1px solid var(--hr-border);
  border-radius: 0.5rem;
  background: var(--hr-surface-elevated);
}

.hr-login-disclosure__summary {
  padding: 0.65rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hr-muted);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.hr-login-disclosure__summary::-webkit-details-marker {
  display: none;
}

.hr-login-disclosure__summary::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
  transition: transform 0.15s ease;
  vertical-align: middle;
}

.hr-login-disclosure[open] .hr-login-disclosure__summary::before {
  transform: rotate(45deg) translateY(-1px);
}

.hr-login-disclosure[open] .hr-login-disclosure__summary {
  color: var(--hr-text);
  border-bottom: 1px solid var(--hr-border);
}

.hr-login-disclosure__body {
  padding: 0.75rem 0.9rem 0.85rem;
  color: var(--hr-text);
  line-height: 1.5;
}

.hr-login-disclosure__body a {
  color: var(--hr-primary-light);
  font-weight: 600;
}

.hr-login-notice {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.25rem;
  border-radius: 0.5rem;
  background: var(--hr-surface-elevated);
  border: 1px solid var(--hr-border);
}

.hr-login-notice__icon {
  color: var(--hr-primary-light);
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.95rem;
}

.hr-login-notice__text {
  color: var(--hr-text);
  line-height: 1.5;
}

.hr-login-alert {
  display: flex;
  align-items: flex-start;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hr-login-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hr-text);
  margin-bottom: 0.35rem;
}

.hr-login-input-wrap {
  position: relative;
}

.hr-login-input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hr-muted);
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
}

.hr-login-captcha-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-align: center;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--hr-border);
  border-radius: 0.5rem;
  background: var(--hr-surface);
  color: var(--hr-primary-dark);
  user-select: none;
}

.hr-login-captcha .hr-login-input.form-control {
  padding-left: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hr-login-input.form-control {
  padding: 0.65rem 0.85rem 0.65rem 2.5rem;
  font-size: 0.9375rem;
  border: 1px solid var(--hr-border);
  border-radius: 0.5rem;
  background: var(--hr-surface-elevated);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hr-login-input.form-control:focus {
  border-color: var(--hr-primary-light);
  box-shadow: var(--hr-focus-ring);
  background: #fff;
}

.hr-login-input.form-control::placeholder {
  color: #94a3b8;
}

.hr-login-remember .form-check-label {
  font-size: 0.875rem;
  color: var(--hr-muted);
}

.hr-login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border: none;
  background: linear-gradient(135deg, var(--hr-primary-light) 0%, var(--hr-primary) 100%);
  box-shadow: 0 4px 14px rgba(15, 41, 66, 0.22);
}

.hr-login-submit:hover,
.hr-login-submit:focus {
  background: linear-gradient(135deg, #2563a8 0%, var(--hr-primary) 100%);
  box-shadow: 0 6px 18px rgba(15, 41, 66, 0.28);
}

.hr-login-submit i {
  font-size: 1.35rem;
  line-height: 1;
  margin-right: -0.25rem;
}

.hr-login-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hr-border);
  font-size: 0.8125rem;
}

.hr-login-card__footer a {
  color: var(--hr-muted);
  text-decoration: none;
  font-weight: 500;
}

.hr-login-card__footer a:hover {
  color: var(--hr-primary-light);
  text-decoration: underline;
}

.hr-login-card__footer span {
  color: var(--hr-border-strong);
}

/* ——— Notifications list + modal ——— */
.hr-notification-item {
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.hr-notification-item:hover,
.hr-notification-item:focus-visible {
  background-color: rgba(15, 41, 66, 0.04);
}

.hr-notification-item:focus-visible {
  outline: 2px solid var(--hr-primary-light);
  outline-offset: -2px;
}

.hr-notification-item--unread {
  background-color: var(--hr-primary-soft);
}

.hr-notification-item__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--hr-primary-light);
  flex-shrink: 0;
}

.hr-notification-item__preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#notificationModal .modal-header {
  align-items: flex-start;
}

.content-shell-wide {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.content-shell-store-detail {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.store-detail-hero-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--hr-radius-lg);
  background: var(--hr-primary-soft);
  color: var(--hr-primary-light);
  font-size: 1.5rem;
}

.store-detail-actions {
  --store-action-h: 100%;
}

.store-detail-action-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  height: 100%;
  min-height: 7.25rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius-lg);
  background: var(--hr-surface-card);
  box-shadow: var(--hr-shadow-sm), var(--hr-shadow-inner);
  color: var(--hr-text);
  text-decoration: none;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.store-detail-action-card:hover {
  border-color: rgba(30, 73, 118, 0.28);
  box-shadow: var(--hr-shadow);
  transform: translateY(-2px);
  color: var(--hr-text);
}

.store-detail-action-card--featured {
  background: linear-gradient(145deg, var(--hr-primary-soft) 0%, #fff 55%);
  border-color: rgba(30, 73, 118, 0.18);
}

.store-detail-action-card--featured .store-detail-action-icon {
  background: var(--hr-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 41, 66, 0.2);
}

.store-detail-action-card--featured .store-detail-action-value {
  color: var(--hr-primary);
}

.store-detail-action-icon {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--hr-radius);
  background: rgba(30, 73, 118, 0.08);
  color: var(--hr-primary-light);
  font-size: 1.2rem;
}

.store-detail-action-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-right: 1.25rem;
}

.store-detail-action-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hr-muted);
  line-height: 1.3;
}

.store-detail-action-card:not(.store-detail-action-card--featured) .store-detail-action-label {
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--hr-text);
  margin-bottom: 0.1rem;
}

.store-detail-action-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--hr-primary);
  margin: 0.1rem 0 0.05rem;
}

.store-detail-action-desc {
  font-size: 0.8125rem;
  color: var(--hr-muted);
  line-height: 1.4;
}

.store-detail-action-chevron {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: 0.95rem;
  color: var(--hr-muted);
  opacity: 0.55;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

a.store-detail-action-card:hover .store-detail-action-chevron {
  opacity: 1;
  color: var(--hr-primary-light);
}

a.store-detail-action-card:hover .bi-arrow-right.store-detail-action-chevron {
  transform: translateX(3px);
}

.store-detail-quick-link-desc {
  font-size: 0.75rem;
  color: var(--hr-muted);
  line-height: 1.35;
}

.store-detail-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.store-detail-card-head .bi {
  font-size: 1.15rem;
  color: var(--hr-primary-light);
}

.store-detail-fact {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hr-border);
}

.store-detail-fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.store-detail-fact:first-child {
  padding-top: 0;
}

.store-detail-fact > .bi {
  font-size: 1.05rem;
  color: var(--hr-primary-light);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.store-detail-fact-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hr-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.store-detail-fact-value {
  display: block;
  font-size: 0.9375rem;
  color: var(--hr-text);
  word-break: break-word;
}

.store-location-map {
  min-height: 260px;
  height: 100%;
  min-height: 280px;
  width: 100%;
  border-radius: 0 0 var(--hr-radius-lg) var(--hr-radius-lg);
}

.leaflet-container {
  font-family: inherit;
}

.navbar-hr {
  background: linear-gradient(135deg, var(--hr-primary) 0%, var(--hr-primary-light) 100%);
  box-shadow: 0 4px 20px rgba(15, 41, 66, 0.25);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar-hr .navbar-brand {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
}

.navbar-hr .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.35rem;
}

.navbar-hr .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

main[role="main"] {
  padding-top: 1.75rem;
  padding-bottom: 3rem;
}

.card-hr {
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius);
  background: var(--hr-surface-card);
  box-shadow: var(--hr-shadow-sm);
}

.card-elevated {
  box-shadow: var(--hr-shadow);
  border-color: rgba(226, 232, 240, 0.9);
}

.table-hr {
  border-radius: var(--hr-radius);
  overflow: hidden;
  background: var(--hr-surface-card);
}

.table-hr thead th {
  background: var(--hr-primary);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table-hr tbody td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
}

.table-hr tbody tr:hover {
  background: rgba(15, 41, 66, 0.03);
}

.btn-primary {
  background-color: var(--hr-primary);
  border-color: var(--hr-primary);
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--hr-primary-light);
  border-color: var(--hr-primary-light);
}

.btn-success {
  font-weight: 600;
}

.btn-outline-primary {
  color: var(--hr-primary);
  border-color: var(--hr-primary);
  font-weight: 500;
}

.btn-outline-primary:hover {
  background-color: var(--hr-primary);
  border-color: var(--hr-primary);
  color: #fff;
}

.page-header {
  border-bottom: 1px solid var(--hr-border);
  margin-bottom: 1.75rem;
  padding-bottom: 1.1rem;
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 3.5rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--hr-primary) 0%, var(--hr-primary-light) 100%);
  opacity: 0.85;
}

.page-header h1,
.page-header .h3 {
  font-weight: 700;
  color: var(--hr-primary);
  letter-spacing: -0.02em;
}

.hr-page-kicker {
  font-size: 0.9375rem;
  color: var(--hr-muted);
  max-width: 42rem;
  line-height: 1.5;
}

/* Section titles inside pages */
.hr-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hr-muted);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

/* Dashboard / summary stat tiles */
.hr-stat-card {
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius-lg);
  background: var(--hr-surface-card);
  box-shadow: var(--hr-shadow-sm), var(--hr-shadow-inner);
  padding: 1.15rem 1.25rem;
  height: 100%;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.hr-stat-card:hover {
  box-shadow: var(--hr-shadow);
  border-color: rgba(30, 73, 118, 0.2);
}

.hr-stat-card .hr-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hr-muted);
  margin-bottom: 0.35rem;
}

/* Help hub shortcut cards */
a.card.card-hr.text-decoration-none:hover {
  border-color: rgba(30, 73, 118, 0.22);
  box-shadow: var(--hr-shadow);
}

.hr-help-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--hr-primary-soft);
  color: var(--hr-primary-light);
  font-size: 1.15rem;
}

.hr-help-guide .hr-help-toc {
  top: 1rem;
  z-index: 2;
}

.hr-help-toc-list li {
  margin-bottom: 0.35rem;
  padding-left: 0;
}

.hr-help-toc-list a {
  color: var(--hr-primary-light);
}

.hr-help-toc-list a:hover {
  color: var(--hr-accent);
}

.hr-help-section h2 .bi {
  opacity: 0.85;
}

@media (max-width: 991.98px) {
  .hr-help-guide .hr-help-toc.sticky-top {
    position: static !important;
  }
}

.hr-stat-card .hr-stat-value {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--hr-primary);
}

.hr-stat-card.hr-stat-accent .hr-stat-value {
  color: var(--hr-accent);
}

.hr-stat-card.hr-stat-link {
  display: block;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hr-stat-card.hr-stat-link:hover {
  border-color: rgba(30, 73, 118, 0.35);
  box-shadow: var(--hr-shadow);
}

.hr-stat-card.hr-stat-danger {
  border-color: rgba(220, 53, 69, 0.35);
  background: rgba(220, 53, 69, 0.04);
}

.hr-stat-card.hr-stat-danger .hr-stat-value {
  color: #b02a37;
}

.hr-stat-card.hr-stat-warn {
  border-color: rgba(255, 193, 7, 0.45);
  background: rgba(255, 193, 7, 0.06);
}

.hr-stat-card.hr-stat-warn .hr-stat-value {
  color: #946200;
}

/* Table in elevated panel */
.hr-table-panel {
  border-radius: var(--hr-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hr-border);
  background: var(--hr-surface-card);
  box-shadow: var(--hr-shadow-sm);
}

.hr-table-panel .table {
  margin-bottom: 0;
}

.hr-table-panel .table-hr thead th:first-child,
.hr-table-panel .table-hr tbody td:first-child {
  padding-left: 1.25rem;
}

.hr-table-panel .table-hr thead th:last-child,
.hr-table-panel .table-hr tbody td:last-child {
  padding-right: 1.25rem;
}

/* Empty list state */
.hr-empty-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--hr-muted);
  border: 1px dashed var(--hr-border-strong);
  border-radius: var(--hr-radius-lg);
  background: var(--hr-surface-elevated);
}

.hr-empty-state .bi {
  font-size: 2rem;
  opacity: 0.45;
  display: block;
  margin-bottom: 0.75rem;
}

/* Forms */
.form-control:focus,
.form-select:focus {
  border-color: var(--hr-primary-light);
  box-shadow: var(--hr-focus-ring);
}

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #334155;
}

/* Buttons: clearer touch targets */
.btn {
  border-radius: 0.45rem;
}

.btn:not(.btn-sm):not(.btn-lg) {
  min-height: 2.375rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

/* Alerts */
.alert {
  border-width: 1px;
}

.alert-primary {
  background: linear-gradient(135deg, rgba(15, 41, 66, 0.06) 0%, rgba(30, 73, 118, 0.08) 100%);
  border-color: rgba(30, 73, 118, 0.2);
  color: var(--hr-primary);
}

/* List groups (onboarding etc.) */
.list-group-item {
  border-color: var(--hr-border);
}

.text-muted-small {
  font-size: 0.875rem;
  color: var(--hr-muted);
}

.text-pre-wrap {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
}

.profile-notes {
  padding-top: 0.25rem;
  padding-bottom: 0.5rem;
}

.form-section {
  margin-bottom: 1.5rem;
}

.form-label-lg {
  font-size: 1rem;
}

.form-control-hr-text {
  min-height: 140px;
  line-height: 1.65;
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  border-radius: var(--hr-radius);
  border-color: #cbd5e1;
  resize: vertical;
}

.form-control-hr-text:focus {
  border-color: var(--hr-primary-light);
  box-shadow: 0 0 0 0.2rem rgba(30, 73, 118, 0.18);
}

.onboard-progress {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}

.onboard-progress-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: #e2e8f0;
}

.onboard-progress-bar .progress-bar {
  background: linear-gradient(90deg, var(--hr-primary) 0%, var(--hr-primary-light) 100%);
  border-radius: 999px;
}

.onboard-steps .onboard-step-active {
  background: var(--hr-primary);
  color: #fff !important;
  font-weight: 600;
}

.onboard-steps .onboard-step-done {
  background: #dcfce7;
  color: #166534 !important;
}

.onboard-steps .onboard-step-todo {
  background: #f1f5f9;
  color: var(--hr-muted) !important;
}

.onboard-steps a:hover {
  opacity: 0.92;
}

.review-summary .review-row {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 0.75rem 1.25rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.review-summary .review-row:last-child {
  border-bottom: none;
}

.review-summary .review-key {
  font-weight: 600;
  color: var(--hr-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.review-summary .review-val {
  color: var(--hr-text);
}

@media (max-width: 576px) {
  .review-summary .review-row {
    grid-template-columns: 1fr;
  }
}

footer.footer-hr {
  border-top: 1px solid var(--hr-border);
  margin-top: auto;
  flex-shrink: 0;
  padding: 1.35rem 1rem;
  font-size: 0.8125rem;
  color: var(--hr-muted);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

body.d-flex.flex-column.min-vh-100 > main.hr-main {
  flex: 1 1 auto;
}

@media print {
  .hr-sidebar,
  .hr-topbar,
  .hr-print-toolbar,
  .btn,
  footer.footer-hr {
    display: none !important;
  }

  body,
  .hr-print-body {
    background: #fff !important;
  }

  .card-hr,
  .hr-table-panel {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }

  .hr-print-report {
    padding: 0 !important;
    max-width: none !important;
  }

  .hr-print-table {
    page-break-inside: avoid;
  }

  .hr-print-section-title {
    page-break-after: avoid;
  }

  a[href]::after {
    content: none !important;
  }
}

.hr-print-body {
  background: #fff;
}

.hr-print-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hr-primary);
  margin-bottom: 0.65rem;
}

.hr-print-table th {
  background: #f1f5f9 !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.alert {
  border-radius: var(--hr-radius);
}

/* Dashboard stat cards */
.card-hr .fs-3 {
  letter-spacing: -0.02em;
}

/* ——— Training: LEARN MB hero ——— */
.training-learnmb-hero {
  min-height: min(78vh, 36rem);
  border-radius: var(--hr-radius);
  background-color: #1e293b;
  background-image: url("/images/training-learnmb-banner.png");
  background-size: cover;
  background-position: center right;
  box-shadow: var(--hr-shadow);
  overflow: hidden;
}

.training-learnmb-overlay {
  min-height: inherit;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.94) 0%,
    rgba(15, 23, 42, 0.82) 38%,
    rgba(15, 23, 42, 0.35) 62%,
    transparent 85%
  );
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.training-learnmb-card {
  max-width: 36rem;
  color: #f8fafc;
}

.training-learnmb-card .lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.95);
}

.training-learnmb-steps {
  padding-left: 1.25rem;
  margin-bottom: 0;
  line-height: 1.65;
}

.training-learnmb-steps li {
  margin-bottom: 0.65rem;
}

.training-learnmb-steps li::marker {
  color: rgba(248, 250, 252, 0.75);
}

@media (max-width: 767.98px) {
  .training-learnmb-hero {
    background-position: 70% center;
    min-height: min(85vh, 42rem);
  }

  .training-learnmb-overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.92) 0%,
      rgba(15, 23, 42, 0.78) 55%,
      rgba(15, 23, 42, 0.45) 100%
    );
  }
}

/* Store edit: FSA star picker + weekly hours */
.hr-star-rating .hr-star-label .hr-star-icon {
  font-size: 0.85rem;
  margin-right: 0.05rem;
}

.hr-star-rating .hr-star-label .hr-star-icon:last-of-type {
  margin-right: 0;
}

.hr-star-rating .btn-check:checked + .hr-star-label {
  background-color: rgba(245, 158, 11, 0.18);
  border-color: rgba(217, 119, 6, 0.55) !important;
}

.hr-readonly-stars .bi {
  font-size: 1.15rem;
  margin-right: 0.08rem;
}

.hr-weekly-hours th {
  font-weight: 600;
}

/* Drag-and-drop file upload (store documents, employee upload, etc.) */
.hr-dropzone {
  cursor: pointer;
  background: var(--hr-surface-card);
  border-color: var(--hr-border) !important;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.hr-dropzone:hover,
.hr-dropzone:focus {
  border-color: rgba(15, 41, 66, 0.35) !important;
  box-shadow: var(--hr-shadow-sm);
  outline: none;
}

.hr-dropzone.hr-dropzone-active {
  background: var(--hr-accent-soft);
  border-color: var(--hr-accent) !important;
}

/* Store calendar (month grid) */
.hr-cal-weekdays,
.hr-cal-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hr-cal-cell {
  min-height: 5.5rem;
  border-right: 1px solid var(--hr-border);
  border-bottom: 1px solid var(--hr-border);
  background: var(--hr-surface-card);
}

.hr-cal-cell--muted {
  background: var(--hr-surface-elevated);
  min-height: 3rem;
}

.hr-cal-cell--today {
  box-shadow: inset 0 0 0 2px rgba(15, 41, 66, 0.35);
  background: rgba(15, 41, 66, 0.04);
}

.hr-cal-pills {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hr-cal-pill {
  font-size: 0.65rem;
  line-height: 1.2;
  padding: 0.12rem 0.28rem;
  border-radius: 0.25rem;
  border: 1px solid var(--hr-border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

button.hr-cal-pill {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: var(--hr-surface-card);
  transition: filter 0.12s ease, box-shadow 0.12s ease;
}

button.hr-cal-pill:hover {
  filter: brightness(0.97);
  box-shadow: var(--hr-shadow-sm);
}

button.hr-cal-pill:focus-visible {
  outline: 2px solid rgba(15, 41, 66, 0.45);
  outline-offset: 1px;
}

button.hr-cal-pill.hr-cal-pill--entry {
  background: rgba(59, 130, 246, 0.12);
}
button.hr-cal-pill.hr-cal-pill--storedoc {
  background: rgba(14, 165, 233, 0.12);
}
button.hr-cal-pill.hr-cal-pill--empdoc {
  background: rgba(168, 85, 247, 0.1);
}
button.hr-cal-pill.hr-cal-pill--training {
  background: rgba(245, 158, 11, 0.15);
}
button.hr-cal-pill.hr-cal-pill--rtw {
  background: rgba(239, 68, 68, 0.1);
}
button.hr-cal-pill.hr-cal-pill--employment {
  background: rgba(100, 116, 139, 0.15);
}
button.hr-cal-pill.hr-cal-pill--probation {
  background: rgba(34, 197, 94, 0.12);
}
button.hr-cal-pill.hr-cal-pill--leave {
  background: rgba(99, 102, 241, 0.12);
}
button.hr-cal-pill.hr-cal-pill--muted {
  background: var(--hr-surface-elevated);
}

.hr-cal-row-trigger {
  cursor: pointer;
}

.hr-cal-row-trigger:hover td {
  background: rgba(15, 41, 66, 0.03);
}

.hr-cal-month-table tbody tr:focus-visible {
  outline: 2px solid rgba(15, 41, 66, 0.35);
  outline-offset: -2px;
}

.hr-cal-pill--entry {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
}
.hr-cal-pill--storedoc {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.35);
}
.hr-cal-pill--empdoc {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.35);
}
.hr-cal-pill--training {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(217, 119, 6, 0.4);
}
.hr-cal-pill--rtw {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
}
.hr-cal-pill--employment {
  background: rgba(100, 116, 139, 0.15);
  border-color: rgba(71, 85, 105, 0.35);
}
.hr-cal-pill--probation {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(22, 163, 74, 0.35);
}
.hr-cal-pill--leave {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
}

/* Calendar: 3-month / 1-month reminder milestones (dashed; due date is solid) */
button.hr-cal-pill.hr-cal-pill--reminder-m3,
button.hr-cal-pill.hr-cal-pill--reminder-m1,
.hr-cal-type-badge.hr-cal-pill--reminder-m3,
.hr-cal-type-badge.hr-cal-pill--reminder-m1 {
  border-style: dashed !important;
}

button.hr-cal-pill.hr-cal-pill--reminder-m3,
.hr-cal-type-badge.hr-cal-pill--reminder-m3 {
  opacity: 0.92;
}

/* Calendar: expiry urgency overlays (docs, training, RTW, employment, probation) */
.hr-cal-pill--expiry-expired {
  border-color: rgba(185, 28, 28, 0.65) !important;
  box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.12);
}
.hr-cal-pill--expiry-critical {
  border-color: rgba(217, 119, 6, 0.78) !important;
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.1);
}
.hr-cal-pill--expiry-soon {
  border-color: rgba(202, 138, 4, 0.58) !important;
}

.hr-cal-pill--muted {
  background: var(--hr-surface-elevated);
}

/* Calendar day view */
.hr-cal-day-list .hr-cal-day-item:last-child {
  border-bottom: 0 !important;
}

.hr-cal-day-trigger {
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.hr-cal-day-trigger:hover {
  background: var(--hr-surface-elevated) !important;
}

.hr-cal-day-trigger:focus-visible {
  outline: 2px solid rgba(15, 41, 66, 0.45);
  outline-offset: -2px;
}

.hr-cal-cell .fw-semibold a:hover {
  text-decoration: underline !important;
}

.hr-cal-type-badge.hr-cal-pill--entry {
  background: rgba(59, 130, 246, 0.15);
  color: #1e3a5f;
  border: 1px solid rgba(59, 130, 246, 0.35);
}
.hr-cal-type-badge.hr-cal-pill--storedoc {
  background: rgba(14, 165, 233, 0.15);
  color: #0c4a6e;
  border: 1px solid rgba(14, 165, 233, 0.35);
}
.hr-cal-type-badge.hr-cal-pill--empdoc {
  background: rgba(168, 85, 247, 0.12);
  color: #4c1d95;
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.hr-cal-type-badge.hr-cal-pill--training {
  background: rgba(245, 158, 11, 0.18);
  color: #78350f;
  border: 1px solid rgba(217, 119, 6, 0.4);
}
.hr-cal-type-badge.hr-cal-pill--rtw {
  background: rgba(239, 68, 68, 0.12);
  color: #7f1d1d;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.hr-cal-type-badge.hr-cal-pill--employment {
  background: rgba(100, 116, 139, 0.18);
  color: #1e293b;
  border: 1px solid rgba(71, 85, 105, 0.35);
}
.hr-cal-type-badge.hr-cal-pill--probation {
  background: rgba(34, 197, 94, 0.15);
  color: #14532d;
  border: 1px solid rgba(22, 163, 74, 0.35);
}
.hr-cal-type-badge.hr-cal-pill--leave {
  background: rgba(99, 102, 241, 0.15);
  color: #312e81;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.hr-cal-type-badge.hr-cal-pill--expiry-expired {
  border-color: rgba(185, 28, 28, 0.55) !important;
}
.hr-cal-type-badge.hr-cal-pill--expiry-critical {
  border-color: rgba(217, 119, 6, 0.55) !important;
}
.hr-cal-type-badge.hr-cal-pill--expiry-soon {
  border-color: rgba(202, 138, 4, 0.45) !important;
}

.hr-cal-type-badge.hr-cal-pill--muted {
  background: var(--hr-surface-elevated);
  color: var(--hr-muted);
  border: 1px solid var(--hr-border);
}

.hr-idle-warning {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 0.75rem 1rem;
  pointer-events: none;
}

.hr-idle-warning__inner {
  pointer-events: auto;
  max-width: 36rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--hr-border, #e2e8f0);
  border-radius: 0.5rem;
}

.hr-idle-warning.is-visible .hr-idle-warning__inner {
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.15);
}

.doc-folder-emp-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(13, 110, 253, 0.06);
  color: inherit;
  box-shadow: none;
}

.doc-folder-emp-accordion .accordion-button::after {
  transform: scale(0.85);
}

.doc-folder-emp-accordion .accordion-item:last-child {
  border-bottom: 0 !important;
}

/* Audit log — scrollable table with sticky header */
.hr-audit-log-panel {
  display: flex;
  flex-direction: column;
}

.hr-audit-log-scroll {
  max-height: min(70vh, calc(100dvh - 14rem));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.hr-audit-log-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: var(--bs-table-bg, #f8f9fa);
  box-shadow: 0 1px 0 var(--hr-border);
}

.hr-audit-log-scroll:focus-visible {
  outline: 2px solid var(--hr-primary, #0d6efd);
  outline-offset: -2px;
}

/* Sidebar master search */
.hr-master-search {
  position: relative;
}

.hr-master-search-field {
  position: relative;
}

.hr-master-search-icon {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

.hr-sidebar .hr-master-search-icon {
  color: rgba(255, 255, 255, 0.65);
}

.hr-topbar .hr-master-search-icon {
  color: var(--bs-secondary-color);
}

.hr-master-search-input {
  padding-left: 2rem;
  border-radius: 0.4rem;
}

.hr-sidebar .hr-master-search-input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hr-sidebar .hr-master-search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.hr-sidebar .hr-master-search-input:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.12);
}

.hr-topbar .hr-master-search-input {
  background: #f8fafc;
  border-color: var(--hr-border, #dee2e6);
}

.hr-master-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 1060;
  max-height: min(18rem, 50vh);
  overflow: auto;
  background: #fff;
  color: var(--hr-text);
  border: 1px solid var(--hr-border, #dee2e6);
  border-radius: 0.5rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  padding: 0.35rem;
}

.hr-topbar .hr-master-search-results {
  min-width: 16rem;
}

.hr-master-search-hit {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.35rem;
  text-decoration: none;
  color: var(--hr-text) !important;
}

.hr-master-search-hit:hover,
.hr-master-search-hit.is-active {
  background: rgba(13, 110, 253, 0.08);
  color: var(--hr-text) !important;
}

.hr-master-search-hit > .bi {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--hr-primary, #0d6efd);
}

.hr-master-search-hit-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.hr-master-search-hit-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--hr-text);
}

.hr-master-search-hit-sub {
  font-size: 0.75rem;
  color: #334155;
}

.hr-master-search-hit-cat {
  flex-shrink: 0;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  font-weight: 600;
  max-width: 5.5rem;
  text-align: right;
}

.hr-master-search-empty {
  padding: 0.5rem 0.35rem;
  color: #334155;
}

/* ——— Badges: Bootstrap defaults to white text; soft/status pills need dark readable labels ——— */
.badge {
  color: var(--hr-text) !important;
}

.badge.text-success {
  color: var(--hr-success) !important;
  background-color: var(--hr-success-soft) !important;
}

.badge.text-primary {
  color: var(--hr-primary-light) !important;
  background-color: var(--hr-primary-soft) !important;
}

.badge.text-info {
  color: #0c4a6e !important;
  background-color: #e0f2fe !important;
}

.badge.text-danger {
  color: var(--hr-danger) !important;
  background-color: #fef2f2 !important;
}

.badge.text-secondary {
  color: #475569 !important;
  background-color: #f1f5f9 !important;
}

.badge.text-warning,
.badge.bg-warning.text-dark {
  color: var(--hr-warning) !important;
  background-color: #fffbeb !important;
}

.badge.bg-light.text-dark,
.badge.text-dark {
  color: var(--hr-text) !important;
  background-color: #f1f5f9 !important;
}

.badge.bg-dark,
.badge.bg-danger:not(.text-danger):not([class*="bg-opacity-"]),
.badge.bg-success:not(.text-success):not([class*="bg-opacity-"]),
.badge.bg-primary:not(.text-primary):not([class*="bg-opacity-"]),
.badge.bg-secondary:not(.text-secondary):not([class*="bg-opacity-"]) {
  color: #fff !important;
}

.badge.bg-warning:not(.text-dark):not([class*="text-"]) {
  color: var(--hr-text) !important;
}
