﻿.analytics-consent {
  position: fixed;
  z-index: 10000;
  left: 1rem;
  bottom: 1rem;
  width: max-content;
  max-width: calc(100vw - 2rem);
  color: #f5f6fc;
  font: 14px/1.5 system-ui, sans-serif;
}

.analytics-consent-panel {
  position: absolute;
  bottom: calc(100% + .65rem);
  left: 0;
  width: min(23rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid #666d90;
  border-radius: .85rem;
  background: #171b2d;
  box-shadow: 0 .6rem 2rem #0007;
}

.analytics-consent-panel[hidden] { display: none; }
.analytics-consent-panel h2 { margin: 0; font-size: 1rem; color: inherit; }
.analytics-consent-panel p { margin: .5rem 0 .85rem; color: #e0e3f2; }

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
}

.analytics-consent button {
  padding: .5rem .75rem;
  color: #f5f6fc;
  background: #252b44;
  border: 1px solid #8790bc;
  border-radius: .55rem;
  font: inherit;
  cursor: pointer;
}

.analytics-consent button:hover { background: #353e61; }
.analytics-consent button:focus-visible { outline: 2px solid #c6b9ff; outline-offset: 3px; }
