.analytics-consent {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 22px;
  width: min(920px, calc(100% - 32px));
  transform: translate(-50%, calc(100% + 50px));
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 24px;
  border: 1px solid #d7e4f5;
  border-radius: 20px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 20px 60px rgba(5,36,89,.18);
  color: #08245a;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  font-family: inherit;
}

.analytics-consent.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.analytics-consent__copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.analytics-consent__copy p {
  max-width: 610px;
  margin: 0;
  color: #526886;
  font-size: 14px;
  line-height: 1.55;
}

.analytics-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.analytics-consent button,
.analytics-settings {
  border: 1px solid #cbdcf2;
  border-radius: 12px;
  background: #fff;
  color: #08245a;
  padding: 12px 16px;
  font: 700 14px/1 inherit;
  cursor: pointer;
}

.analytics-consent .analytics-consent__accept {
  border-color: transparent;
  background: linear-gradient(135deg,#1478ff,#20c3ca);
  color: #fff;
}

.analytics-settings {
  position: fixed;
  z-index: 9998;
  left: 14px;
  bottom: 14px;
  display: none;
  padding: 9px 12px;
  box-shadow: 0 8px 24px rgba(5,36,89,.15);
}

.analytics-settings.is-visible {
  display: block;
}

@media (max-width: 700px) {
  .analytics-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    bottom: 12px;
    padding: 20px;
  }

  .analytics-consent__actions {
    width: 100%;
  }

  .analytics-consent__actions button {
    flex: 1;
  }
}
