﻿.timeline-vertical {
    position: relative;
    width: 320px;
    margin: 50px auto;
    font-family: 'Segoe UI', sans-serif;
}

/* Full green vertical line */
.vertical-line-completed {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background-color: #28a745; /* full green line */
    border-radius: 2px;
    z-index: 0;
}

/* Step item */
.step {
    position: relative;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
}

/* Step circle */
.circle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #ccc;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

    /* Completed step */
    .circle.active {
        background-color: #28a745;
        box-shadow: 0 0 0 3px rgba(40,167,69,0.3);
    }

    /* Check icon */
    .circle i {
        color: #fff;
        font-size: 14px;
    }

/* Label aligned to right of line */
.label {
    margin-left: 60%;
}

    .label .status {
        font-weight: 600;
        font-size: 15px;
        color: #333;
    }

.subtext {
    font-size: 13px;
    color: #555;
}

/* Responsive layout */
@media (max-width: 480px) {
    .timeline-vertical {
        width: 90%;
    }

    .label {
        margin-left: 50%;
        font-size: 14px;
    }
}
