/* Contenedor principal */
.timeline-container {
    width: 100%;
    padding: 20px;
    background: #f8f9fa;
}

/* Lista del timeline */
.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Cada ítem del timeline */
.timeline li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Icono del timeline */
.timeline-media {
    width: 50px;
    height: 50px;
    background: #f7f7f7;
    color: #888888;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-right: 15px;
}

/* Panel de contenido */
.timeline-panel {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1;
}

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

/* Título */
.timeline-title {
    font-size: 16px;
    font-weight: bold;
}

/* Hora y usuario */
.timeline-time {
    font-size: 14px;
    color: gray;
}

.timeline-user {
    color: #007bff;
}

/* Contenido */
.timeline-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Badges */
.badge {
    background: #eee;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

/* Avatares */
.avatar-list img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.avatar-initials {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estados */
.status {
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    font-weight: bold;
}

.in-progress {
    background: #ffc107;
    color: black;
}

.completed {
    background: #28a745;
    color: white;
}

/* .timeline li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.timeline li.visible {
    opacity: 1;
    transform: translateY(0);
} */


.widget-timeline-status {
    position: relative;
    padding-left: 3rem;
    width: 100%;
}

.widget-timeline-status .timeline {
    list-style: none;
    padding: 0;
    position: relative;
    width: 100%;
}

.widget-timeline-status .timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ccc;
}

.widget-timeline-status .timeline li {
    position: relative;
    padding: 0 0 0 40px;
    display: flex;
    align-items: center;
    width: 100%;
}

.widget-timeline-status .timeline-status {
    position: absolute;
    left: -55px;
    font-size: 14px;
    font-weight: bold;
    text-align: center !important;
    color: #333;
    white-space: nowrap;
}

.widget-timeline-status .timeline-badge {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 3px solid #000;
    background: #fff;
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
}

.widget-timeline-status .timeline-panel {
    background: #f9f9f9;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: none;
}



