/* ==========================================================
   PawfectMatch — Consent Banner (Google Consent Mode v2)
   ========================================================== */

#pm-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--bg-dark, #1a1512);
  color: var(--text-inverse, #f5efe4);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.25);
  display: none;
  font-family: inherit;
}

#pm-consent-banner.pm-visible {
  display: block;
  animation: pm-consent-slide-up 0.4s cubic-bezier(0.32,0.72,0,1);
}

@keyframes pm-consent-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.pm-consent-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  justify-content: space-between;
}

.pm-consent-text {
  flex: 1 1 24rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-inverse-muted, #cabfae);
  margin: 0;
}

.pm-consent-text a {
  color: var(--text-inverse, #f5efe4);
  text-decoration: underline;
}

.pm-consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.pm-consent-actions button {
  border: 1px solid rgba(245,239,228,0.25);
  background: transparent;
  color: var(--text-inverse, #f5efe4);
  padding: 0.6rem 1.15rem;
  border-radius: 0.75rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.pm-consent-actions button:hover {
  transform: translateY(-1px);
}

.pm-consent-actions .pm-accept {
  background: var(--accent, #c1622f);
  border-color: var(--accent, #c1622f);
}

.pm-consent-actions .pm-accept:hover {
  background: var(--accent-hover, #a84f22);
}

.pm-consent-actions .pm-reject:hover {
  background: rgba(245,239,228,0.08);
}

@media (max-width: 640px) {
  .pm-consent-inner { flex-direction: column; align-items: stretch; }
  .pm-consent-actions { justify-content: stretch; }
  .pm-consent-actions button { flex: 1; }
}
