/* Draft email should read as prose, not source code. */
.ai-draft-email {
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5;
}

/* Match Portal page width — content + nav share one centered shell */
.ibi-page-shell {
  max-width: 1600px;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.ibi-page-shell .container {
  max-width: 100%;
}

body {
  background-color: #fff;
}

/* App-wide elevated cards (white + offset shadow + rounder corners) */
.ibi-page-shell .card {
  background-color: #fff;
  border-color: rgba(15, 23, 42, 0.06);
  border-radius: 0.85rem;
  box-shadow:
    3px 3px 0 rgba(15, 23, 42, 0.04),
    6px 8px 18px rgba(15, 23, 42, 0.08);
}

/* Review list — match Portal courses density (code / id tint) */
.review-code {
  color: #b03a6b;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  padding: 0;
}

/* Create/edit forms — constrained width like Portal detail forms */
.account-form,
.contact-form {
  max-width: 40rem;
}

/* Leadfeeder discovery — two-way sort switch (left / right) */
.prospect-sort-switch {
  display: inline-flex;
  align-items: stretch;
  padding: 2px;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  background: var(--bs-secondary-bg);
  gap: 0;
}

.prospect-sort-switch__opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  line-height: 1.25;
  color: var(--bs-secondary-color);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.prospect-sort-switch__opt:hover {
  color: var(--bs-body-color);
}

.prospect-sort-switch__opt.is-active {
  background: #fff;
  color: var(--bs-body-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-weight: 500;
}

/* Magenta outline — Enrich from web (matches .review-code accent) */
.btn-outline-magenta {
  --bs-btn-color: #b03a6b;
  --bs-btn-border-color: #b03a6b;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #b03a6b;
  --bs-btn-hover-border-color: #b03a6b;
  --bs-btn-focus-shadow-rgb: 176, 58, 107;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #96325b;
  --bs-btn-active-border-color: #96325b;
  --bs-btn-disabled-color: #b03a6b;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #b03a6b;
}

/* Edit contact — white fill at rest; warning yellow on hover */
.contact-360-edit-btn.btn-outline-warning {
  background-color: #fff;
}

.contact-360-edit-btn.btn-outline-warning:hover,
.contact-360-edit-btn.btn-outline-warning:focus {
  background-color: var(--bs-warning);
}

/* Hide Add task/note toggles while their collapse form is open */
.btn-add-collapse[aria-expanded="true"] {
  display: none;
}

.contact-form-save-btn.btn-outline-success,
.btn-outline-success.btn-white-fill {
  background-color: #fff;
}

.contact-form-save-btn.btn-outline-success:hover,
.contact-form-save-btn.btn-outline-success:focus,
.btn-outline-success.btn-white-fill:hover,
.btn-outline-success.btn-white-fill:focus {
  background-color: var(--bs-success);
}

.contact-form-cancel-btn.btn-outline-secondary,
.btn-outline-secondary.btn-white-fill {
  background-color: #fff;
}

.contact-form-cancel-btn.btn-outline-secondary:hover,
.contact-form-cancel-btn.btn-outline-secondary:focus,
.btn-outline-secondary.btn-white-fill:hover,
.btn-outline-secondary.btn-white-fill:focus {
  background-color: var(--bs-secondary);
}

.btn-outline-danger.btn-white-fill {
  background-color: #fff;
}

.btn-outline-danger.btn-white-fill:hover,
.btn-outline-danger.btn-white-fill:focus {
  background-color: var(--bs-danger);
}

.btn-outline-primary.btn-white-fill {
  background-color: #fff;
}

.btn-outline-primary.btn-white-fill:hover,
.btn-outline-primary.btn-white-fill:focus {
  background-color: var(--bs-primary);
}

/* Contact/Account 360 / edit — empty-state / meta muted a step lighter than Bootstrap default */
.contact-360-header-row .text-muted,
.contact-360-body-row .text-muted,
.opp-360-body-row .text-muted,
.contact-form-edit .text-muted,
.account-form-edit .text-muted {
  color: #b0b5bb !important;
}

/* Former relationship title — lighter than Bootstrap text-muted */
.rel-title-former {
  color: #b0b5bb;
}

/* Contact/Account 360 / edit — one gap for every badge (overrides mixed ms-* utilities) */
.contact-360-header-row .badge,
.contact-360-body-row .badge,
.contact-form-edit .badge,
.account-form-edit .badge {
  margin-left: 0.5rem !important;
}

/* Timeline body text: share the row with date/badge; wrap inside the item. */
.timeline-line-text {
  flex: 1 1 0;
  min-width: 0;
}

/* Soft outline chips — sources (cool blue) vs nurture streams (warm sand) */
.badge.source-chip {
  background-color: #e7f0f7 !important;
  color: #3d5a73 !important;
  font-weight: 500;
  border: 1px solid #c5d6e4;
}

a.badge.source-chip:hover,
a.badge.source-chip:focus {
  color: #2c4256 !important;
  border-color: #9fb6c9;
}

.badge.nurture-stream-chip {
  background-color: #f3ebe1 !important;
  color: #6b5344 !important;
  font-weight: 500;
  border: 1px solid #ddd0c0;
}

a.badge.nurture-stream-chip:hover,
a.badge.nurture-stream-chip:focus {
  color: #534032 !important;
  border-color: #c9b8a4;
}

/* Declared group = asserted signup (not a stream query result). Cool slate vs warm cream. */
.badge.declared-group-chip {
  background-color: #e8eef3 !important;
  color: #2c4256 !important;
  font-weight: 500;
  border: 1px solid #9fb6c9;
}

/* Navattic admin deep-link next to provenance badge */
a.navattic-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.3rem;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}
a.navattic-link:hover,
a.navattic-link:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(36, 28, 21, 0.15);
}
a.navattic-link img {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0.2rem;
}

