/* Self-introduction badge — overlay on the pinned video tile across the
 * Videos tab and any BB list that uses bp-templates/video/entry.php.
 *
 * Enqueued site-wide (no is_page gate) so it applies on profile video tabs,
 * directory listings, and the AJAX-re-rendered tile after save. Tiny and
 * scoped to .bb-video-intro-badge / li.is-intro so it can't leak. */

.bb-video-thumb {
    position: relative;
}

li.is-intro .bb-video-intro-badge {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-block;
    padding: 3px 10px;
    background: #ef5455;
    color: #fff;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* "Introduce yourself" CTA shown in the members directory only on the
 * current user's own card, only when they have no intro video yet. */
.member-video.member-novideo--cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--bb-body-text-color, #4d5c6f);
    background-color: var(--bb-content-alternate-background-color, #f7f7f7);
    border: 2px dashed var(--bb-content-border-color, #d6d9dd);
    border-radius: var(--bb-block-radius-inner, 6px);
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.member-video.member-novideo--cta:hover,
.member-video.member-novideo--cta:focus-visible {
    border-color: var(--bb-primary-color, #ef5455);
    color: var(--bb-primary-color, #ef5455);
    outline: none;
}

.member-novideo__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bb-primary-color, #ef5455);
    color: #fff;
    margin-bottom: 4px;
}

.member-novideo__icon svg {
    width: 22px;
    height: 22px;
}

.member-novideo__title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: inherit;
}

.member-novideo__subtitle {
    display: block;
    font-size: 12px;
    color: inherit;
    opacity: 0.7;
    line-height: 1.3;
}
