/**
 * HMS public site — Bootstrap 5.3 color mode + toggle
 */
.hms-site-theme-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1080;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.2);
  background: var(--bs-primary);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hms-site-theme-fab:hover {
  transform: scale(1.06);
  color: #fff;
  box-shadow: 0 6px 28px rgba(15, 23, 42, 0.28);
}

[data-bs-theme='dark'] .hms-site-theme-fab {
  background: #6366f1;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hms-site-theme-fab .hms-icon-sun {
  font-size: 1.15rem;
}

.hms-site-theme-fab .hms-icon-moon {
  font-size: 1.05rem;
}

/* Welcome / marketing: soften hard whites in dark */
[data-bs-theme='dark'] .pricing-card {
  background-color: var(--bs-body-bg);
  border-color: var(--bs-border-color);
}

[data-bs-theme='dark'] .footer-section {
  background-color: var(--bs-tertiary-bg) !important;
  color: var(--bs-body-color) !important;
}

[data-bs-theme='dark'] .footer-title,
[data-bs-theme='dark'] .footer-links a {
  color: var(--bs-body-color) !important;
}

[data-bs-theme='dark'] #systemCarousel .card-body {
  background: var(--bs-secondary-bg) !important;
}

[data-bs-theme='dark'] .subscription-section {
  background-color: var(--bs-body-bg) !important;
}

[data-bs-theme='dark'] .subscription-card {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

[data-bs-theme='dark'] .footer-copy {
  background: var(--bs-primary) !important;
  color: #fff !important;
}

[data-bs-theme='dark'] .navbar-collapse {
  background-color: var(--bs-primary) !important;
}
