/* GetBusiness QR Generator basic styles */
.gb-qrgen {
  --gap: 12px;
  --radius: 12px;
  --border: 1px solid #e5e7eb;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
  color: #0f172a;
}

.gb-qrgen * { box-sizing: border-box; }

.gb-qrgen .gb-card {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gb-qrgen .gb-grid {
  display: grid;
  gap: var(--gap);
}

.gb-qrgen .gb-controls {
  padding: 16px;
}

.gb-qrgen label {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  display: block;
  margin-bottom: 6px;
}

.gb-qrgen input[type="text"],
.gb-qrgen input[type="url"],
.gb-qrgen input[type="email"],
.gb-qrgen input[type="number"],
.gb-qrgen input[type="color"],
.gb-qrgen textarea,
.gb-qrgen select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  outline: none;
}

.gb-qrgen textarea { min-height: 80px; resize: vertical; }

.gb-qrgen .gb-row {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr 1fr;
}

.gb-qrgen .gb-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.gb-qrgen button {
  border: 1px solid #0f172a;
  background: #325096;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.gb-qrgen button.gb-ghost { background:#fff; color:#325096; border-color:#cbd5e1; }

.gb-qrgen .gb-preview {
  padding: 16px;
  display: grid;
  place-items: center;
}

.gb-qrgen .gb-preview-inner {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
}

.gb-qrgen .gb-footer {
  font-size: 12px; color:#64748b; text-align:center; padding: 8px 0 0;
}

/* Responsive */
@media (min-width: 980px) {
  .gb-qrgen .gb-2col { grid-template-columns: 1.1fr 1fr; }
}


/* ==== Responsive helpers (layout only) ==== */
.gb-qrgen, .gb-qrgen * { box-sizing: border-box; }
.gb-qrgen .gb-preview, .gb-qrgen .gb-preview-inner, .gb-qrgen #gb-canvas { width: 100%; }
.gb-qrgen .gb-preview-inner canvas, .gb-qrgen .gb-preview-inner img { max-width: 100%; height: auto !important; display: block; }

.gb-qrgen .gb-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

@media (max-width: 900px) {
  .gb-qrgen .gb-2col, .gb-qrgen .gb-row { grid-template-columns: 1fr !important; }
  .gb-qrgen .gb-actions { flex-direction: column !important; align-items: stretch !important; }
  .gb-qrgen .gb-actions .btn, .gb-qrgen .gb-actions button, .gb-qrgen .gb-actions a { width: 100% !important; }
  .gb-qrgen .gb-preview-inner { padding: 12px; }
}
