/* Prevent automatic text selection on page load */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Prevent auto-selection on headings and text elements */
h1, h2, h3, h4, h5, h6, p, div {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Re-enable selection for interactive text elements */
input, textarea, [contenteditable="true"], code, pre {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Custom CSS Variables - Curatios Blue Theme */
:root {
  --curatios-navy: #1a3a52;
  --curatios-blue: #2563eb;
  --curatios-teal: #0ea5e9;
  --dm-glow: 0 0 0.75rem rgba(37, 99, 235, 0.25);
}

[data-bs-theme="dark"] {
  --curatios-navy: #0f2537;
  --curatios-blue: #3b82f6;
  --curatios-teal: #06b6d4;
  --dm-glow: 0 0 0.75rem rgba(59, 130, 246, 0.3);
}

/* App Shell - uses Bootstrap's built-in theme colors */
.app-shell {
  min-height: 100vh;
  background: var(--bs-body-bg);
  padding-top: 60px;
}

/* Optional: Add subtle gradient overlays for visual interest */
[data-bs-theme="light"] .app-shell {
  background:
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.04), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.03), transparent 50%),
    var(--bs-body-bg);
}

[data-bs-theme="dark"] .app-shell {
  background:
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.06), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.05), transparent 50%),
    linear-gradient(180deg, #0f2537 0%, #0a1929 100%);
}

/* Topbar */
.topbar {
  height: 60px;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bs-body-bg);
  border-bottom: 1px solid var(--bs-border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.topbar-utilities {
  min-width: 0;
  flex-shrink: 0;
}

.account-brand-signature {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.account-brand-divider {
  width: 1px;
  height: 1.8rem;
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.22), transparent);
}

.account-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.3rem 0.65rem 0.3rem 0.35rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(239, 246, 255, 0.38));
  box-shadow: 0 0.4rem 1rem rgba(15, 23, 42, 0.04);
}

.account-brand-logo-frame {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.07);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.account-brand-logo {
  width: 78%;
  height: 78%;
  object-fit: contain;
  opacity: 0.92;
}

.account-brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.account-brand-label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.account-brand-name {
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
}

.account-brand-text-only {
  display: none;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
}

/* Sidebar */
.sidebar {
  --bs-offcanvas-width: 320px;
  background: var(--bs-body-bg);
  border-right: 1px solid var(--bs-border-color);
}

.sidebar-body {
  min-height: 100%;
}

.sidebar-branding {
	padding: 0.5rem 1rem;
	margin-bottom: 4.5rem;
}

/* Footer */
.app-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  height: 60px;
  display: flex;
  align-items: center;
  z-index: 1030;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05);
}

.back-to-top-glass {
  position: fixed;
  right: 1.25rem;
  bottom: 5.4rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(239, 246, 255, 0.38));
  color: var(--curatios-navy);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.6rem) scale(0.94);
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  z-index: 1045;
}

.back-to-top-glass i {
  font-size: 1.6rem;
  line-height: 1;
}

.back-to-top-glass.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top-glass:hover,
.back-to-top-glass:focus-visible {
  color: var(--curatios-blue);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 1.2rem 2.8rem rgba(37, 99, 235, 0.18);
  transform: translateY(-1px) scale(1.02);
  outline: none;
}

/* Content area */
.content {
  min-height: calc(100vh - 60px);
  padding-bottom: 4.5rem;
}

/* Brand mark */
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  background: transparent;
  border: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}

@media (min-width: 768px) {
  .sidebar {
    width: 320px;
    flex-shrink: 0;
    min-height: calc(100vh - 60px);
    position: fixed;
    top: 60px;
    bottom: 60px;
    left: 0;
    z-index: 1020;
    overflow-y: hidden;
  }

  .sidebar .nav {
    overflow-y: auto;
  }

  .content {
    margin-left: 320px;
  }
}

.brand-logo-light {
  display: none;
}

.brand-logo-dark {
  display: block;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.6));
}

[data-bs-theme="light"] .brand-logo-light {
  display: block;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}

[data-bs-theme="light"] .brand-logo-dark {
  display: none;
}

[data-bs-theme="dark"] .account-brand-chip {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.54), rgba(15, 23, 42, 0.32));
  border-color: rgba(96, 165, 250, 0.16);
  box-shadow: 0 0.55rem 1.2rem rgba(2, 6, 23, 0.18);
}

