/* Cookie Consent - estilo simples e compatível com bootstrap */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 99999;
  background: rgba(21,34,43,0.96);
  color: #fff;
  padding: 16px 18px;
  margin: 0 18px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.cookie-consent-banner .cc-text {
  flex: 1 1 420px;
  color: rgba(255,255,255,0.95);
}

.cookie-consent-banner .cc-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cookie-consent-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}

.cookie-consent-btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}

.cookie-consent-pref {
  background: none;
  border: none;
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  cursor: pointer;
  padding: 6px;
  font-size: 13px;
}

/* Preferences modal (simple) */
.cc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cc-modal {
  background: #fff;
  color: #111;
  width: 100%;
  max-width: 720px;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.cc-modal h4 {
  margin-top: 0;
}

.cc-categories {
  margin-top: 12px;
}

.cc-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.cc-note {
  font-size: 13px;
  color: #666;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .cookie-consent-banner { padding: 12px; bottom: 12px; margin: 0 12px; }
  .cookie-consent-banner .cc-text { flex-basis: 100%; }
  .cookie-consent-banner .cc-actions { width: 100%; justify-content: flex-end; }
}