/* HELP CRM – Brand overrides to match higheredlicensurepros.com */

/* 1) Font: use Poppins to match marketing site body font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* 2) Bootstrap theme variables */
:root {
  /* Typography */
  --bs-body-font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-body-bg: #ffffff;
  --bs-body-color: #23282f;
  --site-navigation-font-font-size-value: 1.25;
  --app-header-height: 72px;
  --app-sidebar-width: 260px;

  /* Primary brand blue from marketing site buttons (#1470ac) */
  --bs-primary: #1470ac;
  --bs-primary-rgb: 20, 112, 172;
  --bs-warning: #ffcf49;
  --bs-warning-rgb: 255, 207, 73;

  /* Links */
  --bs-link-color: #1470ac;
  --bs-link-hover-color: #0f5a89;

  /* Borders / focus ring */
  --bs-border-color: #e0e4ea;
  --bs-focus-ring-color: rgba(20, 112, 172, 0.35);
}

/* 3) Global text + headings */

body {
  font-family: var(--bs-body-font-family);
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}

/* 4) Primary buttons – align with marketing site’s blue CTAs */

.btn-primary,
.btn.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
}

/* Outline buttons */

.btn-outline-primary,
.btn.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:active:focus {
  color: #ffffff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* 5) Links */

a {
  color: var(--bs-link-color);
}

a:hover,
a:focus {
  color: var(--bs-link-hover-color);
}

/* Pagination active state */
.page-item.active .page-link {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* 6) Focus styles (keep accessible) */

.btn:focus-visible,
a.btn:focus-visible,
button:focus-visible {
  outline: 2px solid var(--bs-focus-ring-color);
  outline-offset: 2px;
}

/* 7) App header styling */

/* Full-width blue header bar */
header.border-bottom.bg-white.shadow-sm.sticky-top {
  background-color: var(--bs-primary) !important;
  border-bottom: none !important;
}

/* App name / brand link inside the header */
header.border-bottom.bg-white.shadow-sm.sticky-top a.text-decoration-none.fw-bold.fs-5 {
  color: #ffffff !important;
}

/* 8) Lead capture form details placeholder styling */

.lead-capture-form-details .form-label {
  color: var(--bs-secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
}

.lead-capture-form-details .form-control::placeholder,
.lead-capture-form-details textarea::placeholder {
  color: rgba(var(--bs-body-color-rgb), 0.35);
  font-style: italic;
}

/* Hover/focus state for brand link */
header.border-bottom.bg-white.shadow-sm.sticky-top a.text-decoration-none.fw-bold.fs-5:hover,
header.border-bottom.bg-white.shadow-sm.sticky-top a.text-decoration-none.fw-bold.fs-5:focus {
  color: #e0f2ff !important; /* lighter blue for hover */
}

/* Admin users directory */

.user-card {
  position: relative;
  border: 1px solid var(--bs-border-color);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  min-height: 56px;
}

.user-card--clickable {
  cursor: pointer;
}

.user-card .card-body {
  padding: 0.5rem 0.75rem;
}

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

.user-member-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-card:hover,
.user-card:focus-within {
  box-shadow: 0 8px 24px rgba(15, 31, 53, 0.08);
  transform: translateY(-2px);
}

.user-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  border-radius: 0.25rem;
}

.user-card:hover::after,
.user-card:focus-within::after {
  opacity: 1;
}

.user-card--inactive {
  background-color: #f5f6f8;
  color: #6c757d;
}

.user-role-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.6rem;
}

.user-card-actions {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(calc(-50% - 4px));
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.user-card:hover .user-card-actions,
.user-card:focus-within .user-card-actions {
  opacity: 1;
  transform: translateY(-50%);
}

.user-card-actions .btn:hover,
.user-card-actions .btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5), 0 6px 16px rgba(15, 31, 53, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .user-card-actions {
    position: static;
    opacity: 1;
    transform: none;
    padding: 0 1rem 1rem;
    flex-direction: row;
  }
}

.user-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(33, 37, 41, 0.45);
  z-index: 1040;
}

.user-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(480px, 100%);
  background: #ffffff;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 24px rgba(15, 31, 53, 0.15);
}

.user-drawer__header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.user-drawer__body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.user-drawer__select {
  background-color: #ffffff !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.375rem !important;
  color: #212529 !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: var(
    --bs-form-select-bg-img,
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")
  ) !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.25rem !important;
}

.user-drawer__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--bs-border-color);
  background: #ffffff;
}

@media (min-width: 992px) {
  .registry-entry-form-page {
    padding-right: 480px;
  }
}

