.mcc-consent-root {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.mcc-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.mcc-consent-banner {
  max-height: 93vh;
  overflow: auto;
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(860px, calc(100% - 24px));
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  padding: 20px;
}

.mcc-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.mcc-message {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
}

.mcc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mcc-actions [hidden] {
  display: none !important;
}

.mcc-btn {
  appearance: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  padding: 10px 14px;
}

.mcc-btn-primary {
  background: #0f5cc0;
  color: #fff;
}

.mcc-btn-secondary {
  background: #202020;
  color: #fff;
}

.mcc-btn-light {
  background: #ededed;
  color: #222;
}

.mcc-preferences {
  margin-top: 12px;
  border-top: 1px solid #d8d8d8;
  padding-top: 12px;
  display: grid;
  gap: 8px;
}

.mcc-preferences[hidden] {
  display: none !important;
}

.mcc-preferences label {
  display: block;
  padding: 6px 0;
}

.mcc-preferences label>input,
.mcc-preferences label>span {
  vertical-align: middle;
}

.mcc-preferences-actions {
  margin-top: 10px;
}

.mcc-cookie-section {
  margin-bottom: 12px;
}

.mcc-cookie-section h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.mcc-cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.mcc-cookie-table th,
.mcc-cookie-table td {
  border: 1px solid #d8d8d8;
  text-align: left;
  vertical-align: top;
  padding: 6px;
}

.mcc-cookie-empty {
  margin: 0;
}

.mcc-accordion-toggle {
  margin-left: 10px;
  border: 0;
  background: transparent;
  color: #0f5cc0;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
}

.mcc-accordion-panel {
  margin-top: 8px;
  max-height: 32vh;
  overflow: auto;
}

.mcc-privacy-link {
  display: inline-block;
  margin-top: 12px;
}

.mcc-do-not-sell-link {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 999998;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .mcc-consent-banner {
    bottom: 8px;
    width: calc(100% - 12px);
    border-radius: 10px;
    padding: 16px;
  }
}