.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 12000;
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  color: #121212;
  border: 1px solid #dddddd;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  padding: 16px;
  display: none;
}

.cc-banner.cc-open {
  display: block;
}

.cc-text {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 12px;
}

.cc-text a {
  color: #1a4b9a;
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cc-btn {
  appearance: none;
  border: 1px solid #b9b9b9;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: #ffffff;
  color: #1c1c1c;
}

.cc-btn.cc-primary {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.cc-btn.cc-link {
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-manage {
  display: none !important;
}

.cc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  z-index: 12010;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cc-modal-overlay.cc-open {
  display: flex;
}

.cc-modal {
  width: 100%;
  max-width: 620px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e4e4e4;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.cc-modal h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.cc-modal p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #424242;
}

.cc-cat {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.cc-cat-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.cc-cat h3 {
  margin: 0;
  font-size: 0.96rem;
}

.cc-cat small {
  display: block;
  margin-top: 6px;
  color: #515151;
  line-height: 1.45;
}

.cc-toggle {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #bdbdbd;
  background: #f3f3f3;
  position: relative;
  cursor: pointer;
}

.cc-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: left 0.2s ease;
}

.cc-toggle[aria-checked="true"] {
  background: #1f6b44;
  border-color: #1f6b44;
}

.cc-toggle[aria-checked="true"]::after {
  left: 22px;
}

.cc-toggle[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.cc-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .cc-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px;
  }

  .cc-actions .cc-btn,
  .cc-modal-actions .cc-btn {
    width: 100%;
  }

  .cc-cat-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
