/* MedicalCare cookie-consent styles — extracted/renamed from bluemax page.css
 * (.bm-cc* -> .mcs-cc*). Self-contained: brand vars scoped to the widget so it
 * does not depend on Divi theme variables. Brand teal = #127F7C (site header). */

.mcs-cc, .mcs-cc-modal, .mcs-cc-video {
  --mcs-brand: #127F7C;
  --mcs-brand-dark: #0d5f5c;
  --mcs-ink: #2b2b2b;
  --mcs-muted: #6b7280;
  --mcs-line: #e5e7eb;
  --mcs-link: #127F7C;
  font-family: inherit;
  box-sizing: border-box;
}
.mcs-cc *, .mcs-cc-modal *, .mcs-cc-video * { box-sizing: border-box; }

.mcs-cc {
  position: fixed !important; z-index: 200000 !important; left: 20px; bottom: 20px;
  width: min(400px, calc(100vw - 40px));
  background: #fff; color: var(--mcs-ink);
  border: 1px solid var(--mcs-line); border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,.22);
  padding: 20px 22px;
  font-size: 15px; line-height: 1.5;
}
.mcs-cc--hidden { display: none; }
.mcs-cc__title { font-weight: 700; color: var(--mcs-brand); font-size: 18px; margin-bottom: 6px; }
.mcs-cc__text { margin: 0 0 14px; font-weight: 400; }
.mcs-cc__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mcs-cc__btn {
  font: 500 14px inherit; cursor: pointer;
  padding: 8px 16px; border-radius: 4px;
  border: 2px solid var(--mcs-brand); background: #fff; color: var(--mcs-brand);
  transition: background .15s, color .15s;
}
.mcs-cc__btn:hover { background: var(--mcs-brand); color: #fff; }
.mcs-cc__btn--primary { background: var(--mcs-brand); color: #fff; }
.mcs-cc__btn--primary:hover { background: var(--mcs-brand-dark); border-color: var(--mcs-brand-dark); }
.mcs-cc__btn--link { border-color: transparent; color: var(--mcs-link); padding: 8px 6px; }
.mcs-cc__btn--link:hover { background: transparent; color: var(--mcs-brand); text-decoration: underline; }

.mcs-cc-modal {
  position: fixed !important; inset: 0; z-index: 210000 !important;
  background: rgba(0,0,0,.5);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.mcs-cc-modal--open { display: flex; }
.mcs-cc-modal__card {
  background: #fff; color: var(--mcs-ink);
  border-radius: 12px; padding: 28px; width: min(560px, 100%);
  max-height: 90vh; overflow-y: auto;
}
.mcs-cc-modal__title { color: var(--mcs-brand); font-size: 24px; margin: 0 0 18px; font-weight: 700; }
.mcs-cc-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 14px;
  align-items: center; padding: 14px 0; border-top: 1px solid var(--mcs-line);
}
.mcs-cc-row__name { font-weight: 600; font-size: 16px; }
.mcs-cc-row__desc { grid-column: 1 / -1; font-size: 14px; font-weight: 400; color: var(--mcs-muted); }
.mcs-cc-row__badge { font-size: 12px; color: var(--mcs-muted); }
.mcs-cc-row__toggle { width: 20px; height: 20px; accent-color: var(--mcs-brand); cursor: pointer; }
label.mcs-cc-row { cursor: pointer; }
.mcs-cc-modal__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.mcs-cc-modal__policy { margin: 0; font-size: 14px; }
.mcs-cc-modal__policy a { color: var(--mcs-link); }

/* YouTube/Vimeo click-to-load placeholder */
.mcs-cc-video {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center;
  min-height: 200px; padding: 24px;
  background: #f3f4f6; border: 1px dashed var(--mcs-line); border-radius: 8px;
  color: var(--mcs-ink);
}
.mcs-cc-video__note { margin: 0; font-size: 14px; color: var(--mcs-muted); max-width: 34em; }

@media (max-width: 480px) { .mcs-cc { left: 10px; right: 10px; bottom: 10px; } }