/* Leadfeeder admin deep-link next to provenance badge */
a.leadfeeder-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.3rem;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}
a.leadfeeder-link:hover,
a.leadfeeder-link:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(36, 28, 21, 0.15);
}
a.leadfeeder-link img {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0.2rem;
}

/* Account invoices page — 30% summary / 70% list on large screens */
@media (min-width: 992px) {
  .account-invoices-layout > .account-invoices-summary {
    flex: 0 0 30%;
    max-width: 30%;
  }
  .account-invoices-layout > .account-invoices-list {
    flex: 0 0 70%;
    max-width: 70%;
  }
}

/* Learning platform card — 30% snapshot / 70% month table */
.learning-platform-layout {
  gap: 1.75rem;
}
@media (min-width: 992px) {
  .learning-platform-layout {
    gap: 2.5rem;
  }
  .learning-platform-layout > .learning-platform-summary {
    flex: 0 0 30%;
    max-width: 30%;
  }
  .learning-platform-layout > .learning-platform-months {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
}
.learning-platform-months {
  padding-right: 0.75rem;
}
.learning-platform-months-table {
  border-collapse: collapse;
}
/* Match Revenue card recent-invoice rows (.py-1 = 0.25rem). */
.learning-platform-months-table > :not(caption) > * > * {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  border: 0 !important;
}
.learning-platform-months-table > :not(caption) > * {
  border: 0 !important;
}
.learning-platform-months-table thead th {
  border-bottom: 1px solid var(--bs-border-color, #dee2e6) !important;
  font-weight: 700;
  color: var(--bs-secondary-color, #6c757d);
}
.metric-emphasis {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  vertical-align: -0.1em;
}

/* QuickBooks admin deep-link next to provenance badge */
a.quickbooks-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.3rem;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}
a.quickbooks-link:hover,
a.quickbooks-link:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(36, 28, 21, 0.15);
}
a.quickbooks-link img {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0.2rem;
}

/* ibi Portal admin deep-link next to provenance badge */
a.ibiportal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.3rem;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}
a.ibiportal-link:hover,
a.ibiportal-link:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}
a.ibiportal-link img {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

/* Mailchimp admin deep-link next to email addresses */
a.mailchimp-email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.3rem;
  background: #f3e9b8;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}
a.mailchimp-email-link:hover,
a.mailchimp-email-link:focus {
  filter: brightness(0.97);
  outline: none;
  box-shadow: 0 0 0 2px rgba(36, 28, 21, 0.15);
}
a.mailchimp-email-link img {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

/* Hunter.io lookup icon — same slot as Mailchimp */
.hunter-email-link,
summary.hunter-email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.3rem;
  background: transparent;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
  list-style: none;
  cursor: pointer;
  border: none;
  padding: 0;
}
summary.hunter-email-link::-webkit-details-marker {
  display: none;
}
.hunter-email-link:hover,
.hunter-email-link:focus,
summary.hunter-email-link:hover,
summary.hunter-email-link:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(92, 51, 23, 0.15);
}
.hunter-email-link img,
summary.hunter-email-link img {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}
details.hunter-lookup {
  position: relative;
}
details.hunter-lookup[open] > .hunter-lookup-box,
details.hunter-lookup .hunter-lookup-box {
  position: absolute;
  left: 0;
  top: calc(100% + 0.25rem);
  z-index: 5;
  min-width: 14rem;
  max-width: 20rem;
  padding: 0.6rem 0.75rem;
  /* Fixed size so edit form matches contact 360 (there the box sits inside .small). */
  font-size: 0.75rem;
  background: #fff;
  border: 1px solid #ddd0c0;
  border-radius: 0.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Global — mute bright Bootstrap badge fills (subtle surfaces + dark text) */
.badge.bg-primary,
.badge.bg-primary-subtle {
  background-color: #e2e8f4 !important;
  color: #3d4f6f !important;
}

.badge.bg-success,
.badge.bg-success-subtle {
  background-color: #d7ebe0 !important;
  color: #1e5c3a !important;
}

/* Open-opportunity "Selling" — full dark green, white text (not muted). */
.badge.selling-badge {
  background-color: #146c43 !important;
  color: #fff !important;
}

.badge.bg-danger,
.badge.bg-danger-subtle {
  background-color: #f0d6d9 !important;
  color: #842029 !important;
}

.badge.bg-warning,
.badge.bg-warning-subtle {
  background-color: #f5e6c8 !important;
  color: #664d03 !important;
}

.badge.bg-info,
.badge.bg-info-subtle {
  background-color: #d9eaf3 !important;
  color: #0c5460 !important;
}

.badge.bg-secondary,
.badge.bg-secondary-subtle {
  background-color: #e4e6e8 !important;
  color: #495057 !important;
}

.badge.bg-light {
  background-color: #eef0f2 !important;
  color: #495057 !important;
}

.contact-360-score-number {
  font-size: 3.75rem;
}

.contact-360-header-score .contact-360-score-value {
  padding-right: 0.75rem;
}

/* Compact due-date picker on Add task forms */
input.task-due-date[type="date"] {
  width: 9.5rem;
  max-width: 9.5rem;
}

/* 360 header: 65% main / 12% Known to / 23% score */
@media (min-width: 992px) {
  .contact-360-header-row > .contact-360-header-main {
    flex: 0 0 65%;
    max-width: 65%;
  }

  .contact-360-header-row > .contact-360-header-known {
    flex: 0 0 12%;
    max-width: 12%;
  }

  .contact-360-header-row > .contact-360-header-score {
    flex: 0 0 23%;
    max-width: 23%;
  }

  /* Contact 360 body: 50% / 50% */
  .contact-360-body-row > .contact-360-body-main {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .contact-360-body-row > .contact-360-body-side {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Edit contact/account: 40% main / 60% side — use the shell width */
.contact-form-edit,
.account-form-edit {
  max-width: none;
}

@media (min-width: 992px) {
  .contact-form-edit-row > .contact-form-edit-main {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .contact-form-edit-row > .contact-form-edit-rels {
    flex: 0 0 60%;
    max-width: 60%;
  }

  .account-form-edit-row > .account-form-edit-main,
  .account-form-edit-row > .account-form-edit-side {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Account edit — align contact name / title / status columns */
.account-form-edit .account-form-rel-row {
  display: grid;
  grid-template-columns: minmax(7rem, 0.9fr) minmax(0, 1.4fr) 7.5rem;
  gap: 0.5rem;
  align-items: center;
}

.contact-form-edit-rels .form-label,
.contact-rel-table th {
  font-weight: 400;
}

.contact-rel-table {
  --bs-table-bg: transparent;
}

.contact-rel-table th {
  white-space: nowrap;
}

.contact-rel-table th:nth-child(1),
.contact-rel-table td:nth-child(1) {
  width: 30%;
}

.contact-rel-table th:nth-child(2),
.contact-rel-table td:nth-child(2) {
  width: 25%;
}

.contact-rel-table th:nth-child(3),
.contact-rel-table td:nth-child(3) {
  width: 30%;
}

.contact-rel-table th:nth-child(4),
.contact-rel-table td:nth-child(4) {
  width: 15%;
}

.contact-rel-table td:first-child a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* Opportunity — muted red close date when past due */
.opp-close-overdue,
.opp-close-overdue time {
  color: #c97a82;
}

/* Opportunity 360 — three columns: details 25% / notes 40% / tasks 35% */
@media (min-width: 992px) {
  .opp-360-body-row > .opp-360-col:nth-child(1) {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .opp-360-body-row > .opp-360-col:nth-child(2) {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .opp-360-body-row > .opp-360-col:nth-child(3) {
    flex: 0 0 35%;
    max-width: 35%;
  }
}

/* Opportunity 360 — single field column, label | value aligned */
.opp-detail-fields {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.55rem;
  align-items: baseline;
}

.opp-detail-label {
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

.opp-detail-value {
  min-width: 0;
}

.opp-form-fields .form-check {
  min-height: 0;
}

.opp-form-fields .form-check-input {
  margin-top: 0.2em;
}

.opp-form-fields .input-group {
  flex-wrap: nowrap;
}

/* Portal tenants workbench — content-width, tight columns (mapped-first density) */
.portal-tenant-table {
  width: auto;
  max-width: 100%;
}
.portal-tenant-table > :not(caption) > * > * {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}
.portal-tenant-table th:first-child,
.portal-tenant-table td:first-child {
  padding-left: 0;
}
.portal-tenant-table th:last-child,
.portal-tenant-table td:last-child {
  padding-right: 0;
  padding-left: 0.75rem;
}

/* Prospect lists — long company names / reasons don't blow out the table.
   Table layout ignores max-width on td unless overflow is clipped. */
.prospect-list-name {
  max-width: 14rem;
  width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prospect-list-name-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.prospect-list-name__text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}
.prospect-list-name a.prospect-list-name__text {
  display: block;
  vertical-align: bottom;
}
.prospect-list-clip {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Review ignored — reason is the point of the row; use the spare width. */
.review-ignore-reason {
  min-width: 16rem;
  max-width: 36rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Accounts list — Name wider; Source capped so ~2 chips / row, 3rd wraps */
.account-list-table th:first-child,
.account-list-table td.account-list-name {
  max-width: 16rem;
  width: 16rem;
}

.account-list-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-list-name a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.account-list-table th:nth-child(2),
.account-list-table td.account-list-source {
  width: 11.5rem;
  max-width: 11.5rem;
}

.account-list-table th:last-child,
.account-list-table td.account-list-streams {
  min-width: 16rem;
}

.account-list-streams .badge.nurture-stream-chip,
.account-list-streams .badge.declared-group-chip,
.account-list-source .badge.source-chip {
  font-size: 0.7rem;
  font-weight: 500;
}

/* /admin/sources — schema Profile affordance (smaller, still clearly a link) */
a.source-mirror-profile {
  color: #6ea8fe;
  text-decoration: none;
}
a.source-mirror-profile:hover,
a.source-mirror-profile:focus {
  color: #9ec5fe;
  text-decoration: underline;
}

/* Account form — domain chip input (compact multi-value) */
.domain-chips-hint {
  font-size: 0.7rem;
  line-height: 1.2;
}

.domain-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-height: calc(1.5em + 0.5rem + 2px);
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-sm);
  background-color: var(--bs-body-bg);
  cursor: text;
}

.domain-chips:focus-within {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.domain-chips-list {
  display: contents;
}

.domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
  padding: 0.1rem 0.35rem 0.1rem 0.45rem;
  border-radius: 0.25rem;
  background: var(--bs-secondary-bg);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.domain-chip-label {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.domain-finder-results {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
}

.domain-finder-row {
  cursor: pointer;
}

.domain-chip-hunter {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--bs-secondary-color, #6c757d);
}

.badge .domain-chip-hunter {
  color: inherit;
  opacity: 0.85;
}

.domain-chip-hunter-count {
  font-size: 0.65rem;
  line-height: 1;
}

.domain-chip-primary {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  line-height: 1;
}

.domain-chip-remove {
  border: 0;
  background: transparent;
  padding: 0 0.15rem;
  color: var(--bs-secondary-color);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.domain-chip-remove:hover {
  color: var(--bs-body-color);
}

.domain-chips-input {
  flex: 1 1 8rem;
  min-width: 7rem;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0.15rem 0.25rem !important;
  background: transparent !important;
}

/* Header global type-ahead */
.global-search {
  position: relative;
}

.global-search__wrap {
  position: relative;
  width: 14rem;
}

.global-search__input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.global-search__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.global-search__input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: none;
}

.global-search__results {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  left: 0;
  min-width: 18rem;
  max-height: 24rem;
  overflow-y: auto;
  z-index: 1080;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  padding: 0.35rem 0;
}

.global-search__group {
  padding: 0.4rem 0.75rem 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.global-search__row {
  display: block;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  color: inherit;
}

.global-search__row:hover,
.global-search__row:focus {
  background: var(--bs-secondary-bg);
  color: inherit;
}

.global-search__row-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.875rem;
}

.global-search__label {
  font-weight: 500;
}

.global-search__sublabel {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
  margin-top: 0.1rem;
}

.global-search__empty {
  padding: 0.6rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
}

@media (max-width: 991.98px) {
  .global-search {
    width: 100%;
    margin: 0.5rem 0;
  }

  .global-search__wrap {
    width: 100%;
  }

  .global-search__results {
    left: 0;
    right: 0;
    min-width: 0;
  }
}
