/* MedShr cookie consent banner + footer legal links */

.mc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.mc-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 24px;
  background: #fff;
  color: #314559;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 50, 109, 0.25);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.mc-banner .mc-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #00326D;
}

.mc-banner .mc-text {
  margin: 0 0 16px;
}

.mc-banner a {
  color: #1b6ebf;
  text-decoration: underline;
}

.mc-options {
  margin: 0 0 16px;
  border-top: 1px solid #D0D0D0;
}

.mc-option {
  padding: 12px 0;
  border-bottom: 1px solid #D0D0D0;
}

.mc-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.mc-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #009E83;
}

.mc-option__label {
  font-weight: 700;
}

.mc-banner .mc-option__desc {
  margin: 4px 0 0 28px;
  font-size: 14px;
}

.mc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mc-btn {
  flex: 0 0 auto;
  padding: 10px 20px;
  border: 2px solid #00326D;
  border-radius: 4px;
  background: #fff;
  color: #00326D;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.mc-btn--primary {
  background: #00326D;
  color: #fff;
}

.mc-btn--link {
  border-color: transparent;
  text-decoration: underline;
}

.mc-btn:focus-visible,
.mc-option input:focus-visible {
  outline: 3px solid #4b9bef;
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .mc-btn {
    flex: 1 1 100%;
  }
}

/* Footer legal links (appended to every page's site footer) */
.footer__legal {
  padding: 16px 0 0;
  text-align: center;
  font-size: 14px;
}

.footer--site-page .footer__legal a {
  margin: 0 12px;
  color: inherit;
  text-decoration: underline;
}
