/*
    THREAD TAG TIMELINE COMPONENT
    Author: Breyanna King
    Civic Threads - Frontend Team

    Styles for the garment journey timeline.
    All styles are scoped to the Thread Tag component.
*/
.thread-tag {
    background-color: var(--white, #EFF1ED);
    color: var(--ink, #222420);
    font-family: var(--body-font, "Montserrat", sans-serif);
    padding: var(--section-padding, 1.25rem);
    max-width: 700px;
    box-sizing: border-box;
}
.thread-tag *,
.thread-tag *::before,
.thread-tag *::after {
    box-sizing: border-box;
}
.thread-tag__title {
    color: var(--dark-khaki, #373D20);
    font-family: var(--header-font, "Cinzel Decorative", serif);
    font-size: var(--header-font-size, 1.5rem);
    margin: 0 0 0.5rem;
}

.thread-tag__subtitle {
    font-size: var(--body-font-size, 1rem);
    line-height: 1.5;
    margin: 0 0 2rem;
}

.thread-tag__timeline {
    position: relative;
    margin-left: 0.5rem;
}

.thread-tag__item {
    position: relative;
    border-left: 2px solid var(--olive, #717744);
    padding: 0 0 2rem 2rem;
}

.thread-tag__item::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: var(--olive, #717744);
    border: 3px solid var(--white, #EFF1ED);
    border-radius: 50%;
    left: -8px;
    top: 0;
    box-shadow: 0 0 0 2px var(--olive, #717744);
}

.thread-tag__item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.thread-tag__item h3 {
    color: var(--coffee-brown, #4B3426);
    font-family: var(--header-font, "Cinzel Decorative", serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.thread-tag__item p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.25rem 0;
}

.thread-tag__loading {
    font-size: 0.9rem;
    line-height: 1.5;
}
.thread-tag__error {
    color: var(--coffee-brown, #4B3426);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}
.thread-tag__status {
    display: inline-block;
    background-color: var(--olive, #717744);
    color: var(--white, #EFF1ED);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    margin: 0 0 0.5rem;
}
@media (max-width: 600px) {
    .thread-tag {
        padding: 1rem;
    }

    .thread-tag__item {
        padding-left: 1.5rem;
    }
}