.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(20, 42, 104, 0.18);
  border-top: 4px solid #ea7a19;
  border-radius: 8px;
  background: #ffffff;
  color: #172236;
  box-shadow: 0 22px 60px rgba(15, 28, 51, 0.2);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.analytics-consent__copy strong {
  display: block;
  margin-bottom: 6px;
  color: #142a68;
  font-size: 16px;
}

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

.analytics-consent__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.analytics-consent__actions button {
  min-height: 42px;
  margin: 0;
  padding: 10px 15px;
  border-radius: 7px;
  border: 1px solid #203c8c;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.analytics-consent__deny {
  background: #ffffff;
  color: #203c8c;
}

.analytics-consent__accept {
  background: #203c8c;
  color: #ffffff;
}

.analytics-privacy-button {
  appearance: none;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-privacy-button.is-floating {
  position: fixed;
  z-index: 900;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  border: 1px solid rgba(20, 42, 104, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: #203c8c;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 28, 51, 0.1);
}

@media (max-width: 700px) {
  .analytics-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .analytics-consent__actions {
    width: 100%;
  }

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