/* ==================== 转码状态标签 ==================== */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.status-loading {
    background: rgba(47, 36, 25, 0.08);
    color: #6c5b46;
}

.status-pending {
    background: rgba(156, 103, 55, 0.10);
    color: #87572f;
    border: 1px solid rgba(156, 103, 55, 0.18);
}

.status-processing {
    background: rgba(60, 109, 113, 0.10);
    color: #2f5f63;
    border: 1px solid rgba(60, 109, 113, 0.18);
    animation: pulse 2s infinite;
}

.status-success {
    background: rgba(117, 138, 115, 0.10);
    color: #4e674c;
    border: 1px solid rgba(117, 138, 115, 0.18);
}

.status-failed {
    background: rgba(201, 135, 120, 0.10);
    color: #8e5347;
    border: 1px solid rgba(201, 135, 120, 0.18);
}

.status-none {
    background: rgba(47, 36, 25, 0.06);
    color: #907d67;
    border: 1px solid rgba(156, 103, 55, 0.12);
}

.transcode-status-badge {
    margin-left: 8px;
    font-size: 12px;
}

.transcode-status-badge .status-pending,
.transcode-status-badge .status-processing,
.transcode-status-badge .status-success,
.transcode-status-badge .status-failed,
.transcode-status-badge .status-none {
    padding: 2px 8px;
    border-radius: 4px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* 上传进度条 */
.upload-progress {
    margin-top: 15px;
    padding: 15px;
    background: rgba(117, 138, 115, 0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(117, 138, 115, 0.18);
}

.upload-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(156, 103, 55, 0.10);
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #c98778 0%, #9c6737 52%, #758a73 100%);
    transition: width 0.3s ease;
}

.upload-status-text {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

/* 视频管理表格优化 */
.video-list-table .data-table td {
    vertical-align: middle;
}

.video-list-table .btn-sm {
    margin-right: 5px;
}

/* 章节列表转码状态 */
.chapter-item-admin .transcode-status-badge {
    display: inline-block;
    margin-top: 5px;
}