[data-bs-theme="dark"] .account-brand-logo-frame {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-bs-theme="dark"] .back-to-top-glass {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.82), rgba(15, 37, 55, 0.62));
  border-color: rgba(125, 211, 252, 0.16);
  color: #dbeafe;
  box-shadow: 0 1.2rem 2.8rem rgba(2, 6, 23, 0.28);
}

[data-bs-theme="dark"] .back-to-top-glass:hover,
[data-bs-theme="dark"] .back-to-top-glass:focus-visible {
  color: #93c5fd;
  box-shadow: var(--dm-glow);
}

/* Search input */
.search {
  width: min(420px, 40vw);
}

.topbar-search-shell {
  position: relative;
}

.topbar-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.topbar-search-input {
  padding-left: 2rem;
  padding-right: 2.25rem;
}

.topbar-search-icon {
  position: absolute;
  left: 0.7rem;
  color: var(--bs-secondary-color);
  pointer-events: none;
  z-index: 1;
}

.topbar-search-clear {
  position: absolute;
  right: 0.3rem;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-secondary-color);
}

.topbar-search-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(38rem, calc(100vw - 2rem));
  max-height: min(28rem, calc(100vh - 8rem));
  overflow: auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 1rem;
  backdrop-filter: blur(18px);
  z-index: 1040;
}

.topbar-search-state {
  padding: 0.9rem 1rem;
  color: var(--bs-secondary-color);
  font-size: 0.92rem;
}

.topbar-search-results {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem;
}

.topbar-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.72));
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.topbar-search-result:hover,
.topbar-search-result:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0.8rem 1.8rem rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.18);
  outline: none;
}

@media (max-width: 991.98px) {
  .account-brand-chip {
    padding: 0.25rem 0.55rem 0.25rem 0.3rem;
  }

  .account-brand-divider {
    height: 1.4rem;
  }

  .account-brand-copy {
    display: none;
  }

  .account-brand-text-only {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .account-brand-divider,
  .account-brand-text-only {
    display: none;
  }

  .account-brand-chip {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .back-to-top-glass {
    right: 0.9rem;
    bottom: 5rem;
    width: 2.7rem;
    height: 2.7rem;
  }
}

.topbar-search-result-main {
  min-width: 0;
}

.topbar-search-result-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.18rem;
}

.topbar-search-result-name {
  font-weight: 700;
  color: var(--curatios-navy);
}

.topbar-search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--bs-secondary-color);
}

