.analytics-consent {
  bottom: 0;
  left: 0;
  padding: 20px;
  pointer-events: none;
  position: fixed;
  right: 0;
  z-index: 10000;
}

.analytics-consent__content {
  background: #fff;
  border: 1px solid #cbd5df;
  border-radius: 12px;
  box-shadow: 0 20px 55px rgba(8, 29, 49, 0.28);
  color: #152537;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  pointer-events: auto;
  width: 100%;
}

.analytics-consent__content h2 {
  color: #0c2b46;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 10px;
}

.analytics-consent__content p {
  color: #445466;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 12px;
}

.analytics-consent__content a {
  color: #944317;
  font-weight: 700;
  text-decoration: underline;
}

.analytics-consent__status {
  font-weight: 700;
}

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

.analytics-consent__button,
.analytics-preferences-button {
  border: 1px solid #163d63;
  border-radius: 7px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.analytics-consent__button {
  min-height: 44px;
  padding: 11px 16px;
}

.analytics-consent__button--primary {
  background: #163d63;
  color: #fff;
}

.analytics-consent__button--secondary {
  background: #fff;
  color: #163d63;
}

.analytics-consent__button:focus-visible,
.analytics-preferences-button:focus-visible {
  outline: 3px solid #f0a36b;
  outline-offset: 2px;
}

.analytics-preferences-button {
  background: #fff;
  bottom: 12px;
  box-shadow: 0 6px 18px rgba(8, 29, 49, 0.22);
  color: #163d63;
  left: 12px;
  min-height: 38px;
  padding: 9px 12px;
  position: fixed;
  z-index: 9999;
}

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

  .analytics-consent__content {
    padding: 18px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  .analytics-consent *,
  .analytics-preferences-button {
    scroll-behavior: auto;
    transition: none !important;
  }
}
