/* define InsightPreviewCard */

.InsightPreviewCard-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 94px;
    width: 100%;
    min-width: 0;
    background: var(--surface-default);
    border-radius: var(--border-radius-default);
    border: 1px solid var(--border-subtle);
    padding: var(--padding-xs);
    cursor: pointer;
}

.InsightPreviewCard-container.is-unread {
    border-left: 2px solid var(--border-primary-focus);
}

.InsightPreviewCard-container.is-selected {
    border: 1px solid var(--border-primary-focus);
    background: var(--surface-surface-list-item-selected-light, #f0effb);
}

.InsightPreviewCard-header {
    display: flex;
    justify-content: space-between;
    gap: var(--padding-sm);
}

.InsightPreviewCard-titleWrapper {
    display: flex;
    align-items: center;
    gap: var(--padding-xxs);
    min-width: 0;
}

.InsightPreviewCard-title {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-h5);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.InsightPreviewCard-icon {
    color: var(--icon-info);
}

.InsightPreviewCard-time {
    color: var(--text-accent);
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.InsightPreviewCard-scope {
    display: flex;
    align-items: center;
    gap: var(--padding-xxs);
    color: var(--text-emphasis);
}

.InsightPreviewCard-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    padding: 0;
    border-radius: 100px;
    color: var(--text-inverse);
    background-color: var(--surface-emphasis);
    font-size: 10px;
    line-height: 1;
}
