/* ─────────────────────────────────────────────────────────────────
   css/business-profile.css — Phase 3.14 (2026-05-24)
   Business Profile modal + floating action button (.bizpro-*).
   Visual language matches expansion-packs-picker.css (brand-blue CTAs,
   --surface elevation, --border, --radius tokens).
   ───────────────────────────────────────────────────────────────── */

/* Floating action button — bottom-right, always-on-top entry point */
.bizpro-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--brand-blue, #1976D2);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(26, 26, 46, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms ease, background-color 120ms ease;
}
.bizpro-fab:hover { background: var(--brand-blue-dark, #0D47A1); transform: scale(1.05); }
.bizpro-fab:active { transform: scale(0.96); }

/* Backdrop / Modal shell */
.bizpro-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(12, 21, 48, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overscroll-behavior: contain;
}
.bizpro-card {
  background: var(--surface, var(--bg-elev, #fff));
  border: 1px solid var(--border, #E5DDD0);
  border-radius: var(--radius-lg, 18px);
  box-shadow: var(--shadow-xl, 0 16px 50px rgba(26, 26, 46, 0.16));
  width: min(620px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  color: var(--ink, #1A1A2E);
  font-family: 'DM Sans', sans-serif;
}

/* Header */
.bizpro-header {
  padding: 1.25rem 1.25rem 0.5rem;
  border-bottom: 1px solid var(--border-light, #EDE8E0);
}
.bizpro-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.bizpro-subtitle {
  font-size: 0.85rem;
  color: var(--ink-soft, #4A4A5A);
  margin: 0;
  line-height: 1.4;
}

/* Tab strip */
.bizpro-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 0;
}
.bizpro-tab {
  flex: 1 1 auto;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border, #E5DDD0);
  border-radius: var(--radius-md, 12px);
  background: var(--surface, #fff);
  color: var(--ink-soft, #4A4A5A);
  cursor: pointer;
  min-height: 44px;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.bizpro-tab.active {
  background: var(--brand-blue, #1976D2);
  color: #fff;
  border-color: var(--brand-blue, #1976D2);
}

/* Body / panels */
.bizpro-body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.bizpro-panel { display: none; }
.bizpro-panel.active { display: block; }
.bizpro-field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft, #4A4A5A);
  margin: 0.5rem 0 0.25rem;
}
.bizpro-input,
.bizpro-file {
  width: 100%;
  font: inherit;
  font-size: 16px; /* iOS zoom-defence floor */
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border, #E5DDD0);
  border-radius: var(--radius-md, 12px);
  background: var(--surface, #fff);
  color: var(--ink, #1A1A2E);
  min-height: 44px;
}
.bizpro-input:focus,
.bizpro-file:focus {
  outline: 2px solid var(--brand-blue, #1976D2);
  outline-offset: 1px;
}
.bizpro-hint {
  font-size: 0.75rem;
  color: var(--ink-muted, #8A8A9A);
  line-height: 1.4;
  margin: 0.5rem 0 0;
}

/* Status / preview */
.bizpro-status {
  font-size: 0.8rem;
  color: var(--ink-soft, #4A4A5A);
  min-height: 1.1em;
  margin-top: 0.25rem;
}
.bizpro-preview { display: flex; flex-direction: column; gap: 0.5rem; }
.bizpro-preview:empty { display: none; }
.bizpro-preview-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.bizpro-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.5rem;
}
.bizpro-tile {
  border-radius: var(--radius-md, 12px);
  padding: 0.5rem;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.bizpro-tile-emoji { font-size: 1.5rem; line-height: 1; }
.bizpro-tile-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--ink, #1A1A2E);
  line-height: 1.2;
  word-break: break-word;
}
.bizpro-tile-more {
  font-size: 0.78rem;
  color: var(--ink-muted, #8A8A9A);
  text-align: center;
}

/* Footer */
.bizpro-footer {
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--border-light, #EDE8E0);
  display: flex;
  gap: 0.625rem;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-wrap: wrap;
}
.bizpro-cancel,
.bizpro-generate,
.bizpro-save {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md, 12px);
  padding: 0.625rem 1.1rem;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 120ms ease, transform 120ms ease;
}
.bizpro-cancel {
  background: var(--surface, #fff);
  color: var(--ink-soft, #4A4A5A);
  border-color: var(--border, #E5DDD0);
}
.bizpro-cancel:hover {
  background: var(--surface-hover, #FAFAF5);
  color: var(--ink, #1A1A2E);
}
.bizpro-generate {
  background: var(--brand-blue, #1976D2);
  color: #fff;
}
.bizpro-generate:hover { background: var(--brand-blue-dark, #0D47A1); }
.bizpro-generate:disabled {
  opacity: 0.55;
  cursor: progress;
}
.bizpro-save {
  background: var(--brand-green, #2E7D32);
  color: #fff;
}
.bizpro-save:hover { background: var(--brand-green-dark, #1B5E20); }
.bizpro-save:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--surface, #fff);
  color: var(--ink-muted, #8A8A9A);
  border-color: var(--border, #E5DDD0);
}
