/* ── Dashboard page ────────────────────────────────────────── */
.dashboard-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 12px 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.dashboard-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.dashboard-card h4 [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--violet-400);
}

/* Stats card */
.dashboard-stats-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.dashboard-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 8px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
}

.dashboard-stat-value {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--violet-400);
}

.dashboard-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.share-profile-btn {
  margin-top: 12px;
  grid-column: 1 / -1;
  justify-self: center;
}

/* Mini grid for marketplace / people previews */
.dashboard-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mini-product-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.15s;
}
.mini-product-card:hover {
  transform: translateY(-2px);
}

.mini-product-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.mini-product-card strong {
  padding: 6px 8px 2px;
  font-size: 0.8rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-price {
  padding: 0 8px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-400);
}

/* People preview list */
.dashboard-card .vertical-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-card .list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s;
}
.dashboard-card .list-item:hover {
  background: var(--bg-elevated);
}

.activity-avatar img,
.activity-avatar .avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

/* Greeting */
.dashboard-greeting {
  padding: 0 0 8px;
}
.dashboard-greeting h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

/* Empty state card */
.empty-state-card {
  text-align: center;
  padding: 24px;
}

/* Dev support FAB */
.dev-support-fab {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 300;
  transition: transform 0.2s;
}
.dev-support-fab:hover {
  transform: scale(1.1);
}

.dashboard-version {
  text-align: center;
  padding: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
}