.therapy-filter-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.therapy-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    flex: 1;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    padding-bottom: 0.8rem;
}

.therapy-pills::-webkit-scrollbar {
    height: 4px;
}

.therapy-pills::-webkit-scrollbar-track {
    background: transparent;
}

.therapy-pills::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.therapy-pills::-webkit-scrollbar-thumb:hover {
    background: #999;
}


.therapy-pill {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
    border: 2px solid transparent;
    border-radius: 2rem;
    cursor: pointer;
    font-family: var(--font-family-ringside);
    font-size: 1.4rem;
    font-weight: var(--font-bold);
    color: #666;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.therapy-pill:hover {
    color: var(--color-lilly-red);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;

}

.therapy-pill input[type="checkbox"] {
    display: none;
}

.therapy-pill input[type="checkbox"]:checked+.pill-text {
    color: var(--color-lilly-red);
}

.therapy-pill:has(input[type="checkbox"]:checked) {
    background: var(--color-lilly-red);
    color: white;
}

.therapy-pill.disabled {
    background: #e8e8e8;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.therapy-pill.disabled:hover {
    background: #e8e8e8;
    color: #999;
}

.therapy-pill:has(input[type="checkbox"]:checked) .pill-text {
    color: white;
    font-weight: var(--font-bold);
}

.therapy-overflow-indicator {
    background: #e8e8e8;
    color: #666;
    padding: 0.6rem 1rem;
    border-radius: 1.5rem;
    font-family: var(--font-family-ringside);
    font-size: 1.2rem;
    font-weight: var(--font-bold);
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.therapy-overflow-indicator.visible {
    opacity: 1;
}