﻿

/* scoped styles */ 

/* Colors */
#results-timeline .rt-rail {
    height: 6px;
    background: rgba(26,54,93,.12);
    border-radius: 999px;
}

#results-timeline .rt-progress {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg,var(--accent),#23a767);
    border-radius: 999px;
}

#results-timeline .rt-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    outline: 2px solid rgba(43,182,115,.35);
}
/* Mobile stepper line/dots */
#results-timeline .rt-vline {
    position: relative;
    width: 18px;
}

    #results-timeline .rt-vline::after {
        content: "";
        position: absolute;
        left: 8px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(26,54,93,.15);
    }

#results-timeline .rt-vdot {
    position: absolute;
    left: 0;
    top: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    outline: 2px solid rgba(43,182,115,.35);
    z-index: 1;
}


#cta-hairtest .cta-step {
    padding: 1rem;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

#cta-hairtest .cta-step__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(43,182,115,.12);
    color: var(--accent);
    border: 1px solid rgba(43,182,115,.28);
    margin-bottom: .5rem;
    font-size: 1.25rem;
}

#cta-hairtest .cta-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(26,54,93,.10);
    border-color: rgba(26,54,93,.18);
}






/* 1) Normalize mixed image sizes/aspects */
#regrowth-journey .rj-viewport {
    aspect-ratio: 1 / 1; /* consistent square viewport */
    background: #f3f6f9; /* subtle pad color */
    border: 1px solid #eef2f7;
    position: relative;
    overflow: hidden;
}

#regrowth-journey .rj-img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 94%;
    height: 94%;
    object-fit: contain; /* contain prevents distortion */
    image-rendering: auto; /* keeps PNG edges smooth */
}

#regrowth-journey .rj-thumb {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(26,54,93,.15);
    box-shadow: 0 6px 14px rgba(26,54,93,.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

    #regrowth-journey .rj-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* 2) Rail / progress */
#regrowth-journey .rj-rail {
    height: 6px;
    background: rgba(26,54,93,.12);
    border-radius: 999px;
}

#regrowth-journey .rj-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 6px;
    width: 0%;
    background: linear-gradient(90deg,var(--accent),#23a767);
    border-radius: 999px;
    transition: width .25s;
}

/* 3) Pills + labels */
#regrowth-journey .rj-pill {
    border: 0;
    background: transparent;
    text-align: center;
    min-width: 88px;
    outline: none;
}

    #regrowth-journey .rj-pill .rj-week {
        display: block;
        margin-top: .35rem;
        font-weight: 600;
        color: var(--brand);
        opacity: .85;
    }

    #regrowth-journey .rj-pill.active .rj-thumb {
        transform: translateY(-2px);
        border-color: var(--accent);
        box-shadow: 0 10px 20px rgba(43,182,115,.25);
    }