.analytics-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
  color: #17281c;
  background: #fcfdfc;
  border: 1px solid #c6d4c9;
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(13, 28, 94, .22);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.analytics-consent__title {
  margin: 0 0 6px;
  color: #0d1c5e;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
}

.analytics-consent__text {
  margin: 0;
  color: #4e5a52;
  font-size: .9rem;
  line-height: 1.55;
}

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

.analytics-consent__button,
.analytics-settings {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #0d1c5e;
  border-radius: 3px;
  font: 700 .86rem/1 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}

.analytics-consent__button--accept {
  color: #fff;
  background: #1d7124;
  border-color: #1d7124;
}

.analytics-consent__button--reject {
  color: #0d1c5e;
  background: #fff;
}

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

.analytics-consent__button:focus-visible,
.analytics-settings:focus-visible {
  outline: 3px solid #4cc45c;
  outline-offset: 3px;
}

.analytics-settings {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 190;
  min-height: 36px;
  padding: 8px 12px;
  color: #fff;
  background: #0d1c5e;
  box-shadow: 0 8px 24px rgba(13, 28, 94, .2);
}

@media (max-width: 560px) {
  .analytics-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 18px;
  }

  .analytics-consent__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

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

