.anak-card {
    border: 1.5px solid #e9e9e9;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 8px;
}

.anak-card:hover {
    border-color: #696cff;
    background: #f8f8ff;
}

.anak-card.active {
    border-color: #696cff;
    background: #f0f0ff;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: #e9e9e9;
    z-index: 0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 1;
    position: relative;
    font-weight: 700;
}

.dot-selesai {
    background: #e6f7f2;
    border: 2px solid #0f6e56;
    color: #0f6e56;
}

.dot-terlambat {
    background: #fdecea;
    border: 2px solid #e74c3c;
    color: #e74c3c;
}

.dot-upcoming {
    background: #fff8e1;
    border: 2px solid #f5c518;
    color: #b8860b;
}

.dot-belum {
    background: #f5f5f5;
    border: 2px solid #dee2e6;
    color: #aaa;
}

.timeline-label {
    font-size: 0.68rem;
    text-align: center;
    margin-top: 6px;
    max-width: 90px;
    color: #555;
    line-height: 1.3;
}

.timeline-usia {
    font-size: 0.65rem;
    color: #aaa;
    text-align: center;
}
