.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
  color: var(--text, #16283b);
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d8e3eb);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.22);
}

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

.analytics-consent__title {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.4;
}

.analytics-consent__description {
  margin: 0;
  color: var(--text2, #526578);
  font-size: 15px;
  line-height: 1.6;
}

.analytics-consent__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.analytics-consent__button,
.analytics-settings {
  border: 1px solid var(--line, #d8e3eb);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--text, #16283b);
  background: var(--surface-alt, #edf4f9);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.analytics-consent__button--accept {
  color: #fff;
  background: var(--primary, #005da7);
  border-color: var(--primary, #005da7);
}

.analytics-settings {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-consent__button:hover,
.analytics-settings:hover {
  filter: brightness(1.06);
}

@media (max-width: 520px) {
  .analytics-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 17px;
  }

  .analytics-consent__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .analytics-consent__button {
    width: 100%;
  }
}
