/* Customer site cookie notice — essential cookies only */

.sq-site-consent-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: min(720px, calc(100vw - 1.5rem));
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.96);
  color: #1e293b;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sq-site-consent-banner.sq-site-consent-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.sq-site-consent-text {
  margin: 0;
  flex: 1 1 14rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.sq-site-consent-text a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sq-site-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.sq-site-consent-btn {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.sq-site-consent-btn-primary {
  background: #0f766e;
  color: #fff;
}

.sq-site-consent-preview-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  font-size: 0.875rem;
  line-height: 1.45;
}

.sq-legal-doc .sq-site-consent-preview-banner {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (prefers-color-scheme: dark) {
  .sq-site-consent-banner {
    background: rgba(15, 23, 42, 0.96);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.25);
  }
}
