/* ===========================
   Timeline Component
   Shared styles for timeline displays (status history, notes, etc.)
   =========================== */

.timeline-container {
    position: relative;
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.timeline-line-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.timeline-square {
    width: 36px;
    height: 36px;
    background: var(--blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    z-index: 2;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--blue);
}

.timeline-connector {
    width: 30px;
    height: 2px;
    background: var(--blue);
    margin-top: 17px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-content .card-body {
    padding: 1rem;
}

/* Content box used inside timeline items (reasons, notes, etc.) */
.timeline-content-box {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 4px;
}

.timeline-content-box p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .timeline-square {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .timeline-connector {
        width: 20px;
        margin-top: 15px;
    }
}
