/* Case Timeline Styling */
.timeline-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 30px;
    border-left: 2px solid #e0e0e0;
}

.timeline-item:last-child {
    border-left: 2px solid transparent;
}

.timeline-dot {
    position: absolute;
    left: -8px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4CAF50;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #4CAF50;
}

.timeline-item.status-update .timeline-dot {
    background: #2196F3;
    box-shadow: 0 0 0 2px #2196F3;
}

.timeline-item.document-upload .timeline-dot {
    background: #FF9800;
    box-shadow: 0 0 0 2px #FF9800;
}

.timeline-item.comment .timeline-dot {
    background: #9C27B0;
    box-shadow: 0 0 0 2px #9C27B0;
}

.timeline-content {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.timeline-title {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.timeline-time {
    font-size: 12px;
    color: #999;
}

.timeline-description {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.timeline-user {
    font-size: 12px;
    color: #2196F3;
    margin-top: 8px;
    font-style: italic;
}

/* Audit Trail Specific */
.audit-entry {
    background: #f8f9fa;
    border-left: 3px solid #6c757d;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.audit-action {
    font-weight: 600;
    color: #495057;
}

.audit-details {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

.audit-timestamp {
    font-size: 11px;
    color: #adb5bd;
    margin-top: 5px;
}
