.wbp-analytics-consent[hidden] {
  display: none !important;
}

.wbp-analytics-consent {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(520px, calc(100vw - 32px));
  padding: 10px 10px 10px 14px;
  border: 1.5px solid rgba(125, 183, 200, 0.9);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(239, 249, 251, 0.92), rgba(212, 239, 245, 0.84));
  box-shadow: 0 14px 34px rgba(92, 141, 156, 0.18);
  color: #191817;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .wbp-analytics-consent {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.wbp-analytics-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wbp-analytics-consent__text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

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

.wbp-analytics-consent__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1.5px solid #7db7c8;
  border-radius: 10px;
  background: rgba(242, 252, 253, 0.96);
  color: #191817;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.wbp-analytics-consent__button:hover,
.wbp-analytics-consent__button:focus-visible {
  background: rgba(227, 247, 250, 0.98);
}

.wbp-analytics-consent__button--accept {
  background: #2d2b28;
  border-color: #2d2b28;
  color: #ffffff;
}

.wbp-analytics-consent__button--accept:hover,
.wbp-analytics-consent__button--accept:focus-visible {
  background: #191817;
  border-color: #191817;
  color: #ffffff;
}

.wbp-analytics-consent__button:focus-visible {
  outline: 2px solid rgba(237, 32, 36, 0.36);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .wbp-analytics-consent {
    left: 16px;
    right: 16px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .wbp-analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .wbp-analytics-consent__text {
    text-align: center;
  }
}
