@import url("libraries/fontPlusJakartaSans.7beda76576bd.css");

/* Portal brand palette (aligned to logo colors) */
:root {
  --portal-bg: #08091c;
  --portal-surface: #ffffff;
  --portal-accent: #aed91f;
  --portal-accent-hover: #a8c028;
  --portal-accent-active: #95ac21;
  --portal-accent-soft: rgba(188, 212, 53, 0.2);
  --portal-accent-muted: #dbe6aa;
  --portal-ink-soft: #2b3160;
  --portal-squircle-radius: 11px;
}

.zip-select {
  width: 300px;
}

.staffrep-select {
  width: 350px;
}

.guardian-select {
  width: 400px;
}

.insurance-select,
.bcba-select,
.bcba-lead-select {
  width: 350px;
}

.bt-attempt-select {
  width: 320px;
}

.therapist-select,
.contact-select {
  width: 100%;
}

.select-width-200 {
  width: 200px;
}

.city-override-input {
  width: min(22rem, 100%);
}

/* Top banner styles */
.top-banner {
  background-color: #009e81;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 !important;   /* Override Bootstrap padding */

}

.top-banner-text {
  color: #ffffff;  /* white text */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* optional: adds contrast */
  font-weight: 700;
  font-size: 2rem;
  line-height: normal;
}

/* Main navbar background */
.main-navbar {
  background-color: #08091c;
  padding: 0 0.75rem 0 0;
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.main-navbar .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.portal-logo-link {
  padding: 0 !important;
  margin-right: 2rem;
  display: flex;
  align-items: center;
  height: 64px;
  line-height: 0;
}

.portal-logo {
  height: 64px;
  max-height: 64px;
  width: auto;
  display: block;
}

.portal-logo-flyout-wrap {
  position: relative;
  margin-right: 2rem;
}

.portal-logo-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-right: 0;
}

.portal-logo-toggle:focus {
  outline: none;
}

.portal-logo-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(188, 212, 53, 0.35);
  border-radius: 8px;
}

