.analytics-consent-panel,
.analytics-consent-launcher {
  position: fixed;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

.analytics-consent-panel {
  box-sizing: border-box;
  right: 18px;
  bottom: 18px;
  width: min(620px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid rgba(23, 33, 39, 0.22);
  border-radius: 16px;
  background: #fffdf9;
  color: #1b2328;
  box-shadow: 0 18px 48px rgba(23, 33, 39, 0.2);
}

.analytics-consent-panel h2 {
  margin: 0;
  color: #1b2328;
  font-size: 20px;
  line-height: 1.3;
}

.analytics-consent-panel p {
  margin: 10px 0 0;
  color: #4b585f;
  font-size: 15px;
  line-height: 1.55;
}

.analytics-consent-panel a {
  color: #1d454b;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.analytics-consent-status {
  font-weight: 600;
}

.analytics-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.analytics-consent-button,
.analytics-consent-launcher {
  min-height: 44px;
  border: 1px solid #234b52;
  border-radius: 999px;
  background: #fffdf9;
  color: #1d454b;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.analytics-consent-button {
  padding: 10px 16px;
}

.analytics-consent-button:hover,
.analytics-consent-launcher:hover {
  background: #edf4f3;
}

.analytics-consent-button:focus-visible,
.analytics-consent-launcher:focus-visible {
  outline: 3px solid #1c6b79;
  outline-offset: 3px;
}

.analytics-consent-launcher {
  right: 18px;
  bottom: 18px;
  padding: 0 18px;
  box-shadow: 0 8px 24px rgba(23, 33, 39, 0.18);
}

.analytics-consent-panel[hidden],
.analytics-consent-launcher[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .analytics-consent-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px;
  }

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

  .analytics-consent-launcher {
    right: 12px;
    bottom: 12px;
  }
}
