@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.timeline-pill {
    position: relative;
    grid-column: var(--start-col) / span calc(var(--end-col) - var(--start-col));
    background: var(--bg-color);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px 0 8px;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.timeline-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px -4px rgba(0, 0, 0, 0.1);
}

.pill-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pill-icon-circle i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    color: #4a5568;
}

.pill-text {
    font-weight: 500;
    color: #2d3748;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.last-pill {
    grid-column: var(--start-col) / -1;
    animation: fadeOutRight 0.5s ease-out forwards;
}

@keyframes fadeOutRight {
    100% {
        opacity: 0.9;
        transform: translateX(10px);
    }
}

@media (max-width: 768px) {
    .timeline-pill {
        grid-column: 1 / -1 !important;
        margin-bottom: 12px;
    }
    
    .pill-text {
        white-space: normal;
        font-size: 14px;
    }
    
    .timeline-pill {
        padding-right: 16px;
    }
}