.topbar-search-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.topbar-search-badge-client {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.topbar-search-badge-draft {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

[data-bs-theme="dark"] .topbar-search-panel {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(125, 211, 252, 0.15);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .topbar-search-result {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.72));
  border-color: rgba(125, 211, 252, 0.12);
}

[data-bs-theme="dark"] .topbar-search-result-name {
  color: #dbeafe;
}

[data-bs-theme="dark"] .topbar-search-badge-client {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

[data-bs-theme="dark"] .topbar-search-badge-draft {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
}

@media (max-width: 767.98px) {
  .search {
    width: min(15rem, 52vw);
  }

  .topbar-search-panel {
    right: -2.4rem;
    width: min(24rem, calc(100vw - 1rem));
  }

  .topbar-search-result {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Glass cards */
.glass {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  backdrop-filter: blur(10px);
}

.full-viewport-center {
  min-height: 100vh;
}

.btn {
  --curatios-btn-border: rgba(37, 99, 235, 0.2);
  --curatios-btn-bg: rgba(255, 255, 255, 0.55);
  --curatios-btn-color: var(--curatios-navy);
  border-radius: 0.75rem;
  border: 1px solid var(--curatios-btn-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), var(--curatios-btn-bg));
  color: var(--curatios-btn-color);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 0.5rem 1.5rem rgba(26, 58, 82, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  border-color: rgba(37, 99, 235, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(224, 242, 254, 0.65));
  color: var(--curatios-blue);
  box-shadow: 0 0.75rem 2rem rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.btn:disabled,
.btn.disabled {
  background: rgba(255, 255, 255, 0.45);
  color: var(--bs-secondary-color);
  box-shadow: none;
  transform: none;
}

.btn.btn-link {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

[data-bs-theme="dark"] .btn {
  --curatios-btn-border: rgba(125, 211, 252, 0.16);
  --curatios-btn-bg: rgba(15, 37, 55, 0.68);
  --curatios-btn-color: var(--bs-body-color);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.82), rgba(15, 37, 55, 0.68));
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.22);
}

[data-bs-theme="dark"] .btn:hover,
[data-bs-theme="dark"] .btn:focus-visible {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(14, 165, 233, 0.16));
  color: #93c5fd;
  box-shadow: var(--dm-glow);
}

.btn-primary,
.btn-secondary,
.btn-danger,
.btn-outline-secondary,
.btn-outline-primary {
  color: inherit;
}

[data-bs-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] .glass {
  background: rgba(var(--bs-emphasis-color-rgb), 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Fixed height card headers and footers */
.card-header {
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

.card-footer {
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

.card-footer a {
  transition: all 0.2s ease;
}

.card-footer a:hover {
  color: var(--bs-primary) !important;
  transform: translateX(4px);
}

/* Navigation links */
.nav-link {
  border-radius: 0.5rem;
  color: var(--bs-body-color);
  opacity: 0.8;
  transition: all 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
  background: var(--bs-secondary-bg);
  color: var(--bs-emphasis-color);
}

.nav-link.active {
  opacity: 1;
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
  font-weight: 500;
}

[data-bs-theme="dark"] .nav-link.active {
  box-shadow: var(--dm-glow);
}

/* Theme switcher icon */
.theme-icon {
  display: inline-block;
  font-size: 1rem;
}

/* Dropdown item with toggle arrow aligned to the right */
.dropdown-item.dropdown-toggle::after {
  margin-left: auto;
}

.display-1 {
    font-size: calc(1.625rem + 4.5vw);
    font-weight: 300;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .display-1 {
        font-size: 5rem;
    }
}

.display-2 {
    font-size: calc(1.575rem + 3.9vw);
    font-weight: 300;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .display-2 {
        font-size: 4.5rem;
    }
}

.display-3 {
    font-size: calc(1.525rem + 3.3vw);
    font-weight: 300;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .display-3 {
        font-size: 4rem;
    }
}

.display-4 {
    font-size: calc(1.475rem + 2.7vw);
    font-weight: 300;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .display-4 {
        font-size: 3.5rem;
    }
}

.display-5 {
    font-size: calc(1.425rem + 2.1vw);
    font-weight: 300;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .display-5 {
        font-size: 3rem;
    }
}

.display-6 {
    font-size: calc(1.375rem + 1.5vw);
    font-weight: 300;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .display-6 {
        font-size: 2.5rem;
    }
}

/* Hierarchical Navigation Styles */
.nav-link-parent {
  display: flex;
  align-items: center;
  border-radius: 0.5rem;
  color: var(--bs-body-color);
  opacity: 0.85;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  padding: 0.625rem 0.75rem;
}

.nav-link-parent:hover {
  opacity: 1;
  background: var(--bs-secondary-bg);
  color: var(--bs-emphasis-color);
  text-decoration: none;
}

.nav-link-parent i.bi-chevron-down,
.nav-link-parent i.bi-chevron-up {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-link-parent[aria-expanded="true"] i.bi-chevron-down {
  transform: rotate(180deg);
}

.nav-submenu {
  padding-left: 0;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.nav-link-child {
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  border-radius: 0.375rem;
  color: var(--bs-body-color);
  opacity: 0.75;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  display: block;
  text-decoration: none;
  margin: 0.125rem 0;
}

.nav-link-child:hover {
  opacity: 1;
  background: var(--bs-secondary-bg);
  color: var(--bs-emphasis-color);
  text-decoration: none;
  padding-left: 2.75rem;
}

.nav-link-child.active {
  opacity: 1;
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
  font-weight: 500;
  border-left: 3px solid var(--bs-primary);
  padding-left: calc(2.5rem - 3px);
}

[data-bs-theme="dark"] .nav-link-child.active {
  box-shadow: var(--dm-glow);
}

.nav-item {
  margin-bottom: 0.25rem;
}

/* Users page styles */

/* Modern translucent "selected" navbar-like action button used on small icon actions */
.nav-select-btn {
  --nav-accent: var(--curatios-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--bs-border-color);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px) saturate(120%);
  color: var(--curatios-navy);
  transition: box-shadow 160ms ease, transform 120ms ease, background 160ms ease, color 160ms ease;
}

[data-bs-theme="light"] .nav-select-btn {
  /* light: subtle white glass with blue accent on active */
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.75));
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--curatios-navy);
}

[data-bs-theme="dark"] .nav-select-btn {
  /* dark: glassy translucent surface using emphasis color */
  background: rgba(var(--bs-emphasis-color-rgb), 0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--bs-body-color);
}

.nav-select-btn i {
  font-size: 1.05rem;
  line-height: 1;
}

.nav-select-btn:hover,
.nav-select-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.08);
  outline: none;
}

[data-bs-theme="dark"] .nav-select-btn:hover,
[data-bs-theme="dark"] .nav-select-btn:focus {
  box-shadow: var(--dm-glow);
}

.nav-select-btn.active {
  /* active: stronger blue glass similar to nav-link.active */
  background: linear-gradient(180deg, rgba(37,99,235,0.12), rgba(37,99,235,0.06));
  color: var(--curatios-blue);
  box-shadow: 0 10px 30px rgba(37,99,235,0.14), 0 0 0 6px rgba(37,99,235,0.06);
  border-color: rgba(37,99,235,0.18);
}

.nav-select-btn:focus-visible {
  box-shadow: 0 0 0 6px rgba(37,99,235,0.06);
}
.users-toast-container {
  z-index: 1080;
}

.users-modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Configuration page styles */
.lookup-card-shell {
  height: 20rem;
}

.lookup-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lookup-card-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.lookup-card-tablewrap {
  max-height: none;
  overflow: visible;
}

.lookup-card-body .table-responsive {
  overflow-x: auto;
}

.lookup-card-table thead th {
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-secondary-color);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--bs-border-color);
}
.icon-button-glass {
	border-radius: 0.375rem;
	color: var(--bs-primary);
	opacity: 1;
	background: var(--bs-primary-bg-subtle);
	transition: all 0.2s ease;
	font-weight: 500;
	backdrop-filter: blur(10px);
	border: 1px solid var(--bs-border-color);
}

