/* OhioMade QR — Compact overrides */
/* Load AFTER app.css to shrink spacing/buttons while staying iOS-safe */

:root {
  --radius: 10px;
}

/* Safe-area but tighter */
body {
  padding: env(safe-area-inset-top,12px) 10px
           env(safe-area-inset-bottom,16px);
}

/* Container tighter & narrower */
.container {
  max-width: 420px;
  padding: 14px 12px 18px;
  margin-bottom: 24px;
}

/* Headings smaller */
h1 { font-size: 1.25rem; margin-bottom: 8px; }
h2 { font-size: 1rem;   margin-bottom: 6px; }

/* Inputs/selects: keep ≥16px to avoid iOS zoom, but compact */
input[type=text],
input[type=url],
select {
  font-size: 16px;              /* avoids iOS zoom */
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: var(--radius);
}

/* Buttons: slimmer, shorter */
button,
.btn-primary,
.btn-green,
.btn-gray,
#gen, #dl, #print, #share {
  font-size: 16px;              /* avoids iOS zoom */
  padding: 10px 0;
  margin: 6px 0;
  border-radius: var(--radius);
  box-shadow: none;             /* calmer look */
}

/* Preview area smaller */
#qrcode {
  min-height: 220px;
  margin-top: 10px;
}
#qrcode svg { width: 86%; }

/* Preview card tighter */
.preview-card {
  padding: 14px;
  margin-top: 12px;
  border-radius: var(--radius);
}

/* Advanced toggle smaller */
#advancedToggle {
  font-size: 0.85rem;
  padding: 9px 0;
}

/* Utility: tighter vertical stacks if you use it */
.stack-tight > * + * { margin-top: 8px; }

/* Small helper text */
.hint { font-size: .8rem; opacity: .72; }