/* Consumentis Consent Manager v1.4 */
#cc-root,
#cc-root * {
  box-sizing: border-box;
}

.cc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 22, 38, 0.5);
  font-family: Arial, Helvetica, sans-serif;
}

.cc-panel {
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(10, 22, 38, 0.26);
}

.cc-content {
  padding: 28px;
}

.cc-title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.25;
  color: #17324d;
}

.cc-text,
.cc-category p,
.cc-boxanize-placeholder p {
  margin: 0;
  color: #526171;
  font-size: 0.98rem;
  line-height: 1.6;
}

.cc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0;
}

.cc-links a {
  color: #176c7a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cc-btn,
.cc-inline-btn {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cc-btn-primary,
.cc-inline-btn {
  background: #176c7a;
  color: #ffffff;
}

.cc-btn-secondary {
  background: #ffffff;
  color: #17324d;
  border-color: #aeb9c4;
}

.cc-btn-tertiary {
  background: #f4f5f7;
  color: #17324d;
  border-color: #d8dee5;
}

.cc-btn:focus-visible,
.cc-inline-btn:focus-visible,
.cc-close:focus-visible,
.cc-switch input:focus-visible + .cc-slider {
  outline: 3px solid rgba(23, 108, 122, 0.35);
  outline-offset: 2px;
}

.cc-settings-header,
.cc-category-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cc-close {
  border: 0;
  background: transparent;
  color: #17324d;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.cc-category {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #dfe5eb;
  border-radius: 12px;
  background: #ffffff;
}

.cc-category h3 {
  margin: 0 0 6px;
  color: #17324d;
  font-size: 1.05rem;
}

.cc-fixed {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef5f6;
  color: #176c7a;
  font-size: 0.85rem;
  font-weight: 700;
}

.cc-switch {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
}

.cc-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.cc-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #b8c2cc;
  cursor: pointer;
  transition: 0.2s ease;
}

.cc-slider::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #ffffff;
  transition: 0.2s ease;
}

.cc-switch input:checked + .cc-slider {
  background: #176c7a;
}

.cc-switch input:checked + .cc-slider::before {
  transform: translateX(20px);
}

.cc-boxanize-placeholder {
  padding: 24px;
  border: 1px solid #dfe5eb;
  border-radius: 14px;
  background: #f8fafb;
}

.cc-boxanize-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: #17324d;
}

.cc-boxanize-placeholder .cc-inline-btn {
  margin-top: 16px;
}

@media (max-width: 640px) {
  .cc-backdrop {
    padding: 0;
  }

  .cc-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }

  .cc-content {
    padding: 22px 18px;
  }

  .cc-actions {
    flex-direction: column;
  }

  .cc-btn {
    width: 100%;
  }

  .cc-category-row {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-slider,
  .cc-slider::before {
    transition: none;
  }
}
