/* Base styles */
.angie-timeline-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
    padding-left: 30px;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ddd;
}
.timeline-item:last-child::before {
    display: none;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #333;
    z-index: 1;
}

/* Horizontal Layout */
.timeline-layout-horizontal .angie-timeline-wrapper {
    flex-direction: row;
}
.timeline-layout-horizontal .timeline-item {
    flex: 1;
    padding-left: 0;
    padding-bottom: 0;
    padding-top: 30px;
    padding-right: 20px;
}
.timeline-layout-horizontal .timeline-item::before {
    left: 0;
    top: 6px;
    bottom: auto;
    right: 0;
    height: 2px;
    width: 100%;
}
.timeline-layout-horizontal .timeline-item:last-child::before {
    display: none;
}
.timeline-layout-horizontal .timeline-dot {
    left: 0;
    top: 0;
}

/* Themes */
.timeline-theme-cards .timeline-content {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.timeline-theme-minimal .timeline-content {
    opacity: 0.8;
}
.timeline-theme-bubble .timeline-content {
    background: #eef2f5;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #d1d5db;
}
.timeline-theme-neon .timeline-content {
    background: #111;
    color: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    border: 1px solid #0ff;
}
.timeline-theme-neon .timeline-title {
    color: #0ff;
}
.timeline-theme-neon .timeline-subtitle {
    color: #aaa;
}
.timeline-theme-retro .timeline-content {
    background: #f4ecd8;
    padding: 15px;
    border: 2px dashed #8b5a2b;
    border-radius: 0;
    color: #3e2723;
}

/* Typography */
.timeline-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.timeline-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}
.timeline-desc {
    font-size: 1rem;
    line-height: 1.5;
}