/* PixToPDF — banner đồng ý Google Analytics. Tách khỏi site.css để cache độc lập. */
.pix-consent {
  position: fixed;
  z-index: 80;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px;
  border: 1px solid #e3e7e6;
  border-radius: 14px;
  background: #ffffff;
  color: #14181c;
  box-shadow: 0 12px 34px rgba(20, 24, 28, .18);
  font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pix-consent h2 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
}

.pix-consent p {
  margin: 0 0 12px;
  color: #5c6670;
}

.pix-consent a {
  color: #0a6f60;
  text-decoration: underline;
}

.pix-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pix-consent button,
.consent-settings {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #0d8f7c;
  border-radius: 9px;
  background: #0d8f7c;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.pix-consent button:hover {
  background: #0a6f60;
  border-color: #0a6f60;
  color: #ffffff;
}

.consent-settings:hover {
  background: #e8f5f2;
  border-color: #0d8f7c;
  color: #0a6f60;
}

.pix-consent .pix-consent__decline {
  background: #ffffff;
  color: #14181c;
  border-color: #c9d1cf;
}

.pix-consent .pix-consent__decline:hover {
  background: #f2f5f4;
  border-color: #9aa7a3;
}

.pix-consent button:focus-visible,
.consent-settings:focus-visible {
  outline: 2px solid #0d8f7c;
  outline-offset: 2px;
}

.consent-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 2px 4px;
  background: #ffffff;
  color: #0a6f60;
}

@media (min-width: 760px) {
  .pix-consent {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: min(560px, calc(100% - 48px));
    padding: 18px;
  }
}
