/* 我的视频页面样式 */
.ncewpv-my-videos {
    max-width: 100%;
}

.ncewpv-video-orders {
    margin-bottom: 40px;
}

/* 状态徽章 */
.ncewpv-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ncewpv-status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.ncewpv-status-completed {
    background: #d1edff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

.ncewpv-status-cancelled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ncewpv-status-refunded {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* 视频标题链接 */
.ncewpv-video-title {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}

.ncewpv-video-title:hover {
    color: #135e96;
    text-decoration: underline;
}

/* 统计卡片 */
.ncewpv-video-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ncewpv-stat-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.ncewpv-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ncewpv-stat-card h4 {
    margin: 0 0 10px 0;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ncewpv-stat-card .stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #2271b1;
}

/* 响应式表格 */
@media (max-width: 768px) {
    .ncewpv-video-stats {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-orders-table {
        font-size: 14px;
    }
    
    .ncewpv-stat-card {
        padding: 15px;
    }
    
    .ncewpv-stat-card .stat-number {
        font-size: 20px;
    }
}

/* 与WooCommerce样式集成 */
.woocommerce-account .ncewpv-my-videos h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.woocommerce-account .ncewpv-my-videos .woocommerce-message {
    margin-bottom: 30px;
}

/* 操作按钮 */
.woocommerce-orders-table__cell-order-actions .button {
    padding: 8px 15px;
    font-size: 13px;
}

.woocommerce-orders-table__cell-order-actions .button.disabled {
    background: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.woocommerce-orders-table__cell-order-actions .button.view {
    background: #2271b1;
    border-color: #2271b1;
    color: white;
    text-decoration: none;
}

.woocommerce-orders-table__cell-order-actions .button.view:hover {
    background: #135e96;
    border-color: #135e96;
    color: white;
}