/* BubbleFocus brand tokens + UI primitives
   Safe to include before style.css so existing rules can override if needed.
*/

:root {
  /* Brand */
  --bf-teal: #14B8A6;
  --bf-teal-600: #0D9488;
  --bf-teal-soft: rgba(20, 184, 166, 0.18);

  --bf-purple: #7C3AED;
  --bf-purple-700: #6D28D9;
  --bf-purple-soft: rgba(124, 58, 237, 0.18);

  /* Neutrals */
  --bf-bg-dark: #0F172A;
  --bf-surface: rgba(255, 255, 255, 0.06);
  --bf-surface-2: rgba(255, 255, 255, 0.09);
  --bf-border: rgba(255, 255, 255, 0.14);

  --bf-text: rgba(255, 255, 255, 0.92);
  --bf-text-muted: rgba(255, 255, 255, 0.72);

  /* UI tokens */
  --bf-radius: 14px;
  --bf-radius-sm: 10px;

  --bf-shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.22);
  --bf-shadow-md: 0 12px 40px rgba(0, 0, 0, 0.30);

  --bf-focus: 0 0 0 3px rgba(20, 184, 166, 0.35);
}

/* ---------- Buttons (generic) ---------- */
.bf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.6rem 1rem;
  border-radius: var(--bf-radius-sm);
  font-weight: 600;
  line-height: 1;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, filter 140ms ease;
  user-select: none;
  white-space: nowrap;
}

.bf-btn:focus {
  outline: none;
  box-shadow: var(--bf-focus);
}

.bf-btn:active {
  transform: translateY(1px);
}

/* Primary = BubbleFocus gradient */
.bf-btn-primary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, var(--bf-teal), var(--bf-purple));
  box-shadow: var(--bf-shadow-sm);
}

.bf-btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: var(--bf-shadow-md);
}

/* Secondary = subtle surface */
.bf-btn-secondary {
  color: var(--bf-text);
  border: 1px solid var(--bf-border);
  background: rgba(255, 255, 255, 0.06);
}

.bf-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
}

/* Outline (use for “AI / Insights” actions if you like) */
.bf-btn-outline-purple {
  color: var(--bf-text);
  border: 1px solid rgba(124, 58, 237, 0.55);
  background: rgba(124, 58, 237, 0.10);
}

.bf-btn-outline-purple:hover {
  background: rgba(124, 58, 237, 0.16);
  border-color: rgba(124, 58, 237, 0.75);
}

/* ---------- Cards / Panels ---------- */
.bf-card {
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow-sm);
}

.bf-card:hover {
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: var(--bf-shadow-md);
}

.bf-card-title {
  color: var(--bf-text);
  font-weight: 700;
}

.bf-card-subtitle {
  color: var(--bf-text-muted);
}

/* Accent strips (optional) */
.bf-accent-teal { border-left: 4px solid var(--bf-teal); }
.bf-accent-purple { border-left: 4px solid var(--bf-purple); }
