.analytics-consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1000;
  width: min(640px, calc(100% - 28px));
  transform: translateX(-50%);
  padding: 16px;
  border: 1px solid rgba(0, 111, 120, 0.22);
  border-radius: 8px;
  background: #ffffff;
  color: #14393d;
  box-shadow: 0 18px 48px rgba(20, 57, 61, 0.18);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

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

.analytics-consent p {
  margin: 0 0 12px;
  color: #617174;
  font-size: 0.94rem;
  line-height: 1.45;
}

.analytics-consent strong {
  display: block;
  margin-bottom: 4px;
  color: #14393d;
}

.analytics-consent a {
  color: #006f78;
  font-weight: 700;
}

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.analytics-consent button,
.analytics-settings-button {
  min-height: 38px;
  border: 1px solid #006f78;
  border-radius: 6px;
  padding: 0 13px;
  background: #006f78;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.analytics-consent button.secondary,
.analytics-settings-button {
  background: #ffffff;
  color: #006f78;
}

@media (max-width: 560px) {
  .analytics-consent-actions {
    display: grid;
  }

  .analytics-consent button {
    width: 100%;
  }
}
