/* MunichTech EXPO — first-party CMP (GDPR / TDDDG) */
.mte-cmp-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99990;
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, rgba(6, 20, 38, 0.96), rgba(2, 8, 23, 0.98));
  border-top: 1px solid rgba(0, 200, 255, 0.28);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  color: #e8f1ff;
  font-family: inherit;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.mte-cmp-banner.is-open {
  transform: translateY(0);
}

.mte-cmp-banner__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .mte-cmp-banner__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}

.mte-cmp-banner__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.mte-cmp-banner__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #8ea4c8;
}

.mte-cmp-banner__text a {
  color: #00c8ff;
  text-decoration: underline;
}

.mte-cmp-cats {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.mte-cmp-cat {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(8, 24, 48, 0.85);
  border: 1px solid rgba(0, 200, 255, 0.16);
}

.mte-cmp-cat input {
  margin-top: 0.2rem;
  accent-color: #00c8ff;
}

.mte-cmp-cat strong {
  display: block;
  font-size: 0.85rem;
  color: #e8f1ff;
}

.mte-cmp-cat span {
  display: block;
  font-size: 0.75rem;
  color: #8ea4c8;
  line-height: 1.35;
}

.mte-cmp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.mte-cmp-btn {
  appearance: none;
  border: 1px solid rgba(0, 200, 255, 0.28);
  background: rgba(8, 24, 48, 0.9);
  color: #e8f1ff;
  border-radius: 0.65rem;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.mte-cmp-btn:hover {
  border-color: rgba(0, 200, 255, 0.55);
  transform: translateY(-1px);
}

.mte-cmp-btn--primary {
  background: linear-gradient(90deg, #00c8ff, #2f80ed);
  border-color: transparent;
  color: #02101f;
}

.mte-cmp-btn--ghost {
  background: transparent;
}

.mte-cmp-prefs-open {
  /* footer control — inherits footer link styles when classed together */
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
}

body.mte-cmp-blocking {
  /* banner visible; page remains usable — no hard lock */
}

@media (max-width: 640px) {
  .mte-cmp-banner {
    padding: 0.9rem;
  }
  .mte-cmp-actions {
    justify-content: stretch;
  }
  .mte-cmp-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
