/* Scoped styles – designed not to affect theme buttons or layout. */
.dweb-ga4-consent-banner {
  box-sizing: border-box;
  position: fixed;
  z-index: 2147483000;
  left: 20px;
  right: 20px;
  bottom: 20px;
  margin: 0 auto;
  max-width: 1100px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #fff;
  color: #19212c;
  border: 1px solid #dee3ea;
  border-radius: 16px;
  box-shadow: 0 15px 55px rgba(0, 0, 0, .2);
  font: 400 14px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dweb-ga4-consent-banner * { box-sizing: border-box; }
.dweb-ga4-consent-text { flex: 1; min-width: 0; }
.dweb-ga4-consent-text strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.dweb-ga4-consent-text p { margin: 0 0 5px; padding: 0; color: #46505c; font: inherit; }
.dweb-ga4-consent-text a { color: #2c5aa0; text-decoration: underline; font: inherit; }
.dweb-ga4-consent-actions { display: flex; flex-shrink: 0; gap: 10px; }
.dweb-ga4-consent-actions button {
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 9px;
  min-height: 44px;
  min-width: 105px;
  padding: 10px 17px;
  font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition: opacity .18s ease;
}
.dweb-ga4-consent-actions button:hover { opacity: .8; }
.dweb-ga4-consent-accept { background: #19212c; color: #fff; border: 1px solid #19212c; }
.dweb-ga4-consent-decline { background: #fff; color: #19212c; border: 1px solid #cbd2da; }
.dweb-ga4-settings-control {
  position: fixed;
  z-index: 2147482999;
  bottom: 0;
  left: 12px;
  padding: 4px 10px;
  background: #f6f7f9;
  border: 1px solid #d9dfe6;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  color: #2a3545;
  cursor: pointer;
  font: 500 11px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-shadow: 0 -3px 12px rgba(0,0,0,.06);
}
.dweb-ga4-shortcode-button {
  cursor: pointer;
  background: transparent;
  border: none;
  color: inherit;
  text-decoration: underline;
  font: inherit;
  padding: 0;
}
@media (max-width: 680px) {
  .dweb-ga4-consent-banner { left: 12px; right: 12px; bottom: 18px; flex-direction: column; align-items: stretch; padding: 19px; gap: 15px; }
  .dweb-ga4-consent-actions { flex-wrap: wrap; }
  .dweb-ga4-consent-actions button { flex: 1; }
}
