.sq-consent-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 9999;
  display: none;
  justify-content: center;
  pointer-events: none;
}

.sq-consent-banner.is-visible {
  display: flex;
}

.sq-consent-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 860px);
  padding: 12px 14px;
  border: 1px solid rgba(15, 33, 51, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 42px rgba(15, 33, 51, 0.16);
  color: #17202b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  pointer-events: auto;
}

.sq-consent-copy {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.sq-consent-copy a {
  color: #1f5fb8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sq-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.sq-consent-btn {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #1f5fb8;
  border-radius: 8px;
  background: #fff;
  color: #1f5fb8;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.sq-consent-btn:hover,
.sq-consent-btn:focus-visible {
  background: #eef5fb;
  outline: none;
}

.sq-consent-btn--accept {
  background: #fff;
  border-color: #1f5fb8;
  color: #1f5fb8;
}

.sq-consent-btn--accept:hover,
.sq-consent-btn--accept:focus-visible {
  background: #eef5fb;
}

@media (max-width: 680px) {
  .sq-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .sq-consent-panel {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .sq-consent-copy {
    font-size: 0.86rem;
  }

  .sq-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sq-consent-btn {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }
}