.portal-flyout {
  position: fixed;
  top: var(--portal-flyout-top, 64px);
  left: var(--portal-flyout-left, 0);
  width: min(350px, calc(100vw - 1.5rem));
  max-height: calc(100vh - var(--portal-flyout-top, 64px));
  overflow-y: auto;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(8, 9, 28, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 42px rgba(8, 9, 28, 0.18);
  z-index: 1040;
}

.portal-flyout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.portal-flyout-home-link {
  color: #171f4a;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.portal-flyout-home-link:hover,
.portal-flyout-home-link:focus {
  color: #171f4a;
  text-decoration: none;
}

.portal-flyout-close {
  border: 0;
  background: transparent;
  color: rgba(23, 31, 74, 0.72);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.portal-flyout-body {
  display: grid;
  gap: 0.7rem;
}

.portal-flyout-section + .portal-flyout-section {
  padding-top: 0.7rem;
  border-top: 1px solid rgba(8, 9, 28, 0.08);
}

.portal-flyout-title {
  margin: 0 0 0.35rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(23, 31, 74, 0.16);
  color: #171f4a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portal-flyout-links {
  display: flex;
  flex-direction: column;
}

.portal-flyout-link {
  display: block;
  padding: 0.38rem 0;
  color: #171f4a;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.12s ease;
}

.portal-flyout-link:hover,
.portal-flyout-link:focus {
  background: rgba(188, 212, 53, 0.12);
  color: #171f4a;
  text-decoration: none;
  padding-left: 0.2rem;
  border-radius: 6px;
}


@media (min-width: 992px) {
  .main-navbar .navbar-collapse {
    align-items: flex-end;
  }

  .main-navbar .nav-link {
    padding-top: 0.35rem;
    padding-bottom: 0.15rem;
  }
}

@media (max-width: 576px) {
  .main-navbar {
    min-height: 48px;
  }

  .portal-logo-link {
    height: 48px;
    margin-right: 0;
  }

  .portal-logo-flyout-wrap {
    margin-right: 1rem;
  }

  .portal-flyout {
    top: var(--portal-flyout-top, 48px);
    left: var(--portal-flyout-left, 0);
    width: min(320px, calc(100vw - 1rem));
  }

  .portal-logo {
    height: 48px;
    max-height: 48px;
  }
}

/* Main navbar link color */
.main-navbar .nav-link {
  color: #ffffff !important;
  margin-right: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.main-navbar .navbar-nav .nav-link:not(.user-menu-toggle) {
  border-radius: 0.4rem;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.main-navbar .navbar-nav .nav-link:not(.user-menu-toggle):hover,
.main-navbar .navbar-nav .nav-link:not(.user-menu-toggle):focus {
  color: var(--portal-accent) !important;
  background-color: rgba(188, 212, 53, 0.1);
  text-decoration: none;
}

.main-navbar .user-menu-toggle {
  background: #121633;
  border: 1px solid #5e6f24;
  border-radius: 999px;
  padding: 0.35rem 0.8rem !important;
  margin-right: 0;
  color: #d8e59a !important;
  text-transform: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.main-navbar .user-menu-toggle:hover,
.main-navbar .user-menu-toggle:focus {
  background: #1b2248;
  border-color: var(--portal-accent);
  color: #f2f7d8 !important;
  text-decoration: none;
}

.main-navbar .user-menu .dropdown-toggle::after {
  margin-left: 0.35rem;
}

.main-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

/* .main-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
} */

.main-navbar .user-menu .dropdown-menu {
  margin-top: 0.1rem;
}

.main-navbar .user-menu-logout {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
}

.portal-page {
  --portal-soft-border: rgba(8, 9, 28, 0.14);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1.25rem;
}

.portal-hero-card {
  border: 1px solid rgba(8, 9, 28, 0.14);
  border-top: 1px solid rgba(188, 212, 53, 0.6);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, var(--portal-surface) 100%);
  box-shadow: none;
  padding: 1rem 1rem 0.9rem;
  margin-bottom: 0.9rem;
}

.portal-hero-card--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.portal-hero-main {
  min-width: 0;
}

.portal-hero-subtitle {
  font-size: 0.9rem;
  color: rgba(8, 9, 28, 0.7);
}

.portal-content-card {
  border: 1px solid rgba(8, 9, 28, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, var(--portal-surface) 100%);
  box-shadow: none;
  padding: 1rem;
}

.portal-nav-section {
  border-top: 0;
  padding: 0.9rem 0.72rem 0.9rem;
  background: transparent;
  position: relative;
}

.portal-nav-section::before {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  margin-bottom: 0.9rem;
  background: linear-gradient(
    90deg,
    rgba(8, 9, 28, 0) 0%,
    rgba(8, 9, 28, 0.95) 12%,
    rgba(8, 9, 28, 0.95) 88%,
    rgba(8, 9, 28, 0) 100%
  );
}


.portal-nav-section + .portal-nav-section {
  margin-top: 0.75rem;
}

.portal-section-title {
  margin: 0 0 0.7rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--portal-bg);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}



.portal-button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
  margin-bottom: 0;
}

.portal-button-grid--admin {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.portal-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  border-radius: var(--portal-squircle-radius);
  border: 0;
  background: linear-gradient(180deg, #252f68 0%, #171f4a 100%);
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(8, 9, 28, 0.12);
  font-size: 1.03rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.portal-nav-button:hover,
.portal-nav-button:focus {
  text-decoration: none;
  color: #c7eb5f !important;
  background: linear-gradient(180deg, #252f68 0%, #171f4a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.portal-nav-button:active {
  transform: translateY(0);
  color: #ffffff !important;
  background: linear-gradient(180deg, #1f295e 0%, #141b41 100%);
}

.portal-home-page,
.portal-admin-page {
  text-align: center;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
}

.portal-home-page .portal-hero-card--split,
.portal-admin-page .portal-hero-card--split {
  justify-content: center;
}

.portal-home-page .portal-hero-card,
.portal-admin-page .portal-hero-card {
  margin-bottom: 0.6rem;
}

.portal-home-page .portal-hero-card {
  padding-bottom: 0.6rem;
}

.portal-admin-page .portal-hero-card {
  padding-bottom: 0.45rem;
}

.portal-home-page .portal-content-card,
.portal-admin-page .portal-content-card,
.portal-home-page .portal-hero-card,
.portal-admin-page .portal-hero-card {
  border: 0;
}

.portal-home-page .portal-content-card > .lv-entity-search {
  margin-bottom: 0 !important;
}

.portal-home-page .portal-content-card > .lv-entity-search + .portal-nav-section,
.portal-home-page .portal-content-card > .portal-nav-section:first-child,
.portal-admin-page .portal-content-card > .portal-nav-section:first-child {
  padding-top: 0.45rem;
}

.portal-home-page .portal-content-card > .lv-entity-search + .portal-nav-section::before,
.portal-home-page .portal-content-card > .portal-nav-section:first-child::before,
.portal-admin-page .portal-content-card > .portal-nav-section:first-child::before {
  margin-bottom: 0.65rem;
}

.portal-home-page .portal-section-title,
.portal-admin-page .portal-section-title {
  width: 100%;
  justify-content: center;
}

.portal-home-page .portal-button-grid,
.portal-admin-page .portal-button-grid,
.portal-admin-page .portal-button-grid--admin {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.portal-home-page .portal-nav-button,
.portal-admin-page .portal-nav-button {
  width: 228px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .portal-hero-card--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-home-page .portal-hero-card--split,
  .portal-admin-page .portal-hero-card--split {
    align-items: center;
  }
}

/* Styled button */
.top-banner-button {
  background-color: #c8dc6c;
  color: var(--portal-bg) !important;
  font-weight: 600;
  font-size: 1.1rem;
  width: 200px;
  text-align: center;
  border: 1px solid #b0c454;
  border-radius: 6px;
  padding: 10px 0;
  margin: 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.top-banner-button:hover,
.top-banner-button:focus {
  background-color: var(--portal-bg);
  border-color: var(--portal-bg);
  color: #ffffff !important;
  text-decoration: none;
  outline: none;
}

/* Bootstrap button theme overrides */
.btn-primary {
  background-color: var(--portal-accent);
  border-color: var(--portal-accent);
  color: #0e122f !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  background-color: var(--portal-bg);
  border-color: var(--portal-bg);
  color: #ffffff !important;
}

.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(8, 9, 28, 0.25);
}

.btn-primary.disabled,
.btn-primary:disabled {
  background-color: #8b973f;
  border-color: #8b973f;
  color: #e9edcf;
}

.btn-outline-primary {
  color: #6c8127 !important;
  border-color: #93a93b;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  background-color: var(--portal-accent);
  border-color: var(--portal-accent);
  color: #0e122f !important;
}

.btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem var(--portal-accent-soft);
}

.btn-success {
  background-color: #2f8f63;
  border-color: #2f8f63;
  color: #ffffff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success:not(:disabled):not(.disabled):active,
.btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
  background-color: #267652;
  border-color: #267652;
  color: #ffffff;
}

.btn-success:focus,
.btn-success:not(:disabled):not(.disabled):active:focus,
.btn-success:not(:disabled):not(.disabled).active:focus,
.show > .btn-success.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(47, 143, 99, 0.25);
}

/* Tab/list active states on edit pages (Profile/Insurance/Staffing/etc.) */
.list-group-item.active,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.nav-tabs .nav-link.active,
.page-item.active .page-link {
  background-color: var(--portal-bg) !important;
  border-color: var(--portal-bg) !important;
  color: #ffffff !important;
}

.page-link {
  color: #3a4ea6;
}

.page-link:hover,
.page-link:focus {
  color: #283987;
}

.btn-link {
  color: #4d66c4;
}

.btn-link:hover,
.btn-link:focus {
  color: #304aa8;
}


.client-data-notice {
  background-color: #f2f2f2;      /* mild neutral gray */
  border-bottom: 1px solid #d6d6d6;
  min-height: 24px;
  padding: 2px 0;                /* vertical slimness */
}

.client-data-notice-text {
  font-weight: 600;
  font-size: 0.85rem;            /* slightly smaller than nav */
  color: #a00000;                /* muted red */
  line-height: 1.2;
  text-align: center;
}



/* Email Template Form Overrides */
.email-template-form input,
.email-template-form textarea {
    width: 100%;         /* Full width of container */
    font-size: 1rem;     /* Slightly larger font for readability */
    padding: 8px 12px;   /* Comfortable padding inside the input */
}

/* Error messages */
.email-template-form .field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 4px;
}

/* Quill editor */
.email-template-form #quill-editor {
    height: 500px;
}


.custom-primary-badge {
    background-color: #28db00;      /* new background color */
    color: #000000;                 /* off-white text */
    font-weight: bold;             /* remove bold */
    padding: 0.25em 0.5em;          /* smaller padding for compact size */
    font-size: 0.75rem;              /* smaller text */
    border-radius: 0.2rem;          /* slightly rounded corners */
    text-transform: uppercase;      /* optional: all caps */
}



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

@media (max-width: 768px) {
    .insurance-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .insurance-columns {
        grid-template-columns: 1fr;
    }
}

.insurance-column > div {
    margin-bottom: 0.5rem;
}

.insurance-column > div:last-child {
    margin-bottom: 0;
}




.bcba-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #e9ecef;   /* light gray */
  color: #000;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

.popover {
  max-width: 320px;
}

.popover-body {
  font-size: 0.9rem;
  line-height: 1.4;
}

.popover.weekly-billing-refresh-popover{
  max-width: 520px;
}

.popover.weekly-billing-refresh-popover .popover-body{
  max-height: 46vh;
  overflow: auto;
}

.weekly-billing-refresh-popover__summary{
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #4b5563;
}

.weekly-billing-refresh-popover__stats{
  display:flex;
  flex-wrap:wrap;
  gap:0.35rem 0.75rem;
  margin-bottom:0.6rem;
  font-size:0.74rem;
}

.weekly-billing-refresh-popover__stats strong{
  color:#111827;
}

.weekly-billing-refresh-popover__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:0.6rem;
}

.weekly-billing-refresh-popover__section{
  border:1px solid rgba(8, 9, 28, 0.12);
  border-radius:8px;
  padding:0.45rem 0.55rem;
  background:#fff;
}

.weekly-billing-refresh-popover__section-title{
  font-size:0.74rem;
  font-weight:700;
  color:#111827;
  line-height:1.2;
}

.weekly-billing-refresh-popover__section-desc{
  font-size:0.7rem;
  line-height:1.25;
  color:#6b7280;
  margin-top:0.15rem;
  margin-bottom:0.35rem;
}

.weekly-billing-refresh-popover__columns{
  display:flex;
  flex-wrap:wrap;
  gap:0.25rem;
}

.weekly-billing-refresh-popover__columns span{
  display:inline-flex;
  align-items:center;
  padding:0.15rem 0.35rem;
  border-radius:999px;
  background:rgba(8, 9, 28, 0.05);
  color:#1f2937;
  font-size:0.68rem;
  line-height:1.1;
}

.form-control-plaintext-wrap {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/*----------------------- Highlighting Rows -------------------*/
/* critical row highlight */
.listview.tabulator .tabulator-row.lv-row-critical {
  --lv-row-bg: #ffe6e6; /* light red background */
  background-color: var(--lv-row-bg); /* lv-row-bg because frozen rows will also be highlighted */
}

.listview.tabulator .tabulator-row.lv-row-claim-status-green,
.listview.tabulator .tabulator-row.lv-row-claim-status-green.tabulator-row-even,
.listview.tabulator .tabulator-row.lv-row-claim-status-green:hover {
  --lv-row-bg: #e8f7ed;
  background-color: var(--lv-row-bg);
}

.listview.tabulator .tabulator-row.lv-row-claim-status-red,
.listview.tabulator .tabulator-row.lv-row-claim-status-red.tabulator-row-even,
.listview.tabulator .tabulator-row.lv-row-claim-status-red:hover {
  --lv-row-bg: #fdecec;
  background-color: var(--lv-row-bg);
}

.listview.tabulator .tabulator-row.lv-row-claim-status-cyan,
.listview.tabulator .tabulator-row.lv-row-claim-status-cyan.tabulator-row-even,
.listview.tabulator .tabulator-row.lv-row-claim-status-cyan:hover {
  --lv-row-bg: #e6f7fb;
  background-color: var(--lv-row-bg);
}

.listview.tabulator .tabulator-row.lv-row-claim-status-purple,
.listview.tabulator .tabulator-row.lv-row-claim-status-purple.tabulator-row-even,
.listview.tabulator .tabulator-row.lv-row-claim-status-purple:hover {
  --lv-row-bg: #f1e9ff;
  background-color: var(--lv-row-bg);
}

.listview.tabulator .tabulator-row.lv-row-claim-status-yellow,
.listview.tabulator .tabulator-row.lv-row-claim-status-yellow.tabulator-row-even,
.listview.tabulator .tabulator-row.lv-row-claim-status-yellow:hover {
  --lv-row-bg: #fff8db;
  background-color: var(--lv-row-bg);
}

.listview.tabulator .tabulator-row.lv-row-claim-status-brown,
.listview.tabulator .tabulator-row.lv-row-claim-status-brown.tabulator-row-even,
.listview.tabulator .tabulator-row.lv-row-claim-status-brown:hover {
  --lv-row-bg: #f3eadf;
  background-color: var(--lv-row-bg);
}

.listview.tabulator .tabulator-row.lv-row-claim-status-orange,
.listview.tabulator .tabulator-row.lv-row-claim-status-orange.tabulator-row-even,
.listview.tabulator .tabulator-row.lv-row-claim-status-orange:hover {
  --lv-row-bg: #fff0df;
  background-color: var(--lv-row-bg);
}

.listview.tabulator .tabulator-row.lv-row-claim-status-white,
.listview.tabulator .tabulator-row.lv-row-claim-status-white.tabulator-row-even,
.listview.tabulator .tabulator-row.lv-row-claim-status-white:hover {
  --lv-row-bg: #ffffff;
  background-color: var(--lv-row-bg);
}

.alert-deadline-yellow {
  background-color: #fff8db;
  border-color: #f5d876;
  color: #6b5a00;
}

.alert-deadline-orange {
  background-color: #fff0df;
  border-color: #f0a24d;
  color: #7a3d00;
}

.alert-deadline-red {
  background-color: #fdecea;
  border-color: #f0a1a1;
  color: #8a1a1a;
}


@media (min-width: 992px) {
  .main-navbar .navbar-collapse {
    min-width: 0;
  }

  .main-navbar .navbar-nav--quick-links {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
    overflow: hidden;
  }

  .main-navbar .navbar-nav--quick-links .nav-item {
    min-width: 0;
  }

  .main-navbar .navbar-nav--quick-links .nav-link {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.main-navbar .nav-link-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.main-navbar .nav-item--quick-links-manage {
  flex-shrink: 0;
}

.quick-links-pencil-icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.quick-links-modal .modal-header,
.quick-links-modal .modal-footer {
  border-color: rgba(8, 9, 28, 0.08);
}

.quick-links-helper-text,
.quick-links-selection-count {
  color: rgba(8, 9, 28, 0.72);
  font-size: 0.92rem;
}

.quick-links-section + .quick-links-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(8, 9, 28, 0.08);
}

.quick-links-section-title {
  margin-bottom: 0.6rem;
  color: #171f4a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quick-links-option-list {
  display: grid;
  gap: 0.5rem;
}

.quick-links-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(8, 9, 28, 0.08);
  border-radius: 10px;
  font-size: 0.94rem;
}

.quick-links-option input {
  margin-top: 0.2rem;
}

.quick-links-option.quick-links-option--disabled {
  opacity: 0.55;
}

.quick-links-modal-footer {
  justify-content: space-between;
}

.quick-links-modal-footer .btn {
  min-width: 10rem;
}


.quick-links-modal .modal-dialog {
  max-width: 760px;
}

.quick-links-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(8, 9, 28, 0.08);
  border-radius: 12px;
  background: rgba(23, 31, 74, 0.03);
}

.quick-links-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.quick-links-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.quick-links-option {
  min-height: 100%;
}

.quick-links-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .quick-links-toolbar {
    flex-direction: column;
  }

  .quick-links-toolbar-actions {
    width: 100%;
    justify-content: stretch;
  }

  .quick-links-toolbar-actions .btn {
    flex: 1 1 100%;
  }

  .quick-links-option-list {
    grid-template-columns: 1fr;
  }
}


.quick-links-modal {
  max-height: calc(100vh - 3.5rem);
}

.quick-links-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: inherit;
}

.quick-links-modal .modal-body {
  overflow-y: auto;
  min-height: 0;
}


.quick-links-modal-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 0.75rem;
}

.quick-links-modal-footer > .btn,
.quick-links-modal-footer > .quick-links-footer-status {
  justify-self: center;
}

.quick-links-footer-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.quick-links-selection-count--footer {
  text-align: center;
}

@media (max-width: 767px) {
  .quick-links-modal-footer {
    grid-template-columns: 1fr;
  }

  .quick-links-modal-footer > .btn,
  .quick-links-modal-footer > .quick-links-footer-status {
    width: 100%;
    justify-self: stretch;
  }

  .quick-links-footer-status {
    align-items: stretch;
  }

  .quick-links-selection-count--footer {
    text-align: left;
  }
}
