/* Meditec Consent Banner */
.mdc-overlay{
  position:fixed; inset:0; z-index:99999; display:none;
  background:rgba(0,0,0,.55); padding:20px; overflow:auto;
}
.mdc-overlay.is-open{ display:flex; align-items:flex-start; justify-content:center; }
.mdc-modal{
  position:relative; background:#fff; width:100%; max-width:760px; margin:auto;
  border-radius:6px; padding:38px 44px 26px; box-shadow:0 20px 60px rgba(0,0,0,.3);
  font-family:inherit; color:#444; line-height:1.55;
}
.mdc-close{
  position:absolute; top:16px; right:18px; border:none; background:none;
  font-size:26px; line-height:1; color:#333; cursor:pointer; padding:4px;
}
.mdc-close:hover{ color:#000; }

.mdc-head{ display:flex; align-items:center; gap:22px; border-bottom:1px solid #e9e9e9; padding-bottom:18px; margin-bottom:18px; }
.mdc-logo{ max-height:46px; width:auto; display:block; }
.mdc-logo--text{ font-weight:800; font-size:24px; color:#111; }
.mdc-title{ font-size:24px; font-weight:700; color:#555; margin:0; }

.mdc-body p{ margin:0 0 14px; font-size:15px; color:#555; }
.mdc-body .mdc-usa{ border-top:1px solid #eee; padding-top:14px; }

/* Categories */
.mdc-cats{
  display:flex; flex-wrap:wrap; gap:14px 28px; align-items:center;
  border-top:1px solid #e9e9e9; padding:18px 0; margin-top:4px;
}
.mdc-cat{ display:inline-flex; align-items:center; gap:10px; cursor:pointer; user-select:none; }
.mdc-cat.is-locked{ cursor:default; opacity:.85; }
.mdc-check{ position:absolute; opacity:0; width:0; height:0; }
.mdc-box{
  width:26px; height:26px; border:2px solid #cfcfcf; border-radius:5px;
  display:inline-block; position:relative; transition:all .15s ease; flex:0 0 auto; background:#fff;
}
.mdc-check:checked + .mdc-box{ background:#ddd; border-color:#bdbdbd; }
.mdc-check:checked + .mdc-box::after{
  content:''; position:absolute; left:8px; top:3px; width:6px; height:12px;
  border:solid #555; border-width:0 2px 2px 0; transform:rotate(45deg);
}
.mdc-cat.is-locked .mdc-check:checked + .mdc-box{ background:#e4e4e4; }
.mdc-cat-label{ font-size:17px; color:#555; }

/* Buttons */
.mdc-actions{ display:flex; flex-direction:column; gap:8px; margin-top:6px; }
.mdc-btn{
  width:100%; border:none; cursor:pointer; padding:16px 18px; font-size:16px; font-weight:700;
  color:#fff; text-align:center; transition:filter .15s ease;
}
.mdc-btn:hover{ filter:brightness(1.08); }
.mdc-btn--primary{ background:var(--mdc-primary,#5a5a5e); }
.mdc-btn--dark{ background:var(--mdc-dark,#111); }

/* Footer */
.mdc-foot{ display:flex; justify-content:center; gap:48px; flex-wrap:wrap; margin-top:22px; padding-top:6px; }
.mdc-foot a{ color:#777; text-decoration:none; font-size:15px; }
.mdc-foot a:hover{ color:#333; text-decoration:underline; }

/* Settings-collapsed state: hide category descriptions area toggling is JS-driven */
.mdc-modal.mdc-compact .mdc-cats{ display:none; }

@media (max-width:600px){
  .mdc-modal{ padding:28px 20px 20px; }
  .mdc-head{ flex-direction:column; align-items:flex-start; gap:10px; }
  .mdc-title{ font-size:20px; }
  .mdc-foot{ gap:20px; }
}
