.analytics-consent[hidden],
.analytics-consent-banner[hidden],
.analytics-preferences-button[hidden] {
  display: none !important;
}

.analytics-consent {
  position: relative;
  z-index: 1000;
}

.analytics-consent-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #172033;
  background: #fff;
  border: 1px solid #dce2ec;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(16, 24, 40, .2);
}

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

.analytics-consent-banner p {
  max-width: 760px;
  margin: 0;
  color: #566176;
  font-size: .9rem;
  line-height: 1.5;
}

.analytics-consent-banner a {
  color: #4056c9;
  font-weight: 700;
}

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

.analytics-consent-button,
.analytics-preferences-button {
  min-height: 44px;
  padding: 9px 15px;
  font: inherit;
  font-weight: 750;
  border: 1px solid #cbd3e1;
  border-radius: 9px;
  cursor: pointer;
}

.analytics-consent-reject {
  color: #273044;
  background: #fff;
}

.analytics-consent-accept {
  color: #fff;
  background: #4967ee;
  border-color: #4967ee;
}

.analytics-preferences-button {
  position: fixed;
  right: 16px;
  bottom: 16px;
  min-height: 40px;
  padding: 8px 11px;
  color: #33415f;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 22px rgba(16, 24, 40, .16);
  font-size: .78rem;
}

@media (max-width: 680px) {
  .analytics-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    gap: 14px;
    padding: 16px;
  }

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