.cc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9998;
}

.cc-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111827;
}

.cc-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem;
}

.cc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cc-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.cc-description {
  margin: 0;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
}

.cc-description a {
  color: #2563eb;
  text-decoration: underline;
}

.cc-categories {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .cc-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cc-category {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}

.cc-category input[type="checkbox"] {
  margin-top: 0.25rem;
}

.cc-category-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.cc-category-desc {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.125rem;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cc-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
}

.cc-btn-primary {
  background: #111827;
  color: #fff;
}

.cc-btn-secondary {
  background: #fff;
  color: #111827;
  border-color: #d1d5db;
}

.cc-link {
  font-size: 0.875rem;
  color: #4b5563;
  text-decoration: underline;
}
