/* Full-viewport iframe */
html, body {
  height: 100%;
  margin: 0;
}

.wrap {
  height: 100%;
}

/* Make the survey fill the whole screen */
iframe {
  position: fixed;
  inset: 0;              /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100vh;
  border: 0;
}

/* Floating action buttons container (mouse events only on buttons) */
.fab {
  position: fixed;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 10px;
  z-index: 1000;         /* stays above the iframe */
  pointer-events: none;  /* so iframe can still receive clicks elsewhere */
}

/* Buttons: no background or border, just text */
.fab button {
  pointer-events: auto;     /* re-enable clicks on the buttons themselves */
  appearance: none;
  border: none;
  background: transparent;  /* ← no background */
  color: #000;           /* white text on top of the survey */
  font: 600 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 6px 10px;
  border-radius: 9999px;    /* purely for nicer hit-area; no bg shown */
  text-shadow: 0 1px 2px rgba(0,0,0,0.45); /* readability over any backdrop */
  cursor: pointer;
}

/* Optional hover affordance */
.fab button:hover {
  text-decoration: underline;
}

/* Tighter spacing on very small screens */
@media (max-width: 420px) {
  .fab {
    top: 8px;
    right: 8px;
    gap: 8px;
  }
  .fab button {
    font-size: 13px;
    padding: 5px 8px;
  }
}
