.barrysecure-analytics-settings {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 2147483000;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.88);
  color: #cbd5e1;
  padding: 6px 10px;
  font: 500 11px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 0.68;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.barrysecure-analytics-settings:hover,
.barrysecure-analytics-settings:focus-visible {
  opacity: 1;
  color: #fff;
}

.barrysecure-consent {
  position: fixed;
  right: 16px;
  bottom: 52px;
  z-index: 2147483001;
  display: flex;
  width: min(520px, calc(100vw - 32px));
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 16px;
  background: rgba(8, 14, 27, 0.97);
  color: #e2e8f0;
  padding: 16px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
  font: 400 13px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(16px);
}

.barrysecure-consent[hidden] {
  display: none;
}

.barrysecure-consent__copy {
  min-width: 0;
}

.barrysecure-consent__copy strong {
  display: block;
  margin-bottom: 4px;
  color: #f8fafc;
  font-size: 14px;
}

.barrysecure-consent__copy p {
  margin: 0;
  color: #94a3b8;
}

.barrysecure-consent__copy span {
  display: block;
  margin-top: 5px;
  color: #bfdbfe;
  font-size: 11px;
}

.barrysecure-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.barrysecure-consent__actions button {
  border: 1px solid #3b82f6;
  border-radius: 9px;
  background: #2563eb;
  color: #fff;
  padding: 8px 11px;
  font: 600 12px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.barrysecure-consent__actions button.secondary {
  border-color: rgba(148, 163, 184, 0.45);
  background: transparent;
  color: #cbd5e1;
}

@media (max-width: 620px) {
  .barrysecure-consent {
    left: 12px;
    right: 12px;
    bottom: 50px;
    width: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .barrysecure-consent__actions button {
    flex: 1;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .barrysecure-consent,
  .barrysecure-analytics-settings {
    background: #080e1b;
    backdrop-filter: none;
  }
}
