/* /Components/Admin/Streaming/EncodingHistoryList.razor.rz.scp.css */
.encoding-history[b-j6a1ikvc2j] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.encoding-history__title[b-j6a1ikvc2j] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary, #1f2937);
    margin: 0 0 0.75rem 0;
}

.encoding-history__title i[b-j6a1ikvc2j] {
    color: var(--community-primary, #6b7280);
}

.encoding-history__empty[b-j6a1ikvc2j] {
    margin: 0;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary, #4B5563);
    font-style: italic;
}
/* /Components/Admin/Streaming/EncodingHistoryRow.razor.rz.scp.css */
.encoding-row[b-2oh2e0wyfb] {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background: #fafafa;
}

.encoding-row__header[b-2oh2e0wyfb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.encoding-row__title[b-2oh2e0wyfb] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary, #1f2937);
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.encoding-row__meta[b-2oh2e0wyfb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-secondary, #4B5563);
    margin-bottom: 0.5rem;
}

.encoding-row__meta i[b-2oh2e0wyfb] {
    margin-right: 0.25rem;
}

.encoding-row__tag[b-2oh2e0wyfb] {
    font-family: ui-monospace, monospace;
    font-size: 0.75rem;
    background: #eef2ff;
    color: #4338ca;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.encoding-row__actions[b-2oh2e0wyfb] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.encoding-row__actions .stream-btn[b-2oh2e0wyfb] {
    min-height: 36px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
    transition: none;
}

.encoding-row__actions .stream-btn:disabled[b-2oh2e0wyfb] {
    opacity: 0.5;
    cursor: not-allowed;
}

.encoding-row__actions .stream-btn:focus-visible[b-2oh2e0wyfb] {
    outline: 2px solid var(--community-primary, #6366f1);
    outline-offset: 2px;
}

.stream-btn--download[b-2oh2e0wyfb] {
    background: #10b981;
    color: white;
}
.stream-btn--download:hover:not(:disabled)[b-2oh2e0wyfb] {
    background: #059669;
}

.stream-btn--copy-vod[b-2oh2e0wyfb] {
    background: var(--community-primary, #6366f1);
    color: white;
}
.stream-btn--copy-vod:hover:not(:disabled)[b-2oh2e0wyfb] {
    filter: brightness(0.9);
}

.stream-btn--delete[b-2oh2e0wyfb] {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}
.stream-btn--delete:hover:not(:disabled)[b-2oh2e0wyfb] {
    background: #fee2e2;
}

.status-badge[b-2oh2e0wyfb] {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0.25rem;
    background: #e5e7eb;
    color: #374151;
    letter-spacing: 0.025em;
}

.status-badge.status-finished[b-2oh2e0wyfb] { background: #d1fae5; color: #065f46; }
.status-badge.status-running[b-2oh2e0wyfb] { background: #dbeafe; color: #1e40af; }
.status-badge.status-finishing[b-2oh2e0wyfb] { background: #fef3c7; color: #92400e; }
.status-badge.status-error[b-2oh2e0wyfb] { background: #fee2e2; color: #991b1b; }
.status-badge.status-canceled[b-2oh2e0wyfb] { background: #f3f4f6; color: #4b5563; }
.status-badge.status-deleted[b-2oh2e0wyfb] { background: #f3f4f6; color: #6b7280; }
.status-badge.status-purged[b-2oh2e0wyfb] { background: #f3f4f6; color: #6b7280; }
.status-badge.status-unknown[b-2oh2e0wyfb] { background: #e5e7eb; color: #6b7280; }

.encoding-row__warning[b-2oh2e0wyfb] {
    margin: 0.5rem 0 0 0;
    padding: 0.375rem 0.625rem;
    background: #fef3c7;
    color: #92400e;
    border-left: 3px solid #f59e0b;
    font-size: 0.8125rem;
    border-radius: 0.25rem;
}

.encoding-row__error[b-2oh2e0wyfb] {
    margin: 0.5rem 0 0 0;
    padding: 0.375rem 0.625rem;
    background: #fee2e2;
    color: #991b1b;
    border-left: 3px solid #dc2626;
    font-size: 0.8125rem;
    border-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .encoding-row__actions .stream-btn[b-2oh2e0wyfb] {
        transition: none;
    }
}
/* /Components/Community/Header/FilterDropdown.razor.rz.scp.css */
/* =====================================================
   FILTER DROPDOWN — scoped styles
   Category filter dropdown rendered by HeaderGroup when a community has more
   than 3 dynamic content labels. Owns its own desktop-only display contract:
   base is display:none, the @media (min-width: 1250px) block flips it to
   inline-block. This means the component is invisible (and removed from the
   tab order) on mobile and tablet, regardless of how the parent renders it.
   ===================================================== */

/* Base: hidden on mobile (<768) and tablet (768-1249). The component is still
   server-rendered but display:none keeps it out of layout and the tab order. */
.filter-dropdown[b-029tde5urs] {
    position: relative;
    display: none;
}

/* Desktop only — show the dropdown at >=1250px. Matches the 1250px breakpoint
   used by header.css for the main desktop nav. */
@media (min-width: 1250px) {
    .filter-dropdown[b-029tde5urs] {
        display: inline-block;
    }
}

/* Trigger button — visual match for the .filter-tabs container so the header
   band keeps the same height whether pills or dropdown are rendered. */
.filter-dropdown-trigger[b-029tde5urs] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    min-width: 220px;
    padding: 0.5rem 0.875rem;
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.filter-dropdown-trigger:hover[b-029tde5urs] {
    background: rgba(106, 74, 158, 0.08);
}

/* Match PostSelector's .filter-tab:focus-visible (header.css:280-284) which
   uses var(--primary-color), not --community-primary. Both renderers must
   highlight identically for the same feature. */
.filter-dropdown-trigger:focus-visible[b-029tde5urs] {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Color dot — always rendered, neutral gray when no label color configured. */
.filter-dropdown-dot[b-029tde5urs] {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #E5E7EB;
}

.filter-dropdown-label[b-029tde5urs] {
    flex: 1 1 auto;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-dropdown-chevron[b-029tde5urs] {
    flex: 0 0 auto;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.filter-dropdown.is-open .filter-dropdown-chevron[b-029tde5urs] {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .filter-dropdown-trigger[b-029tde5urs],
    .filter-dropdown-chevron[b-029tde5urs] {
        transition: none;
    }
}

/* Menu panel — positioned below the trigger, scrollable if the label list is long. */
.filter-dropdown-menu[b-029tde5urs] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 1001;
    min-width: 100%;
    max-width: 360px;
    max-height: min(60vh, 480px);
    overflow-y: auto;
    padding: 0.375rem 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.filter-dropdown-item[b-029tde5urs] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0.5rem 0.875rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.filter-dropdown-item:hover[b-029tde5urs],
.filter-dropdown-item:focus[b-029tde5urs] {
    background-color: rgba(106, 74, 158, 0.08);
    text-decoration: none;
    outline: none;
}

.filter-dropdown-item:focus-visible[b-029tde5urs] {
    background-color: rgba(106, 74, 158, 0.12);
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.filter-dropdown-item.active[b-029tde5urs] {
    background-color: rgba(106, 74, 158, 0.06);
    font-weight: 600;
}

.filter-dropdown-item-label[b-029tde5urs] {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-dropdown-check[b-029tde5urs] {
    flex: 0 0 auto;
    color: var(--primary-color);
    font-size: 0.875rem;
}
/* /Components/Community/Posts/CommentActionMenu.razor.rz.scp.css */
/* Comment Action Menu - same visual pattern as PostActionMenu */
/* These styles mirror PostActionMenu.razor.css for Blazor CSS isolation */

.post-action-menu[b-tngkdao63n] {
    position: relative;
    display: inline-block;
}

.post-action-menu-backdrop[b-tngkdao63n] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.post-action-menu-trigger[b-tngkdao63n] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    font-size: 12px;
}

.post-action-menu-trigger:hover[b-tngkdao63n],
.post-action-menu-trigger:focus[b-tngkdao63n] {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.post-action-menu-trigger:focus[b-tngkdao63n] {
    outline: 2px solid var(--community-primary);
    outline-offset: 2px;
}

.post-action-menu-dropdown[b-tngkdao63n] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1001;
    min-width: 180px;
    margin-top: 4px;
    padding: 8px 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.post-action-menu-item[b-tngkdao63n] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.post-action-menu-item:hover[b-tngkdao63n],
.post-action-menu-item:focus[b-tngkdao63n] {
    background-color: rgba(0, 0, 0, 0.04);
}

.post-action-menu-item:focus[b-tngkdao63n] {
    outline: none;
    background-color: rgba(0, 0, 0, 0.06);
}

.post-action-menu-item i[b-tngkdao63n] {
    width: 16px;
    color: var(--text-secondary);
}

.post-action-menu-item-danger[b-tngkdao63n] {
    color: #dc2626;
}

.post-action-menu-item-danger:hover[b-tngkdao63n],
.post-action-menu-item-danger:focus[b-tngkdao63n] {
    background-color: rgba(220, 38, 38, 0.06);
}

.post-action-menu-item-danger i[b-tngkdao63n] {
    color: #dc2626;
}
/* /Components/Community/Posts/PostActionMenu.razor.rz.scp.css */
/* Post Action Menu - Trigger Button */
.post-action-menu[b-0qq296kfml] {
    position: relative;
    display: inline-block;
}

/* Invisible backdrop to capture clicks outside the menu */
.post-action-menu-backdrop[b-0qq296kfml] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.post-action-menu-trigger[b-0qq296kfml] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.post-action-menu-trigger:hover[b-0qq296kfml],
.post-action-menu-trigger:focus[b-0qq296kfml] {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.post-action-menu-trigger:focus[b-0qq296kfml] {
    outline: 2px solid var(--community-primary);
    outline-offset: 2px;
}

/* Dropdown Menu */
.post-action-menu-dropdown[b-0qq296kfml] {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1001;
    min-width: 200px;
    margin-top: 4px;
    padding: 8px 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Menu Items */
.post-action-menu-item[b-0qq296kfml] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.post-action-menu-item:hover[b-0qq296kfml],
.post-action-menu-item:focus[b-0qq296kfml] {
    background-color: rgba(0, 0, 0, 0.04);
}

.post-action-menu-item:focus[b-0qq296kfml] {
    outline: none;
    background-color: rgba(0, 0, 0, 0.06);
}

.post-action-menu-item i[b-0qq296kfml] {
    width: 16px;
    color: var(--text-secondary);
}

/* Danger variant for destructive actions (e.g., Delete) */
.post-action-menu-item-danger[b-0qq296kfml] {
    color: #dc2626;
}

.post-action-menu-item-danger:hover[b-0qq296kfml],
.post-action-menu-item-danger:focus[b-0qq296kfml] {
    background-color: rgba(220, 38, 38, 0.06);
}

.post-action-menu-item-danger i[b-0qq296kfml] {
    color: #dc2626;
}
/* /Components/Community/Shared/AuthorAvatar.razor.rz.scp.css */
/* Shared AuthorAvatar component — scoped styles */

.author-avatar-btn[b-nlbxfpmfqr],
.author-avatar-static[b-nlbxfpmfqr] {
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--community-primary, #6A4A9E) 12%, #fff);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    padding: 0;
    color: var(--primary-color, #6A4A9E);
    font-weight: 700;
    text-transform: uppercase;
    user-select: none;
    line-height: 1;
}

.author-avatar-btn[b-nlbxfpmfqr] {
    cursor: pointer;
    transition: box-shadow 0.15s ease, filter 0.15s ease;
}

.author-avatar-btn:hover[b-nlbxfpmfqr] {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    filter: brightness(1.06);
}

.author-avatar-btn:focus-visible[b-nlbxfpmfqr] {
    outline: 3px solid var(--primary-color, #6A4A9E);
    outline-offset: 2px;
}

.author-avatar-static[b-nlbxfpmfqr] {
    cursor: default;
}

.author-avatar-img[b-nlbxfpmfqr] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-avatar-initials[b-nlbxfpmfqr] {
    /* Font size set via inline style from Size parameter */
}

@media (prefers-reduced-motion: reduce) {
    .author-avatar-btn[b-nlbxfpmfqr] {
        transition: none;
    }
    .author-avatar-btn:hover[b-nlbxfpmfqr] {
        filter: none;
    }
}