body.user-drawer-open {
  overflow: hidden;
}

.user-role-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bookmark-availability-link {
  color: var(--bs-link-color);
  text-decoration: none;
}

.bookmark-availability-link:hover,
.bookmark-availability-link:focus,
.bookmark-availability-link:focus-visible {
  text-decoration: underline;
}

@media (min-width: 1200px) {
  .bookmark-catalog-help {
    min-height: 2.75rem;
  }
}

.user-role-filter-chip {
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.user-role-filter-chip.is-active {
  opacity: 1;
  box-shadow: 0 6px 14px rgba(15, 31, 53, 0.18);
  transform: translateY(-1px);
}

.user-role-filter-chip:hover,
.user-role-filter-chip:focus-visible {
  opacity: 0.9;
  transform: translateY(-1px);
}

.membership-type__invoicing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.membership-type__invoicing-field {
  display: grid;
  grid-template-rows: minmax(2.75rem, auto) auto;
  gap: 0.5rem;
}

.membership-type__invoicing-label {
  margin-bottom: 0;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .membership-type__invoicing-grid {
    grid-template-columns: 1fr;
  }
}

/* Top nav links in the header */
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-link {
  color: #ffffff !important;
  font-weight: 500;
  text-decoration: none;
  padding: 0;
  font-size: 1rem;
  white-space: nowrap;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-link:hover,
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-link:focus {
  color: var(--bs-warning) !important;
  text-decoration: none;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-link.is-active,
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-link[aria-current="page"] {
  color: var(--bs-warning) !important;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-link:focus-visible {
  outline: 2px solid var(--bs-warning);
  outline-offset: 2px;
}

/* Top-nav dropdowns should match the blue header bar */
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .dropdown > .top-nav-link {
  background: transparent;
  border: 0;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .dropdown-menu {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  box-shadow: none;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .dropdown-menu .dropdown-item {
  color: #ffffff;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .dropdown-menu .dropdown-item:hover,
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .dropdown-menu .dropdown-item:focus,
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .dropdown-menu .dropdown-item.active,
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .dropdown-menu .dropdown-item:active {
  color: var(--bs-warning);
  background-color: rgba(0, 0, 0, 0.15);
}

header.border-bottom.bg-white.shadow-sm.sticky-top details > summary.top-nav-link:focus,
header.border-bottom.bg-white.shadow-sm.sticky-top details > summary.top-nav-link:focus-visible,
header.border-bottom.bg-white.shadow-sm.sticky-top details > summary.top-nav-link::-moz-focus-inner {
  outline: 2px solid #0f5a89 !important;
  box-shadow: none !important;
  outline-offset: 0 !important;
  border: none !important;
  border-radius: 0;
}

header.border-bottom.bg-white.shadow-sm.sticky-top details > summary.top-nav-link:-moz-focusring {
  outline: 2px solid #0f5a89 !important;
  box-shadow: none !important;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu details {
  margin: 0;
  display: inline-block;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu details summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu details summary .small.text-muted {
  color: #ffffff !important;
  font-size: 1rem;
}

.app-top-bar {
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
}

.app-top-bar__nav {
  min-width: 0;
}

/* Right-align top nav near the user menu */
header.border-bottom.bg-white.shadow-sm.sticky-top .app-top-bar__nav {
  width: auto !important;
  justify-self: end;
  display: flex;
  align-items: center;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .app-top-bar__nav .container-xl {
  width: auto;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .app-top-bar__nav .top-nav-menu {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

@media (min-width: 1200px) {
  body.has-sidebar:not(.sidebar-hidden) .app-top-bar__nav {
    padding-left: var(--app-sidebar-width);
  }
}

.app-user-toggle {
  text-decoration: none;
}

/* App shell layout for admin sidebar */

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-shell--with-sidebar .app-main {
  min-width: 0;
}

.app-shell--rails {
  min-height: calc(100vh - var(--app-header-height));
}

.app-shell__body {
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
}

.app-sidebar-mount {
  display: flex;
  align-self: stretch;
}

.app-sidebar-mount > .app-sidebar {
  height: 100%;
}

.app-sidebar {
  width: var(--app-sidebar-width);
  border-right: 1px solid var(--bs-border-color);
  background-color: #ffffff;
  padding: 1.5rem 1rem;
  position: sticky;
  top: var(--app-header-height);
  align-self: stretch;
  height: calc(100vh - var(--app-header-height));
  max-height: calc(100vh - var(--app-header-height));
  overflow-y: auto;
}

.app-sidebar-toggle--show {
  display: none;
}

body.sidebar-hidden .app-sidebar {
  display: none !important;
}

body.sidebar-hidden .app-shell--with-sidebar .app-main {
  min-width: 0;
  width: 100%;
}

body.sidebar-hidden .app-sidebar-toggle--show {
  display: inline-flex;
}

.app-sidebar-toggle-desktop {
  width: 44px;
  height: 44px;
}

.app-sidebar .sidebar-nav-link {
  color: var(--bs-body-color);
}

.app-sidebar .sidebar-nav-link.is-active,
.app-sidebar .sidebar-nav-link[aria-current="page"] {
  color: var(--bs-primary) !important;
  font-weight: 600;
}

/* Mission Control layout adjustments inside the Inertia page wrapper */
.mission-control-wrapper .section {
  padding: 1.5rem 1.5rem;
}

.mission-control-wrapper .container {
  max-width: none !important;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.offcanvas .sidebar-nav-link.is-active,
.offcanvas .sidebar-nav-link[aria-current="page"] {
  color: var(--bs-primary) !important;
  font-weight: 600;
}

.app-sidebar-subnav {
  padding-left: 0;
}

.app-sidebar-subnav .sidebar-nav-link {
  padding-left: calc(1rem + 16px) !important;
  margin-left: 0;
}

.app-sidebar-caret {
  font-size: 1.125rem;
  line-height: 1;
  transition: transform 0.15s ease-in-out;
}

details[open] .app-sidebar-caret {
  transform: rotate(180deg);
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .mt-2 {
  margin-top: 0 !important;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .ps-3 {
  padding-left: 0 !important;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-menu .border-start {
  border-left: 0 !important;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-logout {
  border-color: #ffffff;
  color: #ffffff;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-logout:hover,
header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-logout:focus {
  color: #1470ac;
  background-color: var(--bs-warning);
  border-color: var(--bs-warning);
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-logout:focus-visible {
  outline: 2px solid var(--bs-warning);
  outline-offset: 2px;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-account {
  font-size: 0.85rem;
  line-height: 1.2;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-account-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

header.border-bottom.bg-white.shadow-sm.sticky-top .top-nav-account-name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Mobile menu icon color */
header.border-bottom.bg-white.shadow-sm.sticky-top .bi-list {
  color: #ffffff !important;
}

/* 8) Header sizing */

header.border-bottom.bg-white.shadow-sm.sticky-top .container-fluid {
  min-height: var(--app-header-height);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* 9) Auth layout – blue login card like the header */

body.auth-layout .card {
  background-color: var(--bs-primary);
  color: #ffffff;
}

/* Card title / small text inside the card */
body.auth-layout .card .text-muted,
body.auth-layout .card h1 {
  color: #e0f2ff !important;
}

body.auth-layout .card .alert p,
body.auth-layout .card .alert li {
  color: inherit !important;
}

/* Form labels */
body.auth-layout .card .form-label {
  color: #ffffff;
}

/* Inputs stay white for readability */
body.auth-layout .card .form-control,
body.auth-layout .card .form-check-input {
  background-color: #ffffff;
  color: #23282f;
  border-color: #e0e4ea;
}

/* Ensure checkboxes show a visible checked state in the auth layout */
body.auth-layout .card .form-check-input:checked {
  background-color: var(--bs-warning);
  border-color: var(--bs-warning);
}

/* Match the checkmark color to the auth primary button text */
body.auth-layout .card .form-check-input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230f5a89' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

/* "Forgot your password?" / "Unlock your account" links under the card */
body.auth-layout .link-secondary {
  color: var(--bs-primary);
}

body.auth-layout .link-secondary:hover,
body.auth-layout .link-secondary:focus {
  color: #0f5a89;
}

/* 10) Auth layout – yellow primary button with white text and white aux text */

body.auth-layout .btn-primary {
  background-color: var(--bs-warning) !important;
  border-color: var(--bs-warning) !important;
  color: #0f5a89 !important;
}

body.auth-layout .btn-primary:hover,
body.auth-layout .btn-primary:focus,
body.auth-layout .btn-primary:active,
body.auth-layout .btn-primary:active:focus {
  background-color: #f0b52e !important;
  border-color: #f0b52e !important;
  color: #ffffff !important;
}

/* "Remember me" label */
body.auth-layout .form-check-label {
  color: #ffffff !important;
}

/* "Forgot your password?" and "Unlock your account" links under the card */
body.auth-layout .mt-4.text-center a,
body.auth-layout .link-secondary {
  color: #ffffff !important;
  text-decoration: none !important;
}

body.auth-layout .mt-4.text-center a:hover,
body.auth-layout .mt-4.text-center a:focus,
body.auth-layout .link-secondary:hover,
body.auth-layout .link-secondary:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* 11) Member filters card – tighten typography slightly */

.filters-card .card-body {
  font-size: 0.85rem;
}

/* 12) Settings Hub layout */

.settings-hub-hero {
  background: linear-gradient(135deg, rgba(20, 112, 172, 0.12), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(20, 112, 172, 0.18);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.settings-hub-hero__main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.settings-hub-hero__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.settings-hub-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 20px rgba(15, 31, 53, 0.06);
}

.settings-hub-status__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: rgba(20, 112, 172, 0.12);
  color: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.settings-hub-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .settings-hub-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .settings-hub-hero__actions {
    align-items: flex-end;
    text-align: right;
  }
}

.settings-hub-nav {
  position: sticky;
  top: calc(var(--app-header-height) + 1rem);
  border-radius: 1rem;
}

@media (max-width: 991.98px) {
  .settings-hub-nav {
    position: static;
  }
}

.settings-hub-nav .list-group-item {
  border: 1px solid transparent;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #ffffff;
  color: inherit;
}

.settings-hub-nav .list-group-item:last-child {
  margin-bottom: 0;
}

.settings-hub-nav__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: #f1f5f9;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.settings-hub-nav__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.settings-hub-nav__label {
  font-weight: 600;
}

.settings-hub-nav__desc {
  font-size: 0.75rem;
  color: #6c757d;
}

.settings-hub-nav .list-group-item.active,
.settings-hub-nav .list-group-item.active:hover,
.settings-hub-nav .list-group-item.active:focus {
  background-color: rgba(20, 112, 172, 0.1);
  border-color: rgba(20, 112, 172, 0.2);
  color: #0f5a89;
  font-weight: 600;
}

.settings-hub-nav .list-group-item.active .settings-hub-nav__icon {
  background: rgba(20, 112, 172, 0.18);
  color: var(--bs-primary);
}

.settings-hub-section {
  border-radius: 1rem;
  border: 1px solid var(--bs-border-color);
}

.settings-hub-section .card-header {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--bs-border-color);
}

.settings-hub-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.settings-hub-section__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.settings-hub-section__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-primary);
  flex-shrink: 0;
}

.settings-hub-section__eyebrow {
  letter-spacing: 0.08em;
}

.settings-hub-inline-meta {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .settings-hub-inline-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* 13) Profile edit */

.profile-edit-hero {
  background: linear-gradient(135deg, rgba(20, 112, 172, 0.16), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(20, 112, 172, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-edit-hero__main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-edit-hero__avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.95rem;
  background: #ffffff;
  border: 1px solid var(--bs-border-color);
  color: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(15, 31, 53, 0.12);
}

.profile-edit-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.profile-stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  min-width: 220px;
  box-shadow: 0 10px 20px rgba(15, 31, 53, 0.08);
}

.profile-stat-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: rgba(20, 112, 172, 0.12);
  color: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.profile-section .card-header {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--bs-border-color);
}

.profile-section__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-section__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.profile-security-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(20, 112, 172, 0.08);
  border: 1px dashed rgba(20, 112, 172, 0.35);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.profile-security-note .bi {
  color: var(--bs-primary);
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.profile-side-card {
  border-radius: 1rem;
}

.profile-checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.profile-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.profile-checklist .bi {
  color: var(--bs-primary);
}

.profile-checklist li.is-pending {
  color: #6c757d;
}

.profile-checklist li.is-pending .bi {
  color: #cbd5e1;
}

.profile-checklist li.is-complete .bi {
  color: var(--bs-primary);
}

@media (min-width: 992px) {
  .profile-edit-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .profile-edit-hero__main {
    max-width: 52%;
  }
}

/* 1) Header logo size */

header.border-bottom.bg-white.shadow-sm.sticky-top .app-logo {
  height: 56px;
  width: auto;
  display: block;
}

.bookmark-jurisdiction-toggle,
.bookmark-jurisdiction-toggle.show,
.bookmark-jurisdiction-toggle:hover,
.bookmark-jurisdiction-toggle:focus {
  background-color: #ffffff;
  border-color: var(--bs-border-color);
  color: var(--bs-body-color);
}

.bookmark-jurisdiction-menu .dropdown-item.active,
.bookmark-jurisdiction-menu .dropdown-item:active {
  background-color: var(--bs-primary);
  color: #ffffff;
}
