/* Timeline específico */
.timeline-container {
    position: relative;
    padding: 10px 0 10px 20px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(58, 110, 165, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 25px;
    animation: fadeInTimeline 0.5s ease-out forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}
.timeline-item:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInTimeline {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-marker {
    position: absolute;
    left: -14px;
    top: 0;
    width: 28px;
    height: 28px;
    background: white;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
}

.timeline-marker i {
    font-size: 0.8rem;
}

.timeline-marker.completed {
    background: linear-gradient(135deg, var(--success-color), #3cb371);
    border-color: white;
    color: white;
    box-shadow: 0 2px 8px rgba(46, 139, 86, 0.3);
}

.timeline-date {
    display: inline-block;
    background: rgba(230, 179, 37, 0.1);
    color: var(--secondary-color);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 15px;
    margin-bottom: 8px;
    border: 1px solid rgba(230, 179, 37, 0.2);
}

.timeline-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid rgba(58, 110, 165, 0.1);
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    border-color: rgba(230, 179, 37, 0.2);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.timeline-title {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.timeline-badge {
    background: linear-gradient(135deg, var(--primary-color), #4a7bb5);
    color: white;
    font-size: 0.6rem;
    padding: 3px 8px;
    border-radius: 12px;
    letter-spacing: 0.3px;
}

.message-preview {
    background: rgba(248, 245, 241, 0.5);
    padding: 10px;
    border-radius: 10px;
    margin: 10px 0;
    border-left: 3px solid var(--accent-color);
}

.message-preview p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.verse-mini {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 0.8rem;
    color: var(--dark-color);
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.reflection-badge {
    background: rgba(46, 139, 86, 0.1);
    color: var(--success-color);
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 8px 0 0;
}

.reflection-text {
    background: rgba(156, 124, 92, 0.05);
    padding: 12px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.5;
    border-left: 3px solid var(--secondary-color);
    position: relative;
}

.reflection-text::before {
    content: '“';
    position: absolute;
    top: -5px;
    left: 5px;
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: serif;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    background: white;
    border: 1px solid rgba(58, 110, 165, 0.2);
    color: var(--text-color);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary-color), #4a7bb5);
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(58, 110, 165, 0.3);
}

.filter-tab i {
    margin-right: 4px;
    font-size: 0.7rem;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.stat-pill {
    background: white;
    border-radius: 30px;
    padding: 8px 5px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    border: 1px solid rgba(58, 110, 165, 0.1);
}

.stat-pill-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-pill-label {
    font-size: 0.6rem;
    color: var(--text-color);
    opacity: 0.7;
}

.expand-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    opacity: 1;
}