/* Catch-Up Calculator - Page-specific styles */

.age-display {
  margin-top: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--c-primary-soft);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-primary);
}

.vaccine-group {
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-border-light);
}
.vaccine-group:last-child { border-bottom: none; margin-bottom: 0; }
.vaccine-group-header {
  display: flex; align-items: center; gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.vaccine-group-name {
  font-size: var(--text-base); font-weight: 700; color: var(--c-text);
}
.vaccine-group-abbr {
  font-size: var(--text-xs); font-weight: 600;
  padding: 2px 8px; border-radius: var(--r-full);
  background: var(--c-primary-soft); color: var(--c-primary);
}
.dose-row {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-2) 0;
}
.dose-check {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: var(--text-sm); cursor: pointer;
}
.dose-check input { width: auto; height: auto; accent-color: var(--c-primary); }

.plan-summary {
  padding: var(--s-4); border-radius: var(--r-md);
  margin-bottom: var(--s-4);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
.plan-summary.all-caught-up {
  background: var(--c-green-soft); color: #15803d;
  font-weight: 600; text-align: center;
  font-size: var(--text-base);
}
.plan-summary.needs-catchup {
  background: var(--c-amber-soft); color: #92400e;
}

.plan-vaccine {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: var(--s-4);
  margin-bottom: var(--s-3);
}
.plan-vaccine-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--s-2);
}
.plan-vaccine-name { font-weight: 700; font-size: var(--text-base); }
.plan-vaccine-status {
  font-size: var(--text-xs); font-weight: 600;
  padding: 3px 10px; border-radius: var(--r-full);
}
.status-due { background: var(--c-red-soft); color: #991b1b; }
.status-on-track { background: var(--c-green-soft); color: #15803d; }
.status-complete { background: var(--c-green-soft); color: #15803d; }

.plan-dose-list {
  margin: 0; padding: 0;
}
.plan-dose-item {
  display: flex; gap: var(--s-3); padding: var(--s-2) 0;
  border-bottom: 1px solid var(--c-border-light);
  font-size: var(--text-sm);
}
.plan-dose-item:last-child { border-bottom: none; }
.plan-dose-num { font-weight: 700; color: var(--c-primary); min-width: 60px; }
.plan-dose-info { color: var(--c-text-secondary); }
.plan-dose-info strong { color: var(--c-text); }

@media (max-width: 768px) {
  .plan-vaccine-header { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
}
