/* Multy Health Care - central design system (shared by website + admin panel)
   Change a colour here once and it changes everywhere. */
:root,
[data-bs-theme=light],
[data-bs-theme=dark] {
  --mhc-burgundy: #8E1038;
  --mhc-burgundy-dark: #4A0A1F;
  --mhc-burgundy-rgb: 142, 16, 56;
  --mhc-rose: #D9467A;
  --mhc-rose-rgb: 217, 70, 122;
  --mhc-rose-soft: #FBE8EE;
  --mhc-gold: #C9A227;
  --mhc-gold-rgb: 201, 162, 39;
  --mhc-gold-soft: #FBF3D9;

  /* admin panel (Bootstrap 5.3 variables) */
  --bs-primary: var(--mhc-burgundy);
  --bs-primary-rgb: var(--mhc-burgundy-rgb);
  --bs-secondary: var(--mhc-gold);
  --bs-secondary-rgb: var(--mhc-gold-rgb);
  --bs-info: var(--mhc-rose);
  --bs-info-rgb: var(--mhc-rose-rgb);
  --info-dark: #B02F60;
  --info-dark-rgb: 176, 47, 96;
  --bs-link-color: var(--mhc-burgundy);
  --bs-link-hover-color: var(--mhc-burgundy-dark);
  --panel-sidebar-primary: var(--mhc-burgundy-dark);
}

/* website (6Valley theme variables) */
:root {
  --base: var(--mhc-burgundy);
  --base-2: var(--mhc-burgundy-dark);
  --web-primary: var(--mhc-burgundy);
  --web-secondary: var(--mhc-burgundy-dark);
}

/* buttons, badges, pills that Bootstrap compiles with literal colours */
.btn-primary, .btn--primary {
  --bs-btn-bg: var(--mhc-burgundy); --bs-btn-border-color: var(--mhc-burgundy);
  --bs-btn-hover-bg: var(--mhc-burgundy-dark); --bs-btn-hover-border-color: var(--mhc-burgundy-dark);
  --bs-btn-active-bg: var(--mhc-burgundy-dark); --bs-btn-active-border-color: var(--mhc-burgundy-dark);
  --bs-btn-disabled-bg: var(--mhc-burgundy); --bs-btn-disabled-border-color: var(--mhc-burgundy);
}
.btn-outline-primary {
  --bs-btn-color: var(--mhc-burgundy); --bs-btn-border-color: var(--mhc-burgundy);
  --bs-btn-hover-bg: var(--mhc-burgundy); --bs-btn-hover-border-color: var(--mhc-burgundy);
  --bs-btn-active-bg: var(--mhc-burgundy); --bs-btn-active-border-color: var(--mhc-burgundy);
}
.btn-secondary {
  --bs-btn-bg: var(--mhc-gold); --bs-btn-border-color: var(--mhc-gold); --bs-btn-color: #2b1a00;
  --bs-btn-hover-bg: #B08C1E; --bs-btn-hover-border-color: #B08C1E; --bs-btn-hover-color: #2b1a00;
}
.text-primary { color: var(--mhc-burgundy) !important; }
.bg-primary { background-color: var(--mhc-burgundy) !important; }
.border-primary { border-color: var(--mhc-burgundy) !important; }
.text-secondary { color: var(--mhc-gold) !important; }
.bg-secondary { background-color: var(--mhc-gold) !important; }
.form-control:focus, .form-select:focus, .custom-select:focus {
  border-color: var(--mhc-rose);
  box-shadow: 0 0 0 .2rem rgba(var(--mhc-burgundy-rgb), .15);
}
.form-check-input:checked, .form-switch .form-check-input:checked {
  background-color: var(--mhc-burgundy); border-color: var(--mhc-burgundy);
}
.nav-pills .nav-link.active, .page-item.active .page-link {
  background-color: var(--mhc-burgundy); border-color: var(--mhc-burgundy);
}
.page-link { color: var(--mhc-burgundy); }

/* storefront details: slider dots, footer, accent line */
.owl-theme .owl-dots .owl-dot.active span, .owl-dot.active, .owl-dots .owl-dot.active { background: var(--mhc-burgundy) !important; }
.owl-dot { background: var(--mhc-rose) !important; }
footer.page-footer, .page-footer.mdb-color { background-color: var(--mhc-burgundy-dark) !important; }
.deal_of_the_day { border-color: var(--mhc-rose-soft) !important; }
.mhc-gold, .badge-gold { color: var(--mhc-gold); }
.btn-scroll-top { background-color: var(--mhc-gold) !important; }

/* Bangla typography: Noto Sans Bengali (Google Fonts), English fonts unchanged.
   Bengali letters fall back to Noto Sans Bengali automatically in every font stack. */
body, input, select, textarea, button, h1, h2, h3, h4, h5, h6, p, a, li, td, th, label, small, strong, b, .btn, .dropdown-item, .nav-link {
  font-family: "Open Sans", "Inter", "Roboto", "Noto Sans Bengali", sans-serif;
}
html[lang^="bd"] body, html[lang^="bn"] body,
html[lang^="bd"] :is(input, select, textarea, button, h1, h2, h3, h4, h5, h6, p, a, li, td, th, label, small, strong, b, div, span, .btn, .dropdown-item, .nav-link):not(i):not([class*="fa-"]):not([class*="fi-"]):not([class*="tio-"]):not([class*="uil"]),
html[lang^="bn"] :is(input, select, textarea, button, h1, h2, h3, h4, h5, h6, p, a, li, td, th, label, small, strong, b, div, span, .btn, .dropdown-item, .nav-link):not(i):not([class*="fa-"]):not([class*="fi-"]):not([class*="tio-"]):not([class*="uil"]) {
  font-family: "Noto Sans Bengali", "Open Sans", "Inter", sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: 0;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

/* D-010: floating admin widgets (chat badge, "Use AI" button) must never cover the sticky Save/Submit bar of forms */
body:has(.fixed-bottom) #mhcNb { bottom: 92px !important; }
body:has(.fixed-bottom) .floating-ai-button { bottom: 142px !important; right: 18px !important; width: 56px; height: 56px; }
body:has(.fixed-bottom) .floating-ai-button:not(:hover) { opacity: .85; }
@media (max-width: 575.98px) {
  body:has(.fixed-bottom) #mhcNb { right: 10px !important; bottom: 100px !important; }
  body:has(.fixed-bottom) .floating-ai-button { right: 10px !important; bottom: 148px !important; }
}
