.analytics-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #172033;
  background: #ffffff;
  border: 1px solid #cfd7e5;
  border-left: 5px solid #0f766e;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.2);
  font-family: Inter, Arial, sans-serif;
}

.analytics-consent strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.analytics-consent p {
  max-width: 650px;
  margin: 0 0 5px;
  color: #4b5568;
  font-size: 0.9rem;
  line-height: 1.5;
}

.analytics-consent a {
  color: #0b6371;
  font-size: 0.86rem;
  font-weight: 700;
}

.analytics-consent-actions {
  display: flex;
  flex: 0 1 auto;
  gap: 10px;
}

.analytics-consent button {
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 6px;
  font: 700 0.88rem/1.25 Inter, Arial, sans-serif;
  cursor: pointer;
}

.analytics-consent-primary {
  color: #ffffff;
  background: #0f766e;
  border: 1px solid #0f766e;
}

.analytics-consent-secondary {
  color: #273247;
  background: #ffffff;
  border: 1px solid #aeb8c8;
}

.analytics-consent button:focus-visible,
.analytics-consent a:focus-visible {
  outline: 3px solid #f4b942;
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .analytics-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

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

@media (max-width: 420px) {
  .analytics-consent-actions {
    grid-template-columns: 1fr;
  }
}
