.axiom-cmp-backdrop {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  /* near-opaque dark backdrop to match Figma */
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  -webkit-font-smoothing: antialiased;
}

.axiom-cmp-card {
  width: 350px; /* exact width from Figma */
  max-width: calc(100% - 32px);
  background: transparent; /* card sits visually on dark backdrop */
  color: #fffef2;
  font-family: 'Roboto Mono', monospace;
  padding: 20px 26px; /* lateral padding aligns to 298px content inside 350px frame */
  box-sizing: border-box;
  text-align: center;
}

.axiom-cmp-title {
  font-weight: 700;
  font-size: 18px; /* tuned to match Figma scale */
  line-height: 22px;
  margin: 0 0 14px 0;
  text-transform: none;
  letter-spacing: 0.04em;
}

.axiom-cmp-desc {
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 18px;
  max-width: 298px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.axiom-cmp-link {
  color: #fffef2;
  text-decoration: underline;
}

.axiom-cmp-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
}

.axiom-cmp-button {
  min-width: 125px; /* matches Figma button width */
  height: 39px; /* matches Figma */
  padding: 8px 12px;
  font-size: 14px;
  line-height: 22px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.axiom-cmp-button-outline {
  background: transparent;
  color: #fffef2;
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: none;
}

.axiom-cmp-button-solid {
  background: #111;
  color: #fffef2;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 2px 0 rgba(255,255,255,0.02) inset;
}

.axiom-cmp-manage {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.axiom-cmp-manage-link {
  background: none;
  border: none;
  color: #fffef2;
  text-decoration: underline;
  font-size: 13px;
  cursor: pointer;
  text-transform: none;
}

@media (max-width: 400px) {
  .axiom-cmp-card { width: calc(100% - 32px); padding-left: 16px; padding-right: 16px; }
  .axiom-cmp-actions { gap: 8px; }
}

/* Duplicate rules for the explicit "initial GDPR" dialog naming to make purpose obvious */
.axiom-initial-gdpr-backdrop {
  /* Match injected backdrop positioning: centered along X, anchored to bottom */
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 99999;
  background: transparent;
  display: block;
  padding: 0;
}

.axiom-initial-gdpr-card {
  width: 350px; /* Figma frame width */
  max-width: calc(100% - 32px);
  /* Allow height to grow with content while capping to viewport */
  height: auto;
  max-height: calc(100vh - 40px);
  background: rgba(17,17,17,0.98); /* solid card surface so it reads as a popup */
  color: #fffef2;
  font-family: 'Roboto Mono', monospace;
  padding: 22px 26px;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: auto;
}

.axiom-initial-gdpr-title {
  font-weight: 700;
  font-size: 18px; /* original size tuned */
  line-height: 22px;
  margin: 0 0 14px 0;
  text-transform: none;
  letter-spacing: 0.04em;
}

.axiom-initial-gdpr-desc {
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 18px;
  text-align: left;
}

.axiom-initial-gdpr-link {
  color: #fffef2;
  text-decoration: underline;
}

.axiom-initial-gdpr-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

.axiom-initial-gdpr-button {
  min-width: 125px;
  height: 39px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 22px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}

.axiom-initial-gdpr-button-outline {
  background: transparent;
  color: #fffef2;
  border: 1px solid rgba(255,255,255,0.85);
}

.axiom-initial-gdpr-button-solid {
  background: #111;
  color: #fffef2;
  border: 1px solid rgba(255,255,255,0.05);
}

.axiom-initial-gdpr-manage {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.axiom-initial-gdpr-manage-link {
  background: none;
  border: none;
  color: #fffef2;
  text-decoration: underline;
  font-size: 13px;
  cursor: pointer;
}

@media (max-width: 400px) {
  .axiom-initial-gdpr-card { width: calc(100% - 32px); padding-left: 16px; padding-right: 16px; }
  .axiom-initial-gdpr-actions { gap: 8px; }
}


