.collapsible-text-box .collapsible-wrapper {
    font-size: 14px;
    line-height: 1.5em;
    position: relative;
    display: flex;
    align-items: center;
}

.collapsible-text-box .text-content {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.collapsible-text-box .text-content.expanded {
    white-space: normal;
}

.collapsible-text-box .toggle-icon {
    cursor: pointer;
    white-space: nowrap;
    margin-left: 10px;
}

.collapsible-text-box.expanded .collapsible-wrapper {
    max-height: none;
    white-space: normal;
}