.new-clients-card-body {
    min-height: 10.5rem;
}

.dashboard-launch-link {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    padding: 0.72rem 0.8rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.dashboard-launch-link:hover,
.dashboard-launch-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.dashboard-launch-link:focus-visible {
    outline: none;
}

.dashboard-launch-link-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.dashboard-launch-link-subtitle {
    display: block;
    margin-top: 0.2rem;
    color: rgba(var(--bs-body-color-rgb), 0.82);
    font-size: 0.78rem;
    line-height: 1.25;
}

.dashboard-launch-link-draft {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.08));
    border-color: rgba(34, 197, 94, 0.28);
}

.dashboard-launch-link-draft:hover,
.dashboard-launch-link-draft:focus-visible {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.24), rgba(34, 197, 94, 0.12));
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 16px 32px rgba(34, 197, 94, 0.18), 0 0 0 0.18rem rgba(34, 197, 94, 0.12);
}

.dashboard-launch-link-draft .dashboard-launch-link-title {
    color: #0f7a38;
}

.dashboard-launch-link-lead {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.08));
    border-color: rgba(37, 99, 235, 0.28);
}

.dashboard-launch-link-lead:hover,
.dashboard-launch-link-lead:focus-visible {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.24), rgba(37, 99, 235, 0.12));
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.18), 0 0 0 0.18rem rgba(37, 99, 235, 0.12);
}

.dashboard-launch-link-lead .dashboard-launch-link-title {
    color: #1d4ed8;
}

[data-bs-theme="dark"] .dashboard-launch-link {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

[data-bs-theme="dark"] .dashboard-launch-link-draft {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.08));
    border-color: rgba(34, 197, 94, 0.22);
}

[data-bs-theme="dark"] .dashboard-launch-link-draft .dashboard-launch-link-title {
    color: #86efac;
}

[data-bs-theme="dark"] .dashboard-launch-link-lead {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0.08));
    border-color: rgba(59, 130, 246, 0.22);
}

[data-bs-theme="dark"] .dashboard-launch-link-lead .dashboard-launch-link-title {
    color: #93c5fd;
}

.insurance-suggestions {
	max-height: 12rem;
	overflow-y: auto;
}
