/* Arrow Spinner standalone page styles */

/* ── Stage: fixed square, overlays both SVGs ─────────────────────────── */
.arrow-spinner-stage {
  position: relative;
  width: clamp(200px, 70vw, 280px);
  height: clamp(200px, 70vw, 280px);
  margin: 1.25rem auto;
  color: var(--accent-1); /* drives needle fill via currentColor */
}

/* The compass dial + needle SVG (built by SpinnerArrow) fills the stage.
   Its visual styling lives in style.css so the editable map shares it. */
.arrow-spinner-stage > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* ── Card wrapper: centered column ───────────────────────────────────── */
.arrow-spinner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem auto;
  max-width: 420px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ── Result display ──────────────────────────────────────────────────── */
.arrow-result {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  min-height: 2.25rem;
  text-align: center;
  letter-spacing: -0.01em;
}

/* ── Spin button: spacing (inherits .btn.btn-primary styles) ─────────── */
.arrow-spin-btn {
  margin-top: 0.25rem;
  min-width: 120px;
}

/* ── Output options fieldset ─────────────────────────────────────────── */
.arrow-output-options {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.arrow-output-options legend {
  float: left;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
}

.arrow-output-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

/* ── Editable-map CTA emphasis (accent border + soft fill) ───────────── */
.editable-cta-card {
  border: 2px solid var(--accent-1);
  background: var(--accent-1-soft);
}
