/* ============================================================
   RAR MEDICAL MICROBIOLOGY · PertussisStageTimeline styles (.bpt)
   Horizontal 3-node timeline (left→right = time) + detail panel + adult
   footnote. Scoped .bpt-; reader text #111111.
   ============================================================ */

.bpt { color: #111111; margin: 4px 0 0; }

/* ---- timeline track ---- */
.bpt-track {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 6px; margin: 6px 0 4px;
}
.bpt-node {
    flex: 1 1 0; min-width: 0;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: transparent; border: 0; cursor: pointer; padding: 6px 4px 8px;
    border-radius: 12px; text-align: center;
}
.bpt-dot {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800;
    background: #fff; color: #64748b;
    border: 2px solid rgba(15, 23, 42, 0.16);
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.bpt-name { font-size: 15.5px; font-weight: 800; color: #111111; letter-spacing: -0.01em; }
.bpt-dur { font-size: 12.5px; font-weight: 600; color: #64748b; }

.bpt-node.is-done .bpt-dot { background: #dbeafe; color: #1d4ed8; border-color: #93c5fd; }
.bpt-node.is-active .bpt-dot { background: #0a84ff; color: #fff; border-color: #0a84ff; box-shadow: 0 4px 12px rgba(10, 132, 255, 0.32); }
.bpt-node.is-active { background: rgba(10, 132, 255, 0.06); }
.bpt-node.is-active .bpt-name { color: #0a4fa8; }
.bpt-node:hover .bpt-dot { border-color: rgba(10, 132, 255, 0.5); }
.bpt-node:focus-visible { outline: 2px solid #0a84ff; outline-offset: 2px; }

.bpt-arrow {
    align-self: center; margin-top: 12px;
    color: #94a3b8; font-size: 18px; font-weight: 700; flex: 0 0 auto;
}

/* ---- detail panel ---- */
.bpt-detail {
    margin-top: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(10, 132, 255, 0.18);
    background: linear-gradient(180deg, rgba(238, 245, 255, 0.6), rgba(255, 255, 255, 0.96));
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.bpt-detail-h { font-size: 17px; font-weight: 800; color: #111111; letter-spacing: -0.01em; }
.bpt-detail-badge {
    display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
    background: #0a84ff; color: #fff; border-radius: 6px; padding: 2px 8px; vertical-align: 2px; margin-right: 4px;
}
.bpt-detail-dur { font-weight: 600; color: #4a5a74; font-size: 15px; }
.bpt-detail-one { margin: 8px 0 8px; font-size: 15px; font-style: italic; color: #334155; }
.bpt-detail-body { margin: 0; font-size: 15.5px; line-height: 1.6; color: #111111; }
.bpt-detail-body strong { font-weight: 800; }

/* ---- adult footnote (persistent, not tied to a stage) ---- */
.bpt-foot {
    margin: 14px 0 0;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-left: 4px solid #0a84ff;
    background: rgba(15, 23, 42, 0.02);
    font-size: 13.5px; line-height: 1.5; color: #111111;
}

@media (max-width: 560px) {
    .bpt-track { flex-direction: column; align-items: stretch; gap: 8px; }
    .bpt-node { flex-direction: row; justify-content: flex-start; gap: 12px; text-align: left; padding: 8px 10px; border: 1px solid rgba(15, 23, 42, 0.1); }
    .bpt-node .bpt-dur { margin-left: auto; }
    .bpt-arrow { align-self: center; margin: 0; transform: rotate(90deg); }
}
