:root {
  --brand: #0d6efd;
  --brand2: #6610f2;
}

body {
  background: #f6f7fb;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: 70px;
}

.hero-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
  border: 0;
  color: #fff;
}

.progress-slim { height: 6px; border-radius: 4px; background: rgba(0,0,0,.08); }
.progress-slim .progress-bar { border-radius: 4px; }

.cat-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: #fff;
  flex: 0 0 36px;
}

/* Category chips as radio buttons */
.cat-chips .cat-chip {
  cursor: pointer;
  user-select: none;
}
.cat-chips .cat-chip input { display: none; }
.cat-chips .cat-chip span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  border: 1.5px solid #dee2e6;
  font-size: .9rem;
  background: #fff;
  transition: all .15s ease;
}
.cat-chips .cat-chip span i { color: var(--c, #6c757d); }
.cat-chips .cat-chip input:checked + span {
  border-color: var(--c, var(--brand));
  background: color-mix(in srgb, var(--c, var(--brand)) 12%, white);
  color: #212529;
  font-weight: 600;
}

/* Bottom navigation with center FAB */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: #fff;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
  flex: 1;
  color: #6c757d;
  text-align: center;
  text-decoration: none;
  font-size: .72rem;
  line-height: 1;
  padding: .25rem 0;
}
.bottom-nav a i { display: block; font-size: 1.25rem; margin-bottom: 2px; }
.bottom-nav a.active { color: var(--brand); font-weight: 600; }
.bottom-nav a.fab {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  margin-top: -28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(13,110,253,.35);
}
.bottom-nav a.fab i { font-size: 1.5rem; margin: 0; }

/* Keep content above bottom nav */
main { min-height: calc(100vh - 120px); }

.list-group-item.list-group-item-action:hover { background: #f1f3f7; }
