:root {
    --bpas-pb-width: 300px;
    --bpas-pb-height: 30px;
}

/* Container Styles */
.bpas-progress-bar-container {
    position: relative;
    width: var(--bpas-pb-width, 100px);
    height: var(--bpas-pb-height, 20px);
    margin: 0 auto;
}

/* Background Bar */
.bpas-background-bar {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: calc(var(--bpas-pb-height, 50px) * 0.128);
    background-color: #E6E6E6;
    transform: translateY(-50%);
    border-radius: 4px;
    width: 80%;
    z-index: 1; /* Ensure it's below the progress bar and circles */
}

/* Progress Bar */
.bpas-progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: calc(var(--bpas-pb-height, 50px) * 0.128);
    width: calc(var(--bpas-progress, 0%) * 0.96); /* Adjust width to avoid overlapping circles */
    background-color: #6DA141;
    transform: translateY(-50%);
    border-radius: 4px 0 0 4px;
    transition: width 0.3s ease;
    z-index: 2; /* Ensure it's above the background bar but below the circles */
}

/* Circle Styles */
.bpas-circle {
    position: absolute;
    top: 50%;
    width: calc(var(--bpas-pb-height, 50px) * 0.46 * 2);
    height: calc(var(--bpas-pb-height, 50px) * 0.46 * 2);
    background-color: #E6E6E6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; /* Ensure circles are above both bars */
}

.bpas-circle-active {
    left: 0%;
    border: 1px solid #6DA141;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bpas-circle-1 {
    left: 0%;
    border: 1px solid #6DA141;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bpas-circle-1 {
    left: 0%;
}

.bpas-circle-2 {
    left: 16%;
}

.bpas-circle-3 {
    left: 32%;
}

.bpas-circle-4 {
    left: 48%;
}

.bpas-circle-5 {
    left: 64%;
}

.bpas-circle-6 {
    left: 80%;
}

/* Number Inside Circle */
.bpas-circle span {
    padding: .2rem .1rem 0 0;
    display: none;
}

.bpas-circle.bpas-circle-active span {
    display: block;
    color: #232C68;
    font-weight: 500; /* Set to 500 for a thick appearance */
    font-size: calc(var(--bpas-pb-height, 50px) * 0.75); /* Increased from 0.4 to 0.6 */
    font-family: Lato, sans-serif; /* Changed to a sans-serif font */
    line-height: 1; /* Ensure vertical centering */
}