/* Timeline styling for session history and logs */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

.timeline-point {
    position: absolute;
    left: -30px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #007bff;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #007bff;
}

.timeline-content {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.timeline-time {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.timeline-text {
    color: #212529;
}

/* Specific colors for different action types */
.timeline-point.bg-success {
    background-color: #28a745 !important;
    box-shadow: 0 0 0 2px #28a745 !important;
}

.timeline-point.bg-danger {
    background-color: #dc3545 !important;
    box-shadow: 0 0 0 2px #dc3545 !important;
}

.timeline-point.bg-info {
    background-color: #17a2b8 !important;
    box-shadow: 0 0 0 2px #17a2b8 !important;
}

.timeline-point.bg-warning {
    background-color: #ffc107 !important;
    box-shadow: 0 0 0 2px #ffc107 !important;
}

/* Animation for new items */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline-item {
    animation: fadeIn 0.3s ease-out;
}
