/* Timeline Base Styles */
.tl-container {
    width: 100%;
    padding: 40px 15px;
    box-sizing: border-box;
}
.tl-wrapper {
    position: relative;
}
.tl-center-line {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 4px;
}
.tl-item {
    position: relative;
    margin-bottom: 4rem;
}
.tl-item:last-child {
    margin-bottom: 0;
}
.tl-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tl-content-box {
    text-align: center;
    width: 100%;
}
.tl-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}
.tl-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.tl-content {
    margin-bottom: 1rem;
    line-height: 1.5;
}
.tl-time-box {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    justify-content: center;
}
.tl-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}
.tl-dot {
    display: none;
    position: absolute;
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 4px solid #2a2c2e;
    z-index: 10;
}
.tl-empty-box {
    display: none;
    width: 50%;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .tl-center-line {
        display: block;
    }
    .tl-item-inner {
        flex-direction: row;
        align-items: flex-start;
    }
    .tl-item-inner.tl-left-side .tl-content-box {
        width: 50%;
        padding-right: 3rem;
        text-align: right;
    }
    .tl-item-inner.tl-left-side .tl-step-number {
        margin-right: 0;
        margin-left: auto;
    }
    .tl-item-inner.tl-left-side .tl-time-box {
        justify-content: flex-end;
    }
    .tl-item-inner.tl-left-side .tl-empty-box {
        display: block;
        width: 50%;
        padding-left: 3rem;
    }

    .tl-item-inner.tl-right-side {
        flex-direction: row-reverse;
    }
    .tl-item-inner.tl-right-side .tl-content-box {
        width: 50%;
        padding-left: 3rem;
        text-align: left;
    }
    .tl-item-inner.tl-right-side .tl-step-number {
        margin-left: 0;
        margin-right: auto;
    }
    .tl-item-inner.tl-right-side .tl-time-box {
        justify-content: flex-start;
    }
    .tl-item-inner.tl-right-side .tl-empty-box {
        display: block;
        width: 50%;
        padding-right: 3rem;
    }
    
    .tl-dot {
        display: block;
    }
}
