@import url('../../cielo-premium/css/styles.css');

/* Timeline Celestial Style */
.cielo-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.cielo-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--cielo-accent), transparent);
    transform: translateX(-50%);
    opacity: 0.5;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '★';
    /* Star icon */
    position: absolute;
    top: 0px;
    font-size: 20px;
    color: var(--cielo-accent);
    text-shadow: 0 0 10px var(--cielo-accent);
    background: var(--cielo-bg);
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item:nth-child(odd)::after {
    right: -15px;
}

.timeline-item:nth-child(even)::after {
    left: -15px;
}

@media (max-width: 768px) {
    .cielo-timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 5px;
        right: auto;
    }
}